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 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
713 with_zlib | 714 with_zlib |
714 enable_maintainer_mode | 715 enable_maintainer_mode |
715 enable_sim_bswap | 716 enable_sim_bswap |
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 |
| 724 enable_werror |
723 enable_build_warnings | 725 enable_build_warnings |
724 enable_sim_build_warnings | 726 enable_sim_build_warnings |
725 ' | 727 ' |
726 ac_precious_vars='build_alias | 728 ac_precious_vars='build_alias |
727 host_alias | 729 host_alias |
728 target_alias | 730 target_alias |
729 CC | 731 CC |
730 CFLAGS | 732 CFLAGS |
731 LDFLAGS | 733 LDFLAGS |
732 LIBS | 734 LIBS |
(...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1350 --disable-option-checking ignore unrecognized --enable/--with options | 1352 --disable-option-checking ignore unrecognized --enable/--with options |
1351 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | 1353 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1352 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | 1354 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1353 --enable-maintainer-mode Enable developer functionality. | 1355 --enable-maintainer-mode Enable developer functionality. |
1354 --enable-sim-bswap Use Host specific BSWAP instruction. | 1356 --enable-sim-bswap Use Host specific BSWAP instruction. |
1355 --enable-sim-cflags=opts Extra CFLAGS for use in building simulat
or | 1357 --enable-sim-cflags=opts Extra CFLAGS for use in building simulat
or |
1356 --enable-sim-debug=opts Enable debugging flags | 1358 --enable-sim-debug=opts Enable debugging flags |
1357 --enable-sim-stdio Specify whether to use stdio for console
input/output. | 1359 --enable-sim-stdio Specify whether to use stdio for console
input/output. |
1358 --enable-sim-trace=opts Enable tracing flags | 1360 --enable-sim-trace=opts Enable tracing flags |
1359 --enable-sim-profile=opts Enable profiling flags | 1361 --enable-sim-profile=opts Enable profiling flags |
1360 --enable-build-warnings Enable build-time compiler warnings if gcc is used | 1362 --enable-werror treat compile warnings as errors |
1361 --enable-gdb-build-warnings Enable SIM specific build-time compiler warnings i
f gcc is used | 1363 --enable-build-warnings enable build-time compiler warnings if gcc is used |
| 1364 --enable-sim-build-warnings |
| 1365 enable SIM specific build-time compiler warnings if |
| 1366 gcc is used |
1362 | 1367 |
1363 Optional Packages: | 1368 Optional Packages: |
1364 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | 1369 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1365 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | 1370 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1366 --with-zlib include zlib support (auto/yes/no) default=auto | 1371 --with-zlib include zlib support (auto/yes/no) default=auto |
1367 --with-pkgversion=PKG Use PKG in the version string in place of "GDB" | 1372 --with-pkgversion=PKG Use PKG in the version string in place of "GDB" |
1368 --with-bugurl=URL Direct users to URL to report a bug | 1373 --with-bugurl=URL Direct users to URL to report a bug |
1369 | 1374 |
1370 Some influential environment variables: | 1375 Some influential environment variables: |
1371 CC C compiler command | 1376 CC C compiler command |
(...skipping 1057 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2429 # triggers warnings from the preprocessor. Will be in autoconf 2.58. | 2434 # triggers warnings from the preprocessor. Will be in autoconf 2.58. |
2430 # For now, using this also overrides header checks to use only the | 2435 # For now, using this also overrides header checks to use only the |
2431 # preprocessor (matches 2.13 behavior; matching 2.58's behavior is a | 2436 # preprocessor (matches 2.13 behavior; matching 2.58's behavior is a |
2432 # bit harder from here). | 2437 # bit harder from here). |
2433 # Eventually autoconf will default to checking headers with the compiler | 2438 # Eventually autoconf will default to checking headers with the compiler |
2434 # instead, and we'll have to do this differently. | 2439 # instead, and we'll have to do this differently. |
2435 | 2440 |
2436 # AC_PROG_CPP_WERROR | 2441 # AC_PROG_CPP_WERROR |
2437 | 2442 |
2438 # Test for GNAT. | 2443 # Test for GNAT. |
2439 # We require the gnatbind program, and a compiler driver that | 2444 # We require the gnatbind & gnatmake programs, as well as a compiler driver |
2440 # understands Ada. We use the user's CC setting, already found, | 2445 # that understands Ada. We use the user's CC setting, already found, and |
2441 # and possibly add $1 to the command-line parameters. | 2446 # possibly add $1 to the command-line parameters. |
2442 # | 2447 # |
2443 # Sets the shell variable have_gnat to yes or no as appropriate, and | 2448 # Sets the shell variable have_gnat to yes or no as appropriate, and |
2444 # substitutes GNATBIND and GNATMAKE. | 2449 # substitutes GNATBIND and GNATMAKE. |
2445 | 2450 |
2446 | 2451 |
2447 | 2452 |
2448 | 2453 |
2449 | 2454 |
2450 | 2455 |
2451 | 2456 |
(...skipping 906 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3358 IFS=$ac_save_IFS | 3363 IFS=$ac_save_IFS |
3359 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac | 3364 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac |
3360 | 3365 |
3361 | 3366 |
3362 # The aliases save the names the user supplied, while $host etc. | 3367 # The aliases save the names the user supplied, while $host etc. |
3363 # will get canonicalized. | 3368 # will get canonicalized. |
3364 test -n "$target_alias" && | 3369 test -n "$target_alias" && |
3365 test "$program_prefix$program_suffix$program_transform_name" = \ | 3370 test "$program_prefix$program_suffix$program_transform_name" = \ |
3366 NONENONEs,x,x, && | 3371 NONENONEs,x,x, && |
3367 program_prefix=${target_alias}- | 3372 program_prefix=${target_alias}- |
3368 test "$program_prefix" != NONE && | |
3369 program_transform_name="s&^&$program_prefix&;$program_transform_name" | |
3370 # Use a double $ so make ignores it. | |
3371 test "$program_suffix" != NONE && | |
3372 program_transform_name="s&\$&$program_suffix&;$program_transform_name" | |
3373 # Double any \ or $. | |
3374 # By default was `s,x,x', remove it if useless. | |
3375 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' | |
3376 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` | |
3377 | |
3378 # Find a good install program. We prefer a C program (faster), | |
3379 # so one script is as good as another. But avoid the broken or | |
3380 # incompatible versions: | |
3381 # SysV /etc/install, /usr/sbin/install | |
3382 # SunOS /usr/etc/install | |
3383 # IRIX /sbin/install | |
3384 # AIX /bin/install | |
3385 # AmigaOS /C/install, which installs bootblocks on floppy discs | |
3386 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | |
3387 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | |
3388 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | |
3389 # OS/2's system install, which has a completely different semantic | |
3390 # ./install, which can be erroneously created by make from ./install.sh. | |
3391 # Reject install programs that cannot install multiple files. | |
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install"
>&5 | |
3393 $as_echo_n "checking for a BSD-compatible install... " >&6; } | |
3394 if test -z "$INSTALL"; then | |
3395 if test "${ac_cv_path_install+set}" = set; then : | |
3396 $as_echo_n "(cached) " >&6 | |
3397 else | |
3398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3399 for as_dir in $PATH | |
3400 do | |
3401 IFS=$as_save_IFS | |
3402 test -z "$as_dir" && as_dir=. | |
3403 # Account for people who put trailing slashes in PATH elements. | |
3404 case $as_dir/ in #(( | |
3405 ./ | .// | /[cC]/* | \ | |
3406 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | |
3407 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ | |
3408 /usr/ucb/* ) ;; | |
3409 *) | |
3410 # OSF1 and SCO ODT 3.0 have their own names for install. | |
3411 # Don't use installbsd from OSF since it installs stuff as root | |
3412 # by default. | |
3413 for ac_prog in ginstall scoinst install; do | |
3414 for ac_exec_ext in '' $ac_executable_extensions; do | |
3415 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_p
rog$ac_exec_ext"; }; then | |
3416 if test $ac_prog = install && | |
3417 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
3418 # AIX install. It has an incompatible calling convention. | |
3419 : | |
3420 elif test $ac_prog = install && | |
3421 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
3422 # program-specific install script used by HP pwplus--don't use. | |
3423 : | |
3424 else | |
3425 rm -rf conftest.one conftest.two conftest.dir | |
3426 echo one > conftest.one | |
3427 echo two > conftest.two | |
3428 mkdir conftest.dir | |
3429 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd
`/conftest.dir" && | |
3430 test -s conftest.one && test -s conftest.two && | |
3431 test -s conftest.dir/conftest.one && | |
3432 test -s conftest.dir/conftest.two | |
3433 then | |
3434 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | |
3435 break 3 | |
3436 fi | |
3437 fi | |
3438 fi | |
3439 done | |
3440 done | |
3441 ;; | |
3442 esac | |
3443 | |
3444 done | |
3445 IFS=$as_save_IFS | |
3446 | |
3447 rm -rf conftest.one conftest.two conftest.dir | |
3448 | |
3449 fi | |
3450 if test "${ac_cv_path_install+set}" = set; then | |
3451 INSTALL=$ac_cv_path_install | |
3452 else | |
3453 # As a last resort, use the slow shell script. Don't cache a | |
3454 # value for INSTALL within a source directory, because that will | |
3455 # break other packages using the cache if that directory is | |
3456 # removed, or if the value is a relative name. | |
3457 INSTALL=$ac_install_sh | |
3458 fi | |
3459 fi | |
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 | |
3461 $as_echo "$INSTALL" >&6; } | |
3462 | |
3463 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | |
3464 # It thinks the first close brace ends the variable substitution. | |
3465 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | |
3466 | |
3467 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | |
3468 | |
3469 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | |
3470 | |
3471 rm -rf .tst 2>/dev/null | |
3472 mkdir .tst 2>/dev/null | |
3473 if test -d .tst; then | |
3474 am__leading_dot=. | |
3475 else | |
3476 am__leading_dot=_ | |
3477 fi | |
3478 rmdir .tst 2>/dev/null | |
3479 | |
3480 DEPDIR="${am__leading_dot}deps" | |
3481 | |
3482 | 3373 |
3483 ac_ext=c | 3374 ac_ext=c |
3484 ac_cpp='$CPP $CPPFLAGS' | 3375 ac_cpp='$CPP $CPPFLAGS' |
3485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | 3377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
3487 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3378 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor"
>&5 | 3379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor"
>&5 |
3489 $as_echo_n "checking how to run the C preprocessor... " >&6; } | 3380 $as_echo_n "checking how to run the C preprocessor... " >&6; } |
3490 # On Suns, sometimes $CPP names a directory. | 3381 # On Suns, sometimes $CPP names a directory. |
3491 if test -n "$CPP" && test -d "$CPP"; then | 3382 if test -n "$CPP" && test -d "$CPP"; then |
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3872 cat >>confdefs.h <<_ACEOF | 3763 cat >>confdefs.h <<_ACEOF |
3873 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 3764 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
3874 _ACEOF | 3765 _ACEOF |
3875 | 3766 |
3876 fi | 3767 fi |
3877 | 3768 |
3878 done | 3769 done |
3879 | 3770 |
3880 | 3771 |
3881 | 3772 |
| 3773 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_co
nfig_h" "$ac_includes_default" |
| 3774 if test "x$ac_cv_header_minix_config_h" = x""yes; then : |
| 3775 MINIX=yes |
| 3776 else |
| 3777 MINIX= |
| 3778 fi |
| 3779 |
| 3780 |
| 3781 if test "$MINIX" = yes; then |
| 3782 |
| 3783 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h |
| 3784 |
| 3785 |
| 3786 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h |
| 3787 |
| 3788 |
| 3789 $as_echo "#define _MINIX 1" >>confdefs.h |
| 3790 |
| 3791 fi |
| 3792 |
| 3793 |
| 3794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define
__EXTENSIONS__" >&5 |
| 3795 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } |
| 3796 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : |
| 3797 $as_echo_n "(cached) " >&6 |
| 3798 else |
| 3799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3800 /* end confdefs.h. */ |
| 3801 |
| 3802 # define __EXTENSIONS__ 1 |
| 3803 $ac_includes_default |
| 3804 int |
| 3805 main () |
| 3806 { |
| 3807 |
| 3808 ; |
| 3809 return 0; |
| 3810 } |
| 3811 _ACEOF |
| 3812 if ac_fn_c_try_compile "$LINENO"; then : |
| 3813 ac_cv_safe_to_define___extensions__=yes |
| 3814 else |
| 3815 ac_cv_safe_to_define___extensions__=no |
| 3816 fi |
| 3817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3818 fi |
| 3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensi
ons__" >&5 |
| 3820 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } |
| 3821 test $ac_cv_safe_to_define___extensions__ = yes && |
| 3822 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h |
| 3823 |
| 3824 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h |
| 3825 |
| 3826 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h |
| 3827 |
| 3828 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h |
| 3829 |
| 3830 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h |
| 3831 |
| 3832 |
| 3833 test "$program_prefix" != NONE && |
| 3834 program_transform_name="s&^&$program_prefix&;$program_transform_name" |
| 3835 # Use a double $ so make ignores it. |
| 3836 test "$program_suffix" != NONE && |
| 3837 program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
| 3838 # Double any \ or $. |
| 3839 # By default was `s,x,x', remove it if useless. |
| 3840 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
| 3841 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
| 3842 |
| 3843 # Find a good install program. We prefer a C program (faster), |
| 3844 # so one script is as good as another. But avoid the broken or |
| 3845 # incompatible versions: |
| 3846 # SysV /etc/install, /usr/sbin/install |
| 3847 # SunOS /usr/etc/install |
| 3848 # IRIX /sbin/install |
| 3849 # AIX /bin/install |
| 3850 # AmigaOS /C/install, which installs bootblocks on floppy discs |
| 3851 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
| 3852 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 3853 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 3854 # OS/2's system install, which has a completely different semantic |
| 3855 # ./install, which can be erroneously created by make from ./install.sh. |
| 3856 # Reject install programs that cannot install multiple files. |
| 3857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install"
>&5 |
| 3858 $as_echo_n "checking for a BSD-compatible install... " >&6; } |
| 3859 if test -z "$INSTALL"; then |
| 3860 if test "${ac_cv_path_install+set}" = set; then : |
| 3861 $as_echo_n "(cached) " >&6 |
| 3862 else |
| 3863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3864 for as_dir in $PATH |
| 3865 do |
| 3866 IFS=$as_save_IFS |
| 3867 test -z "$as_dir" && as_dir=. |
| 3868 # Account for people who put trailing slashes in PATH elements. |
| 3869 case $as_dir/ in #(( |
| 3870 ./ | .// | /[cC]/* | \ |
| 3871 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
| 3872 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
| 3873 /usr/ucb/* ) ;; |
| 3874 *) |
| 3875 # OSF1 and SCO ODT 3.0 have their own names for install. |
| 3876 # Don't use installbsd from OSF since it installs stuff as root |
| 3877 # by default. |
| 3878 for ac_prog in ginstall scoinst install; do |
| 3879 for ac_exec_ext in '' $ac_executable_extensions; do |
| 3880 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_p
rog$ac_exec_ext"; }; then |
| 3881 if test $ac_prog = install && |
| 3882 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 3883 # AIX install. It has an incompatible calling convention. |
| 3884 : |
| 3885 elif test $ac_prog = install && |
| 3886 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 3887 # program-specific install script used by HP pwplus--don't use. |
| 3888 : |
| 3889 else |
| 3890 rm -rf conftest.one conftest.two conftest.dir |
| 3891 echo one > conftest.one |
| 3892 echo two > conftest.two |
| 3893 mkdir conftest.dir |
| 3894 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd
`/conftest.dir" && |
| 3895 test -s conftest.one && test -s conftest.two && |
| 3896 test -s conftest.dir/conftest.one && |
| 3897 test -s conftest.dir/conftest.two |
| 3898 then |
| 3899 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
| 3900 break 3 |
| 3901 fi |
| 3902 fi |
| 3903 fi |
| 3904 done |
| 3905 done |
| 3906 ;; |
| 3907 esac |
| 3908 |
| 3909 done |
| 3910 IFS=$as_save_IFS |
| 3911 |
| 3912 rm -rf conftest.one conftest.two conftest.dir |
| 3913 |
| 3914 fi |
| 3915 if test "${ac_cv_path_install+set}" = set; then |
| 3916 INSTALL=$ac_cv_path_install |
| 3917 else |
| 3918 # As a last resort, use the slow shell script. Don't cache a |
| 3919 # value for INSTALL within a source directory, because that will |
| 3920 # break other packages using the cache if that directory is |
| 3921 # removed, or if the value is a relative name. |
| 3922 INSTALL=$ac_install_sh |
| 3923 fi |
| 3924 fi |
| 3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
| 3926 $as_echo "$INSTALL" >&6; } |
| 3927 |
| 3928 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
| 3929 # It thinks the first close brace ends the variable substitution. |
| 3930 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
| 3931 |
| 3932 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
| 3933 |
| 3934 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| 3935 |
| 3936 rm -rf .tst 2>/dev/null |
| 3937 mkdir .tst 2>/dev/null |
| 3938 if test -d .tst; then |
| 3939 am__leading_dot=. |
| 3940 else |
| 3941 am__leading_dot=_ |
| 3942 fi |
| 3943 rmdir .tst 2>/dev/null |
| 3944 |
| 3945 DEPDIR="${am__leading_dot}deps" |
| 3946 |
| 3947 |
3882 | 3948 |
3883 # autoconf.info says this should be called right after AC_INIT. | 3949 # autoconf.info says this should be called right after AC_INIT. |
3884 ac_config_headers="$ac_config_headers config.h:config.in" | 3950 ac_config_headers="$ac_config_headers config.h:config.in" |
3885 | 3951 |
3886 | 3952 |
3887 | 3953 |
3888 | 3954 |
3889 | 3955 |
| 3956 |
3890 # Put a plausible default for CC_FOR_BUILD in Makefile. | 3957 # Put a plausible default for CC_FOR_BUILD in Makefile. |
3891 if test "x$cross_compiling" = "xno"; then | 3958 if test "x$cross_compiling" = "xno"; then |
3892 CC_FOR_BUILD='$(CC)' | 3959 CC_FOR_BUILD='$(CC)' |
3893 else | 3960 else |
3894 CC_FOR_BUILD=gcc | 3961 CC_FOR_BUILD=gcc |
3895 fi | 3962 fi |
3896 | 3963 |
3897 | 3964 |
3898 | 3965 |
3899 | 3966 |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3985 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | 4052 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} |
3986 ac_tool_warned=yes ;; | 4053 ac_tool_warned=yes ;; |
3987 esac | 4054 esac |
3988 RANLIB=$ac_ct_RANLIB | 4055 RANLIB=$ac_ct_RANLIB |
3989 fi | 4056 fi |
3990 else | 4057 else |
3991 RANLIB="$ac_cv_prog_RANLIB" | 4058 RANLIB="$ac_cv_prog_RANLIB" |
3992 fi | 4059 fi |
3993 | 4060 |
3994 | 4061 |
| 4062 # Some of the common include files depend on bfd.h, and bfd.h checks |
| 4063 # that config.h is included first by testing that the PACKAGE macro |
| 4064 # is defined. |
| 4065 PACKAGE=sim |
| 4066 |
| 4067 cat >>confdefs.h <<_ACEOF |
| 4068 #define PACKAGE "$PACKAGE" |
| 4069 _ACEOF |
| 4070 |
| 4071 |
| 4072 |
3995 # Dependency checking. | 4073 # Dependency checking. |
3996 ac_config_commands="$ac_config_commands depdir" | 4074 ac_config_commands="$ac_config_commands depdir" |
3997 | 4075 |
3998 | 4076 |
3999 depcc="$CC" am_compiler_list= | 4077 depcc="$CC" am_compiler_list= |
4000 | 4078 |
4001 am_depcomp=$ac_aux_dir/depcomp | 4079 am_depcomp=$ac_aux_dir/depcomp |
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&
5 | 4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&
5 |
4003 $as_echo_n "checking dependency style of $depcc... " >&6; } | 4081 $as_echo_n "checking dependency style of $depcc... " >&6; } |
4004 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : | 4082 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : |
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4561 | 4639 |
4562 | 4640 |
4563 | 4641 |
4564 # Check whether --enable-sim-trace was given. | 4642 # Check whether --enable-sim-trace was given. |
4565 if test "${enable_sim_trace+set}" = set; then : | 4643 if test "${enable_sim_trace+set}" = set; then : |
4566 enableval=$enable_sim_trace; case "${enableval}" in | 4644 enableval=$enable_sim_trace; case "${enableval}" in |
4567 yes) sim_trace="-DTRACE=1 -DWITH_TRACE=-1";; | 4645 yes) sim_trace="-DTRACE=1 -DWITH_TRACE=-1";; |
4568 no) sim_trace="-DTRACE=0 -DWITH_TRACE=0";; | 4646 no) sim_trace="-DTRACE=0 -DWITH_TRACE=0";; |
4569 [-0-9]*) | 4647 [-0-9]*) |
4570 sim_trace="-DTRACE='(${enableval})' -DWITH_TRACE='(${enableval})'";; | 4648 sim_trace="-DTRACE='(${enableval})' -DWITH_TRACE='(${enableval})'";; |
4571 [a-z]*) | 4649 [[:lower:]]*) |
4572 sim_trace="" | 4650 sim_trace="" |
4573 for x in `echo "$enableval" | sed -e "s/,/ /g"`; do | 4651 for x in `echo "$enableval" | sed -e "s/,/ /g"`; do |
4574 if test x"$sim_trace" = x; then | 4652 if test x"$sim_trace" = x; then |
4575 sim_trace="-DWITH_TRACE='(TRACE_$x" | 4653 sim_trace="-DWITH_TRACE='(TRACE_$x" |
4576 else | 4654 else |
4577 sim_trace="${sim_trace}|TRACE_$x" | 4655 sim_trace="${sim_trace}|TRACE_$x" |
4578 fi | 4656 fi |
4579 done | 4657 done |
4580 sim_trace="$sim_trace)'" ;; | 4658 sim_trace="$sim_trace)'" ;; |
4581 esac | 4659 esac |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4720 # targ-vals.def points to the libc macro description file. | 4798 # targ-vals.def points to the libc macro description file. |
4721 case "${target}" in | 4799 case "${target}" in |
4722 *-*-*) TARG_VALS_DEF=../common/nltvals.def ;; | 4800 *-*-*) TARG_VALS_DEF=../common/nltvals.def ;; |
4723 esac | 4801 esac |
4724 sim_link_files="${sim_link_files} ${TARG_VALS_DEF}" | 4802 sim_link_files="${sim_link_files} ${TARG_VALS_DEF}" |
4725 sim_link_links="${sim_link_links} targ-vals.def" | 4803 sim_link_links="${sim_link_links} targ-vals.def" |
4726 | 4804 |
4727 | 4805 |
4728 | 4806 |
4729 | 4807 |
4730 # NOTE: Don't add -Wall or -Wunused, they both include | 4808 # Check whether --enable-werror was given. |
4731 # -Wunused-parameter which reports bogus warnings. | 4809 if test "${enable_werror+set}" = set; then : |
4732 # NOTE: If you add to this list, remember to update | 4810 enableval=$enable_werror; case "${enableval}" in |
| 4811 yes | y) ERROR_ON_WARNING="yes" ;; |
| 4812 no | n) ERROR_ON_WARNING="no" ;; |
| 4813 *) as_fn_error "bad value ${enableval} for --enable-werror" "$LINENO" 5 ;; |
| 4814 esac |
| 4815 fi |
| 4816 |
| 4817 |
| 4818 # Enable -Werror by default when using gcc |
| 4819 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then |
| 4820 ERROR_ON_WARNING=yes |
| 4821 fi |
| 4822 |
| 4823 WERROR_CFLAGS="" |
| 4824 if test "${ERROR_ON_WARNING}" = yes ; then |
| 4825 # NOTE: Disabled in the sim dir due to most sims generating warnings. |
| 4826 # WERROR_CFLAGS="-Werror" |
| 4827 true |
| 4828 fi |
| 4829 |
| 4830 # The entries after -Wno-pointer-sign are disabled warnings which may |
| 4831 # be enabled in the future, which can not currently be used to build |
| 4832 # GDB. |
| 4833 # NOTE: If you change this list, remember to update |
4733 # gdb/doc/gdbint.texinfo. | 4834 # gdb/doc/gdbint.texinfo. |
4734 build_warnings="-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs \ | 4835 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ |
4735 -Wformat -Wparentheses -Wpointer-arith" | 4836 -Wformat-nonliteral -Wno-pointer-sign \ |
4736 # GCC supports -Wuninitialized only with -O or -On, n != 0. | 4837 -Wno-unused -Wunused-value -Wunused-function \ |
4737 if test x${CFLAGS+set} = xset; then | 4838 -Wno-switch -Wno-char-subscripts -Wmissing-prototypes" |
4738 case "${CFLAGS}" in | 4839 |
4739 *"-O0"* ) ;; | 4840 # Enable -Wno-format by default when using gcc on mingw since many |
4740 *"-O"* ) | 4841 # GCC versions complain about %I64. |
4741 build_warnings="${build_warnings} -Wuninitialized" | 4842 case "${host}" in |
4742 ;; | 4843 *-*-mingw32*) build_warnings="$build_warnings -Wno-format" ;; |
4743 esac | 4844 esac |
4744 else | 4845 |
4745 build_warnings="${build_warnings} -Wuninitialized" | |
4746 fi | |
4747 # Up for debate: -Wswitch -Wcomment -trigraphs -Wtrigraphs | |
4748 # -Wunused-function -Wunused-label -Wunused-variable -Wunused-value | |
4749 # -Wchar-subscripts -Wtraditional -Wshadow -Wcast-qual | |
4750 # -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes | |
4751 # -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls | |
4752 # -Woverloaded-virtual -Winline -Werror" | |
4753 # Check whether --enable-build-warnings was given. | 4846 # Check whether --enable-build-warnings was given. |
4754 if test "${enable_build_warnings+set}" = set; then : | 4847 if test "${enable_build_warnings+set}" = set; then : |
4755 enableval=$enable_build_warnings; case "${enableval}" in | 4848 enableval=$enable_build_warnings; case "${enableval}" in |
4756 yes) ;; | 4849 yes) ;; |
4757 no) build_warnings="-w";; | 4850 no) build_warnings="-w";; |
4758 ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"` | 4851 ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"` |
4759 build_warnings="${build_warnings} ${t}";; | 4852 build_warnings="${build_warnings} ${t}";; |
4760 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"` | 4853 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"` |
4761 build_warnings="${t} ${build_warnings}";; | 4854 build_warnings="${t} ${build_warnings}";; |
4762 *) build_warnings=`echo "${enableval}" | sed -e "s/,/ /g"`;; | 4855 *) build_warnings=`echo "${enableval}" | sed -e "s/,/ /g"`;; |
(...skipping 11 matching lines...) Expand all Loading... |
4774 build_warnings="${build_warnings} ${t}";; | 4867 build_warnings="${build_warnings} ${t}";; |
4775 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"` | 4868 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"` |
4776 build_warnings="${t} ${build_warnings}";; | 4869 build_warnings="${t} ${build_warnings}";; |
4777 *) build_warnings=`echo "${enableval}" | sed -e "s/,/ /g"`;; | 4870 *) build_warnings=`echo "${enableval}" | sed -e "s/,/ /g"`;; |
4778 esac | 4871 esac |
4779 if test x"$silent" != x"yes" && test x"$build_warnings" != x""; then | 4872 if test x"$silent" != x"yes" && test x"$build_warnings" != x""; then |
4780 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1 | 4873 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1 |
4781 fi | 4874 fi |
4782 fi | 4875 fi |
4783 WARN_CFLAGS="" | 4876 WARN_CFLAGS="" |
4784 WERROR_CFLAGS="" | |
4785 if test "x${build_warnings}" != x -a "x$GCC" = xyes | 4877 if test "x${build_warnings}" != x -a "x$GCC" = xyes |
4786 then | 4878 then |
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler warning flags" >&
5 | 4879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler warning flags" >&
5 |
4788 $as_echo_n "checking compiler warning flags... " >&6; } | 4880 $as_echo_n "checking compiler warning flags... " >&6; } |
4789 # Separate out the -Werror flag as some files just cannot be | 4881 # Separate out the -Werror flag as some files just cannot be |
4790 # compiled with it enabled. | 4882 # compiled with it enabled. |
4791 for w in ${build_warnings}; do | 4883 for w in ${build_warnings}; do |
4792 case $w in | 4884 case $w in |
4793 -Werr*) WERROR_CFLAGS=-Werror ;; | 4885 -Werr*) WERROR_CFLAGS=-Werror ;; |
4794 *) # Check that GCC accepts it | 4886 *) # Check that GCC accepts it |
(...skipping 10 matching lines...) Expand all Loading... |
4805 return 0; | 4897 return 0; |
4806 } | 4898 } |
4807 _ACEOF | 4899 _ACEOF |
4808 if ac_fn_c_try_compile "$LINENO"; then : | 4900 if ac_fn_c_try_compile "$LINENO"; then : |
4809 WARN_CFLAGS="${WARN_CFLAGS} $w" | 4901 WARN_CFLAGS="${WARN_CFLAGS} $w" |
4810 fi | 4902 fi |
4811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4812 CFLAGS="$saved_CFLAGS" | 4904 CFLAGS="$saved_CFLAGS" |
4813 esac | 4905 esac |
4814 done | 4906 done |
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${WARN_CFLAGS}${WERROR_CFLA
GS}" >&5 | 4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${WARN_CFLAGS} ${WERROR_CFL
AGS}" >&5 |
4816 $as_echo "${WARN_CFLAGS}${WERROR_CFLAGS}" >&6; } | 4908 $as_echo "${WARN_CFLAGS} ${WERROR_CFLAGS}" >&6; } |
4817 fi | 4909 fi |
4818 | 4910 |
4819 | 4911 |
4820 for ac_header in unistd.h | 4912 for ac_header in unistd.h |
4821 do : | 4913 do : |
4822 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac
_includes_default" | 4914 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac
_includes_default" |
4823 if test "x$ac_cv_header_unistd_h" = x""yes; then : | 4915 if test "x$ac_cv_header_unistd_h" = x""yes; then : |
4824 cat >>confdefs.h <<_ACEOF | 4916 cat >>confdefs.h <<_ACEOF |
4825 #define HAVE_UNISTD_H 1 | 4917 #define HAVE_UNISTD_H 1 |
4826 _ACEOF | 4918 _ACEOF |
(...skipping 1352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6179 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 6271 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
6180 # would make configure fail if this is the last instruction. | 6272 # would make configure fail if this is the last instruction. |
6181 $ac_cs_success || as_fn_exit $? | 6273 $ac_cs_success || as_fn_exit $? |
6182 fi | 6274 fi |
6183 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | 6275 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_un
recognized_opts" >&5 | 6276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_un
recognized_opts" >&5 |
6185 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | 6277 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
6186 fi | 6278 fi |
6187 | 6279 |
6188 | 6280 |
OLD | NEW |