Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(241)

Side by Side Diff: sim/erc32/configure

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sim/erc32/config.in ('k') | sim/erc32/configure.ac » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 585 matching lines...) Expand 10 before | Expand all | Expand 10 after
596 REPORT_BUGS_TEXI 596 REPORT_BUGS_TEXI
597 REPORT_BUGS_TO 597 REPORT_BUGS_TO
598 PKGVERSION 598 PKGVERSION
599 sim_profile 599 sim_profile
600 sim_trace 600 sim_trace
601 sim_stdio 601 sim_stdio
602 sim_debug 602 sim_debug
603 sim_cflags 603 sim_cflags
604 sim_bswap 604 sim_bswap
605 MAINT 605 MAINT
606 EGREP
607 GREP
608 CPP
609 CATOBJEXT 606 CATOBJEXT
610 GENCAT 607 GENCAT
611 INSTOBJEXT 608 INSTOBJEXT
612 DATADIRNAME 609 DATADIRNAME
613 CATALOGS 610 CATALOGS
614 POSUB 611 POSUB
615 GMSGFMT 612 GMSGFMT
616 XGETTEXT 613 XGETTEXT
617 INCINTL 614 INCINTL
618 LIBINTL_DEP 615 LIBINTL_DEP
619 LIBINTL 616 LIBINTL
620 USE_NLS 617 USE_NLS
621 GMAKE_FALSE 618 GMAKE_FALSE
622 GMAKE_TRUE 619 GMAKE_TRUE
623 MAKE 620 MAKE
624 CCDEPMODE 621 CCDEPMODE
625 DEPDIR 622 DEPDIR
626 am__leading_dot 623 am__leading_dot
624 PACKAGE
627 RANLIB 625 RANLIB
628 AR 626 AR
629 HDEFINES 627 HDEFINES
630 CC_FOR_BUILD 628 CC_FOR_BUILD
631 INSTALL_DATA 629 INSTALL_DATA
632 INSTALL_SCRIPT 630 INSTALL_SCRIPT
633 INSTALL_PROGRAM 631 INSTALL_PROGRAM
632 EGREP
633 GREP
634 CPP
634 target_os 635 target_os
635 target_vendor 636 target_vendor
636 target_cpu 637 target_cpu
637 target 638 target
638 host_os 639 host_os
639 host_vendor 640 host_vendor
640 host_cpu 641 host_cpu
641 host 642 host
642 build_os 643 build_os
643 build_vendor 644 build_vendor
(...skipping 1783 matching lines...) Expand 10 before | Expand all | Expand 10 after
2427 # triggers warnings from the preprocessor. Will be in autoconf 2.58. 2428 # triggers warnings from the preprocessor. Will be in autoconf 2.58.
2428 # For now, using this also overrides header checks to use only the 2429 # For now, using this also overrides header checks to use only the
2429 # preprocessor (matches 2.13 behavior; matching 2.58's behavior is a 2430 # preprocessor (matches 2.13 behavior; matching 2.58's behavior is a
2430 # bit harder from here). 2431 # bit harder from here).
2431 # Eventually autoconf will default to checking headers with the compiler 2432 # Eventually autoconf will default to checking headers with the compiler
2432 # instead, and we'll have to do this differently. 2433 # instead, and we'll have to do this differently.
2433 2434
2434 # AC_PROG_CPP_WERROR 2435 # AC_PROG_CPP_WERROR
2435 2436
2436 # Test for GNAT. 2437 # Test for GNAT.
2437 # We require the gnatbind program, and a compiler driver that 2438 # We require the gnatbind & gnatmake programs, as well as a compiler driver
2438 # understands Ada. We use the user's CC setting, already found, 2439 # that understands Ada. We use the user's CC setting, already found, and
2439 # and possibly add $1 to the command-line parameters. 2440 # possibly add $1 to the command-line parameters.
2440 # 2441 #
2441 # Sets the shell variable have_gnat to yes or no as appropriate, and 2442 # Sets the shell variable have_gnat to yes or no as appropriate, and
2442 # substitutes GNATBIND and GNATMAKE. 2443 # substitutes GNATBIND and GNATMAKE.
2443 2444
2444 2445
2445 2446
2446 2447
2447 2448
2448 2449
2449 2450
(...skipping 906 matching lines...) Expand 10 before | Expand all | Expand 10 after
3356 IFS=$ac_save_IFS 3357 IFS=$ac_save_IFS
3357 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 3358 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3358 3359
3359 3360
3360 # The aliases save the names the user supplied, while $host etc. 3361 # The aliases save the names the user supplied, while $host etc.
3361 # will get canonicalized. 3362 # will get canonicalized.
3362 test -n "$target_alias" && 3363 test -n "$target_alias" &&
3363 test "$program_prefix$program_suffix$program_transform_name" = \ 3364 test "$program_prefix$program_suffix$program_transform_name" = \
3364 NONENONEs,x,x, && 3365 NONENONEs,x,x, &&
3365 program_prefix=${target_alias}- 3366 program_prefix=${target_alias}-
3366 test "$program_prefix" != NONE &&
3367 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3368 # Use a double $ so make ignores it.
3369 test "$program_suffix" != NONE &&
3370 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3371 # Double any \ or $.
3372 # By default was `s,x,x', remove it if useless.
3373 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3374 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3375
3376 # Find a good install program. We prefer a C program (faster),
3377 # so one script is as good as another. But avoid the broken or
3378 # incompatible versions:
3379 # SysV /etc/install, /usr/sbin/install
3380 # SunOS /usr/etc/install
3381 # IRIX /sbin/install
3382 # AIX /bin/install
3383 # AmigaOS /C/install, which installs bootblocks on floppy discs
3384 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3385 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3386 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3387 # OS/2's system install, which has a completely different semantic
3388 # ./install, which can be erroneously created by make from ./install.sh.
3389 # Reject install programs that cannot install multiple files.
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3391 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3392 if test -z "$INSTALL"; then
3393 if test "${ac_cv_path_install+set}" = set; then :
3394 $as_echo_n "(cached) " >&6
3395 else
3396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3397 for as_dir in $PATH
3398 do
3399 IFS=$as_save_IFS
3400 test -z "$as_dir" && as_dir=.
3401 # Account for people who put trailing slashes in PATH elements.
3402 case $as_dir/ in #((
3403 ./ | .// | /[cC]/* | \
3404 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3405 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3406 /usr/ucb/* ) ;;
3407 *)
3408 # OSF1 and SCO ODT 3.0 have their own names for install.
3409 # Don't use installbsd from OSF since it installs stuff as root
3410 # by default.
3411 for ac_prog in ginstall scoinst install; do
3412 for ac_exec_ext in '' $ac_executable_extensions; do
3413 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_p rog$ac_exec_ext"; }; then
3414 if test $ac_prog = install &&
3415 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3416 # AIX install. It has an incompatible calling convention.
3417 :
3418 elif test $ac_prog = install &&
3419 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3420 # program-specific install script used by HP pwplus--don't use.
3421 :
3422 else
3423 rm -rf conftest.one conftest.two conftest.dir
3424 echo one > conftest.one
3425 echo two > conftest.two
3426 mkdir conftest.dir
3427 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd `/conftest.dir" &&
3428 test -s conftest.one && test -s conftest.two &&
3429 test -s conftest.dir/conftest.one &&
3430 test -s conftest.dir/conftest.two
3431 then
3432 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3433 break 3
3434 fi
3435 fi
3436 fi
3437 done
3438 done
3439 ;;
3440 esac
3441
3442 done
3443 IFS=$as_save_IFS
3444
3445 rm -rf conftest.one conftest.two conftest.dir
3446
3447 fi
3448 if test "${ac_cv_path_install+set}" = set; then
3449 INSTALL=$ac_cv_path_install
3450 else
3451 # As a last resort, use the slow shell script. Don't cache a
3452 # value for INSTALL within a source directory, because that will
3453 # break other packages using the cache if that directory is
3454 # removed, or if the value is a relative name.
3455 INSTALL=$ac_install_sh
3456 fi
3457 fi
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3459 $as_echo "$INSTALL" >&6; }
3460
3461 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3462 # It thinks the first close brace ends the variable substitution.
3463 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3464
3465 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3466
3467 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3468
3469 rm -rf .tst 2>/dev/null
3470 mkdir .tst 2>/dev/null
3471 if test -d .tst; then
3472 am__leading_dot=.
3473 else
3474 am__leading_dot=_
3475 fi
3476 rmdir .tst 2>/dev/null
3477
3478 DEPDIR="${am__leading_dot}deps"
3479
3480 3367
3481 ac_ext=c 3368 ac_ext=c
3482 ac_cpp='$CPP $CPPFLAGS' 3369 ac_cpp='$CPP $CPPFLAGS'
3483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5' 3371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5'
3485 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3487 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3374 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3488 # On Suns, sometimes $CPP names a directory. 3375 # On Suns, sometimes $CPP names a directory.
3489 if test -n "$CPP" && test -d "$CPP"; then 3376 if test -n "$CPP" && test -d "$CPP"; then
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
3870 cat >>confdefs.h <<_ACEOF 3757 cat >>confdefs.h <<_ACEOF
3871 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 3758 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3872 _ACEOF 3759 _ACEOF
3873 3760
3874 fi 3761 fi
3875 3762
3876 done 3763 done
3877 3764
3878 3765
3879 3766
3767 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_co nfig_h" "$ac_includes_default"
3768 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
3769 MINIX=yes
3770 else
3771 MINIX=
3772 fi
3773
3774
3775 if test "$MINIX" = yes; then
3776
3777 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3778
3779
3780 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3781
3782
3783 $as_echo "#define _MINIX 1" >>confdefs.h
3784
3785 fi
3786
3787
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3789 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3790 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
3791 $as_echo_n "(cached) " >&6
3792 else
3793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3794 /* end confdefs.h. */
3795
3796 # define __EXTENSIONS__ 1
3797 $ac_includes_default
3798 int
3799 main ()
3800 {
3801
3802 ;
3803 return 0;
3804 }
3805 _ACEOF
3806 if ac_fn_c_try_compile "$LINENO"; then :
3807 ac_cv_safe_to_define___extensions__=yes
3808 else
3809 ac_cv_safe_to_define___extensions__=no
3810 fi
3811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3812 fi
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensi ons__" >&5
3814 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3815 test $ac_cv_safe_to_define___extensions__ = yes &&
3816 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3817
3818 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3819
3820 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3821
3822 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3823
3824 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3825
3826
3827 test "$program_prefix" != NONE &&
3828 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3829 # Use a double $ so make ignores it.
3830 test "$program_suffix" != NONE &&
3831 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3832 # Double any \ or $.
3833 # By default was `s,x,x', remove it if useless.
3834 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3835 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3836
3837 # Find a good install program. We prefer a C program (faster),
3838 # so one script is as good as another. But avoid the broken or
3839 # incompatible versions:
3840 # SysV /etc/install, /usr/sbin/install
3841 # SunOS /usr/etc/install
3842 # IRIX /sbin/install
3843 # AIX /bin/install
3844 # AmigaOS /C/install, which installs bootblocks on floppy discs
3845 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3846 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3847 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3848 # OS/2's system install, which has a completely different semantic
3849 # ./install, which can be erroneously created by make from ./install.sh.
3850 # Reject install programs that cannot install multiple files.
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3852 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3853 if test -z "$INSTALL"; then
3854 if test "${ac_cv_path_install+set}" = set; then :
3855 $as_echo_n "(cached) " >&6
3856 else
3857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3858 for as_dir in $PATH
3859 do
3860 IFS=$as_save_IFS
3861 test -z "$as_dir" && as_dir=.
3862 # Account for people who put trailing slashes in PATH elements.
3863 case $as_dir/ in #((
3864 ./ | .// | /[cC]/* | \
3865 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3866 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3867 /usr/ucb/* ) ;;
3868 *)
3869 # OSF1 and SCO ODT 3.0 have their own names for install.
3870 # Don't use installbsd from OSF since it installs stuff as root
3871 # by default.
3872 for ac_prog in ginstall scoinst install; do
3873 for ac_exec_ext in '' $ac_executable_extensions; do
3874 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_p rog$ac_exec_ext"; }; then
3875 if test $ac_prog = install &&
3876 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3877 # AIX install. It has an incompatible calling convention.
3878 :
3879 elif test $ac_prog = install &&
3880 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3881 # program-specific install script used by HP pwplus--don't use.
3882 :
3883 else
3884 rm -rf conftest.one conftest.two conftest.dir
3885 echo one > conftest.one
3886 echo two > conftest.two
3887 mkdir conftest.dir
3888 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd `/conftest.dir" &&
3889 test -s conftest.one && test -s conftest.two &&
3890 test -s conftest.dir/conftest.one &&
3891 test -s conftest.dir/conftest.two
3892 then
3893 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3894 break 3
3895 fi
3896 fi
3897 fi
3898 done
3899 done
3900 ;;
3901 esac
3902
3903 done
3904 IFS=$as_save_IFS
3905
3906 rm -rf conftest.one conftest.two conftest.dir
3907
3908 fi
3909 if test "${ac_cv_path_install+set}" = set; then
3910 INSTALL=$ac_cv_path_install
3911 else
3912 # As a last resort, use the slow shell script. Don't cache a
3913 # value for INSTALL within a source directory, because that will
3914 # break other packages using the cache if that directory is
3915 # removed, or if the value is a relative name.
3916 INSTALL=$ac_install_sh
3917 fi
3918 fi
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3920 $as_echo "$INSTALL" >&6; }
3921
3922 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3923 # It thinks the first close brace ends the variable substitution.
3924 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3925
3926 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3927
3928 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3929
3930 rm -rf .tst 2>/dev/null
3931 mkdir .tst 2>/dev/null
3932 if test -d .tst; then
3933 am__leading_dot=.
3934 else
3935 am__leading_dot=_
3936 fi
3937 rmdir .tst 2>/dev/null
3938
3939 DEPDIR="${am__leading_dot}deps"
3940
3941
3880 3942
3881 # autoconf.info says this should be called right after AC_INIT. 3943 # autoconf.info says this should be called right after AC_INIT.
3882 ac_config_headers="$ac_config_headers config.h:config.in" 3944 ac_config_headers="$ac_config_headers config.h:config.in"
3883 3945
3884 3946
3885 3947
3886 3948
3887 3949
3950
3888 # Put a plausible default for CC_FOR_BUILD in Makefile. 3951 # Put a plausible default for CC_FOR_BUILD in Makefile.
3889 if test "x$cross_compiling" = "xno"; then 3952 if test "x$cross_compiling" = "xno"; then
3890 CC_FOR_BUILD='$(CC)' 3953 CC_FOR_BUILD='$(CC)'
3891 else 3954 else
3892 CC_FOR_BUILD=gcc 3955 CC_FOR_BUILD=gcc
3893 fi 3956 fi
3894 3957
3895 3958
3896 3959
3897 3960
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
3983 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2 ;} 4046 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2 ;}
3984 ac_tool_warned=yes ;; 4047 ac_tool_warned=yes ;;
3985 esac 4048 esac
3986 RANLIB=$ac_ct_RANLIB 4049 RANLIB=$ac_ct_RANLIB
3987 fi 4050 fi
3988 else 4051 else
3989 RANLIB="$ac_cv_prog_RANLIB" 4052 RANLIB="$ac_cv_prog_RANLIB"
3990 fi 4053 fi
3991 4054
3992 4055
4056 # Some of the common include files depend on bfd.h, and bfd.h checks
4057 # that config.h is included first by testing that the PACKAGE macro
4058 # is defined.
4059 PACKAGE=sim
4060
4061 cat >>confdefs.h <<_ACEOF
4062 #define PACKAGE "$PACKAGE"
4063 _ACEOF
4064
4065
4066
3993 # Dependency checking. 4067 # Dependency checking.
3994 ac_config_commands="$ac_config_commands depdir" 4068 ac_config_commands="$ac_config_commands depdir"
3995 4069
3996 4070
3997 depcc="$CC" am_compiler_list= 4071 depcc="$CC" am_compiler_list=
3998 4072
3999 am_depcomp=$ac_aux_dir/depcomp 4073 am_depcomp=$ac_aux_dir/depcomp
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >& 5 4074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >& 5
4001 $as_echo_n "checking dependency style of $depcc... " >&6; } 4075 $as_echo_n "checking dependency style of $depcc... " >&6; }
4002 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 4076 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after
4559 4633
4560 4634
4561 4635
4562 # Check whether --enable-sim-trace was given. 4636 # Check whether --enable-sim-trace was given.
4563 if test "${enable_sim_trace+set}" = set; then : 4637 if test "${enable_sim_trace+set}" = set; then :
4564 enableval=$enable_sim_trace; case "${enableval}" in 4638 enableval=$enable_sim_trace; case "${enableval}" in
4565 yes) sim_trace="-DTRACE=1 -DWITH_TRACE=-1";; 4639 yes) sim_trace="-DTRACE=1 -DWITH_TRACE=-1";;
4566 no) sim_trace="-DTRACE=0 -DWITH_TRACE=0";; 4640 no) sim_trace="-DTRACE=0 -DWITH_TRACE=0";;
4567 [-0-9]*) 4641 [-0-9]*)
4568 sim_trace="-DTRACE='(${enableval})' -DWITH_TRACE='(${enableval})'";; 4642 sim_trace="-DTRACE='(${enableval})' -DWITH_TRACE='(${enableval})'";;
4569 [a-z]*) 4643 [[:lower:]]*)
4570 sim_trace="" 4644 sim_trace=""
4571 for x in `echo "$enableval" | sed -e "s/,/ /g"`; do 4645 for x in `echo "$enableval" | sed -e "s/,/ /g"`; do
4572 if test x"$sim_trace" = x; then 4646 if test x"$sim_trace" = x; then
4573 sim_trace="-DWITH_TRACE='(TRACE_$x" 4647 sim_trace="-DWITH_TRACE='(TRACE_$x"
4574 else 4648 else
4575 sim_trace="${sim_trace}|TRACE_$x" 4649 sim_trace="${sim_trace}|TRACE_$x"
4576 fi 4650 fi
4577 done 4651 done
4578 sim_trace="$sim_trace)'" ;; 4652 sim_trace="$sim_trace)'" ;;
4579 esac 4653 esac
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
4758 fi 4832 fi
4759 rm -f conftest* 4833 rm -f conftest*
4760 4834
4761 fi 4835 fi
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_cv_os_cygwin" >&5 4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_cv_os_cygwin" >&5
4763 $as_echo "$sim_cv_os_cygwin" >&6; } 4837 $as_echo "$sim_cv_os_cygwin" >&6; }
4764 4838
4765 if test x$sim_cv_os_cygwin = xyes; then 4839 if test x$sim_cv_os_cygwin = xyes; then
4766 TERMCAP='`if test -r ../../libtermcap/libtermcap.a; then echo ../../libtermcap /libtermcap.a; else echo -ltermcap; fi` -luser32' 4840 TERMCAP='`if test -r ../../libtermcap/libtermcap.a; then echo ../../libtermcap /libtermcap.a; else echo -ltermcap; fi` -luser32'
4767 else 4841 else
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ltermcap" >&5 4842 # Keep in sync with gdb's configure.ac list.
4769 $as_echo_n "checking for main in -ltermcap... " >&6; } 4843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tgete nt" >&5
4770 if test "${ac_cv_lib_termcap_main+set}" = set; then : 4844 $as_echo_n "checking for library containing tgetent... " >&6; }
4845 if test "${ac_cv_search_tgetent+set}" = set; then :
4771 $as_echo_n "(cached) " >&6 4846 $as_echo_n "(cached) " >&6
4772 else 4847 else
4773 ac_check_lib_save_LIBS=$LIBS 4848 ac_func_search_save_LIBS=$LIBS
4774 LIBS="-ltermcap $LIBS"
4775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4776 /* end confdefs.h. */ 4850 /* end confdefs.h. */
4777 4851
4778 4852 /* Override any GCC internal prototype to avoid an error.
4853 Use char because int might match the return type of a GCC
4854 builtin and then its argument prototype would still apply. */
4855 #ifdef __cplusplus
4856 extern "C"
4857 #endif
4858 char tgetent ();
4779 int 4859 int
4780 main () 4860 main ()
4781 { 4861 {
4782 return main (); 4862 return tgetent ();
4783 ; 4863 ;
4784 return 0; 4864 return 0;
4785 } 4865 }
4786 _ACEOF 4866 _ACEOF
4787 if ac_fn_c_try_link "$LINENO"; then : 4867 for ac_lib in '' termcap tinfo curses ncurses; do
4788 ac_cv_lib_termcap_main=yes 4868 if test -z "$ac_lib"; then
4789 else 4869 ac_res="none required"
4790 ac_cv_lib_termcap_main=no 4870 else
4871 ac_res=-l$ac_lib
4872 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4873 fi
4874 if ac_fn_c_try_link "$LINENO"; then :
4875 ac_cv_search_tgetent=$ac_res
4791 fi 4876 fi
4792 rm -f core conftest.err conftest.$ac_objext \ 4877 rm -f core conftest.err conftest.$ac_objext \
4793 conftest$ac_exeext conftest.$ac_ext 4878 conftest$ac_exeext
4794 LIBS=$ac_check_lib_save_LIBS 4879 if test "${ac_cv_search_tgetent+set}" = set; then :
4880 break
4795 fi 4881 fi
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_main" >&5 4882 done
4797 $as_echo "$ac_cv_lib_termcap_main" >&6; } 4883 if test "${ac_cv_search_tgetent+set}" = set; then :
4798 if test "x$ac_cv_lib_termcap_main" = x""yes; then : 4884
4799 TERMCAP=-ltermcap 4885 else
4886 ac_cv_search_tgetent=no
4887 fi
4888 rm conftest.$ac_ext
4889 LIBS=$ac_func_search_save_LIBS
4890 fi
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_tgetent" >&5
4892 $as_echo "$ac_cv_search_tgetent" >&6; }
4893 ac_res=$ac_cv_search_tgetent
4894 if test "$ac_res" != no; then :
4895 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4896 TERMCAP=$ac_cv_search_tgetent
4800 else 4897 else
4801 TERMCAP="" 4898 TERMCAP=""
4802 fi 4899 fi
4803 4900
4804 fi 4901 fi
4805 4902
4806 4903
4807 # We prefer the in-tree readline. Top-level dependencies make sure 4904 # We prefer the in-tree readline. Top-level dependencies make sure
4808 # src/readline (if it's there) is configured before src/sim. 4905 # src/readline (if it's there) is configured before src/sim.
4809 if test -r ../../readline/Makefile; then 4906 if test -r ../../readline/Makefile; then
(...skipping 1391 matching lines...) Expand 10 before | Expand all | Expand 10 after
6201 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 6298 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6202 # would make configure fail if this is the last instruction. 6299 # would make configure fail if this is the last instruction.
6203 $ac_cs_success || as_fn_exit $? 6300 $ac_cs_success || as_fn_exit $?
6204 fi 6301 fi
6205 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 6302 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_un recognized_opts" >&5 6303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_un recognized_opts" >&5
6207 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 6304 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6208 fi 6305 fi
6209 6306
6210 6307
OLDNEW
« no previous file with comments | « sim/erc32/config.in ('k') | sim/erc32/configure.ac » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698