OLD | NEW |
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 595 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
606 REPORT_BUGS_TEXI | 606 REPORT_BUGS_TEXI |
607 REPORT_BUGS_TO | 607 REPORT_BUGS_TO |
608 PKGVERSION | 608 PKGVERSION |
609 sim_profile | 609 sim_profile |
610 sim_trace | 610 sim_trace |
611 sim_stdio | 611 sim_stdio |
612 sim_debug | 612 sim_debug |
613 sim_cflags | 613 sim_cflags |
614 sim_bswap | 614 sim_bswap |
615 MAINT | 615 MAINT |
616 EGREP | |
617 GREP | |
618 CPP | |
619 CATOBJEXT | 616 CATOBJEXT |
620 GENCAT | 617 GENCAT |
621 INSTOBJEXT | 618 INSTOBJEXT |
622 DATADIRNAME | 619 DATADIRNAME |
623 CATALOGS | 620 CATALOGS |
624 POSUB | 621 POSUB |
625 GMSGFMT | 622 GMSGFMT |
626 XGETTEXT | 623 XGETTEXT |
627 INCINTL | 624 INCINTL |
628 LIBINTL_DEP | 625 LIBINTL_DEP |
629 LIBINTL | 626 LIBINTL |
630 USE_NLS | 627 USE_NLS |
631 GMAKE_FALSE | 628 GMAKE_FALSE |
632 GMAKE_TRUE | 629 GMAKE_TRUE |
633 MAKE | 630 MAKE |
634 CCDEPMODE | 631 CCDEPMODE |
635 DEPDIR | 632 DEPDIR |
636 am__leading_dot | 633 am__leading_dot |
| 634 PACKAGE |
637 RANLIB | 635 RANLIB |
638 AR | 636 AR |
639 HDEFINES | 637 HDEFINES |
640 CC_FOR_BUILD | 638 CC_FOR_BUILD |
641 INSTALL_DATA | 639 INSTALL_DATA |
642 INSTALL_SCRIPT | 640 INSTALL_SCRIPT |
643 INSTALL_PROGRAM | 641 INSTALL_PROGRAM |
| 642 EGREP |
| 643 GREP |
| 644 CPP |
644 target_os | 645 target_os |
645 target_vendor | 646 target_vendor |
646 target_cpu | 647 target_cpu |
647 target | 648 target |
648 host_os | 649 host_os |
649 host_vendor | 650 host_vendor |
650 host_cpu | 651 host_cpu |
651 host | 652 host |
652 build_os | 653 build_os |
653 build_vendor | 654 build_vendor |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
728 enable_sim_cflags | 729 enable_sim_cflags |
729 enable_sim_debug | 730 enable_sim_debug |
730 enable_sim_stdio | 731 enable_sim_stdio |
731 enable_sim_trace | 732 enable_sim_trace |
732 enable_sim_profile | 733 enable_sim_profile |
733 with_pkgversion | 734 with_pkgversion |
734 with_bugurl | 735 with_bugurl |
735 enable_sim_inline | 736 enable_sim_inline |
736 enable_sim_alignment | 737 enable_sim_alignment |
737 enable_sim_hostendian | 738 enable_sim_hostendian |
| 739 enable_werror |
738 enable_build_warnings | 740 enable_build_warnings |
739 enable_sim_build_warnings | 741 enable_sim_build_warnings |
740 enable_sim_reserved_bits | 742 enable_sim_reserved_bits |
741 enable_sim_endian | 743 enable_sim_endian |
742 enable_sim_bitsize | 744 enable_sim_bitsize |
743 enable_sim_float | 745 enable_sim_float |
744 enable_sim_smp | 746 enable_sim_smp |
745 enable_sim_hardware | 747 enable_sim_hardware |
746 with_x | 748 with_x |
747 ' | 749 ' |
(...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1380 --enable-maintainer-mode Enable developer functionality. | 1382 --enable-maintainer-mode Enable developer functionality. |
1381 --enable-sim-bswap Use Host specific BSWAP instruction. | 1383 --enable-sim-bswap Use Host specific BSWAP instruction. |
1382 --enable-sim-cflags=opts Extra CFLAGS for use in building simulat
or | 1384 --enable-sim-cflags=opts Extra CFLAGS for use in building simulat
or |
1383 --enable-sim-debug=opts Enable debugging flags | 1385 --enable-sim-debug=opts Enable debugging flags |
1384 --enable-sim-stdio Specify whether to use stdio for console
input/output. | 1386 --enable-sim-stdio Specify whether to use stdio for console
input/output. |
1385 --enable-sim-trace=opts Enable tracing flags | 1387 --enable-sim-trace=opts Enable tracing flags |
1386 --enable-sim-profile=opts Enable profiling flags | 1388 --enable-sim-profile=opts Enable profiling flags |
1387 --enable-sim-inline=inlines Specify which functions should be inline
d. | 1389 --enable-sim-inline=inlines Specify which functions should be inline
d. |
1388 --enable-sim-alignment=align Specify strict, nonstrict or forced ali
gnment of memory accesses. | 1390 --enable-sim-alignment=align Specify strict, nonstrict or forced ali
gnment of memory accesses. |
1389 --enable-sim-hostendian=end Specify host byte endian orientation. | 1391 --enable-sim-hostendian=end Specify host byte endian orientation. |
1390 --enable-build-warnings Enable build-time compiler warnings if gcc is used | 1392 --enable-werror treat compile warnings as errors |
1391 --enable-gdb-build-warnings Enable SIM specific build-time compiler warnings i
f gcc is used | 1393 --enable-build-warnings enable build-time compiler warnings if gcc is used |
| 1394 --enable-sim-build-warnings |
| 1395 enable SIM specific build-time compiler warnings if |
| 1396 gcc is used |
1392 --enable-sim-reserved-bits Specify whether to check reserved bits i
n instruction. | 1397 --enable-sim-reserved-bits Specify whether to check reserved bits i
n instruction. |
1393 --enable-sim-endian=endian Specify target byte endian orientation. | 1398 --enable-sim-endian=endian Specify target byte endian orientation. |
1394 --enable-sim-bitsize=N Specify target bitsize (32 or 64). | 1399 --enable-sim-bitsize=N Specify target bitsize (32 or 64). |
1395 --enable-sim-float Specify that the target processor has fl
oating point hardware. | 1400 --enable-sim-float Specify that the target processor has fl
oating point hardware. |
1396 --enable-sim-smp=n Specify number of processors to configur
e for (default ${default_sim_smp}). | 1401 --enable-sim-smp=n Specify number of processors to configur
e for (default ${default_sim_smp}). |
1397 --enable-sim-hardware=LIST Specify the hardware to be included in t
he build. | 1402 --enable-sim-hardware=LIST Specify the hardware to be included in t
he build. |
1398 | 1403 |
1399 Optional Packages: | 1404 Optional Packages: |
1400 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | 1405 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1401 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | 1406 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
(...skipping 1065 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2467 # triggers warnings from the preprocessor. Will be in autoconf 2.58. | 2472 # triggers warnings from the preprocessor. Will be in autoconf 2.58. |
2468 # For now, using this also overrides header checks to use only the | 2473 # For now, using this also overrides header checks to use only the |
2469 # preprocessor (matches 2.13 behavior; matching 2.58's behavior is a | 2474 # preprocessor (matches 2.13 behavior; matching 2.58's behavior is a |
2470 # bit harder from here). | 2475 # bit harder from here). |
2471 # Eventually autoconf will default to checking headers with the compiler | 2476 # Eventually autoconf will default to checking headers with the compiler |
2472 # instead, and we'll have to do this differently. | 2477 # instead, and we'll have to do this differently. |
2473 | 2478 |
2474 # AC_PROG_CPP_WERROR | 2479 # AC_PROG_CPP_WERROR |
2475 | 2480 |
2476 # Test for GNAT. | 2481 # Test for GNAT. |
2477 # We require the gnatbind program, and a compiler driver that | 2482 # We require the gnatbind & gnatmake programs, as well as a compiler driver |
2478 # understands Ada. We use the user's CC setting, already found, | 2483 # that understands Ada. We use the user's CC setting, already found, and |
2479 # and possibly add $1 to the command-line parameters. | 2484 # possibly add $1 to the command-line parameters. |
2480 # | 2485 # |
2481 # Sets the shell variable have_gnat to yes or no as appropriate, and | 2486 # Sets the shell variable have_gnat to yes or no as appropriate, and |
2482 # substitutes GNATBIND and GNATMAKE. | 2487 # substitutes GNATBIND and GNATMAKE. |
2483 | 2488 |
2484 | 2489 |
2485 | 2490 |
2486 | 2491 |
2487 | 2492 |
2488 | 2493 |
2489 | 2494 |
(...skipping 906 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3396 IFS=$ac_save_IFS | 3401 IFS=$ac_save_IFS |
3397 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac | 3402 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac |
3398 | 3403 |
3399 | 3404 |
3400 # The aliases save the names the user supplied, while $host etc. | 3405 # The aliases save the names the user supplied, while $host etc. |
3401 # will get canonicalized. | 3406 # will get canonicalized. |
3402 test -n "$target_alias" && | 3407 test -n "$target_alias" && |
3403 test "$program_prefix$program_suffix$program_transform_name" = \ | 3408 test "$program_prefix$program_suffix$program_transform_name" = \ |
3404 NONENONEs,x,x, && | 3409 NONENONEs,x,x, && |
3405 program_prefix=${target_alias}- | 3410 program_prefix=${target_alias}- |
3406 test "$program_prefix" != NONE && | |
3407 program_transform_name="s&^&$program_prefix&;$program_transform_name" | |
3408 # Use a double $ so make ignores it. | |
3409 test "$program_suffix" != NONE && | |
3410 program_transform_name="s&\$&$program_suffix&;$program_transform_name" | |
3411 # Double any \ or $. | |
3412 # By default was `s,x,x', remove it if useless. | |
3413 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' | |
3414 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` | |
3415 | |
3416 # Find a good install program. We prefer a C program (faster), | |
3417 # so one script is as good as another. But avoid the broken or | |
3418 # incompatible versions: | |
3419 # SysV /etc/install, /usr/sbin/install | |
3420 # SunOS /usr/etc/install | |
3421 # IRIX /sbin/install | |
3422 # AIX /bin/install | |
3423 # AmigaOS /C/install, which installs bootblocks on floppy discs | |
3424 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | |
3425 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | |
3426 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | |
3427 # OS/2's system install, which has a completely different semantic | |
3428 # ./install, which can be erroneously created by make from ./install.sh. | |
3429 # Reject install programs that cannot install multiple files. | |
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install"
>&5 | |
3431 $as_echo_n "checking for a BSD-compatible install... " >&6; } | |
3432 if test -z "$INSTALL"; then | |
3433 if test "${ac_cv_path_install+set}" = set; then : | |
3434 $as_echo_n "(cached) " >&6 | |
3435 else | |
3436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3437 for as_dir in $PATH | |
3438 do | |
3439 IFS=$as_save_IFS | |
3440 test -z "$as_dir" && as_dir=. | |
3441 # Account for people who put trailing slashes in PATH elements. | |
3442 case $as_dir/ in #(( | |
3443 ./ | .// | /[cC]/* | \ | |
3444 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | |
3445 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ | |
3446 /usr/ucb/* ) ;; | |
3447 *) | |
3448 # OSF1 and SCO ODT 3.0 have their own names for install. | |
3449 # Don't use installbsd from OSF since it installs stuff as root | |
3450 # by default. | |
3451 for ac_prog in ginstall scoinst install; do | |
3452 for ac_exec_ext in '' $ac_executable_extensions; do | |
3453 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_p
rog$ac_exec_ext"; }; then | |
3454 if test $ac_prog = install && | |
3455 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
3456 # AIX install. It has an incompatible calling convention. | |
3457 : | |
3458 elif test $ac_prog = install && | |
3459 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
3460 # program-specific install script used by HP pwplus--don't use. | |
3461 : | |
3462 else | |
3463 rm -rf conftest.one conftest.two conftest.dir | |
3464 echo one > conftest.one | |
3465 echo two > conftest.two | |
3466 mkdir conftest.dir | |
3467 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd
`/conftest.dir" && | |
3468 test -s conftest.one && test -s conftest.two && | |
3469 test -s conftest.dir/conftest.one && | |
3470 test -s conftest.dir/conftest.two | |
3471 then | |
3472 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | |
3473 break 3 | |
3474 fi | |
3475 fi | |
3476 fi | |
3477 done | |
3478 done | |
3479 ;; | |
3480 esac | |
3481 | |
3482 done | |
3483 IFS=$as_save_IFS | |
3484 | |
3485 rm -rf conftest.one conftest.two conftest.dir | |
3486 | |
3487 fi | |
3488 if test "${ac_cv_path_install+set}" = set; then | |
3489 INSTALL=$ac_cv_path_install | |
3490 else | |
3491 # As a last resort, use the slow shell script. Don't cache a | |
3492 # value for INSTALL within a source directory, because that will | |
3493 # break other packages using the cache if that directory is | |
3494 # removed, or if the value is a relative name. | |
3495 INSTALL=$ac_install_sh | |
3496 fi | |
3497 fi | |
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 | |
3499 $as_echo "$INSTALL" >&6; } | |
3500 | |
3501 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | |
3502 # It thinks the first close brace ends the variable substitution. | |
3503 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | |
3504 | |
3505 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | |
3506 | |
3507 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | |
3508 | |
3509 rm -rf .tst 2>/dev/null | |
3510 mkdir .tst 2>/dev/null | |
3511 if test -d .tst; then | |
3512 am__leading_dot=. | |
3513 else | |
3514 am__leading_dot=_ | |
3515 fi | |
3516 rmdir .tst 2>/dev/null | |
3517 | |
3518 DEPDIR="${am__leading_dot}deps" | |
3519 | |
3520 | 3411 |
3521 ac_ext=c | 3412 ac_ext=c |
3522 ac_cpp='$CPP $CPPFLAGS' | 3413 ac_cpp='$CPP $CPPFLAGS' |
3523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | 3415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
3525 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3416 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor"
>&5 | 3417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor"
>&5 |
3527 $as_echo_n "checking how to run the C preprocessor... " >&6; } | 3418 $as_echo_n "checking how to run the C preprocessor... " >&6; } |
3528 # On Suns, sometimes $CPP names a directory. | 3419 # On Suns, sometimes $CPP names a directory. |
3529 if test -n "$CPP" && test -d "$CPP"; then | 3420 if test -n "$CPP" && test -d "$CPP"; then |
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3910 cat >>confdefs.h <<_ACEOF | 3801 cat >>confdefs.h <<_ACEOF |
3911 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 3802 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
3912 _ACEOF | 3803 _ACEOF |
3913 | 3804 |
3914 fi | 3805 fi |
3915 | 3806 |
3916 done | 3807 done |
3917 | 3808 |
3918 | 3809 |
3919 | 3810 |
| 3811 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_co
nfig_h" "$ac_includes_default" |
| 3812 if test "x$ac_cv_header_minix_config_h" = x""yes; then : |
| 3813 MINIX=yes |
| 3814 else |
| 3815 MINIX= |
| 3816 fi |
| 3817 |
| 3818 |
| 3819 if test "$MINIX" = yes; then |
| 3820 |
| 3821 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h |
| 3822 |
| 3823 |
| 3824 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h |
| 3825 |
| 3826 |
| 3827 $as_echo "#define _MINIX 1" >>confdefs.h |
| 3828 |
| 3829 fi |
| 3830 |
| 3831 |
| 3832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define
__EXTENSIONS__" >&5 |
| 3833 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } |
| 3834 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : |
| 3835 $as_echo_n "(cached) " >&6 |
| 3836 else |
| 3837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3838 /* end confdefs.h. */ |
| 3839 |
| 3840 # define __EXTENSIONS__ 1 |
| 3841 $ac_includes_default |
| 3842 int |
| 3843 main () |
| 3844 { |
| 3845 |
| 3846 ; |
| 3847 return 0; |
| 3848 } |
| 3849 _ACEOF |
| 3850 if ac_fn_c_try_compile "$LINENO"; then : |
| 3851 ac_cv_safe_to_define___extensions__=yes |
| 3852 else |
| 3853 ac_cv_safe_to_define___extensions__=no |
| 3854 fi |
| 3855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3856 fi |
| 3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensi
ons__" >&5 |
| 3858 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } |
| 3859 test $ac_cv_safe_to_define___extensions__ = yes && |
| 3860 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h |
| 3861 |
| 3862 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h |
| 3863 |
| 3864 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h |
| 3865 |
| 3866 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h |
| 3867 |
| 3868 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h |
| 3869 |
| 3870 |
| 3871 test "$program_prefix" != NONE && |
| 3872 program_transform_name="s&^&$program_prefix&;$program_transform_name" |
| 3873 # Use a double $ so make ignores it. |
| 3874 test "$program_suffix" != NONE && |
| 3875 program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
| 3876 # Double any \ or $. |
| 3877 # By default was `s,x,x', remove it if useless. |
| 3878 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
| 3879 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
| 3880 |
| 3881 # Find a good install program. We prefer a C program (faster), |
| 3882 # so one script is as good as another. But avoid the broken or |
| 3883 # incompatible versions: |
| 3884 # SysV /etc/install, /usr/sbin/install |
| 3885 # SunOS /usr/etc/install |
| 3886 # IRIX /sbin/install |
| 3887 # AIX /bin/install |
| 3888 # AmigaOS /C/install, which installs bootblocks on floppy discs |
| 3889 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
| 3890 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 3891 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 3892 # OS/2's system install, which has a completely different semantic |
| 3893 # ./install, which can be erroneously created by make from ./install.sh. |
| 3894 # Reject install programs that cannot install multiple files. |
| 3895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install"
>&5 |
| 3896 $as_echo_n "checking for a BSD-compatible install... " >&6; } |
| 3897 if test -z "$INSTALL"; then |
| 3898 if test "${ac_cv_path_install+set}" = set; then : |
| 3899 $as_echo_n "(cached) " >&6 |
| 3900 else |
| 3901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3902 for as_dir in $PATH |
| 3903 do |
| 3904 IFS=$as_save_IFS |
| 3905 test -z "$as_dir" && as_dir=. |
| 3906 # Account for people who put trailing slashes in PATH elements. |
| 3907 case $as_dir/ in #(( |
| 3908 ./ | .// | /[cC]/* | \ |
| 3909 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
| 3910 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
| 3911 /usr/ucb/* ) ;; |
| 3912 *) |
| 3913 # OSF1 and SCO ODT 3.0 have their own names for install. |
| 3914 # Don't use installbsd from OSF since it installs stuff as root |
| 3915 # by default. |
| 3916 for ac_prog in ginstall scoinst install; do |
| 3917 for ac_exec_ext in '' $ac_executable_extensions; do |
| 3918 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_p
rog$ac_exec_ext"; }; then |
| 3919 if test $ac_prog = install && |
| 3920 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 3921 # AIX install. It has an incompatible calling convention. |
| 3922 : |
| 3923 elif test $ac_prog = install && |
| 3924 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 3925 # program-specific install script used by HP pwplus--don't use. |
| 3926 : |
| 3927 else |
| 3928 rm -rf conftest.one conftest.two conftest.dir |
| 3929 echo one > conftest.one |
| 3930 echo two > conftest.two |
| 3931 mkdir conftest.dir |
| 3932 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd
`/conftest.dir" && |
| 3933 test -s conftest.one && test -s conftest.two && |
| 3934 test -s conftest.dir/conftest.one && |
| 3935 test -s conftest.dir/conftest.two |
| 3936 then |
| 3937 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
| 3938 break 3 |
| 3939 fi |
| 3940 fi |
| 3941 fi |
| 3942 done |
| 3943 done |
| 3944 ;; |
| 3945 esac |
| 3946 |
| 3947 done |
| 3948 IFS=$as_save_IFS |
| 3949 |
| 3950 rm -rf conftest.one conftest.two conftest.dir |
| 3951 |
| 3952 fi |
| 3953 if test "${ac_cv_path_install+set}" = set; then |
| 3954 INSTALL=$ac_cv_path_install |
| 3955 else |
| 3956 # As a last resort, use the slow shell script. Don't cache a |
| 3957 # value for INSTALL within a source directory, because that will |
| 3958 # break other packages using the cache if that directory is |
| 3959 # removed, or if the value is a relative name. |
| 3960 INSTALL=$ac_install_sh |
| 3961 fi |
| 3962 fi |
| 3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
| 3964 $as_echo "$INSTALL" >&6; } |
| 3965 |
| 3966 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
| 3967 # It thinks the first close brace ends the variable substitution. |
| 3968 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
| 3969 |
| 3970 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
| 3971 |
| 3972 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| 3973 |
| 3974 rm -rf .tst 2>/dev/null |
| 3975 mkdir .tst 2>/dev/null |
| 3976 if test -d .tst; then |
| 3977 am__leading_dot=. |
| 3978 else |
| 3979 am__leading_dot=_ |
| 3980 fi |
| 3981 rmdir .tst 2>/dev/null |
| 3982 |
| 3983 DEPDIR="${am__leading_dot}deps" |
| 3984 |
| 3985 |
3920 | 3986 |
3921 # autoconf.info says this should be called right after AC_INIT. | 3987 # autoconf.info says this should be called right after AC_INIT. |
3922 ac_config_headers="$ac_config_headers config.h:config.in" | 3988 ac_config_headers="$ac_config_headers config.h:config.in" |
3923 | 3989 |
3924 | 3990 |
3925 | 3991 |
3926 | 3992 |
3927 | 3993 |
| 3994 |
3928 # Put a plausible default for CC_FOR_BUILD in Makefile. | 3995 # Put a plausible default for CC_FOR_BUILD in Makefile. |
3929 if test "x$cross_compiling" = "xno"; then | 3996 if test "x$cross_compiling" = "xno"; then |
3930 CC_FOR_BUILD='$(CC)' | 3997 CC_FOR_BUILD='$(CC)' |
3931 else | 3998 else |
3932 CC_FOR_BUILD=gcc | 3999 CC_FOR_BUILD=gcc |
3933 fi | 4000 fi |
3934 | 4001 |
3935 | 4002 |
3936 | 4003 |
3937 | 4004 |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4023 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | 4090 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} |
4024 ac_tool_warned=yes ;; | 4091 ac_tool_warned=yes ;; |
4025 esac | 4092 esac |
4026 RANLIB=$ac_ct_RANLIB | 4093 RANLIB=$ac_ct_RANLIB |
4027 fi | 4094 fi |
4028 else | 4095 else |
4029 RANLIB="$ac_cv_prog_RANLIB" | 4096 RANLIB="$ac_cv_prog_RANLIB" |
4030 fi | 4097 fi |
4031 | 4098 |
4032 | 4099 |
| 4100 # Some of the common include files depend on bfd.h, and bfd.h checks |
| 4101 # that config.h is included first by testing that the PACKAGE macro |
| 4102 # is defined. |
| 4103 PACKAGE=sim |
| 4104 |
| 4105 cat >>confdefs.h <<_ACEOF |
| 4106 #define PACKAGE "$PACKAGE" |
| 4107 _ACEOF |
| 4108 |
| 4109 |
| 4110 |
4033 # Dependency checking. | 4111 # Dependency checking. |
4034 ac_config_commands="$ac_config_commands depdir" | 4112 ac_config_commands="$ac_config_commands depdir" |
4035 | 4113 |
4036 | 4114 |
4037 depcc="$CC" am_compiler_list= | 4115 depcc="$CC" am_compiler_list= |
4038 | 4116 |
4039 am_depcomp=$ac_aux_dir/depcomp | 4117 am_depcomp=$ac_aux_dir/depcomp |
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&
5 | 4118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&
5 |
4041 $as_echo_n "checking dependency style of $depcc... " >&6; } | 4119 $as_echo_n "checking dependency style of $depcc... " >&6; } |
4042 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : | 4120 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : |
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4599 | 4677 |
4600 | 4678 |
4601 | 4679 |
4602 # Check whether --enable-sim-trace was given. | 4680 # Check whether --enable-sim-trace was given. |
4603 if test "${enable_sim_trace+set}" = set; then : | 4681 if test "${enable_sim_trace+set}" = set; then : |
4604 enableval=$enable_sim_trace; case "${enableval}" in | 4682 enableval=$enable_sim_trace; case "${enableval}" in |
4605 yes) sim_trace="-DTRACE=1 -DWITH_TRACE=-1";; | 4683 yes) sim_trace="-DTRACE=1 -DWITH_TRACE=-1";; |
4606 no) sim_trace="-DTRACE=0 -DWITH_TRACE=0";; | 4684 no) sim_trace="-DTRACE=0 -DWITH_TRACE=0";; |
4607 [-0-9]*) | 4685 [-0-9]*) |
4608 sim_trace="-DTRACE='(${enableval})' -DWITH_TRACE='(${enableval})'";; | 4686 sim_trace="-DTRACE='(${enableval})' -DWITH_TRACE='(${enableval})'";; |
4609 [a-z]*) | 4687 [[:lower:]]*) |
4610 sim_trace="" | 4688 sim_trace="" |
4611 for x in `echo "$enableval" | sed -e "s/,/ /g"`; do | 4689 for x in `echo "$enableval" | sed -e "s/,/ /g"`; do |
4612 if test x"$sim_trace" = x; then | 4690 if test x"$sim_trace" = x; then |
4613 sim_trace="-DWITH_TRACE='(TRACE_$x" | 4691 sim_trace="-DWITH_TRACE='(TRACE_$x" |
4614 else | 4692 else |
4615 sim_trace="${sim_trace}|TRACE_$x" | 4693 sim_trace="${sim_trace}|TRACE_$x" |
4616 fi | 4694 fi |
4617 done | 4695 done |
4618 sim_trace="$sim_trace)'" ;; | 4696 sim_trace="$sim_trace)'" ;; |
4619 esac | 4697 esac |
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5097 sim_hostendian="-DWITH_HOST_BYTE_ORDER=BIG_ENDIAN" | 5175 sim_hostendian="-DWITH_HOST_BYTE_ORDER=BIG_ENDIAN" |
5098 else | 5176 else |
5099 sim_hostendian="-DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN" | 5177 sim_hostendian="-DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN" |
5100 fi | 5178 fi |
5101 else | 5179 else |
5102 sim_hostendian="-DWITH_HOST_BYTE_ORDER=0" | 5180 sim_hostendian="-DWITH_HOST_BYTE_ORDER=0" |
5103 fi | 5181 fi |
5104 fi | 5182 fi |
5105 | 5183 |
5106 | 5184 |
5107 # NOTE: Don't add -Wall or -Wunused, they both include | 5185 # Check whether --enable-werror was given. |
5108 # -Wunused-parameter which reports bogus warnings. | 5186 if test "${enable_werror+set}" = set; then : |
5109 # NOTE: If you add to this list, remember to update | 5187 enableval=$enable_werror; case "${enableval}" in |
| 5188 yes | y) ERROR_ON_WARNING="yes" ;; |
| 5189 no | n) ERROR_ON_WARNING="no" ;; |
| 5190 *) as_fn_error "bad value ${enableval} for --enable-werror" "$LINENO" 5 ;; |
| 5191 esac |
| 5192 fi |
| 5193 |
| 5194 |
| 5195 # Enable -Werror by default when using gcc |
| 5196 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then |
| 5197 ERROR_ON_WARNING=yes |
| 5198 fi |
| 5199 |
| 5200 WERROR_CFLAGS="" |
| 5201 if test "${ERROR_ON_WARNING}" = yes ; then |
| 5202 # NOTE: Disabled in the sim dir due to most sims generating warnings. |
| 5203 # WERROR_CFLAGS="-Werror" |
| 5204 true |
| 5205 fi |
| 5206 |
| 5207 # The entries after -Wno-pointer-sign are disabled warnings which may |
| 5208 # be enabled in the future, which can not currently be used to build |
| 5209 # GDB. |
| 5210 # NOTE: If you change this list, remember to update |
5110 # gdb/doc/gdbint.texinfo. | 5211 # gdb/doc/gdbint.texinfo. |
5111 build_warnings="-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs \ | 5212 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ |
5112 -Wformat -Wparentheses -Wpointer-arith" | 5213 -Wformat-nonliteral -Wno-pointer-sign \ |
5113 # GCC supports -Wuninitialized only with -O or -On, n != 0. | 5214 -Wno-unused -Wunused-value -Wunused-function \ |
5114 if test x${CFLAGS+set} = xset; then | 5215 -Wno-switch -Wno-char-subscripts -Wmissing-prototypes" |
5115 case "${CFLAGS}" in | 5216 |
5116 *"-O0"* ) ;; | 5217 # Enable -Wno-format by default when using gcc on mingw since many |
5117 *"-O"* ) | 5218 # GCC versions complain about %I64. |
5118 build_warnings="${build_warnings} -Wuninitialized" | 5219 case "${host}" in |
5119 ;; | 5220 *-*-mingw32*) build_warnings="$build_warnings -Wno-format" ;; |
5120 esac | 5221 esac |
5121 else | 5222 |
5122 build_warnings="${build_warnings} -Wuninitialized" | |
5123 fi | |
5124 # Up for debate: -Wswitch -Wcomment -trigraphs -Wtrigraphs | |
5125 # -Wunused-function -Wunused-label -Wunused-variable -Wunused-value | |
5126 # -Wchar-subscripts -Wtraditional -Wshadow -Wcast-qual | |
5127 # -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes | |
5128 # -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls | |
5129 # -Woverloaded-virtual -Winline -Werror" | |
5130 # Check whether --enable-build-warnings was given. | 5223 # Check whether --enable-build-warnings was given. |
5131 if test "${enable_build_warnings+set}" = set; then : | 5224 if test "${enable_build_warnings+set}" = set; then : |
5132 enableval=$enable_build_warnings; case "${enableval}" in | 5225 enableval=$enable_build_warnings; case "${enableval}" in |
5133 yes) ;; | 5226 yes) ;; |
5134 no) build_warnings="-w";; | 5227 no) build_warnings="-w";; |
5135 ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"` | 5228 ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"` |
5136 build_warnings="${build_warnings} ${t}";; | 5229 build_warnings="${build_warnings} ${t}";; |
5137 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"` | 5230 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"` |
5138 build_warnings="${t} ${build_warnings}";; | 5231 build_warnings="${t} ${build_warnings}";; |
5139 *) build_warnings=`echo "${enableval}" | sed -e "s/,/ /g"`;; | 5232 *) build_warnings=`echo "${enableval}" | sed -e "s/,/ /g"`;; |
(...skipping 11 matching lines...) Expand all Loading... |
5151 build_warnings="${build_warnings} ${t}";; | 5244 build_warnings="${build_warnings} ${t}";; |
5152 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"` | 5245 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"` |
5153 build_warnings="${t} ${build_warnings}";; | 5246 build_warnings="${t} ${build_warnings}";; |
5154 *) build_warnings=`echo "${enableval}" | sed -e "s/,/ /g"`;; | 5247 *) build_warnings=`echo "${enableval}" | sed -e "s/,/ /g"`;; |
5155 esac | 5248 esac |
5156 if test x"$silent" != x"yes" && test x"$build_warnings" != x""; then | 5249 if test x"$silent" != x"yes" && test x"$build_warnings" != x""; then |
5157 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1 | 5250 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1 |
5158 fi | 5251 fi |
5159 fi | 5252 fi |
5160 WARN_CFLAGS="" | 5253 WARN_CFLAGS="" |
5161 WERROR_CFLAGS="" | |
5162 if test "x${build_warnings}" != x -a "x$GCC" = xyes | 5254 if test "x${build_warnings}" != x -a "x$GCC" = xyes |
5163 then | 5255 then |
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler warning flags" >&
5 | 5256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler warning flags" >&
5 |
5165 $as_echo_n "checking compiler warning flags... " >&6; } | 5257 $as_echo_n "checking compiler warning flags... " >&6; } |
5166 # Separate out the -Werror flag as some files just cannot be | 5258 # Separate out the -Werror flag as some files just cannot be |
5167 # compiled with it enabled. | 5259 # compiled with it enabled. |
5168 for w in ${build_warnings}; do | 5260 for w in ${build_warnings}; do |
5169 case $w in | 5261 case $w in |
5170 -Werr*) WERROR_CFLAGS=-Werror ;; | 5262 -Werr*) WERROR_CFLAGS=-Werror ;; |
5171 *) # Check that GCC accepts it | 5263 *) # Check that GCC accepts it |
(...skipping 10 matching lines...) Expand all Loading... |
5182 return 0; | 5274 return 0; |
5183 } | 5275 } |
5184 _ACEOF | 5276 _ACEOF |
5185 if ac_fn_c_try_compile "$LINENO"; then : | 5277 if ac_fn_c_try_compile "$LINENO"; then : |
5186 WARN_CFLAGS="${WARN_CFLAGS} $w" | 5278 WARN_CFLAGS="${WARN_CFLAGS} $w" |
5187 fi | 5279 fi |
5188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5189 CFLAGS="$saved_CFLAGS" | 5281 CFLAGS="$saved_CFLAGS" |
5190 esac | 5282 esac |
5191 done | 5283 done |
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${WARN_CFLAGS}${WERROR_CFLA
GS}" >&5 | 5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${WARN_CFLAGS} ${WERROR_CFL
AGS}" >&5 |
5193 $as_echo "${WARN_CFLAGS}${WERROR_CFLAGS}" >&6; } | 5285 $as_echo "${WARN_CFLAGS} ${WERROR_CFLAGS}" >&6; } |
5194 fi | 5286 fi |
5195 | 5287 |
5196 | 5288 |
5197 default_sim_reserved_bits="1" | 5289 default_sim_reserved_bits="1" |
5198 # Check whether --enable-sim-reserved-bits was given. | 5290 # Check whether --enable-sim-reserved-bits was given. |
5199 if test "${enable_sim_reserved_bits+set}" = set; then : | 5291 if test "${enable_sim_reserved_bits+set}" = set; then : |
5200 enableval=$enable_sim_reserved_bits; case "${enableval}" in | 5292 enableval=$enable_sim_reserved_bits; case "${enableval}" in |
5201 yes) sim_reserved_bits="-DWITH_RESERVED_BITS=1";; | 5293 yes) sim_reserved_bits="-DWITH_RESERVED_BITS=1";; |
5202 no) sim_reserved_bits="-DWITH_RESERVED_BITS=0";; | 5294 no) sim_reserved_bits="-DWITH_RESERVED_BITS=0";; |
5203 *) as_fn_error "\"--enable-sim-reserved-bits does not take a value\"" "$LIN
ENO" 5; sim_reserved_bits="";; | 5295 *) as_fn_error "\"--enable-sim-reserved-bits does not take a value\"" "$LIN
ENO" 5; sim_reserved_bits="";; |
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5567 # Start in a known state. | 5659 # Start in a known state. |
5568 rm -f multi-include.h multi-run.c | 5660 rm -f multi-include.h multi-run.c |
5569 sim_multi_flags= | 5661 sim_multi_flags= |
5570 sim_multi_src= | 5662 sim_multi_src= |
5571 sim_multi_obj=multi-run.o | 5663 sim_multi_obj=multi-run.o |
5572 sim_multi_igen_configs= | 5664 sim_multi_igen_configs= |
5573 sim_seen_default=no | 5665 sim_seen_default=no |
5574 | 5666 |
5575 cat << __EOF__ > multi-run.c | 5667 cat << __EOF__ > multi-run.c |
5576 /* Main entry point for MULTI simulators. | 5668 /* Main entry point for MULTI simulators. |
5577 Copyright (C) 2003, 2007, 2010 Free Software Foundation, Inc. | 5669 Copyright (C) 2003, 2007, 2010, 2012 Free Software Foundation, Inc. |
5578 | 5670 |
5579 This program is free software; you can redistribute it and/or modify | 5671 This program is free software; you can redistribute it and/or modify |
5580 it under the terms of the GNU General Public License as published by | 5672 it under the terms of the GNU General Public License as published by |
5581 the Free Software Foundation; either version 3 of the License, or | 5673 the Free Software Foundation; either version 3 of the License, or |
5582 (at your option) any later version. | 5674 (at your option) any later version. |
5583 | 5675 |
5584 This program is distributed in the hope that it will be useful, | 5676 This program is distributed in the hope that it will be useful, |
5585 but WITHOUT ANY WARRANTY; without even the implied warranty of | 5677 but WITHOUT ANY WARRANTY; without even the implied warranty of |
5586 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 5678 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
5587 GNU General Public License for more details. | 5679 GNU General Public License for more details. |
(...skipping 1905 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7493 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 7585 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
7494 # would make configure fail if this is the last instruction. | 7586 # would make configure fail if this is the last instruction. |
7495 $ac_cs_success || as_fn_exit $? | 7587 $ac_cs_success || as_fn_exit $? |
7496 fi | 7588 fi |
7497 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | 7589 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_un
recognized_opts" >&5 | 7590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_un
recognized_opts" >&5 |
7499 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | 7591 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
7500 fi | 7592 fi |
7501 | 7593 |
7502 | 7594 |
OLD | NEW |