Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(718)

Side by Side Diff: sim/v850/configure

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sim/v850/config.in ('k') | sim/v850/sim-main.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #! /bin/sh 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles. 2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64. 3 # Generated by GNU Autoconf 2.64.
4 # 4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software 6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc. 7 # Foundation, Inc.
8 # 8 #
9 # This configure script is free software; the Free Software Foundation 9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it. 10 # gives unlimited permission to copy, distribute and modify it.
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 REPORT_BUGS_TEXI 594 REPORT_BUGS_TEXI
595 REPORT_BUGS_TO 595 REPORT_BUGS_TO
596 PKGVERSION 596 PKGVERSION
597 sim_profile 597 sim_profile
598 sim_trace 598 sim_trace
599 sim_stdio 599 sim_stdio
600 sim_debug 600 sim_debug
601 sim_cflags 601 sim_cflags
602 sim_bswap 602 sim_bswap
603 MAINT 603 MAINT
604 EGREP
605 GREP
606 CPP
607 CATOBJEXT 604 CATOBJEXT
608 GENCAT 605 GENCAT
609 INSTOBJEXT 606 INSTOBJEXT
610 DATADIRNAME 607 DATADIRNAME
611 CATALOGS 608 CATALOGS
612 POSUB 609 POSUB
613 GMSGFMT 610 GMSGFMT
614 XGETTEXT 611 XGETTEXT
615 INCINTL 612 INCINTL
616 LIBINTL_DEP 613 LIBINTL_DEP
617 LIBINTL 614 LIBINTL
618 USE_NLS 615 USE_NLS
619 GMAKE_FALSE 616 GMAKE_FALSE
620 GMAKE_TRUE 617 GMAKE_TRUE
621 MAKE 618 MAKE
622 CCDEPMODE 619 CCDEPMODE
623 DEPDIR 620 DEPDIR
624 am__leading_dot 621 am__leading_dot
622 PACKAGE
625 RANLIB 623 RANLIB
626 AR 624 AR
627 HDEFINES 625 HDEFINES
628 CC_FOR_BUILD 626 CC_FOR_BUILD
629 INSTALL_DATA 627 INSTALL_DATA
630 INSTALL_SCRIPT 628 INSTALL_SCRIPT
631 INSTALL_PROGRAM 629 INSTALL_PROGRAM
630 EGREP
631 GREP
632 CPP
632 target_os 633 target_os
633 target_vendor 634 target_vendor
634 target_cpu 635 target_cpu
635 target 636 target
636 host_os 637 host_os
637 host_vendor 638 host_vendor
638 host_cpu 639 host_cpu
639 host 640 host
640 build_os 641 build_os
641 build_vendor 642 build_vendor
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
716 enable_sim_cflags 717 enable_sim_cflags
717 enable_sim_debug 718 enable_sim_debug
718 enable_sim_stdio 719 enable_sim_stdio
719 enable_sim_trace 720 enable_sim_trace
720 enable_sim_profile 721 enable_sim_profile
721 with_pkgversion 722 with_pkgversion
722 with_bugurl 723 with_bugurl
723 enable_sim_endian 724 enable_sim_endian
724 enable_sim_alignment 725 enable_sim_alignment
725 enable_sim_hostendian 726 enable_sim_hostendian
727 enable_werror
726 enable_build_warnings 728 enable_build_warnings
727 enable_sim_build_warnings 729 enable_sim_build_warnings
728 enable_sim_reserved_bits 730 enable_sim_reserved_bits
729 enable_sim_bitsize 731 enable_sim_bitsize
730 ' 732 '
731 ac_precious_vars='build_alias 733 ac_precious_vars='build_alias
732 host_alias 734 host_alias
733 target_alias 735 target_alias
734 CC 736 CC
735 CFLAGS 737 CFLAGS
(...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after
1358 --enable-maintainer-mode Enable developer functionality. 1360 --enable-maintainer-mode Enable developer functionality.
1359 --enable-sim-bswap Use Host specific BSWAP instruction. 1361 --enable-sim-bswap Use Host specific BSWAP instruction.
1360 --enable-sim-cflags=opts Extra CFLAGS for use in building simulat or 1362 --enable-sim-cflags=opts Extra CFLAGS for use in building simulat or
1361 --enable-sim-debug=opts Enable debugging flags 1363 --enable-sim-debug=opts Enable debugging flags
1362 --enable-sim-stdio Specify whether to use stdio for console input/output. 1364 --enable-sim-stdio Specify whether to use stdio for console input/output.
1363 --enable-sim-trace=opts Enable tracing flags 1365 --enable-sim-trace=opts Enable tracing flags
1364 --enable-sim-profile=opts Enable profiling flags 1366 --enable-sim-profile=opts Enable profiling flags
1365 --enable-sim-endian=endian Specify target byte endian orientation. 1367 --enable-sim-endian=endian Specify target byte endian orientation.
1366 --enable-sim-alignment=align Specify strict, nonstrict or forced ali gnment of memory accesses. 1368 --enable-sim-alignment=align Specify strict, nonstrict or forced ali gnment of memory accesses.
1367 --enable-sim-hostendian=end Specify host byte endian orientation. 1369 --enable-sim-hostendian=end Specify host byte endian orientation.
1368 --enable-build-warnings Enable build-time compiler warnings if gcc is used 1370 --enable-werror treat compile warnings as errors
1369 --enable-gdb-build-warnings Enable SIM specific build-time compiler warnings i f gcc is used 1371 --enable-build-warnings enable build-time compiler warnings if gcc is used
1372 --enable-sim-build-warnings
1373 enable SIM specific build-time compiler warnings if
1374 gcc is used
1370 --enable-sim-reserved-bits Specify whether to check reserved bits i n instruction. 1375 --enable-sim-reserved-bits Specify whether to check reserved bits i n instruction.
1371 --enable-sim-bitsize=N Specify target bitsize (32 or 64). 1376 --enable-sim-bitsize=N Specify target bitsize (32 or 64).
1372 1377
1373 Optional Packages: 1378 Optional Packages:
1374 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1379 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1375 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1380 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1376 --with-zlib include zlib support (auto/yes/no) default=auto 1381 --with-zlib include zlib support (auto/yes/no) default=auto
1377 --with-pkgversion=PKG Use PKG in the version string in place of "GDB" 1382 --with-pkgversion=PKG Use PKG in the version string in place of "GDB"
1378 --with-bugurl=URL Direct users to URL to report a bug 1383 --with-bugurl=URL Direct users to URL to report a bug
1379 1384
(...skipping 1059 matching lines...) Expand 10 before | Expand all | Expand 10 after
2439 # triggers warnings from the preprocessor. Will be in autoconf 2.58. 2444 # triggers warnings from the preprocessor. Will be in autoconf 2.58.
2440 # For now, using this also overrides header checks to use only the 2445 # For now, using this also overrides header checks to use only the
2441 # preprocessor (matches 2.13 behavior; matching 2.58's behavior is a 2446 # preprocessor (matches 2.13 behavior; matching 2.58's behavior is a
2442 # bit harder from here). 2447 # bit harder from here).
2443 # Eventually autoconf will default to checking headers with the compiler 2448 # Eventually autoconf will default to checking headers with the compiler
2444 # instead, and we'll have to do this differently. 2449 # instead, and we'll have to do this differently.
2445 2450
2446 # AC_PROG_CPP_WERROR 2451 # AC_PROG_CPP_WERROR
2447 2452
2448 # Test for GNAT. 2453 # Test for GNAT.
2449 # We require the gnatbind program, and a compiler driver that 2454 # We require the gnatbind & gnatmake programs, as well as a compiler driver
2450 # understands Ada. We use the user's CC setting, already found, 2455 # that understands Ada. We use the user's CC setting, already found, and
2451 # and possibly add $1 to the command-line parameters. 2456 # possibly add $1 to the command-line parameters.
2452 # 2457 #
2453 # Sets the shell variable have_gnat to yes or no as appropriate, and 2458 # Sets the shell variable have_gnat to yes or no as appropriate, and
2454 # substitutes GNATBIND and GNATMAKE. 2459 # substitutes GNATBIND and GNATMAKE.
2455 2460
2456 2461
2457 2462
2458 2463
2459 2464
2460 2465
2461 2466
(...skipping 906 matching lines...) Expand 10 before | Expand all | Expand 10 after
3368 IFS=$ac_save_IFS 3373 IFS=$ac_save_IFS
3369 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 3374 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3370 3375
3371 3376
3372 # The aliases save the names the user supplied, while $host etc. 3377 # The aliases save the names the user supplied, while $host etc.
3373 # will get canonicalized. 3378 # will get canonicalized.
3374 test -n "$target_alias" && 3379 test -n "$target_alias" &&
3375 test "$program_prefix$program_suffix$program_transform_name" = \ 3380 test "$program_prefix$program_suffix$program_transform_name" = \
3376 NONENONEs,x,x, && 3381 NONENONEs,x,x, &&
3377 program_prefix=${target_alias}- 3382 program_prefix=${target_alias}-
3378 test "$program_prefix" != NONE &&
3379 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3380 # Use a double $ so make ignores it.
3381 test "$program_suffix" != NONE &&
3382 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3383 # Double any \ or $.
3384 # By default was `s,x,x', remove it if useless.
3385 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3386 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3387
3388 # Find a good install program. We prefer a C program (faster),
3389 # so one script is as good as another. But avoid the broken or
3390 # incompatible versions:
3391 # SysV /etc/install, /usr/sbin/install
3392 # SunOS /usr/etc/install
3393 # IRIX /sbin/install
3394 # AIX /bin/install
3395 # AmigaOS /C/install, which installs bootblocks on floppy discs
3396 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3397 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3398 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3399 # OS/2's system install, which has a completely different semantic
3400 # ./install, which can be erroneously created by make from ./install.sh.
3401 # Reject install programs that cannot install multiple files.
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3403 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3404 if test -z "$INSTALL"; then
3405 if test "${ac_cv_path_install+set}" = set; then :
3406 $as_echo_n "(cached) " >&6
3407 else
3408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3409 for as_dir in $PATH
3410 do
3411 IFS=$as_save_IFS
3412 test -z "$as_dir" && as_dir=.
3413 # Account for people who put trailing slashes in PATH elements.
3414 case $as_dir/ in #((
3415 ./ | .// | /[cC]/* | \
3416 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3417 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3418 /usr/ucb/* ) ;;
3419 *)
3420 # OSF1 and SCO ODT 3.0 have their own names for install.
3421 # Don't use installbsd from OSF since it installs stuff as root
3422 # by default.
3423 for ac_prog in ginstall scoinst install; do
3424 for ac_exec_ext in '' $ac_executable_extensions; do
3425 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_p rog$ac_exec_ext"; }; then
3426 if test $ac_prog = install &&
3427 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3428 # AIX install. It has an incompatible calling convention.
3429 :
3430 elif test $ac_prog = install &&
3431 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3432 # program-specific install script used by HP pwplus--don't use.
3433 :
3434 else
3435 rm -rf conftest.one conftest.two conftest.dir
3436 echo one > conftest.one
3437 echo two > conftest.two
3438 mkdir conftest.dir
3439 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd `/conftest.dir" &&
3440 test -s conftest.one && test -s conftest.two &&
3441 test -s conftest.dir/conftest.one &&
3442 test -s conftest.dir/conftest.two
3443 then
3444 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3445 break 3
3446 fi
3447 fi
3448 fi
3449 done
3450 done
3451 ;;
3452 esac
3453
3454 done
3455 IFS=$as_save_IFS
3456
3457 rm -rf conftest.one conftest.two conftest.dir
3458
3459 fi
3460 if test "${ac_cv_path_install+set}" = set; then
3461 INSTALL=$ac_cv_path_install
3462 else
3463 # As a last resort, use the slow shell script. Don't cache a
3464 # value for INSTALL within a source directory, because that will
3465 # break other packages using the cache if that directory is
3466 # removed, or if the value is a relative name.
3467 INSTALL=$ac_install_sh
3468 fi
3469 fi
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3471 $as_echo "$INSTALL" >&6; }
3472
3473 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3474 # It thinks the first close brace ends the variable substitution.
3475 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3476
3477 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3478
3479 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3480
3481 rm -rf .tst 2>/dev/null
3482 mkdir .tst 2>/dev/null
3483 if test -d .tst; then
3484 am__leading_dot=.
3485 else
3486 am__leading_dot=_
3487 fi
3488 rmdir .tst 2>/dev/null
3489
3490 DEPDIR="${am__leading_dot}deps"
3491
3492 3383
3493 ac_ext=c 3384 ac_ext=c
3494 ac_cpp='$CPP $CPPFLAGS' 3385 ac_cpp='$CPP $CPPFLAGS'
3495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5' 3387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5'
3497 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3499 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3390 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3500 # On Suns, sometimes $CPP names a directory. 3391 # On Suns, sometimes $CPP names a directory.
3501 if test -n "$CPP" && test -d "$CPP"; then 3392 if test -n "$CPP" && test -d "$CPP"; then
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
3882 cat >>confdefs.h <<_ACEOF 3773 cat >>confdefs.h <<_ACEOF
3883 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 3774 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3884 _ACEOF 3775 _ACEOF
3885 3776
3886 fi 3777 fi
3887 3778
3888 done 3779 done
3889 3780
3890 3781
3891 3782
3783 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_co nfig_h" "$ac_includes_default"
3784 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
3785 MINIX=yes
3786 else
3787 MINIX=
3788 fi
3789
3790
3791 if test "$MINIX" = yes; then
3792
3793 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3794
3795
3796 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3797
3798
3799 $as_echo "#define _MINIX 1" >>confdefs.h
3800
3801 fi
3802
3803
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3805 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3806 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
3807 $as_echo_n "(cached) " >&6
3808 else
3809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3810 /* end confdefs.h. */
3811
3812 # define __EXTENSIONS__ 1
3813 $ac_includes_default
3814 int
3815 main ()
3816 {
3817
3818 ;
3819 return 0;
3820 }
3821 _ACEOF
3822 if ac_fn_c_try_compile "$LINENO"; then :
3823 ac_cv_safe_to_define___extensions__=yes
3824 else
3825 ac_cv_safe_to_define___extensions__=no
3826 fi
3827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3828 fi
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensi ons__" >&5
3830 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3831 test $ac_cv_safe_to_define___extensions__ = yes &&
3832 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3833
3834 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3835
3836 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3837
3838 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3839
3840 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3841
3842
3843 test "$program_prefix" != NONE &&
3844 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3845 # Use a double $ so make ignores it.
3846 test "$program_suffix" != NONE &&
3847 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3848 # Double any \ or $.
3849 # By default was `s,x,x', remove it if useless.
3850 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3851 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3852
3853 # Find a good install program. We prefer a C program (faster),
3854 # so one script is as good as another. But avoid the broken or
3855 # incompatible versions:
3856 # SysV /etc/install, /usr/sbin/install
3857 # SunOS /usr/etc/install
3858 # IRIX /sbin/install
3859 # AIX /bin/install
3860 # AmigaOS /C/install, which installs bootblocks on floppy discs
3861 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3862 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3863 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3864 # OS/2's system install, which has a completely different semantic
3865 # ./install, which can be erroneously created by make from ./install.sh.
3866 # Reject install programs that cannot install multiple files.
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3868 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3869 if test -z "$INSTALL"; then
3870 if test "${ac_cv_path_install+set}" = set; then :
3871 $as_echo_n "(cached) " >&6
3872 else
3873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3874 for as_dir in $PATH
3875 do
3876 IFS=$as_save_IFS
3877 test -z "$as_dir" && as_dir=.
3878 # Account for people who put trailing slashes in PATH elements.
3879 case $as_dir/ in #((
3880 ./ | .// | /[cC]/* | \
3881 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3882 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3883 /usr/ucb/* ) ;;
3884 *)
3885 # OSF1 and SCO ODT 3.0 have their own names for install.
3886 # Don't use installbsd from OSF since it installs stuff as root
3887 # by default.
3888 for ac_prog in ginstall scoinst install; do
3889 for ac_exec_ext in '' $ac_executable_extensions; do
3890 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_p rog$ac_exec_ext"; }; then
3891 if test $ac_prog = install &&
3892 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3893 # AIX install. It has an incompatible calling convention.
3894 :
3895 elif test $ac_prog = install &&
3896 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3897 # program-specific install script used by HP pwplus--don't use.
3898 :
3899 else
3900 rm -rf conftest.one conftest.two conftest.dir
3901 echo one > conftest.one
3902 echo two > conftest.two
3903 mkdir conftest.dir
3904 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd `/conftest.dir" &&
3905 test -s conftest.one && test -s conftest.two &&
3906 test -s conftest.dir/conftest.one &&
3907 test -s conftest.dir/conftest.two
3908 then
3909 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3910 break 3
3911 fi
3912 fi
3913 fi
3914 done
3915 done
3916 ;;
3917 esac
3918
3919 done
3920 IFS=$as_save_IFS
3921
3922 rm -rf conftest.one conftest.two conftest.dir
3923
3924 fi
3925 if test "${ac_cv_path_install+set}" = set; then
3926 INSTALL=$ac_cv_path_install
3927 else
3928 # As a last resort, use the slow shell script. Don't cache a
3929 # value for INSTALL within a source directory, because that will
3930 # break other packages using the cache if that directory is
3931 # removed, or if the value is a relative name.
3932 INSTALL=$ac_install_sh
3933 fi
3934 fi
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3936 $as_echo "$INSTALL" >&6; }
3937
3938 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3939 # It thinks the first close brace ends the variable substitution.
3940 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3941
3942 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3943
3944 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3945
3946 rm -rf .tst 2>/dev/null
3947 mkdir .tst 2>/dev/null
3948 if test -d .tst; then
3949 am__leading_dot=.
3950 else
3951 am__leading_dot=_
3952 fi
3953 rmdir .tst 2>/dev/null
3954
3955 DEPDIR="${am__leading_dot}deps"
3956
3957
3892 3958
3893 # autoconf.info says this should be called right after AC_INIT. 3959 # autoconf.info says this should be called right after AC_INIT.
3894 ac_config_headers="$ac_config_headers config.h:config.in" 3960 ac_config_headers="$ac_config_headers config.h:config.in"
3895 3961
3896 3962
3897 3963
3898 3964
3899 3965
3966
3900 # Put a plausible default for CC_FOR_BUILD in Makefile. 3967 # Put a plausible default for CC_FOR_BUILD in Makefile.
3901 if test "x$cross_compiling" = "xno"; then 3968 if test "x$cross_compiling" = "xno"; then
3902 CC_FOR_BUILD='$(CC)' 3969 CC_FOR_BUILD='$(CC)'
3903 else 3970 else
3904 CC_FOR_BUILD=gcc 3971 CC_FOR_BUILD=gcc
3905 fi 3972 fi
3906 3973
3907 3974
3908 3975
3909 3976
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
3995 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2 ;} 4062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2 ;}
3996 ac_tool_warned=yes ;; 4063 ac_tool_warned=yes ;;
3997 esac 4064 esac
3998 RANLIB=$ac_ct_RANLIB 4065 RANLIB=$ac_ct_RANLIB
3999 fi 4066 fi
4000 else 4067 else
4001 RANLIB="$ac_cv_prog_RANLIB" 4068 RANLIB="$ac_cv_prog_RANLIB"
4002 fi 4069 fi
4003 4070
4004 4071
4072 # Some of the common include files depend on bfd.h, and bfd.h checks
4073 # that config.h is included first by testing that the PACKAGE macro
4074 # is defined.
4075 PACKAGE=sim
4076
4077 cat >>confdefs.h <<_ACEOF
4078 #define PACKAGE "$PACKAGE"
4079 _ACEOF
4080
4081
4082
4005 # Dependency checking. 4083 # Dependency checking.
4006 ac_config_commands="$ac_config_commands depdir" 4084 ac_config_commands="$ac_config_commands depdir"
4007 4085
4008 4086
4009 depcc="$CC" am_compiler_list= 4087 depcc="$CC" am_compiler_list=
4010 4088
4011 am_depcomp=$ac_aux_dir/depcomp 4089 am_depcomp=$ac_aux_dir/depcomp
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >& 5 4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >& 5
4013 $as_echo_n "checking dependency style of $depcc... " >&6; } 4091 $as_echo_n "checking dependency style of $depcc... " >&6; }
4014 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 4092 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after
4571 4649
4572 4650
4573 4651
4574 # Check whether --enable-sim-trace was given. 4652 # Check whether --enable-sim-trace was given.
4575 if test "${enable_sim_trace+set}" = set; then : 4653 if test "${enable_sim_trace+set}" = set; then :
4576 enableval=$enable_sim_trace; case "${enableval}" in 4654 enableval=$enable_sim_trace; case "${enableval}" in
4577 yes) sim_trace="-DTRACE=1 -DWITH_TRACE=-1";; 4655 yes) sim_trace="-DTRACE=1 -DWITH_TRACE=-1";;
4578 no) sim_trace="-DTRACE=0 -DWITH_TRACE=0";; 4656 no) sim_trace="-DTRACE=0 -DWITH_TRACE=0";;
4579 [-0-9]*) 4657 [-0-9]*)
4580 sim_trace="-DTRACE='(${enableval})' -DWITH_TRACE='(${enableval})'";; 4658 sim_trace="-DTRACE='(${enableval})' -DWITH_TRACE='(${enableval})'";;
4581 [a-z]*) 4659 [[:lower:]]*)
4582 sim_trace="" 4660 sim_trace=""
4583 for x in `echo "$enableval" | sed -e "s/,/ /g"`; do 4661 for x in `echo "$enableval" | sed -e "s/,/ /g"`; do
4584 if test x"$sim_trace" = x; then 4662 if test x"$sim_trace" = x; then
4585 sim_trace="-DWITH_TRACE='(TRACE_$x" 4663 sim_trace="-DWITH_TRACE='(TRACE_$x"
4586 else 4664 else
4587 sim_trace="${sim_trace}|TRACE_$x" 4665 sim_trace="${sim_trace}|TRACE_$x"
4588 fi 4666 fi
4589 done 4667 done
4590 sim_trace="$sim_trace)'" ;; 4668 sim_trace="$sim_trace)'" ;;
4591 esac 4669 esac
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after
5070 sim_hostendian="-DWITH_HOST_BYTE_ORDER=BIG_ENDIAN" 5148 sim_hostendian="-DWITH_HOST_BYTE_ORDER=BIG_ENDIAN"
5071 else 5149 else
5072 sim_hostendian="-DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN" 5150 sim_hostendian="-DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN"
5073 fi 5151 fi
5074 else 5152 else
5075 sim_hostendian="-DWITH_HOST_BYTE_ORDER=0" 5153 sim_hostendian="-DWITH_HOST_BYTE_ORDER=0"
5076 fi 5154 fi
5077 fi 5155 fi
5078 5156
5079 5157
5080 # NOTE: Don't add -Wall or -Wunused, they both include 5158 # Check whether --enable-werror was given.
5081 # -Wunused-parameter which reports bogus warnings. 5159 if test "${enable_werror+set}" = set; then :
5082 # NOTE: If you add to this list, remember to update 5160 enableval=$enable_werror; case "${enableval}" in
5161 yes | y) ERROR_ON_WARNING="yes" ;;
5162 no | n) ERROR_ON_WARNING="no" ;;
5163 *) as_fn_error "bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
5164 esac
5165 fi
5166
5167
5168 # Enable -Werror by default when using gcc
5169 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
5170 ERROR_ON_WARNING=yes
5171 fi
5172
5173 WERROR_CFLAGS=""
5174 if test "${ERROR_ON_WARNING}" = yes ; then
5175 # NOTE: Disabled in the sim dir due to most sims generating warnings.
5176 # WERROR_CFLAGS="-Werror"
5177 true
5178 fi
5179
5180 # The entries after -Wno-pointer-sign are disabled warnings which may
5181 # be enabled in the future, which can not currently be used to build
5182 # GDB.
5183 # NOTE: If you change this list, remember to update
5083 # gdb/doc/gdbint.texinfo. 5184 # gdb/doc/gdbint.texinfo.
5084 build_warnings="-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs \ 5185 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
5085 -Wformat -Wparentheses -Wpointer-arith" 5186 -Wformat-nonliteral -Wno-pointer-sign \
5086 # GCC supports -Wuninitialized only with -O or -On, n != 0. 5187 -Wno-unused -Wunused-value -Wunused-function \
5087 if test x${CFLAGS+set} = xset; then 5188 -Wno-switch -Wno-char-subscripts -Wmissing-prototypes"
5088 case "${CFLAGS}" in 5189
5089 *"-O0"* ) ;; 5190 # Enable -Wno-format by default when using gcc on mingw since many
5090 *"-O"* ) 5191 # GCC versions complain about %I64.
5091 build_warnings="${build_warnings} -Wuninitialized" 5192 case "${host}" in
5092 ;; 5193 *-*-mingw32*) build_warnings="$build_warnings -Wno-format" ;;
5093 esac 5194 esac
5094 else 5195
5095 build_warnings="${build_warnings} -Wuninitialized"
5096 fi
5097 # Up for debate: -Wswitch -Wcomment -trigraphs -Wtrigraphs
5098 # -Wunused-function -Wunused-label -Wunused-variable -Wunused-value
5099 # -Wchar-subscripts -Wtraditional -Wshadow -Wcast-qual
5100 # -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes
5101 # -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls
5102 # -Woverloaded-virtual -Winline -Werror"
5103 # Check whether --enable-build-warnings was given. 5196 # Check whether --enable-build-warnings was given.
5104 if test "${enable_build_warnings+set}" = set; then : 5197 if test "${enable_build_warnings+set}" = set; then :
5105 enableval=$enable_build_warnings; case "${enableval}" in 5198 enableval=$enable_build_warnings; case "${enableval}" in
5106 yes) ;; 5199 yes) ;;
5107 no) build_warnings="-w";; 5200 no) build_warnings="-w";;
5108 ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"` 5201 ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"`
5109 build_warnings="${build_warnings} ${t}";; 5202 build_warnings="${build_warnings} ${t}";;
5110 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"` 5203 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"`
5111 build_warnings="${t} ${build_warnings}";; 5204 build_warnings="${t} ${build_warnings}";;
5112 *) build_warnings=`echo "${enableval}" | sed -e "s/,/ /g"`;; 5205 *) build_warnings=`echo "${enableval}" | sed -e "s/,/ /g"`;;
(...skipping 11 matching lines...) Expand all
5124 build_warnings="${build_warnings} ${t}";; 5217 build_warnings="${build_warnings} ${t}";;
5125 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"` 5218 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"`
5126 build_warnings="${t} ${build_warnings}";; 5219 build_warnings="${t} ${build_warnings}";;
5127 *) build_warnings=`echo "${enableval}" | sed -e "s/,/ /g"`;; 5220 *) build_warnings=`echo "${enableval}" | sed -e "s/,/ /g"`;;
5128 esac 5221 esac
5129 if test x"$silent" != x"yes" && test x"$build_warnings" != x""; then 5222 if test x"$silent" != x"yes" && test x"$build_warnings" != x""; then
5130 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1 5223 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
5131 fi 5224 fi
5132 fi 5225 fi
5133 WARN_CFLAGS="" 5226 WARN_CFLAGS=""
5134 WERROR_CFLAGS=""
5135 if test "x${build_warnings}" != x -a "x$GCC" = xyes 5227 if test "x${build_warnings}" != x -a "x$GCC" = xyes
5136 then 5228 then
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler warning flags" >& 5 5229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler warning flags" >& 5
5138 $as_echo_n "checking compiler warning flags... " >&6; } 5230 $as_echo_n "checking compiler warning flags... " >&6; }
5139 # Separate out the -Werror flag as some files just cannot be 5231 # Separate out the -Werror flag as some files just cannot be
5140 # compiled with it enabled. 5232 # compiled with it enabled.
5141 for w in ${build_warnings}; do 5233 for w in ${build_warnings}; do
5142 case $w in 5234 case $w in
5143 -Werr*) WERROR_CFLAGS=-Werror ;; 5235 -Werr*) WERROR_CFLAGS=-Werror ;;
5144 *) # Check that GCC accepts it 5236 *) # Check that GCC accepts it
(...skipping 10 matching lines...) Expand all
5155 return 0; 5247 return 0;
5156 } 5248 }
5157 _ACEOF 5249 _ACEOF
5158 if ac_fn_c_try_compile "$LINENO"; then : 5250 if ac_fn_c_try_compile "$LINENO"; then :
5159 WARN_CFLAGS="${WARN_CFLAGS} $w" 5251 WARN_CFLAGS="${WARN_CFLAGS} $w"
5160 fi 5252 fi
5161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5162 CFLAGS="$saved_CFLAGS" 5254 CFLAGS="$saved_CFLAGS"
5163 esac 5255 esac
5164 done 5256 done
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${WARN_CFLAGS}${WERROR_CFLA GS}" >&5 5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${WARN_CFLAGS} ${WERROR_CFL AGS}" >&5
5166 $as_echo "${WARN_CFLAGS}${WERROR_CFLAGS}" >&6; } 5258 $as_echo "${WARN_CFLAGS} ${WERROR_CFLAGS}" >&6; }
5167 fi 5259 fi
5168 5260
5169 5261
5170 default_sim_reserved_bits="1" 5262 default_sim_reserved_bits="1"
5171 # Check whether --enable-sim-reserved-bits was given. 5263 # Check whether --enable-sim-reserved-bits was given.
5172 if test "${enable_sim_reserved_bits+set}" = set; then : 5264 if test "${enable_sim_reserved_bits+set}" = set; then :
5173 enableval=$enable_sim_reserved_bits; case "${enableval}" in 5265 enableval=$enable_sim_reserved_bits; case "${enableval}" in
5174 yes) sim_reserved_bits="-DWITH_RESERVED_BITS=1";; 5266 yes) sim_reserved_bits="-DWITH_RESERVED_BITS=1";;
5175 no) sim_reserved_bits="-DWITH_RESERVED_BITS=0";; 5267 no) sim_reserved_bits="-DWITH_RESERVED_BITS=0";;
5176 *) as_fn_error "\"--enable-sim-reserved-bits does not take a value\"" "$LIN ENO" 5; sim_reserved_bits="";; 5268 *) as_fn_error "\"--enable-sim-reserved-bits does not take a value\"" "$LIN ENO" 5; sim_reserved_bits="";;
(...skipping 1442 matching lines...) Expand 10 before | Expand all | Expand 10 after
6619 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 6711 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6620 # would make configure fail if this is the last instruction. 6712 # would make configure fail if this is the last instruction.
6621 $ac_cs_success || as_fn_exit $? 6713 $ac_cs_success || as_fn_exit $?
6622 fi 6714 fi
6623 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 6715 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_un recognized_opts" >&5 6716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_un recognized_opts" >&5
6625 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 6717 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6626 fi 6718 fi
6627 6719
6628 6720
OLDNEW
« no previous file with comments | « sim/v850/config.in ('k') | sim/v850/sim-main.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698