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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 enable_sim_inline | 732 enable_sim_inline |
731 enable_sim_hardware | 733 enable_sim_hardware |
732 ' | 734 ' |
733 ac_precious_vars='build_alias | 735 ac_precious_vars='build_alias |
734 host_alias | 736 host_alias |
735 target_alias | 737 target_alias |
(...skipping 624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1360 --enable-maintainer-mode Enable developer functionality. | 1362 --enable-maintainer-mode Enable developer functionality. |
1361 --enable-sim-bswap Use Host specific BSWAP instruction. | 1363 --enable-sim-bswap Use Host specific BSWAP instruction. |
1362 --enable-sim-cflags=opts Extra CFLAGS for use in building simulat
or | 1364 --enable-sim-cflags=opts Extra CFLAGS for use in building simulat
or |
1363 --enable-sim-debug=opts Enable debugging flags | 1365 --enable-sim-debug=opts Enable debugging flags |
1364 --enable-sim-stdio Specify whether to use stdio for console
input/output. | 1366 --enable-sim-stdio Specify whether to use stdio for console
input/output. |
1365 --enable-sim-trace=opts Enable tracing flags | 1367 --enable-sim-trace=opts Enable tracing flags |
1366 --enable-sim-profile=opts Enable profiling flags | 1368 --enable-sim-profile=opts Enable profiling flags |
1367 --enable-sim-endian=endian Specify target byte endian orientation. | 1369 --enable-sim-endian=endian Specify target byte endian orientation. |
1368 --enable-sim-alignment=align Specify strict, nonstrict or forced ali
gnment of memory accesses. | 1370 --enable-sim-alignment=align Specify strict, nonstrict or forced ali
gnment of memory accesses. |
1369 --enable-sim-hostendian=end Specify host byte endian orientation. | 1371 --enable-sim-hostendian=end Specify host byte endian orientation. |
1370 --enable-build-warnings Enable build-time compiler warnings if gcc is used | 1372 --enable-werror treat compile warnings as errors |
1371 --enable-gdb-build-warnings Enable SIM specific build-time compiler warnings i
f gcc is used | 1373 --enable-build-warnings enable build-time compiler warnings if gcc is used |
| 1374 --enable-sim-build-warnings |
| 1375 enable SIM specific build-time compiler warnings if |
| 1376 gcc is used |
1372 --enable-sim-reserved-bits Specify whether to check reserved bits i
n instruction. | 1377 --enable-sim-reserved-bits Specify whether to check reserved bits i
n instruction. |
1373 --enable-sim-bitsize=N Specify target bitsize (32 or 64). | 1378 --enable-sim-bitsize=N Specify target bitsize (32 or 64). |
1374 --enable-sim-inline=inlines Specify which functions should be inline
d. | 1379 --enable-sim-inline=inlines Specify which functions should be inline
d. |
1375 --enable-sim-hardware=LIST Specify the hardware to be included in t
he build. | 1380 --enable-sim-hardware=LIST Specify the hardware to be included in t
he build. |
1376 | 1381 |
1377 Optional Packages: | 1382 Optional Packages: |
1378 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | 1383 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1379 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | 1384 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1380 --with-zlib include zlib support (auto/yes/no) default=auto | 1385 --with-zlib include zlib support (auto/yes/no) default=auto |
1381 --with-pkgversion=PKG Use PKG in the version string in place of "GDB" | 1386 --with-pkgversion=PKG Use PKG in the version string in place of "GDB" |
(...skipping 1061 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2443 # triggers warnings from the preprocessor. Will be in autoconf 2.58. | 2448 # triggers warnings from the preprocessor. Will be in autoconf 2.58. |
2444 # For now, using this also overrides header checks to use only the | 2449 # For now, using this also overrides header checks to use only the |
2445 # preprocessor (matches 2.13 behavior; matching 2.58's behavior is a | 2450 # preprocessor (matches 2.13 behavior; matching 2.58's behavior is a |
2446 # bit harder from here). | 2451 # bit harder from here). |
2447 # Eventually autoconf will default to checking headers with the compiler | 2452 # Eventually autoconf will default to checking headers with the compiler |
2448 # instead, and we'll have to do this differently. | 2453 # instead, and we'll have to do this differently. |
2449 | 2454 |
2450 # AC_PROG_CPP_WERROR | 2455 # AC_PROG_CPP_WERROR |
2451 | 2456 |
2452 # Test for GNAT. | 2457 # Test for GNAT. |
2453 # We require the gnatbind program, and a compiler driver that | 2458 # We require the gnatbind & gnatmake programs, as well as a compiler driver |
2454 # understands Ada. We use the user's CC setting, already found, | 2459 # that understands Ada. We use the user's CC setting, already found, and |
2455 # and possibly add $1 to the command-line parameters. | 2460 # possibly add $1 to the command-line parameters. |
2456 # | 2461 # |
2457 # Sets the shell variable have_gnat to yes or no as appropriate, and | 2462 # Sets the shell variable have_gnat to yes or no as appropriate, and |
2458 # substitutes GNATBIND and GNATMAKE. | 2463 # substitutes GNATBIND and GNATMAKE. |
2459 | 2464 |
2460 | 2465 |
2461 | 2466 |
2462 | 2467 |
2463 | 2468 |
2464 | 2469 |
2465 | 2470 |
(...skipping 906 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3372 IFS=$ac_save_IFS | 3377 IFS=$ac_save_IFS |
3373 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac | 3378 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac |
3374 | 3379 |
3375 | 3380 |
3376 # The aliases save the names the user supplied, while $host etc. | 3381 # The aliases save the names the user supplied, while $host etc. |
3377 # will get canonicalized. | 3382 # will get canonicalized. |
3378 test -n "$target_alias" && | 3383 test -n "$target_alias" && |
3379 test "$program_prefix$program_suffix$program_transform_name" = \ | 3384 test "$program_prefix$program_suffix$program_transform_name" = \ |
3380 NONENONEs,x,x, && | 3385 NONENONEs,x,x, && |
3381 program_prefix=${target_alias}- | 3386 program_prefix=${target_alias}- |
3382 test "$program_prefix" != NONE && | |
3383 program_transform_name="s&^&$program_prefix&;$program_transform_name" | |
3384 # Use a double $ so make ignores it. | |
3385 test "$program_suffix" != NONE && | |
3386 program_transform_name="s&\$&$program_suffix&;$program_transform_name" | |
3387 # Double any \ or $. | |
3388 # By default was `s,x,x', remove it if useless. | |
3389 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' | |
3390 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` | |
3391 | |
3392 # Find a good install program. We prefer a C program (faster), | |
3393 # so one script is as good as another. But avoid the broken or | |
3394 # incompatible versions: | |
3395 # SysV /etc/install, /usr/sbin/install | |
3396 # SunOS /usr/etc/install | |
3397 # IRIX /sbin/install | |
3398 # AIX /bin/install | |
3399 # AmigaOS /C/install, which installs bootblocks on floppy discs | |
3400 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | |
3401 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | |
3402 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | |
3403 # OS/2's system install, which has a completely different semantic | |
3404 # ./install, which can be erroneously created by make from ./install.sh. | |
3405 # Reject install programs that cannot install multiple files. | |
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install"
>&5 | |
3407 $as_echo_n "checking for a BSD-compatible install... " >&6; } | |
3408 if test -z "$INSTALL"; then | |
3409 if test "${ac_cv_path_install+set}" = set; then : | |
3410 $as_echo_n "(cached) " >&6 | |
3411 else | |
3412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3413 for as_dir in $PATH | |
3414 do | |
3415 IFS=$as_save_IFS | |
3416 test -z "$as_dir" && as_dir=. | |
3417 # Account for people who put trailing slashes in PATH elements. | |
3418 case $as_dir/ in #(( | |
3419 ./ | .// | /[cC]/* | \ | |
3420 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | |
3421 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ | |
3422 /usr/ucb/* ) ;; | |
3423 *) | |
3424 # OSF1 and SCO ODT 3.0 have their own names for install. | |
3425 # Don't use installbsd from OSF since it installs stuff as root | |
3426 # by default. | |
3427 for ac_prog in ginstall scoinst install; do | |
3428 for ac_exec_ext in '' $ac_executable_extensions; do | |
3429 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_p
rog$ac_exec_ext"; }; then | |
3430 if test $ac_prog = install && | |
3431 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
3432 # AIX install. It has an incompatible calling convention. | |
3433 : | |
3434 elif test $ac_prog = install && | |
3435 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
3436 # program-specific install script used by HP pwplus--don't use. | |
3437 : | |
3438 else | |
3439 rm -rf conftest.one conftest.two conftest.dir | |
3440 echo one > conftest.one | |
3441 echo two > conftest.two | |
3442 mkdir conftest.dir | |
3443 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd
`/conftest.dir" && | |
3444 test -s conftest.one && test -s conftest.two && | |
3445 test -s conftest.dir/conftest.one && | |
3446 test -s conftest.dir/conftest.two | |
3447 then | |
3448 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | |
3449 break 3 | |
3450 fi | |
3451 fi | |
3452 fi | |
3453 done | |
3454 done | |
3455 ;; | |
3456 esac | |
3457 | |
3458 done | |
3459 IFS=$as_save_IFS | |
3460 | |
3461 rm -rf conftest.one conftest.two conftest.dir | |
3462 | |
3463 fi | |
3464 if test "${ac_cv_path_install+set}" = set; then | |
3465 INSTALL=$ac_cv_path_install | |
3466 else | |
3467 # As a last resort, use the slow shell script. Don't cache a | |
3468 # value for INSTALL within a source directory, because that will | |
3469 # break other packages using the cache if that directory is | |
3470 # removed, or if the value is a relative name. | |
3471 INSTALL=$ac_install_sh | |
3472 fi | |
3473 fi | |
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 | |
3475 $as_echo "$INSTALL" >&6; } | |
3476 | |
3477 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | |
3478 # It thinks the first close brace ends the variable substitution. | |
3479 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | |
3480 | |
3481 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | |
3482 | |
3483 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | |
3484 | |
3485 rm -rf .tst 2>/dev/null | |
3486 mkdir .tst 2>/dev/null | |
3487 if test -d .tst; then | |
3488 am__leading_dot=. | |
3489 else | |
3490 am__leading_dot=_ | |
3491 fi | |
3492 rmdir .tst 2>/dev/null | |
3493 | |
3494 DEPDIR="${am__leading_dot}deps" | |
3495 | |
3496 | 3387 |
3497 ac_ext=c | 3388 ac_ext=c |
3498 ac_cpp='$CPP $CPPFLAGS' | 3389 ac_cpp='$CPP $CPPFLAGS' |
3499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | 3391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
3501 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3392 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor"
>&5 | 3393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor"
>&5 |
3503 $as_echo_n "checking how to run the C preprocessor... " >&6; } | 3394 $as_echo_n "checking how to run the C preprocessor... " >&6; } |
3504 # On Suns, sometimes $CPP names a directory. | 3395 # On Suns, sometimes $CPP names a directory. |
3505 if test -n "$CPP" && test -d "$CPP"; then | 3396 if test -n "$CPP" && test -d "$CPP"; then |
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3886 cat >>confdefs.h <<_ACEOF | 3777 cat >>confdefs.h <<_ACEOF |
3887 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 3778 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
3888 _ACEOF | 3779 _ACEOF |
3889 | 3780 |
3890 fi | 3781 fi |
3891 | 3782 |
3892 done | 3783 done |
3893 | 3784 |
3894 | 3785 |
3895 | 3786 |
| 3787 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_co
nfig_h" "$ac_includes_default" |
| 3788 if test "x$ac_cv_header_minix_config_h" = x""yes; then : |
| 3789 MINIX=yes |
| 3790 else |
| 3791 MINIX= |
| 3792 fi |
| 3793 |
| 3794 |
| 3795 if test "$MINIX" = yes; then |
| 3796 |
| 3797 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h |
| 3798 |
| 3799 |
| 3800 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h |
| 3801 |
| 3802 |
| 3803 $as_echo "#define _MINIX 1" >>confdefs.h |
| 3804 |
| 3805 fi |
| 3806 |
| 3807 |
| 3808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define
__EXTENSIONS__" >&5 |
| 3809 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } |
| 3810 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : |
| 3811 $as_echo_n "(cached) " >&6 |
| 3812 else |
| 3813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3814 /* end confdefs.h. */ |
| 3815 |
| 3816 # define __EXTENSIONS__ 1 |
| 3817 $ac_includes_default |
| 3818 int |
| 3819 main () |
| 3820 { |
| 3821 |
| 3822 ; |
| 3823 return 0; |
| 3824 } |
| 3825 _ACEOF |
| 3826 if ac_fn_c_try_compile "$LINENO"; then : |
| 3827 ac_cv_safe_to_define___extensions__=yes |
| 3828 else |
| 3829 ac_cv_safe_to_define___extensions__=no |
| 3830 fi |
| 3831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3832 fi |
| 3833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensi
ons__" >&5 |
| 3834 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } |
| 3835 test $ac_cv_safe_to_define___extensions__ = yes && |
| 3836 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h |
| 3837 |
| 3838 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h |
| 3839 |
| 3840 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h |
| 3841 |
| 3842 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h |
| 3843 |
| 3844 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h |
| 3845 |
| 3846 |
| 3847 test "$program_prefix" != NONE && |
| 3848 program_transform_name="s&^&$program_prefix&;$program_transform_name" |
| 3849 # Use a double $ so make ignores it. |
| 3850 test "$program_suffix" != NONE && |
| 3851 program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
| 3852 # Double any \ or $. |
| 3853 # By default was `s,x,x', remove it if useless. |
| 3854 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
| 3855 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
| 3856 |
| 3857 # Find a good install program. We prefer a C program (faster), |
| 3858 # so one script is as good as another. But avoid the broken or |
| 3859 # incompatible versions: |
| 3860 # SysV /etc/install, /usr/sbin/install |
| 3861 # SunOS /usr/etc/install |
| 3862 # IRIX /sbin/install |
| 3863 # AIX /bin/install |
| 3864 # AmigaOS /C/install, which installs bootblocks on floppy discs |
| 3865 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
| 3866 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 3867 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 3868 # OS/2's system install, which has a completely different semantic |
| 3869 # ./install, which can be erroneously created by make from ./install.sh. |
| 3870 # Reject install programs that cannot install multiple files. |
| 3871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install"
>&5 |
| 3872 $as_echo_n "checking for a BSD-compatible install... " >&6; } |
| 3873 if test -z "$INSTALL"; then |
| 3874 if test "${ac_cv_path_install+set}" = set; then : |
| 3875 $as_echo_n "(cached) " >&6 |
| 3876 else |
| 3877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3878 for as_dir in $PATH |
| 3879 do |
| 3880 IFS=$as_save_IFS |
| 3881 test -z "$as_dir" && as_dir=. |
| 3882 # Account for people who put trailing slashes in PATH elements. |
| 3883 case $as_dir/ in #(( |
| 3884 ./ | .// | /[cC]/* | \ |
| 3885 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
| 3886 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
| 3887 /usr/ucb/* ) ;; |
| 3888 *) |
| 3889 # OSF1 and SCO ODT 3.0 have their own names for install. |
| 3890 # Don't use installbsd from OSF since it installs stuff as root |
| 3891 # by default. |
| 3892 for ac_prog in ginstall scoinst install; do |
| 3893 for ac_exec_ext in '' $ac_executable_extensions; do |
| 3894 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_p
rog$ac_exec_ext"; }; then |
| 3895 if test $ac_prog = install && |
| 3896 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 3897 # AIX install. It has an incompatible calling convention. |
| 3898 : |
| 3899 elif test $ac_prog = install && |
| 3900 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 3901 # program-specific install script used by HP pwplus--don't use. |
| 3902 : |
| 3903 else |
| 3904 rm -rf conftest.one conftest.two conftest.dir |
| 3905 echo one > conftest.one |
| 3906 echo two > conftest.two |
| 3907 mkdir conftest.dir |
| 3908 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd
`/conftest.dir" && |
| 3909 test -s conftest.one && test -s conftest.two && |
| 3910 test -s conftest.dir/conftest.one && |
| 3911 test -s conftest.dir/conftest.two |
| 3912 then |
| 3913 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
| 3914 break 3 |
| 3915 fi |
| 3916 fi |
| 3917 fi |
| 3918 done |
| 3919 done |
| 3920 ;; |
| 3921 esac |
| 3922 |
| 3923 done |
| 3924 IFS=$as_save_IFS |
| 3925 |
| 3926 rm -rf conftest.one conftest.two conftest.dir |
| 3927 |
| 3928 fi |
| 3929 if test "${ac_cv_path_install+set}" = set; then |
| 3930 INSTALL=$ac_cv_path_install |
| 3931 else |
| 3932 # As a last resort, use the slow shell script. Don't cache a |
| 3933 # value for INSTALL within a source directory, because that will |
| 3934 # break other packages using the cache if that directory is |
| 3935 # removed, or if the value is a relative name. |
| 3936 INSTALL=$ac_install_sh |
| 3937 fi |
| 3938 fi |
| 3939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
| 3940 $as_echo "$INSTALL" >&6; } |
| 3941 |
| 3942 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
| 3943 # It thinks the first close brace ends the variable substitution. |
| 3944 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
| 3945 |
| 3946 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
| 3947 |
| 3948 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| 3949 |
| 3950 rm -rf .tst 2>/dev/null |
| 3951 mkdir .tst 2>/dev/null |
| 3952 if test -d .tst; then |
| 3953 am__leading_dot=. |
| 3954 else |
| 3955 am__leading_dot=_ |
| 3956 fi |
| 3957 rmdir .tst 2>/dev/null |
| 3958 |
| 3959 DEPDIR="${am__leading_dot}deps" |
| 3960 |
| 3961 |
3896 | 3962 |
3897 # autoconf.info says this should be called right after AC_INIT. | 3963 # autoconf.info says this should be called right after AC_INIT. |
3898 ac_config_headers="$ac_config_headers config.h:config.in" | 3964 ac_config_headers="$ac_config_headers config.h:config.in" |
3899 | 3965 |
3900 | 3966 |
3901 | 3967 |
3902 | 3968 |
3903 | 3969 |
| 3970 |
3904 # Put a plausible default for CC_FOR_BUILD in Makefile. | 3971 # Put a plausible default for CC_FOR_BUILD in Makefile. |
3905 if test "x$cross_compiling" = "xno"; then | 3972 if test "x$cross_compiling" = "xno"; then |
3906 CC_FOR_BUILD='$(CC)' | 3973 CC_FOR_BUILD='$(CC)' |
3907 else | 3974 else |
3908 CC_FOR_BUILD=gcc | 3975 CC_FOR_BUILD=gcc |
3909 fi | 3976 fi |
3910 | 3977 |
3911 | 3978 |
3912 | 3979 |
3913 | 3980 |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3999 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | 4066 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} |
4000 ac_tool_warned=yes ;; | 4067 ac_tool_warned=yes ;; |
4001 esac | 4068 esac |
4002 RANLIB=$ac_ct_RANLIB | 4069 RANLIB=$ac_ct_RANLIB |
4003 fi | 4070 fi |
4004 else | 4071 else |
4005 RANLIB="$ac_cv_prog_RANLIB" | 4072 RANLIB="$ac_cv_prog_RANLIB" |
4006 fi | 4073 fi |
4007 | 4074 |
4008 | 4075 |
| 4076 # Some of the common include files depend on bfd.h, and bfd.h checks |
| 4077 # that config.h is included first by testing that the PACKAGE macro |
| 4078 # is defined. |
| 4079 PACKAGE=sim |
| 4080 |
| 4081 cat >>confdefs.h <<_ACEOF |
| 4082 #define PACKAGE "$PACKAGE" |
| 4083 _ACEOF |
| 4084 |
| 4085 |
| 4086 |
4009 # Dependency checking. | 4087 # Dependency checking. |
4010 ac_config_commands="$ac_config_commands depdir" | 4088 ac_config_commands="$ac_config_commands depdir" |
4011 | 4089 |
4012 | 4090 |
4013 depcc="$CC" am_compiler_list= | 4091 depcc="$CC" am_compiler_list= |
4014 | 4092 |
4015 am_depcomp=$ac_aux_dir/depcomp | 4093 am_depcomp=$ac_aux_dir/depcomp |
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&
5 | 4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&
5 |
4017 $as_echo_n "checking dependency style of $depcc... " >&6; } | 4095 $as_echo_n "checking dependency style of $depcc... " >&6; } |
4018 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : | 4096 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : |
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4575 | 4653 |
4576 | 4654 |
4577 | 4655 |
4578 # Check whether --enable-sim-trace was given. | 4656 # Check whether --enable-sim-trace was given. |
4579 if test "${enable_sim_trace+set}" = set; then : | 4657 if test "${enable_sim_trace+set}" = set; then : |
4580 enableval=$enable_sim_trace; case "${enableval}" in | 4658 enableval=$enable_sim_trace; case "${enableval}" in |
4581 yes) sim_trace="-DTRACE=1 -DWITH_TRACE=-1";; | 4659 yes) sim_trace="-DTRACE=1 -DWITH_TRACE=-1";; |
4582 no) sim_trace="-DTRACE=0 -DWITH_TRACE=0";; | 4660 no) sim_trace="-DTRACE=0 -DWITH_TRACE=0";; |
4583 [-0-9]*) | 4661 [-0-9]*) |
4584 sim_trace="-DTRACE='(${enableval})' -DWITH_TRACE='(${enableval})'";; | 4662 sim_trace="-DTRACE='(${enableval})' -DWITH_TRACE='(${enableval})'";; |
4585 [a-z]*) | 4663 [[:lower:]]*) |
4586 sim_trace="" | 4664 sim_trace="" |
4587 for x in `echo "$enableval" | sed -e "s/,/ /g"`; do | 4665 for x in `echo "$enableval" | sed -e "s/,/ /g"`; do |
4588 if test x"$sim_trace" = x; then | 4666 if test x"$sim_trace" = x; then |
4589 sim_trace="-DWITH_TRACE='(TRACE_$x" | 4667 sim_trace="-DWITH_TRACE='(TRACE_$x" |
4590 else | 4668 else |
4591 sim_trace="${sim_trace}|TRACE_$x" | 4669 sim_trace="${sim_trace}|TRACE_$x" |
4592 fi | 4670 fi |
4593 done | 4671 done |
4594 sim_trace="$sim_trace)'" ;; | 4672 sim_trace="$sim_trace)'" ;; |
4595 esac | 4673 esac |
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5074 sim_hostendian="-DWITH_HOST_BYTE_ORDER=BIG_ENDIAN" | 5152 sim_hostendian="-DWITH_HOST_BYTE_ORDER=BIG_ENDIAN" |
5075 else | 5153 else |
5076 sim_hostendian="-DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN" | 5154 sim_hostendian="-DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN" |
5077 fi | 5155 fi |
5078 else | 5156 else |
5079 sim_hostendian="-DWITH_HOST_BYTE_ORDER=0" | 5157 sim_hostendian="-DWITH_HOST_BYTE_ORDER=0" |
5080 fi | 5158 fi |
5081 fi | 5159 fi |
5082 | 5160 |
5083 | 5161 |
5084 # NOTE: Don't add -Wall or -Wunused, they both include | 5162 # Check whether --enable-werror was given. |
5085 # -Wunused-parameter which reports bogus warnings. | 5163 if test "${enable_werror+set}" = set; then : |
5086 # NOTE: If you add to this list, remember to update | 5164 enableval=$enable_werror; case "${enableval}" in |
| 5165 yes | y) ERROR_ON_WARNING="yes" ;; |
| 5166 no | n) ERROR_ON_WARNING="no" ;; |
| 5167 *) as_fn_error "bad value ${enableval} for --enable-werror" "$LINENO" 5 ;; |
| 5168 esac |
| 5169 fi |
| 5170 |
| 5171 |
| 5172 # Enable -Werror by default when using gcc |
| 5173 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then |
| 5174 ERROR_ON_WARNING=yes |
| 5175 fi |
| 5176 |
| 5177 WERROR_CFLAGS="" |
| 5178 if test "${ERROR_ON_WARNING}" = yes ; then |
| 5179 # NOTE: Disabled in the sim dir due to most sims generating warnings. |
| 5180 # WERROR_CFLAGS="-Werror" |
| 5181 true |
| 5182 fi |
| 5183 |
| 5184 # The entries after -Wno-pointer-sign are disabled warnings which may |
| 5185 # be enabled in the future, which can not currently be used to build |
| 5186 # GDB. |
| 5187 # NOTE: If you change this list, remember to update |
5087 # gdb/doc/gdbint.texinfo. | 5188 # gdb/doc/gdbint.texinfo. |
5088 build_warnings="-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs \ | 5189 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ |
5089 -Wformat -Wparentheses -Wpointer-arith" | 5190 -Wformat-nonliteral -Wno-pointer-sign \ |
5090 # GCC supports -Wuninitialized only with -O or -On, n != 0. | 5191 -Wno-unused -Wunused-value -Wunused-function \ |
5091 if test x${CFLAGS+set} = xset; then | 5192 -Wno-switch -Wno-char-subscripts -Wmissing-prototypes" |
5092 case "${CFLAGS}" in | 5193 |
5093 *"-O0"* ) ;; | 5194 # Enable -Wno-format by default when using gcc on mingw since many |
5094 *"-O"* ) | 5195 # GCC versions complain about %I64. |
5095 build_warnings="${build_warnings} -Wuninitialized" | 5196 case "${host}" in |
5096 ;; | 5197 *-*-mingw32*) build_warnings="$build_warnings -Wno-format" ;; |
5097 esac | 5198 esac |
5098 else | 5199 |
5099 build_warnings="${build_warnings} -Wuninitialized" | |
5100 fi | |
5101 # Up for debate: -Wswitch -Wcomment -trigraphs -Wtrigraphs | |
5102 # -Wunused-function -Wunused-label -Wunused-variable -Wunused-value | |
5103 # -Wchar-subscripts -Wtraditional -Wshadow -Wcast-qual | |
5104 # -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes | |
5105 # -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls | |
5106 # -Woverloaded-virtual -Winline -Werror" | |
5107 # Check whether --enable-build-warnings was given. | 5200 # Check whether --enable-build-warnings was given. |
5108 if test "${enable_build_warnings+set}" = set; then : | 5201 if test "${enable_build_warnings+set}" = set; then : |
5109 enableval=$enable_build_warnings; case "${enableval}" in | 5202 enableval=$enable_build_warnings; case "${enableval}" in |
5110 yes) ;; | 5203 yes) ;; |
5111 no) build_warnings="-w";; | 5204 no) build_warnings="-w";; |
5112 ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"` | 5205 ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"` |
5113 build_warnings="${build_warnings} ${t}";; | 5206 build_warnings="${build_warnings} ${t}";; |
5114 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"` | 5207 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"` |
5115 build_warnings="${t} ${build_warnings}";; | 5208 build_warnings="${t} ${build_warnings}";; |
5116 *) build_warnings=`echo "${enableval}" | sed -e "s/,/ /g"`;; | 5209 *) build_warnings=`echo "${enableval}" | sed -e "s/,/ /g"`;; |
(...skipping 11 matching lines...) Expand all Loading... |
5128 build_warnings="${build_warnings} ${t}";; | 5221 build_warnings="${build_warnings} ${t}";; |
5129 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"` | 5222 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"` |
5130 build_warnings="${t} ${build_warnings}";; | 5223 build_warnings="${t} ${build_warnings}";; |
5131 *) build_warnings=`echo "${enableval}" | sed -e "s/,/ /g"`;; | 5224 *) build_warnings=`echo "${enableval}" | sed -e "s/,/ /g"`;; |
5132 esac | 5225 esac |
5133 if test x"$silent" != x"yes" && test x"$build_warnings" != x""; then | 5226 if test x"$silent" != x"yes" && test x"$build_warnings" != x""; then |
5134 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1 | 5227 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1 |
5135 fi | 5228 fi |
5136 fi | 5229 fi |
5137 WARN_CFLAGS="" | 5230 WARN_CFLAGS="" |
5138 WERROR_CFLAGS="" | |
5139 if test "x${build_warnings}" != x -a "x$GCC" = xyes | 5231 if test "x${build_warnings}" != x -a "x$GCC" = xyes |
5140 then | 5232 then |
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler warning flags" >&
5 | 5233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler warning flags" >&
5 |
5142 $as_echo_n "checking compiler warning flags... " >&6; } | 5234 $as_echo_n "checking compiler warning flags... " >&6; } |
5143 # Separate out the -Werror flag as some files just cannot be | 5235 # Separate out the -Werror flag as some files just cannot be |
5144 # compiled with it enabled. | 5236 # compiled with it enabled. |
5145 for w in ${build_warnings}; do | 5237 for w in ${build_warnings}; do |
5146 case $w in | 5238 case $w in |
5147 -Werr*) WERROR_CFLAGS=-Werror ;; | 5239 -Werr*) WERROR_CFLAGS=-Werror ;; |
5148 *) # Check that GCC accepts it | 5240 *) # Check that GCC accepts it |
(...skipping 10 matching lines...) Expand all Loading... |
5159 return 0; | 5251 return 0; |
5160 } | 5252 } |
5161 _ACEOF | 5253 _ACEOF |
5162 if ac_fn_c_try_compile "$LINENO"; then : | 5254 if ac_fn_c_try_compile "$LINENO"; then : |
5163 WARN_CFLAGS="${WARN_CFLAGS} $w" | 5255 WARN_CFLAGS="${WARN_CFLAGS} $w" |
5164 fi | 5256 fi |
5165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5166 CFLAGS="$saved_CFLAGS" | 5258 CFLAGS="$saved_CFLAGS" |
5167 esac | 5259 esac |
5168 done | 5260 done |
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${WARN_CFLAGS}${WERROR_CFLA
GS}" >&5 | 5261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${WARN_CFLAGS} ${WERROR_CFL
AGS}" >&5 |
5170 $as_echo "${WARN_CFLAGS}${WERROR_CFLAGS}" >&6; } | 5262 $as_echo "${WARN_CFLAGS} ${WERROR_CFLAGS}" >&6; } |
5171 fi | 5263 fi |
5172 | 5264 |
5173 | 5265 |
5174 default_sim_reserved_bits="1" | 5266 default_sim_reserved_bits="1" |
5175 # Check whether --enable-sim-reserved-bits was given. | 5267 # Check whether --enable-sim-reserved-bits was given. |
5176 if test "${enable_sim_reserved_bits+set}" = set; then : | 5268 if test "${enable_sim_reserved_bits+set}" = set; then : |
5177 enableval=$enable_sim_reserved_bits; case "${enableval}" in | 5269 enableval=$enable_sim_reserved_bits; case "${enableval}" in |
5178 yes) sim_reserved_bits="-DWITH_RESERVED_BITS=1";; | 5270 yes) sim_reserved_bits="-DWITH_RESERVED_BITS=1";; |
5179 no) sim_reserved_bits="-DWITH_RESERVED_BITS=0";; | 5271 no) sim_reserved_bits="-DWITH_RESERVED_BITS=0";; |
5180 *) as_fn_error "\"--enable-sim-reserved-bits does not take a value\"" "$LIN
ENO" 5; sim_reserved_bits="";; | 5272 *) as_fn_error "\"--enable-sim-reserved-bits does not take a value\"" "$LIN
ENO" 5; sim_reserved_bits="";; |
(...skipping 1590 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6771 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 6863 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
6772 # would make configure fail if this is the last instruction. | 6864 # would make configure fail if this is the last instruction. |
6773 $ac_cs_success || as_fn_exit $? | 6865 $ac_cs_success || as_fn_exit $? |
6774 fi | 6866 fi |
6775 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | 6867 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_un
recognized_opts" >&5 | 6868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_un
recognized_opts" >&5 |
6777 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | 6869 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
6778 fi | 6870 fi |
6779 | 6871 |
6780 | 6872 |
OLD | NEW |