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

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

Powered by Google App Engine
This is Rietveld 408576698