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 1787 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2429 # triggers warnings from the preprocessor. Will be in autoconf 2.58. | 2430 # triggers warnings from the preprocessor. Will be in autoconf 2.58. |
2430 # For now, using this also overrides header checks to use only the | 2431 # 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 | 2432 # preprocessor (matches 2.13 behavior; matching 2.58's behavior is a |
2432 # bit harder from here). | 2433 # bit harder from here). |
2433 # Eventually autoconf will default to checking headers with the compiler | 2434 # Eventually autoconf will default to checking headers with the compiler |
2434 # instead, and we'll have to do this differently. | 2435 # instead, and we'll have to do this differently. |
2435 | 2436 |
2436 # AC_PROG_CPP_WERROR | 2437 # AC_PROG_CPP_WERROR |
2437 | 2438 |
2438 # Test for GNAT. | 2439 # Test for GNAT. |
2439 # We require the gnatbind program, and a compiler driver that | 2440 # We require the gnatbind & gnatmake programs, as well as a compiler driver |
2440 # understands Ada. We use the user's CC setting, already found, | 2441 # that understands Ada. We use the user's CC setting, already found, and |
2441 # and possibly add $1 to the command-line parameters. | 2442 # possibly add $1 to the command-line parameters. |
2442 # | 2443 # |
2443 # Sets the shell variable have_gnat to yes or no as appropriate, and | 2444 # Sets the shell variable have_gnat to yes or no as appropriate, and |
2444 # substitutes GNATBIND and GNATMAKE. | 2445 # substitutes GNATBIND and GNATMAKE. |
2445 | 2446 |
2446 | 2447 |
2447 | 2448 |
2448 | 2449 |
2449 | 2450 |
2450 | 2451 |
2451 | 2452 |
(...skipping 906 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3358 IFS=$ac_save_IFS | 3359 IFS=$ac_save_IFS |
3359 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac | 3360 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac |
3360 | 3361 |
3361 | 3362 |
3362 # The aliases save the names the user supplied, while $host etc. | 3363 # The aliases save the names the user supplied, while $host etc. |
3363 # will get canonicalized. | 3364 # will get canonicalized. |
3364 test -n "$target_alias" && | 3365 test -n "$target_alias" && |
3365 test "$program_prefix$program_suffix$program_transform_name" = \ | 3366 test "$program_prefix$program_suffix$program_transform_name" = \ |
3366 NONENONEs,x,x, && | 3367 NONENONEs,x,x, && |
3367 program_prefix=${target_alias}- | 3368 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 | 3369 |
3483 ac_ext=c | 3370 ac_ext=c |
3484 ac_cpp='$CPP $CPPFLAGS' | 3371 ac_cpp='$CPP $CPPFLAGS' |
3485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3372 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' | 3373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
3487 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3374 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor"
>&5 | 3375 { $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; } | 3376 $as_echo_n "checking how to run the C preprocessor... " >&6; } |
3490 # On Suns, sometimes $CPP names a directory. | 3377 # On Suns, sometimes $CPP names a directory. |
3491 if test -n "$CPP" && test -d "$CPP"; then | 3378 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 | 3759 cat >>confdefs.h <<_ACEOF |
3873 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 3760 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
3874 _ACEOF | 3761 _ACEOF |
3875 | 3762 |
3876 fi | 3763 fi |
3877 | 3764 |
3878 done | 3765 done |
3879 | 3766 |
3880 | 3767 |
3881 | 3768 |
| 3769 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_co
nfig_h" "$ac_includes_default" |
| 3770 if test "x$ac_cv_header_minix_config_h" = x""yes; then : |
| 3771 MINIX=yes |
| 3772 else |
| 3773 MINIX= |
| 3774 fi |
| 3775 |
| 3776 |
| 3777 if test "$MINIX" = yes; then |
| 3778 |
| 3779 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h |
| 3780 |
| 3781 |
| 3782 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h |
| 3783 |
| 3784 |
| 3785 $as_echo "#define _MINIX 1" >>confdefs.h |
| 3786 |
| 3787 fi |
| 3788 |
| 3789 |
| 3790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define
__EXTENSIONS__" >&5 |
| 3791 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } |
| 3792 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : |
| 3793 $as_echo_n "(cached) " >&6 |
| 3794 else |
| 3795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3796 /* end confdefs.h. */ |
| 3797 |
| 3798 # define __EXTENSIONS__ 1 |
| 3799 $ac_includes_default |
| 3800 int |
| 3801 main () |
| 3802 { |
| 3803 |
| 3804 ; |
| 3805 return 0; |
| 3806 } |
| 3807 _ACEOF |
| 3808 if ac_fn_c_try_compile "$LINENO"; then : |
| 3809 ac_cv_safe_to_define___extensions__=yes |
| 3810 else |
| 3811 ac_cv_safe_to_define___extensions__=no |
| 3812 fi |
| 3813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3814 fi |
| 3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensi
ons__" >&5 |
| 3816 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } |
| 3817 test $ac_cv_safe_to_define___extensions__ = yes && |
| 3818 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h |
| 3819 |
| 3820 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h |
| 3821 |
| 3822 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h |
| 3823 |
| 3824 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h |
| 3825 |
| 3826 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h |
| 3827 |
| 3828 |
| 3829 test "$program_prefix" != NONE && |
| 3830 program_transform_name="s&^&$program_prefix&;$program_transform_name" |
| 3831 # Use a double $ so make ignores it. |
| 3832 test "$program_suffix" != NONE && |
| 3833 program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
| 3834 # Double any \ or $. |
| 3835 # By default was `s,x,x', remove it if useless. |
| 3836 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
| 3837 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
| 3838 |
| 3839 # Find a good install program. We prefer a C program (faster), |
| 3840 # so one script is as good as another. But avoid the broken or |
| 3841 # incompatible versions: |
| 3842 # SysV /etc/install, /usr/sbin/install |
| 3843 # SunOS /usr/etc/install |
| 3844 # IRIX /sbin/install |
| 3845 # AIX /bin/install |
| 3846 # AmigaOS /C/install, which installs bootblocks on floppy discs |
| 3847 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
| 3848 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 3849 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 3850 # OS/2's system install, which has a completely different semantic |
| 3851 # ./install, which can be erroneously created by make from ./install.sh. |
| 3852 # Reject install programs that cannot install multiple files. |
| 3853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install"
>&5 |
| 3854 $as_echo_n "checking for a BSD-compatible install... " >&6; } |
| 3855 if test -z "$INSTALL"; then |
| 3856 if test "${ac_cv_path_install+set}" = set; then : |
| 3857 $as_echo_n "(cached) " >&6 |
| 3858 else |
| 3859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3860 for as_dir in $PATH |
| 3861 do |
| 3862 IFS=$as_save_IFS |
| 3863 test -z "$as_dir" && as_dir=. |
| 3864 # Account for people who put trailing slashes in PATH elements. |
| 3865 case $as_dir/ in #(( |
| 3866 ./ | .// | /[cC]/* | \ |
| 3867 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
| 3868 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
| 3869 /usr/ucb/* ) ;; |
| 3870 *) |
| 3871 # OSF1 and SCO ODT 3.0 have their own names for install. |
| 3872 # Don't use installbsd from OSF since it installs stuff as root |
| 3873 # by default. |
| 3874 for ac_prog in ginstall scoinst install; do |
| 3875 for ac_exec_ext in '' $ac_executable_extensions; do |
| 3876 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_p
rog$ac_exec_ext"; }; then |
| 3877 if test $ac_prog = install && |
| 3878 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 3879 # AIX install. It has an incompatible calling convention. |
| 3880 : |
| 3881 elif test $ac_prog = install && |
| 3882 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 3883 # program-specific install script used by HP pwplus--don't use. |
| 3884 : |
| 3885 else |
| 3886 rm -rf conftest.one conftest.two conftest.dir |
| 3887 echo one > conftest.one |
| 3888 echo two > conftest.two |
| 3889 mkdir conftest.dir |
| 3890 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd
`/conftest.dir" && |
| 3891 test -s conftest.one && test -s conftest.two && |
| 3892 test -s conftest.dir/conftest.one && |
| 3893 test -s conftest.dir/conftest.two |
| 3894 then |
| 3895 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
| 3896 break 3 |
| 3897 fi |
| 3898 fi |
| 3899 fi |
| 3900 done |
| 3901 done |
| 3902 ;; |
| 3903 esac |
| 3904 |
| 3905 done |
| 3906 IFS=$as_save_IFS |
| 3907 |
| 3908 rm -rf conftest.one conftest.two conftest.dir |
| 3909 |
| 3910 fi |
| 3911 if test "${ac_cv_path_install+set}" = set; then |
| 3912 INSTALL=$ac_cv_path_install |
| 3913 else |
| 3914 # As a last resort, use the slow shell script. Don't cache a |
| 3915 # value for INSTALL within a source directory, because that will |
| 3916 # break other packages using the cache if that directory is |
| 3917 # removed, or if the value is a relative name. |
| 3918 INSTALL=$ac_install_sh |
| 3919 fi |
| 3920 fi |
| 3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
| 3922 $as_echo "$INSTALL" >&6; } |
| 3923 |
| 3924 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
| 3925 # It thinks the first close brace ends the variable substitution. |
| 3926 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
| 3927 |
| 3928 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
| 3929 |
| 3930 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| 3931 |
| 3932 rm -rf .tst 2>/dev/null |
| 3933 mkdir .tst 2>/dev/null |
| 3934 if test -d .tst; then |
| 3935 am__leading_dot=. |
| 3936 else |
| 3937 am__leading_dot=_ |
| 3938 fi |
| 3939 rmdir .tst 2>/dev/null |
| 3940 |
| 3941 DEPDIR="${am__leading_dot}deps" |
| 3942 |
| 3943 |
3882 | 3944 |
3883 # autoconf.info says this should be called right after AC_INIT. | 3945 # autoconf.info says this should be called right after AC_INIT. |
3884 ac_config_headers="$ac_config_headers config.h:config.in" | 3946 ac_config_headers="$ac_config_headers config.h:config.in" |
3885 | 3947 |
3886 | 3948 |
3887 | 3949 |
3888 | 3950 |
3889 | 3951 |
| 3952 |
3890 # Put a plausible default for CC_FOR_BUILD in Makefile. | 3953 # Put a plausible default for CC_FOR_BUILD in Makefile. |
3891 if test "x$cross_compiling" = "xno"; then | 3954 if test "x$cross_compiling" = "xno"; then |
3892 CC_FOR_BUILD='$(CC)' | 3955 CC_FOR_BUILD='$(CC)' |
3893 else | 3956 else |
3894 CC_FOR_BUILD=gcc | 3957 CC_FOR_BUILD=gcc |
3895 fi | 3958 fi |
3896 | 3959 |
3897 | 3960 |
3898 | 3961 |
3899 | 3962 |
(...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
;} | 4048 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} |
3986 ac_tool_warned=yes ;; | 4049 ac_tool_warned=yes ;; |
3987 esac | 4050 esac |
3988 RANLIB=$ac_ct_RANLIB | 4051 RANLIB=$ac_ct_RANLIB |
3989 fi | 4052 fi |
3990 else | 4053 else |
3991 RANLIB="$ac_cv_prog_RANLIB" | 4054 RANLIB="$ac_cv_prog_RANLIB" |
3992 fi | 4055 fi |
3993 | 4056 |
3994 | 4057 |
| 4058 # Some of the common include files depend on bfd.h, and bfd.h checks |
| 4059 # that config.h is included first by testing that the PACKAGE macro |
| 4060 # is defined. |
| 4061 PACKAGE=sim |
| 4062 |
| 4063 cat >>confdefs.h <<_ACEOF |
| 4064 #define PACKAGE "$PACKAGE" |
| 4065 _ACEOF |
| 4066 |
| 4067 |
| 4068 |
3995 # Dependency checking. | 4069 # Dependency checking. |
3996 ac_config_commands="$ac_config_commands depdir" | 4070 ac_config_commands="$ac_config_commands depdir" |
3997 | 4071 |
3998 | 4072 |
3999 depcc="$CC" am_compiler_list= | 4073 depcc="$CC" am_compiler_list= |
4000 | 4074 |
4001 am_depcomp=$ac_aux_dir/depcomp | 4075 am_depcomp=$ac_aux_dir/depcomp |
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&
5 | 4076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&
5 |
4003 $as_echo_n "checking dependency style of $depcc... " >&6; } | 4077 $as_echo_n "checking dependency style of $depcc... " >&6; } |
4004 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : | 4078 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 | 4635 |
4562 | 4636 |
4563 | 4637 |
4564 # Check whether --enable-sim-trace was given. | 4638 # Check whether --enable-sim-trace was given. |
4565 if test "${enable_sim_trace+set}" = set; then : | 4639 if test "${enable_sim_trace+set}" = set; then : |
4566 enableval=$enable_sim_trace; case "${enableval}" in | 4640 enableval=$enable_sim_trace; case "${enableval}" in |
4567 yes) sim_trace="-DTRACE=1 -DWITH_TRACE=-1";; | 4641 yes) sim_trace="-DTRACE=1 -DWITH_TRACE=-1";; |
4568 no) sim_trace="-DTRACE=0 -DWITH_TRACE=0";; | 4642 no) sim_trace="-DTRACE=0 -DWITH_TRACE=0";; |
4569 [-0-9]*) | 4643 [-0-9]*) |
4570 sim_trace="-DTRACE='(${enableval})' -DWITH_TRACE='(${enableval})'";; | 4644 sim_trace="-DTRACE='(${enableval})' -DWITH_TRACE='(${enableval})'";; |
4571 [a-z]*) | 4645 [[:lower:]]*) |
4572 sim_trace="" | 4646 sim_trace="" |
4573 for x in `echo "$enableval" | sed -e "s/,/ /g"`; do | 4647 for x in `echo "$enableval" | sed -e "s/,/ /g"`; do |
4574 if test x"$sim_trace" = x; then | 4648 if test x"$sim_trace" = x; then |
4575 sim_trace="-DWITH_TRACE='(TRACE_$x" | 4649 sim_trace="-DWITH_TRACE='(TRACE_$x" |
4576 else | 4650 else |
4577 sim_trace="${sim_trace}|TRACE_$x" | 4651 sim_trace="${sim_trace}|TRACE_$x" |
4578 fi | 4652 fi |
4579 done | 4653 done |
4580 sim_trace="$sim_trace)'" ;; | 4654 sim_trace="$sim_trace)'" ;; |
4581 esac | 4655 esac |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4754 yes | no) ;; | 4828 yes | no) ;; |
4755 *) as_fn_error "bad value ${enableval} given for --enable-cycle-stats optio
n" "$LINENO" 5 ;; | 4829 *) as_fn_error "bad value ${enableval} given for --enable-cycle-stats optio
n" "$LINENO" 5 ;; |
4756 esac | 4830 esac |
4757 fi | 4831 fi |
4758 | 4832 |
4759 | 4833 |
4760 echo enable_cycle_accurate is $enable_cycle_accurate | 4834 echo enable_cycle_accurate is $enable_cycle_accurate |
4761 echo enable_cycle_stats is $enable_cycle_stats | 4835 echo enable_cycle_stats is $enable_cycle_stats |
4762 | 4836 |
4763 if test "x${enable_cycle_accurate}" != xno; then | 4837 if test "x${enable_cycle_accurate}" != xno; then |
| 4838 |
4764 $as_echo "#define CYCLE_ACCURATE 1" >>confdefs.h | 4839 $as_echo "#define CYCLE_ACCURATE 1" >>confdefs.h |
4765 | 4840 |
4766 | 4841 |
4767 if test "x${enable_cycle_stats}" != xno; then | 4842 if test "x${enable_cycle_stats}" != xno; then |
4768 $as_echo "#define CYCLE_STATS 1" >>confdefs.h | 4843 |
| 4844 $as_echo "#define CYCLE_STATS 1" >>confdefs.h |
4769 | 4845 |
4770 fi | 4846 fi |
4771 else | 4847 else |
4772 if test "x${enable_cycle_stats}" != xno; then | 4848 if test "x${enable_cycle_stats}" != xno; then |
4773 as_fn_error "cycle-stats not available without cycle-accurate" "$LINENO" 5 | 4849 as_fn_error "cycle-stats not available without cycle-accurate" "$LINENO" 5 |
4774 fi | 4850 fi |
4775 fi | 4851 fi |
4776 | 4852 |
4777 | 4853 |
4778 ac_sources="$sim_link_files" | 4854 ac_sources="$sim_link_files" |
4779 ac_dests="$sim_link_links" | 4855 ac_dests="$sim_link_links" |
4780 while test -n "$ac_sources"; do | 4856 while test -n "$ac_sources"; do |
4781 set $ac_dests; ac_dest=$1; shift; ac_dests=$* | 4857 set $ac_dests; ac_dest=$1; shift; ac_dests=$* |
4782 set $ac_sources; ac_source=$1; shift; ac_sources=$* | 4858 set $ac_sources; ac_source=$1; shift; ac_sources=$* |
4783 ac_config_links_1="$ac_config_links_1 $ac_dest:$ac_source" | 4859 ac_config_links_1="$ac_config_links_1 $ac_dest:$ac_source" |
(...skipping 1338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6122 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 6198 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
6123 # would make configure fail if this is the last instruction. | 6199 # would make configure fail if this is the last instruction. |
6124 $ac_cs_success || as_fn_exit $? | 6200 $ac_cs_success || as_fn_exit $? |
6125 fi | 6201 fi |
6126 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | 6202 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_un
recognized_opts" >&5 | 6203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_un
recognized_opts" >&5 |
6128 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | 6204 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
6129 fi | 6205 fi |
6130 | 6206 |
6131 | 6207 |
OLD | NEW |