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

Side by Side Diff: sim/bfin/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/bfin/config.in ('k') | sim/bfin/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 589 matching lines...) Expand 10 before | Expand all | Expand 10 after
600 REPORT_BUGS_TEXI 600 REPORT_BUGS_TEXI
601 REPORT_BUGS_TO 601 REPORT_BUGS_TO
602 PKGVERSION 602 PKGVERSION
603 sim_profile 603 sim_profile
604 sim_trace 604 sim_trace
605 sim_stdio 605 sim_stdio
606 sim_debug 606 sim_debug
607 sim_cflags 607 sim_cflags
608 sim_bswap 608 sim_bswap
609 MAINT 609 MAINT
610 EGREP
611 GREP
612 CPP
613 CATOBJEXT 610 CATOBJEXT
614 GENCAT 611 GENCAT
615 INSTOBJEXT 612 INSTOBJEXT
616 DATADIRNAME 613 DATADIRNAME
617 CATALOGS 614 CATALOGS
618 POSUB 615 POSUB
619 GMSGFMT 616 GMSGFMT
620 XGETTEXT 617 XGETTEXT
621 INCINTL 618 INCINTL
622 LIBINTL_DEP 619 LIBINTL_DEP
623 LIBINTL 620 LIBINTL
624 USE_NLS 621 USE_NLS
625 GMAKE_FALSE 622 GMAKE_FALSE
626 GMAKE_TRUE 623 GMAKE_TRUE
627 MAKE 624 MAKE
628 CCDEPMODE 625 CCDEPMODE
629 DEPDIR 626 DEPDIR
630 am__leading_dot 627 am__leading_dot
628 PACKAGE
631 RANLIB 629 RANLIB
632 AR 630 AR
633 HDEFINES 631 HDEFINES
634 CC_FOR_BUILD 632 CC_FOR_BUILD
635 INSTALL_DATA 633 INSTALL_DATA
636 INSTALL_SCRIPT 634 INSTALL_SCRIPT
637 INSTALL_PROGRAM 635 INSTALL_PROGRAM
636 EGREP
637 GREP
638 CPP
638 target_os 639 target_os
639 target_vendor 640 target_vendor
640 target_cpu 641 target_cpu
641 target 642 target
642 host_os 643 host_os
643 host_vendor 644 host_vendor
644 host_cpu 645 host_cpu
645 host 646 host
646 build_os 647 build_os
647 build_vendor 648 build_vendor
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
725 enable_sim_trace 726 enable_sim_trace
726 enable_sim_profile 727 enable_sim_profile
727 with_pkgversion 728 with_pkgversion
728 with_bugurl 729 with_bugurl
729 enable_sim_endian 730 enable_sim_endian
730 enable_sim_alignment 731 enable_sim_alignment
731 enable_sim_hostendian 732 enable_sim_hostendian
732 enable_sim_default_model 733 enable_sim_default_model
733 enable_sim_environment 734 enable_sim_environment
734 enable_sim_inline 735 enable_sim_inline
736 enable_werror
735 enable_build_warnings 737 enable_build_warnings
736 enable_sim_build_warnings 738 enable_sim_build_warnings
737 enable_sim_hardware 739 enable_sim_hardware
738 ' 740 '
739 ac_precious_vars='build_alias 741 ac_precious_vars='build_alias
740 host_alias 742 host_alias
741 target_alias 743 target_alias
742 CC 744 CC
743 CFLAGS 745 CFLAGS
744 LDFLAGS 746 LDFLAGS
(...skipping 629 matching lines...) Expand 10 before | Expand all | Expand 10 after
1374 --enable-sim-debug=opts Enable debugging flags 1376 --enable-sim-debug=opts Enable debugging flags
1375 --enable-sim-stdio Specify whether to use stdio for console input/output. 1377 --enable-sim-stdio Specify whether to use stdio for console input/output.
1376 --enable-sim-trace=opts Enable tracing flags 1378 --enable-sim-trace=opts Enable tracing flags
1377 --enable-sim-profile=opts Enable profiling flags 1379 --enable-sim-profile=opts Enable profiling flags
1378 --enable-sim-endian=endian Specify target byte endian orientation. 1380 --enable-sim-endian=endian Specify target byte endian orientation.
1379 --enable-sim-alignment=align Specify strict, nonstrict or forced ali gnment of memory accesses. 1381 --enable-sim-alignment=align Specify strict, nonstrict or forced ali gnment of memory accesses.
1380 --enable-sim-hostendian=end Specify host byte endian orientation. 1382 --enable-sim-hostendian=end Specify host byte endian orientation.
1381 --enable-sim-default-model=model Specify default model to simulate. 1383 --enable-sim-default-model=model Specify default model to simulate.
1382 --enable-sim-environment=environment Specify mixed, user, virtual or operatin g environment. 1384 --enable-sim-environment=environment Specify mixed, user, virtual or operatin g environment.
1383 --enable-sim-inline=inlines Specify which functions should be inline d. 1385 --enable-sim-inline=inlines Specify which functions should be inline d.
1384 --enable-build-warnings Enable build-time compiler warnings if gcc is used 1386 --enable-werror treat compile warnings as errors
1385 --enable-gdb-build-warnings Enable SIM specific build-time compiler warnings i f gcc is used 1387 --enable-build-warnings enable build-time compiler warnings if gcc is used
1388 --enable-sim-build-warnings
1389 enable SIM specific build-time compiler warnings if
1390 gcc is used
1386 --enable-sim-hardware=LIST Specify the hardware to be included in t he build. 1391 --enable-sim-hardware=LIST Specify the hardware to be included in t he build.
1387 1392
1388 Optional Packages: 1393 Optional Packages:
1389 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1394 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1390 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1395 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1391 --with-zlib include zlib support (auto/yes/no) default=auto 1396 --with-zlib include zlib support (auto/yes/no) default=auto
1392 --with-pkgversion=PKG Use PKG in the version string in place of "GDB" 1397 --with-pkgversion=PKG Use PKG in the version string in place of "GDB"
1393 --with-bugurl=URL Direct users to URL to report a bug 1398 --with-bugurl=URL Direct users to URL to report a bug
1394 1399
1395 Some influential environment variables: 1400 Some influential environment variables:
(...skipping 1994 matching lines...) Expand 10 before | Expand all | Expand 10 after
3390 IFS=$ac_save_IFS 3395 IFS=$ac_save_IFS
3391 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 3396 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3392 3397
3393 3398
3394 # The aliases save the names the user supplied, while $host etc. 3399 # The aliases save the names the user supplied, while $host etc.
3395 # will get canonicalized. 3400 # will get canonicalized.
3396 test -n "$target_alias" && 3401 test -n "$target_alias" &&
3397 test "$program_prefix$program_suffix$program_transform_name" = \ 3402 test "$program_prefix$program_suffix$program_transform_name" = \
3398 NONENONEs,x,x, && 3403 NONENONEs,x,x, &&
3399 program_prefix=${target_alias}- 3404 program_prefix=${target_alias}-
3400 test "$program_prefix" != NONE &&
3401 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3402 # Use a double $ so make ignores it.
3403 test "$program_suffix" != NONE &&
3404 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3405 # Double any \ or $.
3406 # By default was `s,x,x', remove it if useless.
3407 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3408 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3409
3410 # Find a good install program. We prefer a C program (faster),
3411 # so one script is as good as another. But avoid the broken or
3412 # incompatible versions:
3413 # SysV /etc/install, /usr/sbin/install
3414 # SunOS /usr/etc/install
3415 # IRIX /sbin/install
3416 # AIX /bin/install
3417 # AmigaOS /C/install, which installs bootblocks on floppy discs
3418 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3419 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3420 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3421 # OS/2's system install, which has a completely different semantic
3422 # ./install, which can be erroneously created by make from ./install.sh.
3423 # Reject install programs that cannot install multiple files.
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3425 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3426 if test -z "$INSTALL"; then
3427 if test "${ac_cv_path_install+set}" = set; then :
3428 $as_echo_n "(cached) " >&6
3429 else
3430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3431 for as_dir in $PATH
3432 do
3433 IFS=$as_save_IFS
3434 test -z "$as_dir" && as_dir=.
3435 # Account for people who put trailing slashes in PATH elements.
3436 case $as_dir/ in #((
3437 ./ | .// | /[cC]/* | \
3438 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3439 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3440 /usr/ucb/* ) ;;
3441 *)
3442 # OSF1 and SCO ODT 3.0 have their own names for install.
3443 # Don't use installbsd from OSF since it installs stuff as root
3444 # by default.
3445 for ac_prog in ginstall scoinst install; do
3446 for ac_exec_ext in '' $ac_executable_extensions; do
3447 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_p rog$ac_exec_ext"; }; then
3448 if test $ac_prog = install &&
3449 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3450 # AIX install. It has an incompatible calling convention.
3451 :
3452 elif test $ac_prog = install &&
3453 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3454 # program-specific install script used by HP pwplus--don't use.
3455 :
3456 else
3457 rm -rf conftest.one conftest.two conftest.dir
3458 echo one > conftest.one
3459 echo two > conftest.two
3460 mkdir conftest.dir
3461 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd `/conftest.dir" &&
3462 test -s conftest.one && test -s conftest.two &&
3463 test -s conftest.dir/conftest.one &&
3464 test -s conftest.dir/conftest.two
3465 then
3466 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3467 break 3
3468 fi
3469 fi
3470 fi
3471 done
3472 done
3473 ;;
3474 esac
3475
3476 done
3477 IFS=$as_save_IFS
3478
3479 rm -rf conftest.one conftest.two conftest.dir
3480
3481 fi
3482 if test "${ac_cv_path_install+set}" = set; then
3483 INSTALL=$ac_cv_path_install
3484 else
3485 # As a last resort, use the slow shell script. Don't cache a
3486 # value for INSTALL within a source directory, because that will
3487 # break other packages using the cache if that directory is
3488 # removed, or if the value is a relative name.
3489 INSTALL=$ac_install_sh
3490 fi
3491 fi
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3493 $as_echo "$INSTALL" >&6; }
3494
3495 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3496 # It thinks the first close brace ends the variable substitution.
3497 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3498
3499 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3500
3501 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3502
3503 rm -rf .tst 2>/dev/null
3504 mkdir .tst 2>/dev/null
3505 if test -d .tst; then
3506 am__leading_dot=.
3507 else
3508 am__leading_dot=_
3509 fi
3510 rmdir .tst 2>/dev/null
3511
3512 DEPDIR="${am__leading_dot}deps"
3513
3514 3405
3515 ac_ext=c 3406 ac_ext=c
3516 ac_cpp='$CPP $CPPFLAGS' 3407 ac_cpp='$CPP $CPPFLAGS'
3517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5' 3409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5'
3519 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3521 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3412 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3522 # On Suns, sometimes $CPP names a directory. 3413 # On Suns, sometimes $CPP names a directory.
3523 if test -n "$CPP" && test -d "$CPP"; then 3414 if test -n "$CPP" && test -d "$CPP"; then
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
3904 cat >>confdefs.h <<_ACEOF 3795 cat >>confdefs.h <<_ACEOF
3905 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 3796 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3906 _ACEOF 3797 _ACEOF
3907 3798
3908 fi 3799 fi
3909 3800
3910 done 3801 done
3911 3802
3912 3803
3913 3804
3805 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_co nfig_h" "$ac_includes_default"
3806 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
3807 MINIX=yes
3808 else
3809 MINIX=
3810 fi
3811
3812
3813 if test "$MINIX" = yes; then
3814
3815 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3816
3817
3818 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3819
3820
3821 $as_echo "#define _MINIX 1" >>confdefs.h
3822
3823 fi
3824
3825
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3827 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3828 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
3829 $as_echo_n "(cached) " >&6
3830 else
3831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3832 /* end confdefs.h. */
3833
3834 # define __EXTENSIONS__ 1
3835 $ac_includes_default
3836 int
3837 main ()
3838 {
3839
3840 ;
3841 return 0;
3842 }
3843 _ACEOF
3844 if ac_fn_c_try_compile "$LINENO"; then :
3845 ac_cv_safe_to_define___extensions__=yes
3846 else
3847 ac_cv_safe_to_define___extensions__=no
3848 fi
3849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3850 fi
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensi ons__" >&5
3852 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3853 test $ac_cv_safe_to_define___extensions__ = yes &&
3854 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3855
3856 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3857
3858 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3859
3860 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3861
3862 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3863
3864
3865 test "$program_prefix" != NONE &&
3866 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3867 # Use a double $ so make ignores it.
3868 test "$program_suffix" != NONE &&
3869 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3870 # Double any \ or $.
3871 # By default was `s,x,x', remove it if useless.
3872 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3873 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3874
3875 # Find a good install program. We prefer a C program (faster),
3876 # so one script is as good as another. But avoid the broken or
3877 # incompatible versions:
3878 # SysV /etc/install, /usr/sbin/install
3879 # SunOS /usr/etc/install
3880 # IRIX /sbin/install
3881 # AIX /bin/install
3882 # AmigaOS /C/install, which installs bootblocks on floppy discs
3883 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3884 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3885 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3886 # OS/2's system install, which has a completely different semantic
3887 # ./install, which can be erroneously created by make from ./install.sh.
3888 # Reject install programs that cannot install multiple files.
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3890 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3891 if test -z "$INSTALL"; then
3892 if test "${ac_cv_path_install+set}" = set; then :
3893 $as_echo_n "(cached) " >&6
3894 else
3895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3896 for as_dir in $PATH
3897 do
3898 IFS=$as_save_IFS
3899 test -z "$as_dir" && as_dir=.
3900 # Account for people who put trailing slashes in PATH elements.
3901 case $as_dir/ in #((
3902 ./ | .// | /[cC]/* | \
3903 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3904 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3905 /usr/ucb/* ) ;;
3906 *)
3907 # OSF1 and SCO ODT 3.0 have their own names for install.
3908 # Don't use installbsd from OSF since it installs stuff as root
3909 # by default.
3910 for ac_prog in ginstall scoinst install; do
3911 for ac_exec_ext in '' $ac_executable_extensions; do
3912 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_p rog$ac_exec_ext"; }; then
3913 if test $ac_prog = install &&
3914 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3915 # AIX install. It has an incompatible calling convention.
3916 :
3917 elif test $ac_prog = install &&
3918 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3919 # program-specific install script used by HP pwplus--don't use.
3920 :
3921 else
3922 rm -rf conftest.one conftest.two conftest.dir
3923 echo one > conftest.one
3924 echo two > conftest.two
3925 mkdir conftest.dir
3926 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd `/conftest.dir" &&
3927 test -s conftest.one && test -s conftest.two &&
3928 test -s conftest.dir/conftest.one &&
3929 test -s conftest.dir/conftest.two
3930 then
3931 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3932 break 3
3933 fi
3934 fi
3935 fi
3936 done
3937 done
3938 ;;
3939 esac
3940
3941 done
3942 IFS=$as_save_IFS
3943
3944 rm -rf conftest.one conftest.two conftest.dir
3945
3946 fi
3947 if test "${ac_cv_path_install+set}" = set; then
3948 INSTALL=$ac_cv_path_install
3949 else
3950 # As a last resort, use the slow shell script. Don't cache a
3951 # value for INSTALL within a source directory, because that will
3952 # break other packages using the cache if that directory is
3953 # removed, or if the value is a relative name.
3954 INSTALL=$ac_install_sh
3955 fi
3956 fi
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3958 $as_echo "$INSTALL" >&6; }
3959
3960 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3961 # It thinks the first close brace ends the variable substitution.
3962 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3963
3964 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3965
3966 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3967
3968 rm -rf .tst 2>/dev/null
3969 mkdir .tst 2>/dev/null
3970 if test -d .tst; then
3971 am__leading_dot=.
3972 else
3973 am__leading_dot=_
3974 fi
3975 rmdir .tst 2>/dev/null
3976
3977 DEPDIR="${am__leading_dot}deps"
3978
3979
3914 3980
3915 # autoconf.info says this should be called right after AC_INIT. 3981 # autoconf.info says this should be called right after AC_INIT.
3916 ac_config_headers="$ac_config_headers config.h:config.in" 3982 ac_config_headers="$ac_config_headers config.h:config.in"
3917 3983
3918 3984
3919 3985
3920 3986
3921 3987
3988
3922 # Put a plausible default for CC_FOR_BUILD in Makefile. 3989 # Put a plausible default for CC_FOR_BUILD in Makefile.
3923 if test "x$cross_compiling" = "xno"; then 3990 if test "x$cross_compiling" = "xno"; then
3924 CC_FOR_BUILD='$(CC)' 3991 CC_FOR_BUILD='$(CC)'
3925 else 3992 else
3926 CC_FOR_BUILD=gcc 3993 CC_FOR_BUILD=gcc
3927 fi 3994 fi
3928 3995
3929 3996
3930 3997
3931 3998
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
4017 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2 ;} 4084 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2 ;}
4018 ac_tool_warned=yes ;; 4085 ac_tool_warned=yes ;;
4019 esac 4086 esac
4020 RANLIB=$ac_ct_RANLIB 4087 RANLIB=$ac_ct_RANLIB
4021 fi 4088 fi
4022 else 4089 else
4023 RANLIB="$ac_cv_prog_RANLIB" 4090 RANLIB="$ac_cv_prog_RANLIB"
4024 fi 4091 fi
4025 4092
4026 4093
4094 # Some of the common include files depend on bfd.h, and bfd.h checks
4095 # that config.h is included first by testing that the PACKAGE macro
4096 # is defined.
4097 PACKAGE=sim
4098
4099 cat >>confdefs.h <<_ACEOF
4100 #define PACKAGE "$PACKAGE"
4101 _ACEOF
4102
4103
4104
4027 # Dependency checking. 4105 # Dependency checking.
4028 ac_config_commands="$ac_config_commands depdir" 4106 ac_config_commands="$ac_config_commands depdir"
4029 4107
4030 4108
4031 depcc="$CC" am_compiler_list= 4109 depcc="$CC" am_compiler_list=
4032 4110
4033 am_depcomp=$ac_aux_dir/depcomp 4111 am_depcomp=$ac_aux_dir/depcomp
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >& 5 4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >& 5
4035 $as_echo_n "checking dependency style of $depcc... " >&6; } 4113 $as_echo_n "checking dependency style of $depcc... " >&6; }
4036 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 4114 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after
4593 4671
4594 4672
4595 4673
4596 # Check whether --enable-sim-trace was given. 4674 # Check whether --enable-sim-trace was given.
4597 if test "${enable_sim_trace+set}" = set; then : 4675 if test "${enable_sim_trace+set}" = set; then :
4598 enableval=$enable_sim_trace; case "${enableval}" in 4676 enableval=$enable_sim_trace; case "${enableval}" in
4599 yes) sim_trace="-DTRACE=1 -DWITH_TRACE=-1";; 4677 yes) sim_trace="-DTRACE=1 -DWITH_TRACE=-1";;
4600 no) sim_trace="-DTRACE=0 -DWITH_TRACE=0";; 4678 no) sim_trace="-DTRACE=0 -DWITH_TRACE=0";;
4601 [-0-9]*) 4679 [-0-9]*)
4602 sim_trace="-DTRACE='(${enableval})' -DWITH_TRACE='(${enableval})'";; 4680 sim_trace="-DTRACE='(${enableval})' -DWITH_TRACE='(${enableval})'";;
4603 [a-z]*) 4681 [[:lower:]]*)
4604 sim_trace="" 4682 sim_trace=""
4605 for x in `echo "$enableval" | sed -e "s/,/ /g"`; do 4683 for x in `echo "$enableval" | sed -e "s/,/ /g"`; do
4606 if test x"$sim_trace" = x; then 4684 if test x"$sim_trace" = x; then
4607 sim_trace="-DWITH_TRACE='(TRACE_$x" 4685 sim_trace="-DWITH_TRACE='(TRACE_$x"
4608 else 4686 else
4609 sim_trace="${sim_trace}|TRACE_$x" 4687 sim_trace="${sim_trace}|TRACE_$x"
4610 fi 4688 fi
4611 done 4689 done
4612 sim_trace="$sim_trace)'" ;; 4690 sim_trace="$sim_trace)'" ;;
4613 esac 4691 esac
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after
5170 fi 5248 fi
5171 else 5249 else
5172 sim_inline="" 5250 sim_inline=""
5173 fi 5251 fi
5174 else 5252 else
5175 sim_inline="-DDEFAULT_INLINE=0" 5253 sim_inline="-DDEFAULT_INLINE=0"
5176 fi 5254 fi
5177 fi 5255 fi
5178 5256
5179 5257
5180 # NOTE: Don't add -Wall or -Wunused, they both include 5258 # Check whether --enable-werror was given.
5181 # -Wunused-parameter which reports bogus warnings. 5259 if test "${enable_werror+set}" = set; then :
5182 # NOTE: If you add to this list, remember to update 5260 enableval=$enable_werror; case "${enableval}" in
5261 yes | y) ERROR_ON_WARNING="yes" ;;
5262 no | n) ERROR_ON_WARNING="no" ;;
5263 *) as_fn_error "bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
5264 esac
5265 fi
5266
5267
5268 # Enable -Werror by default when using gcc
5269 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
5270 ERROR_ON_WARNING=yes
5271 fi
5272
5273 WERROR_CFLAGS=""
5274 if test "${ERROR_ON_WARNING}" = yes ; then
5275 # NOTE: Disabled in the sim dir due to most sims generating warnings.
5276 # WERROR_CFLAGS="-Werror"
5277 true
5278 fi
5279
5280 # The entries after -Wno-pointer-sign are disabled warnings which may
5281 # be enabled in the future, which can not currently be used to build
5282 # GDB.
5283 # NOTE: If you change this list, remember to update
5183 # gdb/doc/gdbint.texinfo. 5284 # gdb/doc/gdbint.texinfo.
5184 build_warnings="-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs \ 5285 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
5185 -Wformat -Wparentheses -Wpointer-arith" 5286 -Wformat-nonliteral -Wno-pointer-sign \
5186 # GCC supports -Wuninitialized only with -O or -On, n != 0. 5287 -Wno-unused -Wunused-value -Wunused-function \
5187 if test x${CFLAGS+set} = xset; then 5288 -Wno-switch -Wno-char-subscripts -Wmissing-prototypes"
5188 case "${CFLAGS}" in 5289
5189 *"-O0"* ) ;; 5290 # Enable -Wno-format by default when using gcc on mingw since many
5190 *"-O"* ) 5291 # GCC versions complain about %I64.
5191 build_warnings="${build_warnings} -Wuninitialized" 5292 case "${host}" in
5192 ;; 5293 *-*-mingw32*) build_warnings="$build_warnings -Wno-format" ;;
5193 esac 5294 esac
5194 else 5295
5195 build_warnings="${build_warnings} -Wuninitialized"
5196 fi
5197 # Up for debate: -Wswitch -Wcomment -trigraphs -Wtrigraphs
5198 # -Wunused-function -Wunused-label -Wunused-variable -Wunused-value
5199 # -Wchar-subscripts -Wtraditional -Wshadow -Wcast-qual
5200 # -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes
5201 # -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls
5202 # -Woverloaded-virtual -Winline -Werror"
5203 # Check whether --enable-build-warnings was given. 5296 # Check whether --enable-build-warnings was given.
5204 if test "${enable_build_warnings+set}" = set; then : 5297 if test "${enable_build_warnings+set}" = set; then :
5205 enableval=$enable_build_warnings; case "${enableval}" in 5298 enableval=$enable_build_warnings; case "${enableval}" in
5206 yes) ;; 5299 yes) ;;
5207 no) build_warnings="-w";; 5300 no) build_warnings="-w";;
5208 ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"` 5301 ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"`
5209 build_warnings="${build_warnings} ${t}";; 5302 build_warnings="${build_warnings} ${t}";;
5210 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"` 5303 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"`
5211 build_warnings="${t} ${build_warnings}";; 5304 build_warnings="${t} ${build_warnings}";;
5212 *) build_warnings=`echo "${enableval}" | sed -e "s/,/ /g"`;; 5305 *) build_warnings=`echo "${enableval}" | sed -e "s/,/ /g"`;;
(...skipping 11 matching lines...) Expand all
5224 build_warnings="${build_warnings} ${t}";; 5317 build_warnings="${build_warnings} ${t}";;
5225 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"` 5318 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"`
5226 build_warnings="${t} ${build_warnings}";; 5319 build_warnings="${t} ${build_warnings}";;
5227 *) build_warnings=`echo "${enableval}" | sed -e "s/,/ /g"`;; 5320 *) build_warnings=`echo "${enableval}" | sed -e "s/,/ /g"`;;
5228 esac 5321 esac
5229 if test x"$silent" != x"yes" && test x"$build_warnings" != x""; then 5322 if test x"$silent" != x"yes" && test x"$build_warnings" != x""; then
5230 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1 5323 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
5231 fi 5324 fi
5232 fi 5325 fi
5233 WARN_CFLAGS="" 5326 WARN_CFLAGS=""
5234 WERROR_CFLAGS=""
5235 if test "x${build_warnings}" != x -a "x$GCC" = xyes 5327 if test "x${build_warnings}" != x -a "x$GCC" = xyes
5236 then 5328 then
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler warning flags" >& 5 5329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler warning flags" >& 5
5238 $as_echo_n "checking compiler warning flags... " >&6; } 5330 $as_echo_n "checking compiler warning flags... " >&6; }
5239 # Separate out the -Werror flag as some files just cannot be 5331 # Separate out the -Werror flag as some files just cannot be
5240 # compiled with it enabled. 5332 # compiled with it enabled.
5241 for w in ${build_warnings}; do 5333 for w in ${build_warnings}; do
5242 case $w in 5334 case $w in
5243 -Werr*) WERROR_CFLAGS=-Werror ;; 5335 -Werr*) WERROR_CFLAGS=-Werror ;;
5244 *) # Check that GCC accepts it 5336 *) # Check that GCC accepts it
(...skipping 10 matching lines...) Expand all
5255 return 0; 5347 return 0;
5256 } 5348 }
5257 _ACEOF 5349 _ACEOF
5258 if ac_fn_c_try_compile "$LINENO"; then : 5350 if ac_fn_c_try_compile "$LINENO"; then :
5259 WARN_CFLAGS="${WARN_CFLAGS} $w" 5351 WARN_CFLAGS="${WARN_CFLAGS} $w"
5260 fi 5352 fi
5261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5262 CFLAGS="$saved_CFLAGS" 5354 CFLAGS="$saved_CFLAGS"
5263 esac 5355 esac
5264 done 5356 done
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${WARN_CFLAGS}${WERROR_CFLA GS}" >&5 5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${WARN_CFLAGS} ${WERROR_CFL AGS}" >&5
5266 $as_echo "${WARN_CFLAGS}${WERROR_CFLAGS}" >&6; } 5358 $as_echo "${WARN_CFLAGS} ${WERROR_CFLAGS}" >&6; }
5267 fi 5359 fi
5268 5360
5269 5361
5270 if test x"yes" = x"yes"; then 5362 if test x"yes" = x"yes"; then
5271 sim_hw_p=yes 5363 sim_hw_p=yes
5272 else 5364 else
5273 sim_hw_p=no 5365 sim_hw_p=no
5274 fi 5366 fi
5275 if test ""; then 5367 if test ""; then
5276 hardware="" 5368 hardware=""
5277 else 5369 else
5278 hardware="cfi core pal glue" 5370 hardware="cfi core pal glue"
5279 fi 5371 fi
5280 hardware="$hardware \ 5372 hardware="$hardware \
5281 bfin_cec \ 5373 bfin_cec \
5282 bfin_ctimer \ 5374 bfin_ctimer \
5283 bfin_dma \ 5375 bfin_dma \
5284 bfin_dmac \ 5376 bfin_dmac \
5285 bfin_ebiu_amc \ 5377 bfin_ebiu_amc \
5286 bfin_ebiu_ddrc \ 5378 bfin_ebiu_ddrc \
5287 bfin_ebiu_sdc \ 5379 bfin_ebiu_sdc \
5288 bfin_emac \ 5380 bfin_emac \
5289 bfin_eppi \ 5381 bfin_eppi \
5290 bfin_evt \ 5382 bfin_evt \
5291 bfin_gpio \ 5383 bfin_gpio \
5384 bfin_gpio2 \
5292 bfin_gptimer \ 5385 bfin_gptimer \
5293 bfin_jtag \ 5386 bfin_jtag \
5294 bfin_mmu \ 5387 bfin_mmu \
5295 bfin_nfc \ 5388 bfin_nfc \
5296 bfin_otp \ 5389 bfin_otp \
5297 bfin_pfmon \ 5390 bfin_pfmon \
5391 bfin_pint \
5298 bfin_pll \ 5392 bfin_pll \
5299 bfin_ppi \ 5393 bfin_ppi \
5300 bfin_rtc \ 5394 bfin_rtc \
5301 bfin_sic \ 5395 bfin_sic \
5302 bfin_spi \ 5396 bfin_spi \
5303 bfin_trace \ 5397 bfin_trace \
5304 bfin_twi \ 5398 bfin_twi \
5305 bfin_uart \ 5399 bfin_uart \
5306 bfin_uart2 \ 5400 bfin_uart2 \
5307 bfin_wdog \ 5401 bfin_wdog \
(...skipping 1734 matching lines...) Expand 10 before | Expand all | Expand 10 after
7042 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 7136 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7043 # would make configure fail if this is the last instruction. 7137 # would make configure fail if this is the last instruction.
7044 $ac_cs_success || as_fn_exit $? 7138 $ac_cs_success || as_fn_exit $?
7045 fi 7139 fi
7046 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 7140 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_un recognized_opts" >&5 7141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_un recognized_opts" >&5
7048 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 7142 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7049 fi 7143 fi
7050 7144
7051 7145
OLDNEW
« no previous file with comments | « sim/bfin/config.in ('k') | sim/bfin/configure.ac » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698