Changeset 609 for branches/GNU/src/binutils/ld/configure
- Timestamp:
- Aug 16, 2003, 6:59:22 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/binutils/ld/configure
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r608 r609 25 25 --with-pic try to use only PIC/non-PIC objects [default=use both]" 26 26 ac_help="$ac_help 27 --with-lib-path=dir1:dir2... set default LIB_PATH" 28 ac_help="$ac_help 27 29 --enable-targets alternative target configurations" 28 30 ac_help="$ac_help 29 31 --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes)" 30 32 ac_help="$ac_help 31 --enable-build-warnings Enable build-time compiler warnings if gcc is used" 33 --with-sysroot[=DIR] Search for usr/lib et al within DIR." 34 ac_help="$ac_help 35 --enable-build-warnings enable build-time compiler warnings if gcc is used" 32 36 ac_help="$ac_help 33 37 --disable-nls do not use Native Language Support" … … 558 562 559 563 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 560 echo "configure:56 1: checking for Cygwin environment" >&5564 echo "configure:565: checking for Cygwin environment" >&5 561 565 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then 562 566 echo $ac_n "(cached) $ac_c" 1>&6 563 567 else 564 568 cat > conftest.$ac_ext <<EOF 565 #line 5 66"configure"569 #line 570 "configure" 566 570 #include "confdefs.h" 567 571 … … 574 578 ; return 0; } 575 579 EOF 576 if { (eval echo configure:5 77: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then580 if { (eval echo configure:581: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 577 581 rm -rf conftest* 578 582 ac_cv_cygwin=yes … … 591 595 test "$ac_cv_cygwin" = yes && CYGWIN=yes 592 596 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 593 echo "configure:59 4: checking for mingw32 environment" >&5597 echo "configure:598: checking for mingw32 environment" >&5 594 598 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then 595 599 echo $ac_n "(cached) $ac_c" 1>&6 596 600 else 597 601 cat > conftest.$ac_ext <<EOF 598 #line 599"configure"602 #line 603 "configure" 599 603 #include "confdefs.h" 600 604 … … 603 607 ; return 0; } 604 608 EOF 605 if { (eval echo configure:6 06: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then609 if { (eval echo configure:610: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 606 610 rm -rf conftest* 607 611 ac_cv_mingw32=yes … … 668 672 669 673 echo $ac_n "checking host system type""... $ac_c" 1>&6 670 echo "configure:67 1: checking host system type" >&5674 echo "configure:675: checking host system type" >&5 671 675 672 676 host_alias=$host … … 689 693 690 694 echo $ac_n "checking target system type""... $ac_c" 1>&6 691 echo "configure:69 2: checking target system type" >&5695 echo "configure:696: checking target system type" >&5 692 696 693 697 target_alias=$target … … 707 711 708 712 echo $ac_n "checking build system type""... $ac_c" 1>&6 709 echo "configure:71 0: checking build system type" >&5713 echo "configure:714: checking build system type" >&5 710 714 711 715 build_alias=$build … … 729 733 program_prefix=${target_alias}- 730 734 735 736 echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6 737 echo "configure:738: checking for strerror in -lcposix" >&5 738 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'` 739 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 740 echo $ac_n "(cached) $ac_c" 1>&6 741 else 742 ac_save_LIBS="$LIBS" 743 LIBS="-lcposix $LIBS" 744 cat > conftest.$ac_ext <<EOF 745 #line 746 "configure" 746 #include "confdefs.h" 747 /* Override any gcc2 internal prototype to avoid an error. */ 748 /* We use char because int might match the return type of a gcc2 749 builtin and then its argument prototype would still apply. */ 750 char strerror(); 751 752 int main() { 753 strerror() 754 ; return 0; } 755 EOF 756 if { (eval echo configure:757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 757 rm -rf conftest* 758 eval "ac_cv_lib_$ac_lib_var=yes" 759 else 760 echo "configure: failed program was:" >&5 761 cat conftest.$ac_ext >&5 762 rm -rf conftest* 763 eval "ac_cv_lib_$ac_lib_var=no" 764 fi 765 rm -f conftest* 766 LIBS="$ac_save_LIBS" 767 768 fi 769 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 770 echo "$ac_t""yes" 1>&6 771 LIBS="$LIBS -lcposix" 772 else 773 echo "$ac_t""no" 1>&6 774 fi 775 776 777 778 779 BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in` 780 # Find a good install program. We prefer a C program (faster), 781 # so one script is as good as another. But avoid the broken or 782 # incompatible versions: 783 # SysV /etc/install, /usr/sbin/install 784 # SunOS /usr/etc/install 785 # IRIX /sbin/install 786 # AIX /bin/install 787 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 788 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 789 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 790 # ./install, which can be erroneously created by make from ./install.sh. 791 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 792 echo "configure:793: checking for a BSD compatible install" >&5 793 if test -z "$INSTALL"; then 794 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 795 echo $ac_n "(cached) $ac_c" 1>&6 796 else 797 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" 798 for ac_dir in $PATH; do 799 # Account for people who put trailing slashes in PATH elements. 800 case "$ac_dir/" in 801 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; 802 *) 803 # OSF1 and SCO ODT 3.0 have their own names for install. 804 # Don't use installbsd from OSF since it installs stuff as root 805 # by default. 806 for ac_prog in ginstall scoinst install; do 807 if test -f $ac_dir/$ac_prog; then 808 if test $ac_prog = install && 809 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then 810 # AIX install. It has an incompatible calling convention. 811 : 812 else 813 ac_cv_path_install="$ac_dir/$ac_prog -c" 814 break 2 815 fi 816 fi 817 done 818 ;; 819 esac 820 done 821 IFS="$ac_save_IFS" 822 823 fi 824 if test "${ac_cv_path_install+set}" = set; then 825 INSTALL="$ac_cv_path_install" 826 else 827 # As a last resort, use the slow shell script. We don't cache a 828 # path for INSTALL within a source directory, because that will 829 # break other packages using the cache if that directory is 830 # removed, or if the path is relative. 831 INSTALL="$ac_install_sh" 832 fi 833 fi 834 echo "$ac_t""$INSTALL" 1>&6 835 836 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 837 # It thinks the first close brace ends the variable substitution. 838 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 839 840 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' 841 842 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 843 844 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 845 echo "configure:846: checking whether build environment is sane" >&5 846 # Just in case 847 sleep 1 848 echo timestamp > conftestfile 849 # Do `set' in a subshell so we don't clobber the current shell's 850 # arguments. Must try -L first in case configure is actually a 851 # symlink; some systems play weird games with the mod time of symlinks 852 # (eg FreeBSD returns the mod time of the symlink's containing 853 # directory). 854 if ( 855 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` 856 if test "$*" = "X"; then 857 # -L didn't work. 858 set X `ls -t $srcdir/configure conftestfile` 859 fi 860 if test "$*" != "X $srcdir/configure conftestfile" \ 861 && test "$*" != "X conftestfile $srcdir/configure"; then 862 863 # If neither matched, then we have a broken ls. This can happen 864 # if, for instance, CONFIG_SHELL is bash and it inherits a 865 # broken ls alias from the environment. This has actually 866 # happened. Such a system could not be considered "sane". 867 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken 868 alias in your environment" 1>&2; exit 1; } 869 fi 870 871 test "$2" = conftestfile 872 ) 873 then 874 # Ok. 875 : 876 else 877 { echo "configure: error: newly created file is older than distributed files! 878 Check your system clock" 1>&2; exit 1; } 879 fi 880 rm -f conftest* 881 echo "$ac_t""yes" 1>&6 882 if test "$program_transform_name" = s,x,x,; then 883 program_transform_name= 884 else 885 # Double any \ or $. echo might interpret backslashes. 886 cat <<\EOF_SED > conftestsed 887 s,\\,\\\\,g; s,\$,$$,g 888 EOF_SED 889 program_transform_name="`echo $program_transform_name|sed -f conftestsed`" 890 rm -f conftestsed 891 fi 892 test "$program_prefix" != NONE && 893 program_transform_name="s,^,${program_prefix},; $program_transform_name" 894 # Use a double $ so make ignores it. 895 test "$program_suffix" != NONE && 896 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name" 897 898 # sed with no file args requires a program. 899 test "$program_transform_name" = "" && program_transform_name="s,x,x," 900 901 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 902 echo "configure:903: checking whether ${MAKE-make} sets \${MAKE}" >&5 903 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 904 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then 905 echo $ac_n "(cached) $ac_c" 1>&6 906 else 907 cat > conftestmake <<\EOF 908 all: 909 @echo 'ac_maketemp="${MAKE}"' 910 EOF 911 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 912 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` 913 if test -n "$ac_maketemp"; then 914 eval ac_cv_prog_make_${ac_make}_set=yes 915 else 916 eval ac_cv_prog_make_${ac_make}_set=no 917 fi 918 rm -f conftestmake 919 fi 920 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 921 echo "$ac_t""yes" 1>&6 922 SET_MAKE= 923 else 924 echo "$ac_t""no" 1>&6 925 SET_MAKE="MAKE=${MAKE-make}" 926 fi 927 928 929 PACKAGE=ld 930 931 VERSION=${BFD_VERSION} 932 933 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then 934 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } 935 fi 936 cat >> confdefs.h <<EOF 937 #define PACKAGE "$PACKAGE" 938 EOF 939 940 cat >> confdefs.h <<EOF 941 #define VERSION "$VERSION" 942 EOF 943 944 945 946 missing_dir=`cd $ac_aux_dir && pwd` 947 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 948 echo "configure:949: checking for working aclocal" >&5 949 # Run test in a subshell; some versions of sh will print an error if 950 # an executable is not found, even if stderr is redirected. 951 # Redirect stdin to placate older versions of autoconf. Sigh. 952 if (aclocal --version) < /dev/null > /dev/null 2>&1; then 953 ACLOCAL=aclocal 954 echo "$ac_t""found" 1>&6 955 else 956 ACLOCAL="$missing_dir/missing aclocal" 957 echo "$ac_t""missing" 1>&6 958 fi 959 960 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 961 echo "configure:962: checking for working autoconf" >&5 962 # Run test in a subshell; some versions of sh will print an error if 963 # an executable is not found, even if stderr is redirected. 964 # Redirect stdin to placate older versions of autoconf. Sigh. 965 if (autoconf --version) < /dev/null > /dev/null 2>&1; then 966 AUTOCONF=autoconf 967 echo "$ac_t""found" 1>&6 968 else 969 AUTOCONF="$missing_dir/missing autoconf" 970 echo "$ac_t""missing" 1>&6 971 fi 972 973 echo $ac_n "checking for working automake""... $ac_c" 1>&6 974 echo "configure:975: checking for working automake" >&5 975 # Run test in a subshell; some versions of sh will print an error if 976 # an executable is not found, even if stderr is redirected. 977 # Redirect stdin to placate older versions of autoconf. Sigh. 978 if (automake --version) < /dev/null > /dev/null 2>&1; then 979 AUTOMAKE=automake 980 echo "$ac_t""found" 1>&6 981 else 982 AUTOMAKE="$missing_dir/missing automake" 983 echo "$ac_t""missing" 1>&6 984 fi 985 986 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 987 echo "configure:988: checking for working autoheader" >&5 988 # Run test in a subshell; some versions of sh will print an error if 989 # an executable is not found, even if stderr is redirected. 990 # Redirect stdin to placate older versions of autoconf. Sigh. 991 if (autoheader --version) < /dev/null > /dev/null 2>&1; then 992 AUTOHEADER=autoheader 993 echo "$ac_t""found" 1>&6 994 else 995 AUTOHEADER="$missing_dir/missing autoheader" 996 echo "$ac_t""missing" 1>&6 997 fi 998 999 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 1000 echo "configure:1001: checking for working makeinfo" >&5 1001 # Run test in a subshell; some versions of sh will print an error if 1002 # an executable is not found, even if stderr is redirected. 1003 # Redirect stdin to placate older versions of autoconf. Sigh. 1004 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then 1005 MAKEINFO=makeinfo 1006 echo "$ac_t""found" 1>&6 1007 else 1008 MAKEINFO="$missing_dir/missing makeinfo" 1009 echo "$ac_t""missing" 1>&6 1010 fi 1011 1012 1013 1014 # Check whether --enable-shared or --disable-shared was given. 1015 if test "${enable_shared+set}" = set; then 1016 enableval="$enable_shared" 1017 p=${PACKAGE-default} 1018 case $enableval in 1019 yes) enable_shared=yes ;; 1020 no) enable_shared=no ;; 1021 *) 1022 enable_shared=no 1023 # Look at the argument we got. We use all the common list separators. 1024 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," 1025 for pkg in $enableval; do 1026 if test "X$pkg" = "X$p"; then 1027 enable_shared=yes 1028 fi 1029 done 1030 IFS="$ac_save_ifs" 1031 ;; 1032 esac 1033 else 1034 enable_shared=yes 1035 fi 1036 1037 # Check whether --enable-static or --disable-static was given. 1038 if test "${enable_static+set}" = set; then 1039 enableval="$enable_static" 1040 p=${PACKAGE-default} 1041 case $enableval in 1042 yes) enable_static=yes ;; 1043 no) enable_static=no ;; 1044 *) 1045 enable_static=no 1046 # Look at the argument we got. We use all the common list separators. 1047 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," 1048 for pkg in $enableval; do 1049 if test "X$pkg" = "X$p"; then 1050 enable_static=yes 1051 fi 1052 done 1053 IFS="$ac_save_ifs" 1054 ;; 1055 esac 1056 else 1057 enable_static=yes 1058 fi 1059 1060 # Check whether --enable-fast-install or --disable-fast-install was given. 1061 if test "${enable_fast_install+set}" = set; then 1062 enableval="$enable_fast_install" 1063 p=${PACKAGE-default} 1064 case $enableval in 1065 yes) enable_fast_install=yes ;; 1066 no) enable_fast_install=no ;; 1067 *) 1068 enable_fast_install=no 1069 # Look at the argument we got. We use all the common list separators. 1070 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," 1071 for pkg in $enableval; do 1072 if test "X$pkg" = "X$p"; then 1073 enable_fast_install=yes 1074 fi 1075 done 1076 IFS="$ac_save_ifs" 1077 ;; 1078 esac 1079 else 1080 enable_fast_install=yes 1081 fi 1082 731 1083 # Extract the first word of "gcc", so it can be a program name with args. 732 1084 set dummy gcc; ac_word=$2 733 1085 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 734 echo "configure: 735: checking for $ac_word" >&51086 echo "configure:1087: checking for $ac_word" >&5 735 1087 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 736 1088 echo $ac_n "(cached) $ac_c" 1>&6 … … 762 1114 set dummy cc; ac_word=$2 763 1115 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 764 echo "configure: 765: checking for $ac_word" >&51116 echo "configure:1117: checking for $ac_word" >&5 765 1117 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 766 1118 echo $ac_n "(cached) $ac_c" 1>&6 … … 813 1165 set dummy cl; ac_word=$2 814 1166 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 815 echo "configure: 816: checking for $ac_word" >&51167 echo "configure:1168: checking for $ac_word" >&5 816 1168 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 817 1169 echo $ac_n "(cached) $ac_c" 1>&6 … … 845 1197 846 1198 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 847 echo "configure: 848: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&51199 echo "configure:1200: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 848 1200 849 1201 ac_ext=c … … 856 1208 cat > conftest.$ac_ext << EOF 857 1209 858 #line 859"configure"1210 #line 1211 "configure" 859 1211 #include "confdefs.h" 860 1212 861 1213 main(){return(0);} 862 1214 EOF 863 if { (eval echo configure: 864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1215 if { (eval echo configure:1216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 864 1216 ac_cv_prog_cc_works=yes 865 1217 # If we can't run a trivial program, we are probably using a cross compiler. … … 887 1239 fi 888 1240 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 889 echo "configure: 890: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&51241 echo "configure:1242: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 890 1242 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 891 1243 cross_compiling=$ac_cv_prog_cc_cross 892 1244 893 1245 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 894 echo "configure: 895: checking whether we are using GNU C" >&51246 echo "configure:1247: checking whether we are using GNU C" >&5 895 1247 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 896 1248 echo $ac_n "(cached) $ac_c" 1>&6 … … 901 1253 #endif 902 1254 EOF 903 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure: 904: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then1255 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1256: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 904 1256 ac_cv_prog_gcc=yes 905 1257 else … … 920 1272 CFLAGS= 921 1273 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 922 echo "configure: 923: checking whether ${CC-cc} accepts -g" >&51274 echo "configure:1275: checking whether ${CC-cc} accepts -g" >&5 923 1275 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 924 1276 echo $ac_n "(cached) $ac_c" 1>&6 … … 951 1303 fi 952 1304 953 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6954 echo "configure:955: checking for POSIXized ISC" >&5955 if test -d /etc/conf/kconfig.d &&956 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1957 then958 echo "$ac_t""yes" 1>&6959 ISC=yes # If later tests want to check for ISC.960 cat >> confdefs.h <<\EOF961 #define _POSIX_SOURCE 1962 EOF963 964 if test "$GCC" = yes; then965 CC="$CC -posix"966 else967 CC="$CC -Xp"968 fi969 else970 echo "$ac_t""no" 1>&6971 ISC=972 fi973 974 975 BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`976 # Find a good install program. We prefer a C program (faster),977 # so one script is as good as another. But avoid the broken or978 # incompatible versions:979 # SysV /etc/install, /usr/sbin/install980 # SunOS /usr/etc/install981 # IRIX /sbin/install982 # AIX /bin/install983 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag984 # AFS /usr/afsws/bin/install, which mishandles nonexistent args985 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"986 # ./install, which can be erroneously created by make from ./install.sh.987 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6988 echo "configure:989: checking for a BSD compatible install" >&5989 if test -z "$INSTALL"; then990 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then991 echo $ac_n "(cached) $ac_c" 1>&6992 else993 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"994 for ac_dir in $PATH; do995 # Account for people who put trailing slashes in PATH elements.996 case "$ac_dir/" in997 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;998 *)999 # OSF1 and SCO ODT 3.0 have their own names for install.1000 # Don't use installbsd from OSF since it installs stuff as root1001 # by default.1002 for ac_prog in ginstall scoinst install; do1003 if test -f $ac_dir/$ac_prog; then1004 if test $ac_prog = install &&1005 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then1006 # AIX install. It has an incompatible calling convention.1007 :1008 else1009 ac_cv_path_install="$ac_dir/$ac_prog -c"1010 break 21011 fi1012 fi1013 done1014 ;;1015 esac1016 done1017 IFS="$ac_save_IFS"1018 1019 fi1020 if test "${ac_cv_path_install+set}" = set; then1021 INSTALL="$ac_cv_path_install"1022 else1023 # As a last resort, use the slow shell script. We don't cache a1024 # path for INSTALL within a source directory, because that will1025 # break other packages using the cache if that directory is1026 # removed, or if the path is relative.1027 INSTALL="$ac_install_sh"1028 fi1029 fi1030 echo "$ac_t""$INSTALL" 1>&61031 1032 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.1033 # It thinks the first close brace ends the variable substitution.1034 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'1035 1036 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'1037 1038 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'1039 1040 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&61041 echo "configure:1042: checking whether build environment is sane" >&51042 # Just in case1043 sleep 11044 echo timestamp > conftestfile1045 # Do `set' in a subshell so we don't clobber the current shell's1046 # arguments. Must try -L first in case configure is actually a1047 # symlink; some systems play weird games with the mod time of symlinks1048 # (eg FreeBSD returns the mod time of the symlink's containing1049 # directory).1050 if (1051 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`1052 if test "$*" = "X"; then1053 # -L didn't work.1054 set X `ls -t $srcdir/configure conftestfile`1055 fi1056 if test "$*" != "X $srcdir/configure conftestfile" \1057 && test "$*" != "X conftestfile $srcdir/configure"; then1058 1059 # If neither matched, then we have a broken ls. This can happen1060 # if, for instance, CONFIG_SHELL is bash and it inherits a1061 # broken ls alias from the environment. This has actually1062 # happened. Such a system could not be considered "sane".1063 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken1064 alias in your environment" 1>&2; exit 1; }1065 fi1066 1067 test "$2" = conftestfile1068 )1069 then1070 # Ok.1071 :1072 else1073 { echo "configure: error: newly created file is older than distributed files!1074 Check your system clock" 1>&2; exit 1; }1075 fi1076 rm -f conftest*1077 echo "$ac_t""yes" 1>&61078 if test "$program_transform_name" = s,x,x,; then1079 program_transform_name=1080 else1081 # Double any \ or $. echo might interpret backslashes.1082 cat <<\EOF_SED > conftestsed1083 s,\\,\\\\,g; s,\$,$$,g1084 EOF_SED1085 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"1086 rm -f conftestsed1087 fi1088 test "$program_prefix" != NONE &&1089 program_transform_name="s,^,${program_prefix},; $program_transform_name"1090 # Use a double $ so make ignores it.1091 test "$program_suffix" != NONE &&1092 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"1093 1094 # sed with no file args requires a program.1095 test "$program_transform_name" = "" && program_transform_name="s,x,x,"1096 1097 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&61098 echo "configure:1099: checking whether ${MAKE-make} sets \${MAKE}" >&51099 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`1100 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then1101 echo $ac_n "(cached) $ac_c" 1>&61102 else1103 cat > conftestmake <<\EOF1104 all:1105 @echo 'ac_maketemp="${MAKE}"'1106 EOF1107 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.1108 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`1109 if test -n "$ac_maketemp"; then1110 eval ac_cv_prog_make_${ac_make}_set=yes1111 else1112 eval ac_cv_prog_make_${ac_make}_set=no1113 fi1114 rm -f conftestmake1115 fi1116 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then1117 echo "$ac_t""yes" 1>&61118 SET_MAKE=1119 else1120 echo "$ac_t""no" 1>&61121 SET_MAKE="MAKE=${MAKE-make}"1122 fi1123 1124 1125 PACKAGE=ld1126 1127 VERSION=${BFD_VERSION}1128 1129 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then1130 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }1131 fi1132 cat >> confdefs.h <<EOF1133 #define PACKAGE "$PACKAGE"1134 EOF1135 1136 cat >> confdefs.h <<EOF1137 #define VERSION "$VERSION"1138 EOF1139 1140 1141 1142 missing_dir=`cd $ac_aux_dir && pwd`1143 echo $ac_n "checking for working aclocal""... $ac_c" 1>&61144 echo "configure:1145: checking for working aclocal" >&51145 # Run test in a subshell; some versions of sh will print an error if1146 # an executable is not found, even if stderr is redirected.1147 # Redirect stdin to placate older versions of autoconf. Sigh.1148 if (aclocal --version) < /dev/null > /dev/null 2>&1; then1149 ACLOCAL=aclocal1150 echo "$ac_t""found" 1>&61151 else1152 ACLOCAL="$missing_dir/missing aclocal"1153 echo "$ac_t""missing" 1>&61154 fi1155 1156 echo $ac_n "checking for working autoconf""... $ac_c" 1>&61157 echo "configure:1158: checking for working autoconf" >&51158 # Run test in a subshell; some versions of sh will print an error if1159 # an executable is not found, even if stderr is redirected.1160 # Redirect stdin to placate older versions of autoconf. Sigh.1161 if (autoconf --version) < /dev/null > /dev/null 2>&1; then1162 AUTOCONF=autoconf1163 echo "$ac_t""found" 1>&61164 else1165 AUTOCONF="$missing_dir/missing autoconf"1166 echo "$ac_t""missing" 1>&61167 fi1168 1169 echo $ac_n "checking for working automake""... $ac_c" 1>&61170 echo "configure:1171: checking for working automake" >&51171 # Run test in a subshell; some versions of sh will print an error if1172 # an executable is not found, even if stderr is redirected.1173 # Redirect stdin to placate older versions of autoconf. Sigh.1174 if (automake --version) < /dev/null > /dev/null 2>&1; then1175 AUTOMAKE=automake1176 echo "$ac_t""found" 1>&61177 else1178 AUTOMAKE="$missing_dir/missing automake"1179 echo "$ac_t""missing" 1>&61180 fi1181 1182 echo $ac_n "checking for working autoheader""... $ac_c" 1>&61183 echo "configure:1184: checking for working autoheader" >&51184 # Run test in a subshell; some versions of sh will print an error if1185 # an executable is not found, even if stderr is redirected.1186 # Redirect stdin to placate older versions of autoconf. Sigh.1187 if (autoheader --version) < /dev/null > /dev/null 2>&1; then1188 AUTOHEADER=autoheader1189 echo "$ac_t""found" 1>&61190 else1191 AUTOHEADER="$missing_dir/missing autoheader"1192 echo "$ac_t""missing" 1>&61193 fi1194 1195 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&61196 echo "configure:1197: checking for working makeinfo" >&51197 # Run test in a subshell; some versions of sh will print an error if1198 # an executable is not found, even if stderr is redirected.1199 # Redirect stdin to placate older versions of autoconf. Sigh.1200 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then1201 MAKEINFO=makeinfo1202 echo "$ac_t""found" 1>&61203 else1204 MAKEINFO="$missing_dir/missing makeinfo"1205 echo "$ac_t""missing" 1>&61206 fi1207 1208 1209 1210 # Check whether --enable-shared or --disable-shared was given.1211 if test "${enable_shared+set}" = set; then1212 enableval="$enable_shared"1213 p=${PACKAGE-default}1214 case "$enableval" in1215 yes) enable_shared=yes ;;1216 no) enable_shared=no ;;1217 *)1218 enable_shared=no1219 # Look at the argument we got. We use all the common list separators.1220 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"1221 for pkg in $enableval; do1222 if test "X$pkg" = "X$p"; then1223 enable_shared=yes1224 fi1225 done1226 IFS="$ac_save_ifs"1227 ;;1228 esac1229 else1230 enable_shared=yes1231 fi1232 1233 # Check whether --enable-static or --disable-static was given.1234 if test "${enable_static+set}" = set; then1235 enableval="$enable_static"1236 p=${PACKAGE-default}1237 case "$enableval" in1238 yes) enable_static=yes ;;1239 no) enable_static=no ;;1240 *)1241 enable_static=no1242 # Look at the argument we got. We use all the common list separators.1243 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"1244 for pkg in $enableval; do1245 if test "X$pkg" = "X$p"; then1246 enable_static=yes1247 fi1248 done1249 IFS="$ac_save_ifs"1250 ;;1251 esac1252 else1253 enable_static=yes1254 fi1255 1256 # Check whether --enable-fast-install or --disable-fast-install was given.1257 if test "${enable_fast_install+set}" = set; then1258 enableval="$enable_fast_install"1259 p=${PACKAGE-default}1260 case "$enableval" in1261 yes) enable_fast_install=yes ;;1262 no) enable_fast_install=no ;;1263 *)1264 enable_fast_install=no1265 # Look at the argument we got. We use all the common list separators.1266 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"1267 for pkg in $enableval; do1268 if test "X$pkg" = "X$p"; then1269 enable_fast_install=yes1270 fi1271 done1272 IFS="$ac_save_ifs"1273 ;;1274 esac1275 else1276 enable_fast_install=yes1277 fi1278 1279 1305 # Check whether --with-gnu-ld or --without-gnu-ld was given. 1280 1306 if test "${with_gnu_ld+set}" = set; then … … 1286 1312 1287 1313 ac_prog=ld 1288 if test "$ ac_cv_prog_gcc" = yes; then1314 if test "$GCC" = yes; then 1289 1315 # Check if gcc -print-prog-name=ld gives a path. 1290 1316 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 1291 echo "configure:1 292: checking for ld used by GCC" >&51317 echo "configure:1318: checking for ld used by GCC" >&5 1292 1318 case $host in 1293 1319 *-*-mingw*) … … 1297 1323 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 1298 1324 esac 1299 case "$ac_prog"in1325 case $ac_prog in 1300 1326 # Accept absolute paths. 1301 1327 [\\/]* | [A-Za-z]:[\\/]*) … … 1319 1345 elif test "$with_gnu_ld" = yes; then 1320 1346 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 1321 echo "configure:13 22: checking for GNU ld" >&51347 echo "configure:1348: checking for GNU ld" >&5 1322 1348 else 1323 1349 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 1324 echo "configure:13 25: checking for non-GNU ld" >&51325 fi 1326 if eval "test \"`echo '$''{' ac_cv_path_LD'+set}'`\" = set"; then1350 echo "configure:1351: checking for non-GNU ld" >&5 1351 fi 1352 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then 1327 1353 echo $ac_n "(cached) $ac_c" 1>&6 1328 1354 else … … 1332 1358 test -z "$ac_dir" && ac_dir=. 1333 1359 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 1334 ac_cv_path_LD="$ac_dir/$ac_prog"1360 lt_cv_path_LD="$ac_dir/$ac_prog" 1335 1361 # Check to see if the program is GNU ld. I'd rather use --version, 1336 1362 # but apparently some GNU ld's only accept -v. 1337 1363 # Break only if it was the GNU/non-GNU ld that we prefer. 1338 if "$ ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then1364 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then 1339 1365 test "$with_gnu_ld" != no && break 1340 1366 else … … 1345 1371 IFS="$ac_save_ifs" 1346 1372 else 1347 ac_cv_path_LD="$LD" # Let the user override the test with a path.1348 fi 1349 fi 1350 1351 LD="$ ac_cv_path_LD"1373 lt_cv_path_LD="$LD" # Let the user override the test with a path. 1374 fi 1375 fi 1376 1377 LD="$lt_cv_path_LD" 1352 1378 if test -n "$LD"; then 1353 1379 echo "$ac_t""$LD" 1>&6 … … 1357 1383 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } 1358 1384 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 1359 echo "configure:13 60: checking if the linker ($LD) is GNU ld" >&51360 if eval "test \"`echo '$''{' ac_cv_prog_gnu_ld'+set}'`\" = set"; then1385 echo "configure:1386: checking if the linker ($LD) is GNU ld" >&5 1386 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then 1361 1387 echo $ac_n "(cached) $ac_c" 1>&6 1362 1388 else 1363 1389 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 1364 1390 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then 1365 ac_cv_prog_gnu_ld=yes1366 else 1367 ac_cv_prog_gnu_ld=no1368 fi 1369 fi 1370 1371 echo "$ac_t""$ ac_cv_prog_gnu_ld" 1>&61372 with_gnu_ld=$ ac_cv_prog_gnu_ld1391 lt_cv_prog_gnu_ld=yes 1392 else 1393 lt_cv_prog_gnu_ld=no 1394 fi 1395 fi 1396 1397 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6 1398 with_gnu_ld=$lt_cv_prog_gnu_ld 1373 1399 1374 1400 1375 1401 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6 1376 echo "configure:1 377: checking for $LD option to reload object files" >&51402 echo "configure:1403: checking for $LD option to reload object files" >&5 1377 1403 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then 1378 1404 echo $ac_n "(cached) $ac_c" 1>&6 … … 1386 1412 1387 1413 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 1388 echo "configure:1 389: checking for BSD-compatible nm" >&51389 if eval "test \"`echo '$''{' ac_cv_path_NM'+set}'`\" = set"; then1414 echo "configure:1415: checking for BSD-compatible nm" >&5 1415 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then 1390 1416 echo $ac_n "(cached) $ac_c" 1>&6 1391 1417 else 1392 1418 if test -n "$NM"; then 1393 1419 # Let the user override the test. 1394 ac_cv_path_NM="$NM"1420 lt_cv_path_NM="$NM" 1395 1421 else 1396 1422 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" … … 1404 1430 # Tru64's nm complains that /dev/null is an invalid object file 1405 1431 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then 1406 ac_cv_path_NM="$tmp_nm -B"1432 lt_cv_path_NM="$tmp_nm -B" 1407 1433 break 1408 1434 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then 1409 ac_cv_path_NM="$tmp_nm -p"1435 lt_cv_path_NM="$tmp_nm -p" 1410 1436 break 1411 1437 else 1412 ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but1438 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 1413 1439 continue # so that we can try to find one that supports BSD flags 1414 1440 fi … … 1416 1442 done 1417 1443 IFS="$ac_save_ifs" 1418 test -z "$ ac_cv_path_NM" && ac_cv_path_NM=nm1419 fi 1420 fi 1421 1422 NM="$ ac_cv_path_NM"1444 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm 1445 fi 1446 fi 1447 1448 NM="$lt_cv_path_NM" 1423 1449 echo "$ac_t""$NM" 1>&6 1424 1450 1425 1451 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1426 echo "configure:14 27: checking whether ln -s works" >&51452 echo "configure:1453: checking whether ln -s works" >&5 1427 1453 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1428 1454 echo $ac_n "(cached) $ac_c" 1>&6 … … 1445 1471 1446 1472 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6 1447 echo "configure:14 48: checking how to recognise dependant libraries" >&51473 echo "configure:1474: checking how to recognise dependant libraries" >&5 1448 1474 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then 1449 1475 echo $ac_n "(cached) $ac_c" 1>&6 … … 1463 1489 # whether `pass_all' will *always* work, you probably want this one. 1464 1490 1465 case "$host_os"in1466 aix 4*)1491 case $host_os in 1492 aix*) 1467 1493 lt_cv_deplibs_check_method=pass_all 1468 1494 ;; … … 1473 1499 1474 1500 bsdi4*) 1475 1476 1501 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 1502 lt_cv_file_magic_cmd='/usr/bin/file -L' 1477 1503 lt_cv_file_magic_test_file=/shlib/libc.so 1478 1504 ;; … … 1483 1509 ;; 1484 1510 1511 darwin* | rhapsody*) 1512 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' 1513 lt_cv_file_magic_cmd='/usr/bin/file -L' 1514 case "$host_os" in 1515 rhapsody* | darwin1.012) 1516 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System' 1517 ;; 1518 *) # Darwin 1.3 on 1519 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' 1520 ;; 1521 esac 1522 ;; 1523 1485 1524 freebsd* ) 1486 1525 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 1487 case "$host_cpu"in1526 case $host_cpu in 1488 1527 i*86 ) 1489 1528 # Not sure whether the presence of OpenBSD here was a mistake. 1490 1529 # Let's accept both of them until this is cleared up. 1491 1492 1530 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' 1531 lt_cv_file_magic_cmd=/usr/bin/file 1493 1532 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 1494 1533 ;; … … 1503 1542 ;; 1504 1543 1505 hpux10.20*) 1506 # TODO: Does this work for hpux-11 too? 1507 lt_cv_deplibs_check_method='file_magic (s0-90-90-9|PA-RISC0-9.0-9) shared library' 1508 lt_cv_file_magic_cmd=/usr/bin/file 1509 lt_cv_file_magic_test_file=/usr/lib/libc.sl 1544 hpux10.20*|hpux11*) 1545 case $host_cpu in 1546 hppa*) 1547 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 1548 lt_cv_file_magic_cmd=/usr/bin/file 1549 lt_cv_file_magic_test_file=/usr/lib/libc.sl 1550 ;; 1551 ia64*) 1552 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 1553 lt_cv_file_magic_cmd=/usr/bin/file 1554 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 1555 ;; 1556 esac 1510 1557 ;; 1511 1558 1512 1559 irix5* | irix6*) 1513 case "$host_os"in1560 case $host_os in 1514 1561 irix5*) 1515 1562 # this will be overridden with pass_all, but let us keep it just in case … … 1517 1564 ;; 1518 1565 *) 1519 case "$LD"in1566 case $LD in 1520 1567 *-32|*"-32 ") libmagic=32-bit;; 1521 1568 *-n32|*"-n32 ") libmagic=N32;; … … 1524 1571 esac 1525 1572 # this will be overridden with pass_all, but let us keep it just in case 1526 1527 1573 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1" 1574 ;; 1528 1575 esac 1529 1576 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` … … 1533 1580 # This must be Linux ELF. 1534 1581 linux-gnu*) 1535 case "$host_cpu"in1536 alpha* | i*86 | powerpc* | sparc* | ia64* )1582 case $host_cpu in 1583 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* ) 1537 1584 lt_cv_deplibs_check_method=pass_all ;; 1538 1585 *) 1539 1586 # glibc up to 2.1.1 does not perform some relocations on ARM 1540 1541 1587 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; 1588 esac 1542 1589 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` 1543 1590 ;; 1544 1591 1545 1592 netbsd*) 1546 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then : 1593 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 1594 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' 1547 1595 else 1548 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' 1549 lt_cv_file_magic_cmd='/usr/bin/file -L' 1550 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 1596 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$' 1551 1597 fi 1598 ;; 1599 1600 newsos6) 1601 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 1602 lt_cv_file_magic_cmd=/usr/bin/file 1603 lt_cv_file_magic_test_file=/usr/lib/libnls.so 1552 1604 ;; 1553 1605 … … 1568 1620 ;; 1569 1621 1622 sysv5uw[78]* | sysv4*uw2*) 1623 lt_cv_deplibs_check_method=pass_all 1624 ;; 1625 1570 1626 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 1571 case "$host_vendor"in1627 case $host_vendor in 1572 1628 ncr) 1573 1629 lt_cv_deplibs_check_method=pass_all 1574 1630 ;; 1575 1631 motorola) 1576 1577 1632 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' 1633 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 1578 1634 ;; 1579 1635 esac … … 1588 1644 1589 1645 echo $ac_n "checking for object suffix""... $ac_c" 1>&6 1590 echo "configure:1 591: checking for object suffix" >&51646 echo "configure:1647: checking for object suffix" >&5 1591 1647 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then 1592 1648 echo $ac_n "(cached) $ac_c" 1>&6 … … 1594 1650 rm -f conftest* 1595 1651 echo 'int i = 1;' > conftest.$ac_ext 1596 if { (eval echo configure:1 597: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1652 if { (eval echo configure:1653: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1597 1653 for ac_file in conftest.*; do 1598 1654 case $ac_file in … … 1614 1670 1615 1671 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 1616 echo "configure:16 17: checking for executable suffix" >&51672 echo "configure:1673: checking for executable suffix" >&5 1617 1673 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 1618 1674 echo $ac_n "(cached) $ac_c" 1>&6 … … 1624 1680 echo 'int main () { return 0; }' > conftest.$ac_ext 1625 1681 ac_cv_exeext= 1626 if { (eval echo configure:16 27: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1682 if { (eval echo configure:1683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1627 1683 for file in conftest.*; do 1628 1684 case $file in … … 1653 1709 1654 1710 # Only perform the check for file, if the check method requires it 1655 case "$deplibs_check_method"in1711 case $deplibs_check_method in 1656 1712 file_magic*) 1657 1713 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 1658 1714 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6 1659 echo "configure:1 660: checking for ${ac_tool_prefix}file" >&51715 echo "configure:1716: checking for ${ac_tool_prefix}file" >&5 1660 1716 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 1661 1717 echo $ac_n "(cached) $ac_c" 1>&6 1662 1718 else 1663 case "$MAGIC_CMD"in1719 case $MAGIC_CMD in 1664 1720 /*) 1665 1721 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. … … 1677 1733 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 1678 1734 if test -n "$file_magic_test_file"; then 1679 case "$deplibs_check_method"in1735 case $deplibs_check_method in 1680 1736 "file_magic "*) 1681 1737 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" … … 1719 1775 if test -n "$ac_tool_prefix"; then 1720 1776 echo $ac_n "checking for file""... $ac_c" 1>&6 1721 echo "configure:17 22: checking for file" >&51777 echo "configure:1778: checking for file" >&5 1722 1778 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 1723 1779 echo $ac_n "(cached) $ac_c" 1>&6 1724 1780 else 1725 case "$MAGIC_CMD"in1781 case $MAGIC_CMD in 1726 1782 /*) 1727 1783 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. … … 1739 1795 lt_cv_path_MAGIC_CMD="$ac_dir/file" 1740 1796 if test -n "$file_magic_test_file"; then 1741 case "$deplibs_check_method"in1797 case $deplibs_check_method in 1742 1798 "file_magic "*) 1743 1799 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" … … 1790 1846 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 1791 1847 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1792 echo "configure:1 793: checking for $ac_word" >&51848 echo "configure:1849: checking for $ac_word" >&5 1793 1849 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1794 1850 echo $ac_n "(cached) $ac_c" 1>&6 … … 1822 1878 set dummy ranlib; ac_word=$2 1823 1879 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1824 echo "configure:18 25: checking for $ac_word" >&51880 echo "configure:1881: checking for $ac_word" >&5 1825 1881 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1826 1882 echo $ac_n "(cached) $ac_c" 1>&6 … … 1857 1913 set dummy ${ac_tool_prefix}strip; ac_word=$2 1858 1914 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1859 echo "configure:1 860: checking for $ac_word" >&51915 echo "configure:1916: checking for $ac_word" >&5 1860 1916 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 1861 1917 echo $ac_n "(cached) $ac_c" 1>&6 … … 1889 1945 set dummy strip; ac_word=$2 1890 1946 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1891 echo "configure:1 892: checking for $ac_word" >&51947 echo "configure:1948: checking for $ac_word" >&5 1892 1948 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 1893 1949 echo $ac_n "(cached) $ac_c" 1>&6 … … 1927 1983 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static" 1928 1984 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install" 1929 test "$ ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"1930 test "$ ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"1985 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc" 1986 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld" 1931 1987 1932 1988 … … 1953 2009 # Some flags need to be propagated to the compiler or linker for good 1954 2010 # libtool support. 1955 case "$host"in2011 case $host in 1956 2012 *-*-irix6*) 1957 2013 # Find out which ABI we are using. 1958 echo '#line 1959 "configure"' > conftest.$ac_ext 1959 if { (eval echo configure:1960: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1960 case "`/usr/bin/file conftest.o`" in 2014 echo '#line 2015 "configure"' > conftest.$ac_ext 2015 if { (eval echo configure:2016: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2016 if test "$lt_cv_prog_gnu_ld" = yes; then 2017 case `/usr/bin/file conftest.$ac_objext` in 2018 *32-bit*) 2019 LD="${LD-ld} -melf32bsmip" 2020 ;; 2021 *N32*) 2022 LD="${LD-ld} -melf32bmipn32" 2023 ;; 2024 *64-bit*) 2025 LD="${LD-ld} -melf64bmip" 2026 ;; 2027 esac 2028 else 2029 case `/usr/bin/file conftest.$ac_objext` in 1961 2030 *32-bit*) 1962 2031 LD="${LD-ld} -32" … … 1969 2038 ;; 1970 2039 esac 2040 fi 2041 fi 2042 rm -rf conftest* 2043 ;; 2044 2045 ia64-*-hpux*) 2046 # Find out which ABI we are using. 2047 echo 'int i;' > conftest.$ac_ext 2048 if { (eval echo configure:2049: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2049 case "`/usr/bin/file conftest.o`" in 2050 *ELF-32*) 2051 HPUX_IA64_MODE="32" 2052 ;; 2053 *ELF-64*) 2054 HPUX_IA64_MODE="64" 2055 ;; 2056 esac 1971 2057 fi 1972 2058 rm -rf conftest* … … 1978 2064 CFLAGS="$CFLAGS -belf" 1979 2065 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 1980 echo "configure: 1981: checking whether the C compiler needs -belf" >&52066 echo "configure:2067: checking whether the C compiler needs -belf" >&5 1981 2067 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then 1982 2068 echo $ac_n "(cached) $ac_c" 1>&6 … … 1991 2077 1992 2078 cat > conftest.$ac_ext <<EOF 1993 #line 1994"configure"2079 #line 2080 "configure" 1994 2080 #include "confdefs.h" 1995 2081 … … 1998 2084 ; return 0; } 1999 2085 EOF 2000 if { (eval echo configure:20 01: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2086 if { (eval echo configure:2087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2001 2087 rm -rf conftest* 2002 2088 lt_cv_cc_needs_belf=yes … … 2108 2194 exec 5>>./config.log 2109 2195 2110 2111 2196 2112 2197 … … 2114 2199 2115 2200 2201 2202 # Check whether --with-lib-path or --without-lib-path was given. 2203 if test "${with_lib_path+set}" = set; then 2204 withval="$with_lib_path" 2205 LIB_PATH=$withval 2206 fi 2116 2207 2117 2208 # Check whether --enable-targets or --disable-targets was given. … … 2137 2228 fi 2138 2229 2139 build_warnings="-W -Wall" 2230 # Check whether --with-sysroot or --without-sysroot was given. 2231 if test "${with_sysroot+set}" = set; then 2232 withval="$with_sysroot" 2233 2234 case ${with_sysroot} in 2235 yes) TARGET_SYSTEM_ROOT='${exec_prefix}/${target_alias}/sys-root' ;; 2236 *) TARGET_SYSTEM_ROOT=$with_sysroot ;; 2237 esac 2238 2239 TARGET_SYSTEM_ROOT_DEFINE='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"' 2240 use_sysroot=yes 2241 2242 if test "x$exec_prefix" = xNONE; then 2243 if test "x$prefix" = xNONE; then 2244 test_prefix=/usr/local 2245 else 2246 test_prefix=$prefix 2247 fi 2248 else 2249 test_prefix=$exec_prefix 2250 fi 2251 case ${TARGET_SYSTEM_ROOT} in 2252 "${test_prefix}"|"${test_prefix}/"*|\ 2253 '${exec_prefix}'|'${exec_prefix}/'*) 2254 t="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE" 2255 TARGET_SYSTEM_ROOT_DEFINE="$t" 2256 ;; 2257 esac 2258 2259 else 2260 2261 use_sysroot=no 2262 TARGET_SYSTEM_ROOT= 2263 TARGET_SYSTEM_ROOT_DEFINE='-DTARGET_SYSTEM_ROOT=\"\"' 2264 2265 fi 2266 2267 2268 2269 2270 2271 build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes" 2140 2272 # Check whether --enable-build-warnings or --disable-build-warnings was given. 2141 2273 if test "${enable_build_warnings+set}" = set; then … … 2176 2308 set dummy gcc; ac_word=$2 2177 2309 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2178 echo "configure:2 179: checking for $ac_word" >&52310 echo "configure:2311: checking for $ac_word" >&5 2179 2311 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2180 2312 echo $ac_n "(cached) $ac_c" 1>&6 … … 2206 2338 set dummy cc; ac_word=$2 2207 2339 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2208 echo "configure:2 209: checking for $ac_word" >&52340 echo "configure:2341: checking for $ac_word" >&5 2209 2341 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2210 2342 echo $ac_n "(cached) $ac_c" 1>&6 … … 2257 2389 set dummy cl; ac_word=$2 2258 2390 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2259 echo "configure:2 260: checking for $ac_word" >&52391 echo "configure:2392: checking for $ac_word" >&5 2260 2392 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2261 2393 echo $ac_n "(cached) $ac_c" 1>&6 … … 2289 2421 2290 2422 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 2291 echo "configure:2 292: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&52423 echo "configure:2424: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 2292 2424 2293 2425 ac_ext=c … … 2300 2432 cat > conftest.$ac_ext << EOF 2301 2433 2302 #line 2 303"configure"2434 #line 2435 "configure" 2303 2435 #include "confdefs.h" 2304 2436 2305 2437 main(){return(0);} 2306 2438 EOF 2307 if { (eval echo configure:2 308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2439 if { (eval echo configure:2440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2308 2440 ac_cv_prog_cc_works=yes 2309 2441 # If we can't run a trivial program, we are probably using a cross compiler. … … 2331 2463 fi 2332 2464 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 2333 echo "configure:2 334: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&52465 echo "configure:2466: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 2334 2466 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 2335 2467 cross_compiling=$ac_cv_prog_cc_cross 2336 2468 2337 2469 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 2338 echo "configure:2 339: checking whether we are using GNU C" >&52470 echo "configure:2471: checking whether we are using GNU C" >&5 2339 2471 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 2340 2472 echo $ac_n "(cached) $ac_c" 1>&6 … … 2345 2477 #endif 2346 2478 EOF 2347 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2 348: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then2479 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2480: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 2348 2480 ac_cv_prog_gcc=yes 2349 2481 else … … 2364 2496 CFLAGS= 2365 2497 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 2366 echo "configure:2 367: checking whether ${CC-cc} accepts -g" >&52498 echo "configure:2499: checking whether ${CC-cc} accepts -g" >&5 2367 2499 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 2368 2500 echo $ac_n "(cached) $ac_c" 1>&6 … … 2407 2539 # ./install, which can be erroneously created by make from ./install.sh. 2408 2540 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 2409 echo "configure:2 410: checking for a BSD compatible install" >&52541 echo "configure:2542: checking for a BSD compatible install" >&5 2410 2542 if test -z "$INSTALL"; then 2411 2543 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then … … 2460 2592 2461 2593 2462 ALL_LINGUAS= 2594 ALL_LINGUAS="fr sv tr es da" 2463 2595 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 2464 echo "configure:2 465: checking how to run the C preprocessor" >&52596 echo "configure:2597: checking how to run the C preprocessor" >&5 2465 2597 # On Suns, sometimes $CPP names a directory. 2466 2598 if test -n "$CPP" && test -d "$CPP"; then … … 2477 2609 # not just through cpp. 2478 2610 cat > conftest.$ac_ext <<EOF 2479 #line 2 480"configure"2611 #line 2612 "configure" 2480 2612 #include "confdefs.h" 2481 2613 #include <assert.h> … … 2483 2615 EOF 2484 2616 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2485 { (eval echo configure:2 486: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2617 { (eval echo configure:2618: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2486 2618 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2487 2619 if test -z "$ac_err"; then … … 2494 2626 CPP="${CC-cc} -E -traditional-cpp" 2495 2627 cat > conftest.$ac_ext <<EOF 2496 #line 2 497"configure"2628 #line 2629 "configure" 2497 2629 #include "confdefs.h" 2498 2630 #include <assert.h> … … 2500 2632 EOF 2501 2633 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2502 { (eval echo configure:2 503: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2634 { (eval echo configure:2635: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2503 2635 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2504 2636 if test -z "$ac_err"; then … … 2511 2643 CPP="${CC-cc} -nologo -E" 2512 2644 cat > conftest.$ac_ext <<EOF 2513 #line 2 514"configure"2645 #line 2646 "configure" 2514 2646 #include "confdefs.h" 2515 2647 #include <assert.h> … … 2517 2649 EOF 2518 2650 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2519 { (eval echo configure:2 520: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2651 { (eval echo configure:2652: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2520 2652 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2521 2653 if test -z "$ac_err"; then … … 2544 2676 set dummy ranlib; ac_word=$2 2545 2677 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2546 echo "configure:2 547: checking for $ac_word" >&52678 echo "configure:2679: checking for $ac_word" >&5 2547 2679 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 2548 2680 echo $ac_n "(cached) $ac_c" 1>&6 … … 2572 2704 2573 2705 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 2574 echo "configure:2 575: checking for ANSI C header files" >&52706 echo "configure:2707: checking for ANSI C header files" >&5 2575 2707 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 2576 2708 echo $ac_n "(cached) $ac_c" 1>&6 2577 2709 else 2578 2710 cat > conftest.$ac_ext <<EOF 2579 #line 2 580"configure"2711 #line 2712 "configure" 2580 2712 #include "confdefs.h" 2581 2713 #include <stdlib.h> … … 2585 2717 EOF 2586 2718 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2587 { (eval echo configure:2 588: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2719 { (eval echo configure:2720: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2588 2720 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2589 2721 if test -z "$ac_err"; then … … 2602 2734 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2603 2735 cat > conftest.$ac_ext <<EOF 2604 #line 2 605"configure"2736 #line 2737 "configure" 2605 2737 #include "confdefs.h" 2606 2738 #include <string.h> … … 2620 2752 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2621 2753 cat > conftest.$ac_ext <<EOF 2622 #line 2 623"configure"2754 #line 2755 "configure" 2623 2755 #include "confdefs.h" 2624 2756 #include <stdlib.h> … … 2641 2773 else 2642 2774 cat > conftest.$ac_ext <<EOF 2643 #line 2 644"configure"2775 #line 2776 "configure" 2644 2776 #include "confdefs.h" 2645 2777 #include <ctype.h> … … 2652 2784 2653 2785 EOF 2654 if { (eval echo configure:2 655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2786 if { (eval echo configure:2787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2655 2787 then 2656 2788 : … … 2676 2808 2677 2809 echo $ac_n "checking for working const""... $ac_c" 1>&6 2678 echo "configure:2 679: checking for working const" >&52810 echo "configure:2811: checking for working const" >&5 2679 2811 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 2680 2812 echo $ac_n "(cached) $ac_c" 1>&6 2681 2813 else 2682 2814 cat > conftest.$ac_ext <<EOF 2683 #line 2 684"configure"2815 #line 2816 "configure" 2684 2816 #include "confdefs.h" 2685 2817 … … 2730 2862 ; return 0; } 2731 2863 EOF 2732 if { (eval echo configure:2 733: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2864 if { (eval echo configure:2865: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2733 2865 rm -rf conftest* 2734 2866 ac_cv_c_const=yes … … 2751 2883 2752 2884 echo $ac_n "checking for inline""... $ac_c" 1>&6 2753 echo "configure:2 754: checking for inline" >&52885 echo "configure:2886: checking for inline" >&5 2754 2886 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 2755 2887 echo $ac_n "(cached) $ac_c" 1>&6 … … 2758 2890 for ac_kw in inline __inline__ __inline; do 2759 2891 cat > conftest.$ac_ext <<EOF 2760 #line 2 761"configure"2892 #line 2893 "configure" 2761 2893 #include "confdefs.h" 2762 2894 … … 2765 2897 ; return 0; } 2766 2898 EOF 2767 if { (eval echo configure:2 768: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2899 if { (eval echo configure:2900: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2768 2900 rm -rf conftest* 2769 2901 ac_cv_c_inline=$ac_kw; break … … 2791 2923 2792 2924 echo $ac_n "checking for off_t""... $ac_c" 1>&6 2793 echo "configure:2 794: checking for off_t" >&52925 echo "configure:2926: checking for off_t" >&5 2794 2926 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then 2795 2927 echo $ac_n "(cached) $ac_c" 1>&6 2796 2928 else 2797 2929 cat > conftest.$ac_ext <<EOF 2798 #line 2 799"configure"2930 #line 2931 "configure" 2799 2931 #include "confdefs.h" 2800 2932 #include <sys/types.h> … … 2824 2956 2825 2957 echo $ac_n "checking for size_t""... $ac_c" 1>&6 2826 echo "configure:2 827: checking for size_t" >&52958 echo "configure:2959: checking for size_t" >&5 2827 2959 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 2828 2960 echo $ac_n "(cached) $ac_c" 1>&6 2829 2961 else 2830 2962 cat > conftest.$ac_ext <<EOF 2831 #line 2 832"configure"2963 #line 2964 "configure" 2832 2964 #include "confdefs.h" 2833 2965 #include <sys/types.h> … … 2859 2991 # for constant arguments. Useless! 2860 2992 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 2861 echo "configure:2 862: checking for working alloca.h" >&52993 echo "configure:2994: checking for working alloca.h" >&5 2862 2994 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 2863 2995 echo $ac_n "(cached) $ac_c" 1>&6 2864 2996 else 2865 2997 cat > conftest.$ac_ext <<EOF 2866 #line 2 867"configure"2998 #line 2999 "configure" 2867 2999 #include "confdefs.h" 2868 3000 #include <alloca.h> … … 2871 3003 ; return 0; } 2872 3004 EOF 2873 if { (eval echo configure: 2874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3005 if { (eval echo configure:3006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2874 3006 rm -rf conftest* 2875 3007 ac_cv_header_alloca_h=yes … … 2892 3024 2893 3025 echo $ac_n "checking for alloca""... $ac_c" 1>&6 2894 echo "configure: 2895: checking for alloca" >&53026 echo "configure:3027: checking for alloca" >&5 2895 3027 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 2896 3028 echo $ac_n "(cached) $ac_c" 1>&6 2897 3029 else 2898 3030 cat > conftest.$ac_ext <<EOF 2899 #line 2900"configure"3031 #line 3032 "configure" 2900 3032 #include "confdefs.h" 2901 3033 … … 2925 3057 ; return 0; } 2926 3058 EOF 2927 if { (eval echo configure: 2928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3059 if { (eval echo configure:3060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2928 3060 rm -rf conftest* 2929 3061 ac_cv_func_alloca_works=yes … … 2957 3089 2958 3090 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 2959 echo "configure: 2960: checking whether alloca needs Cray hooks" >&53091 echo "configure:3092: checking whether alloca needs Cray hooks" >&5 2960 3092 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 2961 3093 echo $ac_n "(cached) $ac_c" 1>&6 2962 3094 else 2963 3095 cat > conftest.$ac_ext <<EOF 2964 #line 2965"configure"3096 #line 3097 "configure" 2965 3097 #include "confdefs.h" 2966 3098 #if defined(CRAY) && ! defined(CRAY2) … … 2987 3119 for ac_func in _getb67 GETB67 getb67; do 2988 3120 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2989 echo "configure: 2990: checking for $ac_func" >&53121 echo "configure:3122: checking for $ac_func" >&5 2990 3122 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2991 3123 echo $ac_n "(cached) $ac_c" 1>&6 2992 3124 else 2993 3125 cat > conftest.$ac_ext <<EOF 2994 #line 2995"configure"3126 #line 3127 "configure" 2995 3127 #include "confdefs.h" 2996 3128 /* System header to define __stub macros and hopefully few prototypes, … … 3015 3147 ; return 0; } 3016 3148 EOF 3017 if { (eval echo configure:3 018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3149 if { (eval echo configure:3150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3018 3150 rm -rf conftest* 3019 3151 eval "ac_cv_func_$ac_func=yes" … … 3042 3174 3043 3175 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 3044 echo "configure:3 045: checking stack direction for C alloca" >&53176 echo "configure:3177: checking stack direction for C alloca" >&5 3045 3177 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 3046 3178 echo $ac_n "(cached) $ac_c" 1>&6 … … 3050 3182 else 3051 3183 cat > conftest.$ac_ext <<EOF 3052 #line 3 053"configure"3184 #line 3185 "configure" 3053 3185 #include "confdefs.h" 3054 3186 find_stack_direction () … … 3069 3201 } 3070 3202 EOF 3071 if { (eval echo configure:3 072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3203 if { (eval echo configure:3204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3072 3204 then 3073 3205 ac_cv_c_stack_direction=1 … … 3094 3226 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3095 3227 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3096 echo "configure:3 097: checking for $ac_hdr" >&53228 echo "configure:3229: checking for $ac_hdr" >&5 3097 3229 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3098 3230 echo $ac_n "(cached) $ac_c" 1>&6 3099 3231 else 3100 3232 cat > conftest.$ac_ext <<EOF 3101 #line 3 102"configure"3233 #line 3234 "configure" 3102 3234 #include "confdefs.h" 3103 3235 #include <$ac_hdr> 3104 3236 EOF 3105 3237 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3106 { (eval echo configure:3 107: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3238 { (eval echo configure:3239: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3107 3239 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3108 3240 if test -z "$ac_err"; then … … 3133 3265 do 3134 3266 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3135 echo "configure:3 136: checking for $ac_func" >&53267 echo "configure:3268: checking for $ac_func" >&5 3136 3268 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3137 3269 echo $ac_n "(cached) $ac_c" 1>&6 3138 3270 else 3139 3271 cat > conftest.$ac_ext <<EOF 3140 #line 3 141"configure"3272 #line 3273 "configure" 3141 3273 #include "confdefs.h" 3142 3274 /* System header to define __stub macros and hopefully few prototypes, … … 3161 3293 ; return 0; } 3162 3294 EOF 3163 if { (eval echo configure:3 164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3295 if { (eval echo configure:3296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3164 3296 rm -rf conftest* 3165 3297 eval "ac_cv_func_$ac_func=yes" … … 3186 3318 3187 3319 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 3188 echo "configure:3 189: checking for working mmap" >&53320 echo "configure:3321: checking for working mmap" >&5 3189 3321 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 3190 3322 echo $ac_n "(cached) $ac_c" 1>&6 … … 3194 3326 else 3195 3327 cat > conftest.$ac_ext <<EOF 3196 #line 3 197"configure"3328 #line 3329 "configure" 3197 3329 #include "confdefs.h" 3198 3330 … … 3334 3466 3335 3467 EOF 3336 if { (eval echo configure:3 337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3468 if { (eval echo configure:3469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3337 3469 then 3338 3470 ac_cv_func_mmap_fixed_mapped=yes … … 3362 3494 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3363 3495 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3364 echo "configure:3 365: checking for $ac_hdr" >&53496 echo "configure:3497: checking for $ac_hdr" >&5 3365 3497 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3366 3498 echo $ac_n "(cached) $ac_c" 1>&6 3367 3499 else 3368 3500 cat > conftest.$ac_ext <<EOF 3369 #line 3 370"configure"3501 #line 3502 "configure" 3370 3502 #include "confdefs.h" 3371 3503 #include <$ac_hdr> 3372 3504 EOF 3373 3505 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3374 { (eval echo configure:3 375: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3506 { (eval echo configure:3507: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3375 3507 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3376 3508 if test -z "$ac_err"; then … … 3402 3534 do 3403 3535 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3404 echo "configure:3 405: checking for $ac_func" >&53536 echo "configure:3537: checking for $ac_func" >&5 3405 3537 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3406 3538 echo $ac_n "(cached) $ac_c" 1>&6 3407 3539 else 3408 3540 cat > conftest.$ac_ext <<EOF 3409 #line 3 410"configure"3541 #line 3542 "configure" 3410 3542 #include "confdefs.h" 3411 3543 /* System header to define __stub macros and hopefully few prototypes, … … 3430 3562 ; return 0; } 3431 3563 EOF 3432 if { (eval echo configure:3 433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3564 if { (eval echo configure:3565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3433 3565 rm -rf conftest* 3434 3566 eval "ac_cv_func_$ac_func=yes" … … 3459 3591 do 3460 3592 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3461 echo "configure:3 462: checking for $ac_func" >&53593 echo "configure:3594: checking for $ac_func" >&5 3462 3594 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3463 3595 echo $ac_n "(cached) $ac_c" 1>&6 3464 3596 else 3465 3597 cat > conftest.$ac_ext <<EOF 3466 #line 3 467"configure"3598 #line 3599 "configure" 3467 3599 #include "confdefs.h" 3468 3600 /* System header to define __stub macros and hopefully few prototypes, … … 3487 3619 ; return 0; } 3488 3620 EOF 3489 if { (eval echo configure:3 490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3621 if { (eval echo configure:3622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3490 3622 rm -rf conftest* 3491 3623 eval "ac_cv_func_$ac_func=yes" … … 3521 3653 if test $ac_cv_header_locale_h = yes; then 3522 3654 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6 3523 echo "configure:3 524: checking for LC_MESSAGES" >&53655 echo "configure:3656: checking for LC_MESSAGES" >&5 3524 3656 if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then 3525 3657 echo $ac_n "(cached) $ac_c" 1>&6 3526 3658 else 3527 3659 cat > conftest.$ac_ext <<EOF 3528 #line 3 529"configure"3660 #line 3661 "configure" 3529 3661 #include "confdefs.h" 3530 3662 #include <locale.h> … … 3533 3665 ; return 0; } 3534 3666 EOF 3535 if { (eval echo configure:3 536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3667 if { (eval echo configure:3668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3536 3668 rm -rf conftest* 3537 3669 am_cv_val_LC_MESSAGES=yes … … 3554 3686 fi 3555 3687 echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6 3556 echo "configure:3 557: checking whether NLS is requested" >&53688 echo "configure:3689: checking whether NLS is requested" >&5 3557 3689 # Check whether --enable-nls or --disable-nls was given. 3558 3690 if test "${enable_nls+set}" = set; then … … 3574 3706 3575 3707 echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6 3576 echo "configure:3 577: checking whether included gettext is requested" >&53708 echo "configure:3709: checking whether included gettext is requested" >&5 3577 3709 # Check whether --with-included-gettext or --without-included-gettext was given. 3578 3710 if test "${with_included_gettext+set}" = set; then … … 3593 3725 ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'` 3594 3726 echo $ac_n "checking for libintl.h""... $ac_c" 1>&6 3595 echo "configure:3 596: checking for libintl.h" >&53727 echo "configure:3728: checking for libintl.h" >&5 3596 3728 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3597 3729 echo $ac_n "(cached) $ac_c" 1>&6 3598 3730 else 3599 3731 cat > conftest.$ac_ext <<EOF 3600 #line 3 601"configure"3732 #line 3733 "configure" 3601 3733 #include "confdefs.h" 3602 3734 #include <libintl.h> 3603 3735 EOF 3604 3736 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3605 { (eval echo configure:3 606: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3737 { (eval echo configure:3738: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3606 3738 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3607 3739 if test -z "$ac_err"; then … … 3620 3752 echo "$ac_t""yes" 1>&6 3621 3753 echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6 3622 echo "configure:3 623: checking for gettext in libc" >&53754 echo "configure:3755: checking for gettext in libc" >&5 3623 3755 if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then 3624 3756 echo $ac_n "(cached) $ac_c" 1>&6 3625 3757 else 3626 3758 cat > conftest.$ac_ext <<EOF 3627 #line 3 628"configure"3759 #line 3760 "configure" 3628 3760 #include "confdefs.h" 3629 3761 #include <libintl.h> … … 3632 3764 ; return 0; } 3633 3765 EOF 3634 if { (eval echo configure:3 635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3766 if { (eval echo configure:3767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3635 3767 rm -rf conftest* 3636 3768 gt_cv_func_gettext_libc=yes … … 3648 3780 if test "$gt_cv_func_gettext_libc" != "yes"; then 3649 3781 echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6 3650 echo "configure:3 651: checking for bindtextdomain in -lintl" >&53782 echo "configure:3783: checking for bindtextdomain in -lintl" >&5 3651 3783 ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'` 3652 3784 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3656 3788 LIBS="-lintl $LIBS" 3657 3789 cat > conftest.$ac_ext <<EOF 3658 #line 3 659"configure"3790 #line 3791 "configure" 3659 3791 #include "confdefs.h" 3660 3792 /* Override any gcc2 internal prototype to avoid an error. */ … … 3667 3799 ; return 0; } 3668 3800 EOF 3669 if { (eval echo configure:3 670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3801 if { (eval echo configure:3802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3670 3802 rm -rf conftest* 3671 3803 eval "ac_cv_lib_$ac_lib_var=yes" … … 3683 3815 echo "$ac_t""yes" 1>&6 3684 3816 echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6 3685 echo "configure:3 686: checking for gettext in libintl" >&53817 echo "configure:3818: checking for gettext in libintl" >&5 3686 3818 if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then 3687 3819 echo $ac_n "(cached) $ac_c" 1>&6 3688 3820 else 3689 3821 cat > conftest.$ac_ext <<EOF 3690 #line 3 691"configure"3822 #line 3823 "configure" 3691 3823 #include "confdefs.h" 3692 3824 … … 3695 3827 ; return 0; } 3696 3828 EOF 3697 if { (eval echo configure:3 698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3829 if { (eval echo configure:3830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3698 3830 rm -rf conftest* 3699 3831 gt_cv_func_gettext_libintl=yes … … 3723 3855 set dummy msgfmt; ac_word=$2 3724 3856 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3725 echo "configure:3 726: checking for $ac_word" >&53857 echo "configure:3858: checking for $ac_word" >&5 3726 3858 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then 3727 3859 echo $ac_n "(cached) $ac_c" 1>&6 … … 3757 3889 do 3758 3890 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3759 echo "configure:3 760: checking for $ac_func" >&53891 echo "configure:3892: checking for $ac_func" >&5 3760 3892 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3761 3893 echo $ac_n "(cached) $ac_c" 1>&6 3762 3894 else 3763 3895 cat > conftest.$ac_ext <<EOF 3764 #line 3 765"configure"3896 #line 3897 "configure" 3765 3897 #include "confdefs.h" 3766 3898 /* System header to define __stub macros and hopefully few prototypes, … … 3785 3917 ; return 0; } 3786 3918 EOF 3787 if { (eval echo configure:3 788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3919 if { (eval echo configure:3920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3788 3920 rm -rf conftest* 3789 3921 eval "ac_cv_func_$ac_func=yes" … … 3812 3944 set dummy gmsgfmt; ac_word=$2 3813 3945 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3814 echo "configure:3 815: checking for $ac_word" >&53946 echo "configure:3947: checking for $ac_word" >&5 3815 3947 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then 3816 3948 echo $ac_n "(cached) $ac_c" 1>&6 … … 3848 3980 set dummy xgettext; ac_word=$2 3849 3981 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3850 echo "configure:3 851: checking for $ac_word" >&53982 echo "configure:3983: checking for $ac_word" >&5 3851 3983 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then 3852 3984 echo $ac_n "(cached) $ac_c" 1>&6 … … 3880 4012 3881 4013 cat > conftest.$ac_ext <<EOF 3882 #line 3883"configure"4014 #line 4015 "configure" 3883 4015 #include "confdefs.h" 3884 4016 … … 3888 4020 ; return 0; } 3889 4021 EOF 3890 if { (eval echo configure: 3891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4022 if { (eval echo configure:4023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3891 4023 rm -rf conftest* 3892 4024 CATOBJEXT=.gmo … … 3920 4052 set dummy msgfmt; ac_word=$2 3921 4053 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3922 echo "configure: 3923: checking for $ac_word" >&54054 echo "configure:4055: checking for $ac_word" >&5 3923 4055 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then 3924 4056 echo $ac_n "(cached) $ac_c" 1>&6 … … 3954 4086 set dummy gmsgfmt; ac_word=$2 3955 4087 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3956 echo "configure: 3957: checking for $ac_word" >&54088 echo "configure:4089: checking for $ac_word" >&5 3957 4089 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then 3958 4090 echo $ac_n "(cached) $ac_c" 1>&6 … … 3990 4122 set dummy xgettext; ac_word=$2 3991 4123 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3992 echo "configure: 3993: checking for $ac_word" >&54124 echo "configure:4125: checking for $ac_word" >&5 3993 4125 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then 3994 4126 echo $ac_n "(cached) $ac_c" 1>&6 … … 4080 4212 else 4081 4213 echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6 4082 echo "configure:4 083: checking for catalogs to be installed" >&54214 echo "configure:4215: checking for catalogs to be installed" >&5 4083 4215 NEW_LINGUAS= 4084 4216 for lang in ${LINGUAS=$ALL_LINGUAS}; do … … 4108 4240 ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'` 4109 4241 echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6 4110 echo "configure:4 111: checking for linux/version.h" >&54242 echo "configure:4243: checking for linux/version.h" >&5 4111 4243 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4112 4244 echo $ac_n "(cached) $ac_c" 1>&6 4113 4245 else 4114 4246 cat > conftest.$ac_ext <<EOF 4115 #line 4 116"configure"4247 #line 4248 "configure" 4116 4248 #include "confdefs.h" 4117 4249 #include <linux/version.h> 4118 4250 EOF 4119 4251 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4120 { (eval echo configure:4 121: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4252 { (eval echo configure:4253: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4121 4253 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4122 4254 if test -z "$ac_err"; then … … 4163 4295 4164 4296 4165 if test - d $srcdir/po; then4297 if test -f $srcdir/po/POTFILES.in; then 4166 4298 test -d po || mkdir po 4167 4299 if test "x$srcdir" != "x."; then … … 4183 4315 4184 4316 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 4185 echo "configure:4 186: checking for executable suffix" >&54317 echo "configure:4318: checking for executable suffix" >&5 4186 4318 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 4187 4319 echo $ac_n "(cached) $ac_c" 1>&6 … … 4193 4325 echo 'int main () { return 0; }' > conftest.$ac_ext 4194 4326 ac_cv_exeext= 4195 if { (eval echo configure:4 196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then4327 if { (eval echo configure:4328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 4196 4328 for file in conftest.*; do 4197 4329 case $file in … … 4219 4351 set dummy $ac_prog; ac_word=$2 4220 4352 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4221 echo "configure:4 222: checking for $ac_word" >&54353 echo "configure:4354: checking for $ac_word" >&5 4222 4354 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then 4223 4355 echo $ac_n "(cached) $ac_c" 1>&6 … … 4255 4387 set dummy $ac_prog; ac_word=$2 4256 4388 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4257 echo "configure:4 258: checking for $ac_word" >&54389 echo "configure:4390: checking for $ac_word" >&5 4258 4390 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then 4259 4391 echo $ac_n "(cached) $ac_c" 1>&6 … … 4288 4420 set dummy flex; ac_word=$2 4289 4421 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4290 echo "configure:4 291: checking for $ac_word" >&54422 echo "configure:4423: checking for $ac_word" >&5 4291 4423 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then 4292 4424 echo $ac_n "(cached) $ac_c" 1>&6 … … 4322 4454 esac 4323 4455 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6 4324 echo "configure:4 325: checking for yywrap in -l$ac_lib" >&54456 echo "configure:4457: checking for yywrap in -l$ac_lib" >&5 4325 4457 ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'` 4326 4458 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4330 4462 LIBS="-l$ac_lib $LIBS" 4331 4463 cat > conftest.$ac_ext <<EOF 4332 #line 4 333"configure"4464 #line 4465 "configure" 4333 4465 #include "confdefs.h" 4334 4466 /* Override any gcc2 internal prototype to avoid an error. */ … … 4341 4473 ; return 0; } 4342 4474 EOF 4343 if { (eval echo configure:4 344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4475 if { (eval echo configure:4476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4344 4476 rm -rf conftest* 4345 4477 eval "ac_cv_lib_$ac_lib_var=yes" … … 4364 4496 4365 4497 echo $ac_n "checking lex output file root""... $ac_c" 1>&6 4366 echo "configure:4 367: checking lex output file root" >&54498 echo "configure:4499: checking lex output file root" >&5 4367 4499 if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then 4368 4500 echo $ac_n "(cached) $ac_c" 1>&6 … … 4385 4517 4386 4518 echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6 4387 echo "configure:4 388: checking whether yytext is a pointer" >&54519 echo "configure:4520: checking whether yytext is a pointer" >&5 4388 4520 if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then 4389 4521 echo $ac_n "(cached) $ac_c" 1>&6 … … 4397 4529 LIBS="$LIBS $LEXLIB" 4398 4530 cat > conftest.$ac_ext <<EOF 4399 #line 4 400"configure"4531 #line 4532 "configure" 4400 4532 #include "confdefs.h" 4401 4533 `cat $LEX_OUTPUT_ROOT.c` … … 4404 4536 ; return 0; } 4405 4537 EOF 4406 if { (eval echo configure:4 407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4538 if { (eval echo configure:4539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4407 4539 rm -rf conftest* 4408 4540 ac_cv_prog_lex_yytext_pointer=yes … … 4427 4559 4428 4560 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 4429 echo "configure:4 430: checking whether to enable maintainer-specific portions of Makefiles" >&54561 echo "configure:4562: checking whether to enable maintainer-specific portions of Makefiles" >&5 4430 4562 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 4431 4563 if test "${enable_maintainer_mode+set}" = set; then … … 4461 4593 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4462 4594 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4463 echo "configure:4 464: checking for $ac_hdr" >&54595 echo "configure:4596: checking for $ac_hdr" >&5 4464 4596 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4465 4597 echo $ac_n "(cached) $ac_c" 1>&6 4466 4598 else 4467 4599 cat > conftest.$ac_ext <<EOF 4468 #line 4 469"configure"4600 #line 4601 "configure" 4469 4601 #include "confdefs.h" 4470 4602 #include <$ac_hdr> 4471 4603 EOF 4472 4604 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4473 { (eval echo configure:4 474: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4605 { (eval echo configure:4606: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4474 4606 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4475 4607 if test -z "$ac_err"; then … … 4497 4629 done 4498 4630 4499 for ac_func in sbrk 4631 for ac_func in sbrk realpath 4500 4632 do 4501 4633 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4502 echo "configure:4 503: checking for $ac_func" >&54634 echo "configure:4635: checking for $ac_func" >&5 4503 4635 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4504 4636 echo $ac_n "(cached) $ac_c" 1>&6 4505 4637 else 4506 4638 cat > conftest.$ac_ext <<EOF 4507 #line 4 508"configure"4639 #line 4640 "configure" 4508 4640 #include "confdefs.h" 4509 4641 /* System header to define __stub macros and hopefully few prototypes, … … 4528 4660 ; return 0; } 4529 4661 EOF 4530 if { (eval echo configure:4 531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4662 if { (eval echo configure:4663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4531 4663 rm -rf conftest* 4532 4664 eval "ac_cv_func_$ac_func=yes" … … 4557 4689 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4558 4690 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 4559 echo "configure:4 560: checking for $ac_hdr that defines DIR" >&54691 echo "configure:4692: checking for $ac_hdr that defines DIR" >&5 4560 4692 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then 4561 4693 echo $ac_n "(cached) $ac_c" 1>&6 4562 4694 else 4563 4695 cat > conftest.$ac_ext <<EOF 4564 #line 4 565"configure"4696 #line 4697 "configure" 4565 4697 #include "confdefs.h" 4566 4698 #include <sys/types.h> … … 4570 4702 ; return 0; } 4571 4703 EOF 4572 if { (eval echo configure:4 573: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4704 if { (eval echo configure:4705: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4573 4705 rm -rf conftest* 4574 4706 eval "ac_cv_header_dirent_$ac_safe=yes" … … 4595 4727 if test $ac_header_dirent = dirent.h; then 4596 4728 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 4597 echo "configure:4 598: checking for opendir in -ldir" >&54729 echo "configure:4730: checking for opendir in -ldir" >&5 4598 4730 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` 4599 4731 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4603 4735 LIBS="-ldir $LIBS" 4604 4736 cat > conftest.$ac_ext <<EOF 4605 #line 4 606"configure"4737 #line 4738 "configure" 4606 4738 #include "confdefs.h" 4607 4739 /* Override any gcc2 internal prototype to avoid an error. */ … … 4614 4746 ; return 0; } 4615 4747 EOF 4616 if { (eval echo configure:4 617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4748 if { (eval echo configure:4749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4617 4749 rm -rf conftest* 4618 4750 eval "ac_cv_lib_$ac_lib_var=yes" … … 4636 4768 else 4637 4769 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 4638 echo "configure:4 639: checking for opendir in -lx" >&54770 echo "configure:4771: checking for opendir in -lx" >&5 4639 4771 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` 4640 4772 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4644 4776 LIBS="-lx $LIBS" 4645 4777 cat > conftest.$ac_ext <<EOF 4646 #line 4 647"configure"4778 #line 4779 "configure" 4647 4779 #include "confdefs.h" 4648 4780 /* Override any gcc2 internal prototype to avoid an error. */ … … 4655 4787 ; return 0; } 4656 4788 EOF 4657 if { (eval echo configure:4 658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4789 if { (eval echo configure:4790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4658 4790 rm -rf conftest* 4659 4791 eval "ac_cv_lib_$ac_lib_var=yes" … … 4688 4820 4689 4821 echo $ac_n "checking whether strstr must be declared""... $ac_c" 1>&6 4690 echo "configure:4 691: checking whether strstr must be declared" >&54822 echo "configure:4823: checking whether strstr must be declared" >&5 4691 4823 if eval "test \"`echo '$''{'bfd_cv_decl_needed_strstr'+set}'`\" = set"; then 4692 4824 echo $ac_n "(cached) $ac_c" 1>&6 4693 4825 else 4694 4826 cat > conftest.$ac_ext <<EOF 4695 #line 4 696"configure"4827 #line 4828 "configure" 4696 4828 #include "confdefs.h" 4697 4829 … … 4714 4846 ; return 0; } 4715 4847 EOF 4716 if { (eval echo configure:4 717: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4848 if { (eval echo configure:4849: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4717 4849 rm -rf conftest* 4718 4850 bfd_cv_decl_needed_strstr=no … … 4735 4867 4736 4868 echo $ac_n "checking whether free must be declared""... $ac_c" 1>&6 4737 echo "configure:4 738: checking whether free must be declared" >&54869 echo "configure:4870: checking whether free must be declared" >&5 4738 4870 if eval "test \"`echo '$''{'bfd_cv_decl_needed_free'+set}'`\" = set"; then 4739 4871 echo $ac_n "(cached) $ac_c" 1>&6 4740 4872 else 4741 4873 cat > conftest.$ac_ext <<EOF 4742 #line 4 743"configure"4874 #line 4875 "configure" 4743 4875 #include "confdefs.h" 4744 4876 … … 4761 4893 ; return 0; } 4762 4894 EOF 4763 if { (eval echo configure:4 764: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4895 if { (eval echo configure:4896: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4764 4896 rm -rf conftest* 4765 4897 bfd_cv_decl_needed_free=no … … 4782 4914 4783 4915 echo $ac_n "checking whether sbrk must be declared""... $ac_c" 1>&6 4784 echo "configure:4 785: checking whether sbrk must be declared" >&54916 echo "configure:4917: checking whether sbrk must be declared" >&5 4785 4917 if eval "test \"`echo '$''{'bfd_cv_decl_needed_sbrk'+set}'`\" = set"; then 4786 4918 echo $ac_n "(cached) $ac_c" 1>&6 4787 4919 else 4788 4920 cat > conftest.$ac_ext <<EOF 4789 #line 4 790"configure"4921 #line 4922 "configure" 4790 4922 #include "confdefs.h" 4791 4923 … … 4808 4940 ; return 0; } 4809 4941 EOF 4810 if { (eval echo configure:4 811: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4942 if { (eval echo configure:4943: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4811 4943 rm -rf conftest* 4812 4944 bfd_cv_decl_needed_sbrk=no … … 4829 4961 4830 4962 echo $ac_n "checking whether getenv must be declared""... $ac_c" 1>&6 4831 echo "configure:4 832: checking whether getenv must be declared" >&54963 echo "configure:4964: checking whether getenv must be declared" >&5 4832 4964 if eval "test \"`echo '$''{'bfd_cv_decl_needed_getenv'+set}'`\" = set"; then 4833 4965 echo $ac_n "(cached) $ac_c" 1>&6 4834 4966 else 4835 4967 cat > conftest.$ac_ext <<EOF 4836 #line 4 837"configure"4968 #line 4969 "configure" 4837 4969 #include "confdefs.h" 4838 4970 … … 4855 4987 ; return 0; } 4856 4988 EOF 4857 if { (eval echo configure:4 858: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4989 if { (eval echo configure:4990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4858 4990 rm -rf conftest* 4859 4991 bfd_cv_decl_needed_getenv=no … … 4876 5008 4877 5009 echo $ac_n "checking whether environ must be declared""... $ac_c" 1>&6 4878 echo "configure: 4879: checking whether environ must be declared" >&55010 echo "configure:5011: checking whether environ must be declared" >&5 4879 5011 if eval "test \"`echo '$''{'bfd_cv_decl_needed_environ'+set}'`\" = set"; then 4880 5012 echo $ac_n "(cached) $ac_c" 1>&6 4881 5013 else 4882 5014 cat > conftest.$ac_ext <<EOF 4883 #line 4884"configure"5015 #line 5016 "configure" 4884 5016 #include "confdefs.h" 4885 5017 … … 4902 5034 ; return 0; } 4903 5035 EOF 4904 if { (eval echo configure: 4905: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5036 if { (eval echo configure:5037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4905 5037 rm -rf conftest* 4906 5038 bfd_cv_decl_needed_environ=no … … 4930 5062 # support string concatenation. 4931 5063 echo $ac_n "checking whether ANSI C string concatenation works""... $ac_c" 1>&6 4932 echo "configure: 4933: checking whether ANSI C string concatenation works" >&55064 echo "configure:5065: checking whether ANSI C string concatenation works" >&5 4933 5065 if eval "test \"`echo '$''{'ld_cv_string_concatenation'+set}'`\" = set"; then 4934 5066 echo $ac_n "(cached) $ac_c" 1>&6 4935 5067 else 4936 5068 cat > conftest.$ac_ext <<EOF 4937 #line 4938"configure"5069 #line 5070 "configure" 4938 5070 #include "confdefs.h" 4939 5071 … … 4942 5074 ; return 0; } 4943 5075 EOF 4944 if { (eval echo configure: 4945: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5076 if { (eval echo configure:5077: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4945 5077 rm -rf conftest* 4946 5078 ld_cv_string_concatenation=yes … … 5043 5175 EMUL_EXTRA_OFILES=$all_emul_extras 5044 5176 fi 5177 5045 5178 5046 5179 … … 5216 5349 s%@build_vendor@%$build_vendor%g 5217 5350 s%@build_os@%$build_os%g 5218 s%@CC@%$CC%g5219 5351 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g 5220 5352 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g … … 5228 5360 s%@MAKEINFO@%$MAKEINFO%g 5229 5361 s%@SET_MAKE@%$SET_MAKE%g 5362 s%@CC@%$CC%g 5230 5363 s%@LN_S@%$LN_S%g 5231 5364 s%@OBJEXT@%$OBJEXT%g … … 5234 5367 s%@STRIP@%$STRIP%g 5235 5368 s%@LIBTOOL@%$LIBTOOL%g 5369 s%@use_sysroot@%$use_sysroot%g 5370 s%@TARGET_SYSTEM_ROOT@%$TARGET_SYSTEM_ROOT%g 5371 s%@TARGET_SYSTEM_ROOT_DEFINE@%$TARGET_SYSTEM_ROOT_DEFINE%g 5236 5372 s%@WARN_CFLAGS@%$WARN_CFLAGS%g 5237 5373 s%@CPP@%$CPP%g … … 5274 5410 s%@EMULATION_OFILES@%$EMULATION_OFILES%g 5275 5411 s%@EMUL_EXTRA_OFILES@%$EMUL_EXTRA_OFILES%g 5412 s%@LIB_PATH@%$LIB_PATH%g 5276 5413 s%@EMULATION_LIBPATH@%$EMULATION_LIBPATH%g 5277 5414 s%@TESTBFDLIB@%$TESTBFDLIB%g -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.