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