Changeset 1113 for trunk/src/binutils/ld/configure
- Timestamp:
- Jan 29, 2004, 10:37:45 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/binutils/ld/configure
-
Property cvs2svn:cvs-rev
changed from
1.4
to1.5
r1112 r1113 2 2 3 3 # Guess values for system-dependent variables and create Makefiles. 4 # Generated automatically using autoconf version 2.13 4 # Generated automatically using autoconf version 2.13 5 5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. 6 6 # … … 811 811 program_prefix=${target_alias}- 812 812 813 814 echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6815 echo "configure:816: checking for strerror in -lcposix" >&5816 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`817 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then818 echo $ac_n "(cached) $ac_c" 1>&6819 else820 ac_save_LIBS="$LIBS"821 LIBS="-lcposix $LIBS"822 cat > conftest.$ac_ext <<EOF823 #line 824 "configure"824 #include "confdefs.h"825 /* Override any gcc2 internal prototype to avoid an error. */826 /* We use char because int might match the return type of a gcc2827 builtin and then its argument prototype would still apply. */828 char strerror();829 830 int main() {831 strerror()832 ; return 0; }833 EOF834 if { (eval echo configure:835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then835 rm -rf conftest*836 eval "ac_cv_lib_$ac_lib_var=yes"837 else838 echo "configure: failed program was:" >&5839 cat conftest.$ac_ext >&5840 rm -rf conftest*841 eval "ac_cv_lib_$ac_lib_var=no"842 fi843 rm -f conftest*844 LIBS="$ac_save_LIBS"845 846 fi847 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then848 echo "$ac_t""yes" 1>&6849 LIBS="$LIBS -lcposix"850 else851 echo "$ac_t""no" 1>&6852 fi853 854 855 856 857 BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`858 # Find a good install program. We prefer a C program (faster),859 # so one script is as good as another. But avoid the broken or860 # incompatible versions:861 # SysV /etc/install, /usr/sbin/install862 # SunOS /usr/etc/install863 # IRIX /sbin/install864 # AIX /bin/install865 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag866 # AFS /usr/afsws/bin/install, which mishandles nonexistent args867 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"868 # ./install, which can be erroneously created by make from ./install.sh.869 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6870 echo "configure:871: checking for a BSD compatible install" >&5871 if test -z "$INSTALL"; then872 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then873 echo $ac_n "(cached) $ac_c" 1>&6874 else875 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="$PATH_IFS"876 for ac_dir in $PATH; do877 # Account for people who put trailing slashes in PATH elements.878 case "$ac_dir/" in879 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;880 # We reject the install program from OS/2 or W3.1881 */OS2|*/OS2/*|*/WINDOWS|*/WINDOWS/*) ;;882 *)883 # OSF1 and SCO ODT 3.0 have their own names for install.884 # Don't use installbsd from OSF since it installs stuff as root885 # by default.886 for ac_prog in ginstall scoinst install; do887 if test -f $ac_dir/$ac_prog$ac_exeext; then888 if test $ac_prog = install &&889 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then890 # AIX install. It has an incompatible calling convention.891 :892 else893 ac_cv_path_install="$ac_dir/$ac_prog$ac_exeext -c"894 break 2895 fi896 fi897 done898 ;;899 esac900 done901 IFS="$ac_save_IFS"902 903 fi904 if test "${ac_cv_path_install+set}" = set; then905 INSTALL="$ac_cv_path_install"906 else907 # As a last resort, use the slow shell script. We don't cache a908 # path for INSTALL within a source directory, because that will909 # break other packages using the cache if that directory is910 # removed, or if the path is relative.911 INSTALL="$ac_install_sh"912 fi913 fi914 echo "$ac_t""$INSTALL" 1>&6915 916 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.917 # It thinks the first close brace ends the variable substitution.918 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'919 920 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'921 922 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'923 924 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6925 echo "configure:926: checking whether build environment is sane" >&5926 # Just in case927 sleep 1928 echo timestamp > conftestfile929 # Do `set' in a subshell so we don't clobber the current shell's930 # arguments. Must try -L first in case configure is actually a931 # symlink; some systems play weird games with the mod time of symlinks932 # (eg FreeBSD returns the mod time of the symlink's containing933 # directory).934 if (935 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`936 if test "$*" = "X"; then937 # -L didn't work.938 set X `ls -t $srcdir/configure conftestfile`939 fi940 if test "$*" != "X $srcdir/configure conftestfile" \941 && test "$*" != "X conftestfile $srcdir/configure"; then942 943 # If neither matched, then we have a broken ls. This can happen944 # if, for instance, CONFIG_SHELL is bash and it inherits a945 # broken ls alias from the environment. This has actually946 # happened. Such a system could not be considered "sane".947 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken948 alias in your environment" 1>&2; exit 1; }949 fi950 951 test "$2" = conftestfile952 )953 then954 # Ok.955 :956 else957 { echo "configure: error: newly created file is older than distributed files!958 Check your system clock" 1>&2; exit 1; }959 fi960 rm -f conftest*961 echo "$ac_t""yes" 1>&6962 if test "$program_transform_name" = s,x,x,; then963 program_transform_name=964 else965 # Double any \ or $. echo might interpret backslashes.966 cat <<\EOF_SED > conftestsed967 s,\\,\\\\,g; s,\$,$$,g968 EOF_SED969 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"970 rm -f conftestsed971 fi972 test "$program_prefix" != NONE &&973 program_transform_name="s,^,${program_prefix},; $program_transform_name"974 # Use a double $ so make ignores it.975 test "$program_suffix" != NONE &&976 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"977 978 # sed with no file args requires a program.979 test "$program_transform_name" = "" && program_transform_name="s,x,x,"980 981 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6982 echo "configure:983: checking whether ${MAKE-make} sets \${MAKE}" >&5983 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`984 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then985 echo $ac_n "(cached) $ac_c" 1>&6986 else987 cat > conftestmake <<\EOF988 all:989 @echo 'ac_maketemp="${MAKE}"'990 EOF991 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.992 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`993 if test -n "$ac_maketemp"; then994 eval ac_cv_prog_make_${ac_make}_set=yes995 else996 eval ac_cv_prog_make_${ac_make}_set=no997 fi998 rm -f conftestmake999 fi1000 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then1001 echo "$ac_t""yes" 1>&61002 SET_MAKE=1003 else1004 echo "$ac_t""no" 1>&61005 SET_MAKE="MAKE=${MAKE-make}"1006 fi1007 1008 1009 PACKAGE=ld1010 1011 VERSION=${BFD_VERSION}1012 1013 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then1014 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }1015 fi1016 cat >> confdefs.h <<EOF1017 #define PACKAGE "$PACKAGE"1018 EOF1019 1020 cat >> confdefs.h <<EOF1021 #define VERSION "$VERSION"1022 EOF1023 1024 1025 1026 missing_dir=`cd $ac_aux_dir && pwd`1027 echo $ac_n "checking for working aclocal""... $ac_c" 1>&61028 echo "configure:1029: checking for working aclocal" >&51029 # Run test in a subshell; some versions of sh will print an error if1030 # an executable is not found, even if stderr is redirected.1031 # Redirect stdin to placate older versions of autoconf. Sigh.1032 if (aclocal --version) < /dev/null > /dev/null 2>&1; then1033 ACLOCAL=aclocal1034 echo "$ac_t""found" 1>&61035 else1036 ACLOCAL="$missing_dir/missing aclocal"1037 echo "$ac_t""missing" 1>&61038 fi1039 1040 echo $ac_n "checking for working autoconf""... $ac_c" 1>&61041 echo "configure:1042: checking for working autoconf" >&51042 # Run test in a subshell; some versions of sh will print an error if1043 # an executable is not found, even if stderr is redirected.1044 # Redirect stdin to placate older versions of autoconf. Sigh.1045 if (autoconf --version) < /dev/null > /dev/null 2>&1; then1046 AUTOCONF=autoconf1047 echo "$ac_t""found" 1>&61048 else1049 AUTOCONF="$missing_dir/missing autoconf"1050 echo "$ac_t""missing" 1>&61051 fi1052 1053 echo $ac_n "checking for working automake""... $ac_c" 1>&61054 echo "configure:1055: checking for working automake" >&51055 # Run test in a subshell; some versions of sh will print an error if1056 # an executable is not found, even if stderr is redirected.1057 # Redirect stdin to placate older versions of autoconf. Sigh.1058 if (automake --version) < /dev/null > /dev/null 2>&1; then1059 AUTOMAKE=automake1060 echo "$ac_t""found" 1>&61061 else1062 AUTOMAKE="$missing_dir/missing automake"1063 echo "$ac_t""missing" 1>&61064 fi1065 1066 echo $ac_n "checking for working autoheader""... $ac_c" 1>&61067 echo "configure:1068: checking for working autoheader" >&51068 # Run test in a subshell; some versions of sh will print an error if1069 # an executable is not found, even if stderr is redirected.1070 # Redirect stdin to placate older versions of autoconf. Sigh.1071 if (autoheader --version) < /dev/null > /dev/null 2>&1; then1072 AUTOHEADER=autoheader1073 echo "$ac_t""found" 1>&61074 else1075 AUTOHEADER="$missing_dir/missing autoheader"1076 echo "$ac_t""missing" 1>&61077 fi1078 1079 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&61080 echo "configure:1081: checking for working makeinfo" >&51081 # Run test in a subshell; some versions of sh will print an error if1082 # an executable is not found, even if stderr is redirected.1083 # Redirect stdin to placate older versions of autoconf. Sigh.1084 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then1085 MAKEINFO=makeinfo1086 echo "$ac_t""found" 1>&61087 else1088 MAKEINFO="$missing_dir/missing makeinfo"1089 echo "$ac_t""missing" 1>&61090 fi1091 1092 1093 1094 # Check whether --enable-shared or --disable-shared was given.1095 if test "${enable_shared+set}" = set; then1096 enableval="$enable_shared"1097 p=${PACKAGE-default}1098 case $enableval in1099 yes) enable_shared=yes ;;1100 no) enable_shared=no ;;1101 *)1102 enable_shared=no1103 # Look at the argument we got. We use all the common list separators.1104 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"1105 for pkg in $enableval; do1106 if test "X$pkg" = "X$p"; then1107 enable_shared=yes1108 fi1109 done1110 IFS="$ac_save_ifs"1111 ;;1112 esac1113 else1114 enable_shared=yes1115 fi1116 1117 # Check whether --enable-static or --disable-static was given.1118 if test "${enable_static+set}" = set; then1119 enableval="$enable_static"1120 p=${PACKAGE-default}1121 case $enableval in1122 yes) enable_static=yes ;;1123 no) enable_static=no ;;1124 *)1125 enable_static=no1126 # Look at the argument we got. We use all the common list separators.1127 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"1128 for pkg in $enableval; do1129 if test "X$pkg" = "X$p"; then1130 enable_static=yes1131 fi1132 done1133 IFS="$ac_save_ifs"1134 ;;1135 esac1136 else1137 enable_static=yes1138 fi1139 1140 # Check whether --enable-fast-install or --disable-fast-install was given.1141 if test "${enable_fast_install+set}" = set; then1142 enableval="$enable_fast_install"1143 p=${PACKAGE-default}1144 case $enableval in1145 yes) enable_fast_install=yes ;;1146 no) enable_fast_install=no ;;1147 *)1148 enable_fast_install=no1149 # Look at the argument we got. We use all the common list separators.1150 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"1151 for pkg in $enableval; do1152 if test "X$pkg" = "X$p"; then1153 enable_fast_install=yes1154 fi1155 done1156 IFS="$ac_save_ifs"1157 ;;1158 esac1159 else1160 enable_fast_install=yes1161 fi1162 1163 813 # Extract the first word of "gcc", so it can be a program name with args. 1164 814 set dummy gcc; ac_word=$2 1165 815 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1166 echo "configure: 1167: checking for $ac_word" >&5816 echo "configure:817: checking for $ac_word" >&5 1167 817 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1168 818 echo $ac_n "(cached) $ac_c" 1>&6 … … 1195 845 set dummy cc; ac_word=$2 1196 846 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1197 echo "configure: 1198: checking for $ac_word" >&5847 echo "configure:848: checking for $ac_word" >&5 1198 848 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1199 849 echo $ac_n "(cached) $ac_c" 1>&6 … … 1248 898 set dummy cl; ac_word=$2 1249 899 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1250 echo "configure: 1251: checking for $ac_word" >&5900 echo "configure:901: checking for $ac_word" >&5 1251 901 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1252 902 echo $ac_n "(cached) $ac_c" 1>&6 … … 1281 931 1282 932 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1283 echo "configure: 1284: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5933 echo "configure:934: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 1284 934 1285 935 ac_ext=c … … 1292 942 cat > conftest.$ac_ext << EOF 1293 943 1294 #line 1295 "configure"944 #line 945 "configure" 1295 945 #include "confdefs.h" 1296 946 1297 947 main(){return(0);} 1298 948 EOF 1299 if { (eval echo configure: 1300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then949 if { (eval echo configure:950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1300 950 ac_cv_prog_cc_works=yes 1301 951 # If we can't run a trivial program, we are probably using a cross compiler. … … 1323 973 fi 1324 974 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1325 echo "configure: 1326: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5975 echo "configure:976: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1326 976 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1327 977 cross_compiling=$ac_cv_prog_cc_cross 1328 978 1329 979 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1330 echo "configure: 1331: checking whether we are using GNU C" >&5980 echo "configure:981: checking whether we are using GNU C" >&5 1331 981 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 1332 982 echo $ac_n "(cached) $ac_c" 1>&6 … … 1337 987 #endif 1338 988 EOF 1339 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure: 1340: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then989 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:990: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1340 990 ac_cv_prog_gcc=yes 1341 991 else … … 1356 1006 CFLAGS= 1357 1007 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1358 echo "configure:1 359: checking whether ${CC-cc} accepts -g" >&51008 echo "configure:1009: checking whether ${CC-cc} accepts -g" >&5 1359 1009 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1360 1010 echo $ac_n "(cached) $ac_c" 1>&6 … … 1387 1037 fi 1388 1038 1039 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 1040 echo "configure:1041: checking for POSIXized ISC" >&5 1041 if test -d /etc/conf/kconfig.d && 1042 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 1043 then 1044 echo "$ac_t""yes" 1>&6 1045 ISC=yes # If later tests want to check for ISC. 1046 cat >> confdefs.h <<\EOF 1047 #define _POSIX_SOURCE 1 1048 EOF 1049 1050 if test "$GCC" = yes; then 1051 CC="$CC -posix" 1052 else 1053 CC="$CC -Xp" 1054 fi 1055 else 1056 echo "$ac_t""no" 1>&6 1057 ISC= 1058 fi 1059 1060 1061 BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in` 1062 am__api_version="1.4" 1063 # Find a good install program. We prefer a C program (faster), 1064 # so one script is as good as another. But avoid the broken or 1065 # incompatible versions: 1066 # SysV /etc/install, /usr/sbin/install 1067 # SunOS /usr/etc/install 1068 # IRIX /sbin/install 1069 # AIX /bin/install 1070 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1071 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 1072 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1073 # ./install, which can be erroneously created by make from ./install.sh. 1074 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 1075 echo "configure:1076: checking for a BSD compatible install" >&5 1076 if test -z "$INSTALL"; then 1077 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 1078 echo $ac_n "(cached) $ac_c" 1>&6 1079 else 1080 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="$PATH_IFS" 1081 for ac_dir in $PATH; do 1082 # Account for people who put trailing slashes in PATH elements. 1083 case "$ac_dir/" in 1084 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; 1085 # We reject the install program from OS/2 or W3.1 1086 */OS2|*/OS2/*|*/WINDOWS|*/WINDOWS/*) ;; 1087 *) 1088 # OSF1 and SCO ODT 3.0 have their own names for install. 1089 # Don't use installbsd from OSF since it installs stuff as root 1090 # by default. 1091 for ac_prog in ginstall scoinst install; do 1092 if test -f $ac_dir/$ac_prog$ac_exeext; then 1093 if test $ac_prog = install && 1094 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then 1095 # AIX install. It has an incompatible calling convention. 1096 : 1097 else 1098 ac_cv_path_install="$ac_dir/$ac_prog$ac_exeext -c" 1099 break 2 1100 fi 1101 fi 1102 done 1103 ;; 1104 esac 1105 done 1106 IFS="$ac_save_IFS" 1107 1108 fi 1109 if test "${ac_cv_path_install+set}" = set; then 1110 INSTALL="$ac_cv_path_install" 1111 else 1112 # As a last resort, use the slow shell script. We don't cache a 1113 # path for INSTALL within a source directory, because that will 1114 # break other packages using the cache if that directory is 1115 # removed, or if the path is relative. 1116 INSTALL="$ac_install_sh" 1117 fi 1118 fi 1119 echo "$ac_t""$INSTALL" 1>&6 1120 1121 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1122 # It thinks the first close brace ends the variable substitution. 1123 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1124 1125 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' 1126 1127 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1128 1129 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 1130 echo "configure:1131: checking whether build environment is sane" >&5 1131 # Just in case 1132 sleep 1 1133 echo timestamp > conftestfile 1134 # Do `set' in a subshell so we don't clobber the current shell's 1135 # arguments. Must try -L first in case configure is actually a 1136 # symlink; some systems play weird games with the mod time of symlinks 1137 # (eg FreeBSD returns the mod time of the symlink's containing 1138 # directory). 1139 if ( 1140 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` 1141 if test "$*" = "X"; then 1142 # -L didn't work. 1143 set X `ls -t $srcdir/configure conftestfile` 1144 fi 1145 if test "$*" != "X $srcdir/configure conftestfile" \ 1146 && test "$*" != "X conftestfile $srcdir/configure"; then 1147 1148 # If neither matched, then we have a broken ls. This can happen 1149 # if, for instance, CONFIG_SHELL is bash and it inherits a 1150 # broken ls alias from the environment. This has actually 1151 # happened. Such a system could not be considered "sane". 1152 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken 1153 alias in your environment" 1>&2; exit 1; } 1154 fi 1155 1156 test "$2" = conftestfile 1157 ) 1158 then 1159 # Ok. 1160 : 1161 else 1162 { echo "configure: error: newly created file is older than distributed files! 1163 Check your system clock" 1>&2; exit 1; } 1164 fi 1165 rm -f conftest* 1166 echo "$ac_t""yes" 1>&6 1167 if test "$program_transform_name" = s,x,x,; then 1168 program_transform_name= 1169 else 1170 # Double any \ or $. echo might interpret backslashes. 1171 cat <<\EOF_SED > conftestsed 1172 s,\\,\\\\,g; s,\$,$$,g 1173 EOF_SED 1174 program_transform_name="`echo $program_transform_name|sed -f conftestsed`" 1175 rm -f conftestsed 1176 fi 1177 test "$program_prefix" != NONE && 1178 program_transform_name="s,^,${program_prefix},; $program_transform_name" 1179 # Use a double $ so make ignores it. 1180 test "$program_suffix" != NONE && 1181 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name" 1182 1183 # sed with no file args requires a program. 1184 test "$program_transform_name" = "" && program_transform_name="s,x,x," 1185 1186 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 1187 echo "configure:1188: checking whether ${MAKE-make} sets \${MAKE}" >&5 1188 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 1189 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then 1190 echo $ac_n "(cached) $ac_c" 1>&6 1191 else 1192 cat > conftestmake <<\EOF 1193 all: 1194 @echo 'ac_maketemp="${MAKE}"' 1195 EOF 1196 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 1197 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` 1198 if test -n "$ac_maketemp"; then 1199 eval ac_cv_prog_make_${ac_make}_set=yes 1200 else 1201 eval ac_cv_prog_make_${ac_make}_set=no 1202 fi 1203 rm -f conftestmake 1204 fi 1205 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 1206 echo "$ac_t""yes" 1>&6 1207 SET_MAKE= 1208 else 1209 echo "$ac_t""no" 1>&6 1210 SET_MAKE="MAKE=${MAKE-make}" 1211 fi 1212 1213 1214 PACKAGE=ld 1215 1216 VERSION=${BFD_VERSION} 1217 1218 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then 1219 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } 1220 fi 1221 cat >> confdefs.h <<EOF 1222 #define PACKAGE "$PACKAGE" 1223 EOF 1224 1225 cat >> confdefs.h <<EOF 1226 #define VERSION "$VERSION" 1227 EOF 1228 1229 1230 1231 missing_dir=`cd $ac_aux_dir && pwd` 1232 echo $ac_n "checking for working aclocal-${am__api_version}""... $ac_c" 1>&6 1233 echo "configure:1234: checking for working aclocal-${am__api_version}" >&5 1234 # Run test in a subshell; some versions of sh will print an error if 1235 # an executable is not found, even if stderr is redirected. 1236 # Redirect stdin to placate older versions of autoconf. Sigh. 1237 if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then 1238 ACLOCAL=aclocal-${am__api_version} 1239 echo "$ac_t""found" 1>&6 1240 else 1241 ACLOCAL="$missing_dir/missing aclocal-${am__api_version}" 1242 echo "$ac_t""missing" 1>&6 1243 fi 1244 1245 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 1246 echo "configure:1247: checking for working autoconf" >&5 1247 # Run test in a subshell; some versions of sh will print an error if 1248 # an executable is not found, even if stderr is redirected. 1249 # Redirect stdin to placate older versions of autoconf. Sigh. 1250 if (autoconf --version) < /dev/null > /dev/null 2>&1; then 1251 AUTOCONF=autoconf 1252 echo "$ac_t""found" 1>&6 1253 else 1254 AUTOCONF="$missing_dir/missing autoconf" 1255 echo "$ac_t""missing" 1>&6 1256 fi 1257 1258 echo $ac_n "checking for working automake-${am__api_version}""... $ac_c" 1>&6 1259 echo "configure:1260: checking for working automake-${am__api_version}" >&5 1260 # Run test in a subshell; some versions of sh will print an error if 1261 # an executable is not found, even if stderr is redirected. 1262 # Redirect stdin to placate older versions of autoconf. Sigh. 1263 if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then 1264 AUTOMAKE=automake-${am__api_version} 1265 echo "$ac_t""found" 1>&6 1266 else 1267 AUTOMAKE="$missing_dir/missing automake-${am__api_version}" 1268 echo "$ac_t""missing" 1>&6 1269 fi 1270 1271 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 1272 echo "configure:1273: checking for working autoheader" >&5 1273 # Run test in a subshell; some versions of sh will print an error if 1274 # an executable is not found, even if stderr is redirected. 1275 # Redirect stdin to placate older versions of autoconf. Sigh. 1276 if (autoheader --version) < /dev/null > /dev/null 2>&1; then 1277 AUTOHEADER=autoheader 1278 echo "$ac_t""found" 1>&6 1279 else 1280 AUTOHEADER="$missing_dir/missing autoheader" 1281 echo "$ac_t""missing" 1>&6 1282 fi 1283 1284 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 1285 echo "configure:1286: checking for working makeinfo" >&5 1286 # Run test in a subshell; some versions of sh will print an error if 1287 # an executable is not found, even if stderr is redirected. 1288 # Redirect stdin to placate older versions of autoconf. Sigh. 1289 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then 1290 MAKEINFO=makeinfo 1291 echo "$ac_t""found" 1>&6 1292 else 1293 MAKEINFO="$missing_dir/missing makeinfo" 1294 echo "$ac_t""missing" 1>&6 1295 fi 1296 1297 1298 1299 # Check whether --enable-shared or --disable-shared was given. 1300 if test "${enable_shared+set}" = set; then 1301 enableval="$enable_shared" 1302 p=${PACKAGE-default} 1303 case $enableval in 1304 yes) enable_shared=yes ;; 1305 no) enable_shared=no ;; 1306 *) 1307 enable_shared=no 1308 # Look at the argument we got. We use all the common list separators. 1309 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," 1310 for pkg in $enableval; do 1311 if test "X$pkg" = "X$p"; then 1312 enable_shared=yes 1313 fi 1314 done 1315 IFS="$ac_save_ifs" 1316 ;; 1317 esac 1318 else 1319 enable_shared=yes 1320 fi 1321 1322 # Check whether --enable-static or --disable-static was given. 1323 if test "${enable_static+set}" = set; then 1324 enableval="$enable_static" 1325 p=${PACKAGE-default} 1326 case $enableval in 1327 yes) enable_static=yes ;; 1328 no) enable_static=no ;; 1329 *) 1330 enable_static=no 1331 # Look at the argument we got. We use all the common list separators. 1332 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," 1333 for pkg in $enableval; do 1334 if test "X$pkg" = "X$p"; then 1335 enable_static=yes 1336 fi 1337 done 1338 IFS="$ac_save_ifs" 1339 ;; 1340 esac 1341 else 1342 enable_static=yes 1343 fi 1344 1345 # Check whether --enable-fast-install or --disable-fast-install was given. 1346 if test "${enable_fast_install+set}" = set; then 1347 enableval="$enable_fast_install" 1348 p=${PACKAGE-default} 1349 case $enableval in 1350 yes) enable_fast_install=yes ;; 1351 no) enable_fast_install=no ;; 1352 *) 1353 enable_fast_install=no 1354 # Look at the argument we got. We use all the common list separators. 1355 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," 1356 for pkg in $enableval; do 1357 if test "X$pkg" = "X$p"; then 1358 enable_fast_install=yes 1359 fi 1360 done 1361 IFS="$ac_save_ifs" 1362 ;; 1363 esac 1364 else 1365 enable_fast_install=yes 1366 fi 1367 1389 1368 # Check whether --with-gnu-ld or --without-gnu-ld was given. 1390 1369 if test "${with_gnu_ld+set}" = set; then … … 1399 1378 # Check if gcc -print-prog-name=ld gives a path. 1400 1379 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 1401 echo "configure:1 402: checking for ld used by GCC" >&51380 echo "configure:1381: checking for ld used by GCC" >&5 1402 1381 case $host in 1403 1382 *-*-mingw*) … … 1429 1408 elif test "$with_gnu_ld" = yes; then 1430 1409 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 1431 echo "configure:14 32: checking for GNU ld" >&51410 echo "configure:1411: checking for GNU ld" >&5 1432 1411 else 1433 1412 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 1434 echo "configure:14 35: checking for non-GNU ld" >&51413 echo "configure:1414: checking for non-GNU ld" >&5 1435 1414 fi 1436 1415 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then … … 1467 1446 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } 1468 1447 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 1469 echo "configure:14 70: checking if the linker ($LD) is GNU ld" >&51448 echo "configure:1449: checking if the linker ($LD) is GNU ld" >&5 1470 1449 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then 1471 1450 echo $ac_n "(cached) $ac_c" 1>&6 … … 1484 1463 1485 1464 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6 1486 echo "configure:14 87: checking for $LD option to reload object files" >&51465 echo "configure:1466: checking for $LD option to reload object files" >&5 1487 1466 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then 1488 1467 echo $ac_n "(cached) $ac_c" 1>&6 … … 1496 1475 1497 1476 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 1498 echo "configure:14 99: checking for BSD-compatible nm" >&51477 echo "configure:1478: checking for BSD-compatible nm" >&5 1499 1478 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then 1500 1479 echo $ac_n "(cached) $ac_c" 1>&6 … … 1534 1513 1535 1514 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1536 echo "configure:15 37: checking whether ln -s works" >&51515 echo "configure:1516: checking whether ln -s works" >&5 1537 1516 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1538 1517 echo $ac_n "(cached) $ac_c" 1>&6 … … 1561 1540 1562 1541 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6 1563 echo "configure:15 64: checking how to recognise dependant libraries" >&51542 echo "configure:1543: checking how to recognise dependant libraries" >&5 1564 1543 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then 1565 1544 echo $ac_n "(cached) $ac_c" 1>&6 … … 1738 1717 1739 1718 echo $ac_n "checking for object suffix""... $ac_c" 1>&6 1740 echo "configure:17 41: checking for object suffix" >&51719 echo "configure:1720: checking for object suffix" >&5 1741 1720 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then 1742 1721 echo $ac_n "(cached) $ac_c" 1>&6 … … 1744 1723 rm -f conftest* 1745 1724 echo 'int i = 1;' > conftest.$ac_ext 1746 if { (eval echo configure:17 47: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1725 if { (eval echo configure:1726: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1747 1726 for ac_file in conftest.*; do 1748 1727 case $ac_file in … … 1774 1753 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 1775 1754 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6 1776 echo "configure:17 77: checking for ${ac_tool_prefix}file" >&51755 echo "configure:1756: checking for ${ac_tool_prefix}file" >&5 1777 1756 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 1778 1757 echo $ac_n "(cached) $ac_c" 1>&6 … … 1836 1815 if test -n "$ac_tool_prefix"; then 1837 1816 echo $ac_n "checking for file""... $ac_c" 1>&6 1838 echo "configure:18 39: checking for file" >&51817 echo "configure:1818: checking for file" >&5 1839 1818 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 1840 1819 echo $ac_n "(cached) $ac_c" 1>&6 … … 1907 1886 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 1908 1887 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1909 echo "configure:1 910: checking for $ac_word" >&51888 echo "configure:1889: checking for $ac_word" >&5 1910 1889 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1911 1890 echo $ac_n "(cached) $ac_c" 1>&6 … … 1940 1919 set dummy ranlib; ac_word=$2 1941 1920 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1942 echo "configure:19 43: checking for $ac_word" >&51921 echo "configure:1922: checking for $ac_word" >&5 1943 1922 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1944 1923 echo $ac_n "(cached) $ac_c" 1>&6 … … 1976 1955 set dummy ${ac_tool_prefix}strip; ac_word=$2 1977 1956 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1978 echo "configure:19 79: checking for $ac_word" >&51957 echo "configure:1958: checking for $ac_word" >&5 1979 1958 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 1980 1959 echo $ac_n "(cached) $ac_c" 1>&6 … … 2009 1988 set dummy strip; ac_word=$2 2010 1989 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2011 echo "configure: 2012: checking for $ac_word" >&51990 echo "configure:1991: checking for $ac_word" >&5 2012 1991 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 2013 1992 echo $ac_n "(cached) $ac_c" 1>&6 … … 2077 2056 *-*-irix6*) 2078 2057 # Find out which ABI we are using. 2079 echo '#line 20 80"configure"' > conftest.$ac_ext2080 if { (eval echo configure:20 81: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2058 echo '#line 2059 "configure"' > conftest.$ac_ext 2059 if { (eval echo configure:2060: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2081 2060 if test "$lt_cv_prog_gnu_ld" = yes; then 2082 2061 case `/usr/bin/file conftest.$ac_objext` in … … 2111 2090 # Find out which ABI we are using. 2112 2091 echo 'int i;' > conftest.$ac_ext 2113 if { (eval echo configure:2 114: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2092 if { (eval echo configure:2093: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2114 2093 case "`/usr/bin/file conftest.o`" in 2115 2094 *ELF-32*) … … 2129 2108 CFLAGS="$CFLAGS -belf" 2130 2109 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 2131 echo "configure:21 32: checking whether the C compiler needs -belf" >&52110 echo "configure:2111: checking whether the C compiler needs -belf" >&5 2132 2111 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then 2133 2112 echo $ac_n "(cached) $ac_c" 1>&6 2134 2113 else 2135 2114 2136 2115 ac_ext=c 2137 2116 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. … … 2142 2121 2143 2122 cat > conftest.$ac_ext <<EOF 2144 #line 21 45"configure"2123 #line 2124 "configure" 2145 2124 #include "confdefs.h" 2146 2125 … … 2149 2128 ; return 0; } 2150 2129 EOF 2151 if { (eval echo configure:21 52: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2130 if { (eval echo configure:2131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2152 2131 rm -rf conftest* 2153 2132 lt_cv_cc_needs_belf=yes … … 2259 2238 exec 5>>./config.log 2260 2239 2261 2262 2263 2264 2265 2240 2241 2242 2243 2244 2266 2245 2267 2246 # Check whether --with-lib-path or --without-lib-path was given. … … 2296 2275 if test "${with_sysroot+set}" = set; then 2297 2276 withval="$with_sysroot" 2298 2277 2299 2278 case ${with_sysroot} in 2300 2279 yes) TARGET_SYSTEM_ROOT='${exec_prefix}/${target_alias}/sys-root' ;; … … 2323 2302 2324 2303 else 2325 2304 2326 2305 use_sysroot=no 2327 2306 TARGET_SYSTEM_ROOT= … … 2373 2352 set dummy gcc; ac_word=$2 2374 2353 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2375 echo "configure:23 76: checking for $ac_word" >&52354 echo "configure:2355: checking for $ac_word" >&5 2376 2355 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2377 2356 echo $ac_n "(cached) $ac_c" 1>&6 … … 2404 2383 set dummy cc; ac_word=$2 2405 2384 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2406 echo "configure:2 407: checking for $ac_word" >&52385 echo "configure:2386: checking for $ac_word" >&5 2407 2386 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2408 2387 echo $ac_n "(cached) $ac_c" 1>&6 … … 2457 2436 set dummy cl; ac_word=$2 2458 2437 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2459 echo "configure:24 60: checking for $ac_word" >&52438 echo "configure:2439: checking for $ac_word" >&5 2460 2439 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2461 2440 echo $ac_n "(cached) $ac_c" 1>&6 … … 2490 2469 2491 2470 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 2492 echo "configure:24 93: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&52471 echo "configure:2472: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 2493 2472 2494 2473 ac_ext=c … … 2501 2480 cat > conftest.$ac_ext << EOF 2502 2481 2503 #line 2 504"configure"2482 #line 2483 "configure" 2504 2483 #include "confdefs.h" 2505 2484 2506 2485 main(){return(0);} 2507 2486 EOF 2508 if { (eval echo configure:2 509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2487 if { (eval echo configure:2488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2509 2488 ac_cv_prog_cc_works=yes 2510 2489 # If we can't run a trivial program, we are probably using a cross compiler. … … 2532 2511 fi 2533 2512 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 2534 echo "configure:25 35: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&52513 echo "configure:2514: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 2535 2514 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 2536 2515 cross_compiling=$ac_cv_prog_cc_cross 2537 2516 2538 2517 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 2539 echo "configure:25 40: checking whether we are using GNU C" >&52518 echo "configure:2519: checking whether we are using GNU C" >&5 2540 2519 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 2541 2520 echo $ac_n "(cached) $ac_c" 1>&6 … … 2546 2525 #endif 2547 2526 EOF 2548 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:25 49: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then2527 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2528: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 2549 2528 ac_cv_prog_gcc=yes 2550 2529 else … … 2565 2544 CFLAGS= 2566 2545 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 2567 echo "configure:25 68: checking whether ${CC-cc} accepts -g" >&52546 echo "configure:2547: checking whether ${CC-cc} accepts -g" >&5 2568 2547 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 2569 2548 echo $ac_n "(cached) $ac_c" 1>&6 … … 2608 2587 # ./install, which can be erroneously created by make from ./install.sh. 2609 2588 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 2610 echo "configure:2 611: checking for a BSD compatible install" >&52589 echo "configure:2590: checking for a BSD compatible install" >&5 2611 2590 if test -z "$INSTALL"; then 2612 2591 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then … … 2665 2644 ALL_LINGUAS="fr sv es da" 2666 2645 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 2667 echo "configure:26 68: checking how to run the C preprocessor" >&52646 echo "configure:2647: checking how to run the C preprocessor" >&5 2668 2647 # On Suns, sometimes $CPP names a directory. 2669 2648 if test -n "$CPP" && test -d "$CPP"; then … … 2681 2660 cat > conftest.$ac_ext <<EOF 2682 2661 #include <sys/types.h> 2683 #line 26 84"configure"2662 #line 2663 "configure" 2684 2663 #include "confdefs.h" 2685 2664 #include <assert.h> … … 2687 2666 EOF 2688 2667 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2689 { (eval echo configure:26 90: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2668 { (eval echo configure:2669: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2690 2669 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2691 2670 if test -z "$ac_err"; then … … 2699 2678 cat > conftest.$ac_ext <<EOF 2700 2679 #include <sys/types.h> 2701 #line 2 702"configure"2680 #line 2681 "configure" 2702 2681 #include "confdefs.h" 2703 2682 #include <assert.h> … … 2705 2684 EOF 2706 2685 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2707 { (eval echo configure:2 708: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2686 { (eval echo configure:2687: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2708 2687 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2709 2688 if test -z "$ac_err"; then … … 2717 2696 cat > conftest.$ac_ext <<EOF 2718 2697 #include <sys/types.h> 2719 #line 2 720"configure"2698 #line 2699 "configure" 2720 2699 #include "confdefs.h" 2721 2700 #include <assert.h> … … 2723 2702 EOF 2724 2703 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2725 { (eval echo configure:27 26: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2704 { (eval echo configure:2705: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2726 2705 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2727 2706 if test -z "$ac_err"; then … … 2750 2729 set dummy ranlib; ac_word=$2 2751 2730 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2752 echo "configure:27 53: checking for $ac_word" >&52731 echo "configure:2732: checking for $ac_word" >&5 2753 2732 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 2754 2733 echo $ac_n "(cached) $ac_c" 1>&6 … … 2779 2758 2780 2759 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 2781 echo "configure:27 82: checking for ANSI C header files" >&52760 echo "configure:2761: checking for ANSI C header files" >&5 2782 2761 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 2783 2762 echo $ac_n "(cached) $ac_c" 1>&6 … … 2785 2764 cat > conftest.$ac_ext <<EOF 2786 2765 #include <sys/types.h> 2787 #line 27 88"configure"2766 #line 2767 "configure" 2788 2767 #include "confdefs.h" 2789 2768 #include <stdlib.h> … … 2793 2772 EOF 2794 2773 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2795 { (eval echo configure:27 96: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2774 { (eval echo configure:2775: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2796 2775 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2797 2776 if test -z "$ac_err"; then … … 2810 2789 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2811 2790 cat > conftest.$ac_ext <<EOF 2812 #line 2 813"configure"2791 #line 2792 "configure" 2813 2792 #include "confdefs.h" 2814 2793 #include <string.h> … … 2828 2807 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2829 2808 cat > conftest.$ac_ext <<EOF 2830 #line 28 31"configure"2809 #line 2810 "configure" 2831 2810 #include "confdefs.h" 2832 2811 #include <stdlib.h> … … 2849 2828 else 2850 2829 cat > conftest.$ac_ext <<EOF 2851 #line 28 52"configure"2830 #line 2831 "configure" 2852 2831 #include "confdefs.h" 2853 2832 #include <ctype.h> … … 2860 2839 2861 2840 EOF 2862 if { (eval echo configure:28 63: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2841 if { (eval echo configure:2842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2863 2842 then 2864 2843 : … … 2884 2863 2885 2864 echo $ac_n "checking for working const""... $ac_c" 1>&6 2886 echo "configure:28 87: checking for working const" >&52865 echo "configure:2866: checking for working const" >&5 2887 2866 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 2888 2867 echo $ac_n "(cached) $ac_c" 1>&6 2889 2868 else 2890 2869 cat > conftest.$ac_ext <<EOF 2891 #line 28 92"configure"2870 #line 2871 "configure" 2892 2871 #include "confdefs.h" 2893 2872 … … 2938 2917 ; return 0; } 2939 2918 EOF 2940 if { (eval echo configure:29 41: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2919 if { (eval echo configure:2920: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2941 2920 rm -rf conftest* 2942 2921 ac_cv_c_const=yes … … 2953 2932 if test $ac_cv_c_const = no; then 2954 2933 cat >> confdefs.h <<\EOF 2955 #define const 2934 #define const 2956 2935 EOF 2957 2936 … … 2959 2938 2960 2939 echo $ac_n "checking for inline""... $ac_c" 1>&6 2961 echo "configure:29 62: checking for inline" >&52940 echo "configure:2941: checking for inline" >&5 2962 2941 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 2963 2942 echo $ac_n "(cached) $ac_c" 1>&6 … … 2966 2945 for ac_kw in inline __inline__ __inline; do 2967 2946 cat > conftest.$ac_ext <<EOF 2968 #line 29 69"configure"2947 #line 2948 "configure" 2969 2948 #include "confdefs.h" 2970 2949 … … 2973 2952 ; return 0; } 2974 2953 EOF 2975 if { (eval echo configure:29 76: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2954 if { (eval echo configure:2955: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2976 2955 rm -rf conftest* 2977 2956 ac_cv_c_inline=$ac_kw; break … … 2989 2968 inline | yes) ;; 2990 2969 no) cat >> confdefs.h <<\EOF 2991 #define inline 2970 #define inline 2992 2971 EOF 2993 2972 ;; … … 2999 2978 3000 2979 echo $ac_n "checking for off_t""... $ac_c" 1>&6 3001 echo "configure: 3002: checking for off_t" >&52980 echo "configure:2981: checking for off_t" >&5 3002 2981 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then 3003 2982 echo $ac_n "(cached) $ac_c" 1>&6 3004 2983 else 3005 2984 cat > conftest.$ac_ext <<EOF 3006 #line 3007"configure"2985 #line 2986 "configure" 3007 2986 #include "confdefs.h" 3008 2987 #include <sys/types.h> … … 3032 3011 3033 3012 echo $ac_n "checking for size_t""... $ac_c" 1>&6 3034 echo "configure:30 35: checking for size_t" >&53013 echo "configure:3014: checking for size_t" >&5 3035 3014 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 3036 3015 echo $ac_n "(cached) $ac_c" 1>&6 3037 3016 else 3038 3017 cat > conftest.$ac_ext <<EOF 3039 #line 30 40"configure"3018 #line 3019 "configure" 3040 3019 #include "confdefs.h" 3041 3020 #include <sys/types.h> … … 3067 3046 # for constant arguments. Useless! 3068 3047 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 3069 echo "configure:30 70: checking for working alloca.h" >&53048 echo "configure:3049: checking for working alloca.h" >&5 3070 3049 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 3071 3050 echo $ac_n "(cached) $ac_c" 1>&6 3072 3051 else 3073 3052 cat > conftest.$ac_ext <<EOF 3074 #line 30 75"configure"3053 #line 3054 "configure" 3075 3054 #include "confdefs.h" 3076 3055 #include <alloca.h> … … 3079 3058 ; return 0; } 3080 3059 EOF 3081 if { (eval echo configure:30 82: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3060 if { (eval echo configure:3061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3082 3061 rm -rf conftest* 3083 3062 ac_cv_header_alloca_h=yes … … 3100 3079 3101 3080 echo $ac_n "checking for alloca""... $ac_c" 1>&6 3102 echo "configure:3 103: checking for alloca" >&53081 echo "configure:3082: checking for alloca" >&5 3103 3082 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 3104 3083 echo $ac_n "(cached) $ac_c" 1>&6 3105 3084 else 3106 3085 cat > conftest.$ac_ext <<EOF 3107 #line 3 108"configure"3086 #line 3087 "configure" 3108 3087 #include "confdefs.h" 3109 3088 … … 3133 3112 ; return 0; } 3134 3113 EOF 3135 if { (eval echo configure:31 36: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3114 if { (eval echo configure:3115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3136 3115 rm -rf conftest* 3137 3116 ac_cv_func_alloca_works=yes … … 3165 3144 3166 3145 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 3167 echo "configure:31 68: checking whether alloca needs Cray hooks" >&53146 echo "configure:3147: checking whether alloca needs Cray hooks" >&5 3168 3147 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 3169 3148 echo $ac_n "(cached) $ac_c" 1>&6 3170 3149 else 3171 3150 cat > conftest.$ac_ext <<EOF 3172 #line 31 73"configure"3151 #line 3152 "configure" 3173 3152 #include "confdefs.h" 3174 3153 #if defined(CRAY) && ! defined(CRAY2) … … 3195 3174 for ac_func in _getb67 GETB67 getb67; do 3196 3175 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3197 echo "configure:31 98: checking for $ac_func" >&53176 echo "configure:3177: checking for $ac_func" >&5 3198 3177 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3199 3178 echo $ac_n "(cached) $ac_c" 1>&6 3200 3179 else 3201 3180 cat > conftest.$ac_ext <<EOF 3202 #line 3 203"configure"3181 #line 3182 "configure" 3203 3182 #include "confdefs.h" 3204 3183 /* System header to define __stub macros and hopefully few prototypes, … … 3223 3202 ; return 0; } 3224 3203 EOF 3225 if { (eval echo configure:32 26: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3204 if { (eval echo configure:3205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3226 3205 rm -rf conftest* 3227 3206 eval "ac_cv_func_$ac_func=yes" … … 3250 3229 3251 3230 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 3252 echo "configure:32 53: checking stack direction for C alloca" >&53231 echo "configure:3232: checking stack direction for C alloca" >&5 3253 3232 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 3254 3233 echo $ac_n "(cached) $ac_c" 1>&6 … … 3258 3237 else 3259 3238 cat > conftest.$ac_ext <<EOF 3260 #line 32 61"configure"3239 #line 3240 "configure" 3261 3240 #include "confdefs.h" 3262 3241 find_stack_direction () … … 3277 3256 } 3278 3257 EOF 3279 if { (eval echo configure:32 80: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3258 if { (eval echo configure:3259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3280 3259 then 3281 3260 ac_cv_c_stack_direction=1 … … 3302 3281 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3303 3282 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3304 echo "configure:3 305: checking for $ac_hdr" >&53283 echo "configure:3284: checking for $ac_hdr" >&5 3305 3284 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3306 3285 echo $ac_n "(cached) $ac_c" 1>&6 … … 3308 3287 cat > conftest.$ac_ext <<EOF 3309 3288 #include <sys/types.h> 3310 #line 3 311"configure"3289 #line 3290 "configure" 3311 3290 #include "confdefs.h" 3312 3291 #include <$ac_hdr> 3313 3292 EOF 3314 3293 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3315 { (eval echo configure:3 316: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3294 { (eval echo configure:3295: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3316 3295 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3317 3296 if test -z "$ac_err"; then … … 3333 3312 #define $ac_tr_hdr 1 3334 3313 EOF 3335 3314 3336 3315 else 3337 3316 echo "$ac_t""no" 1>&6 … … 3342 3321 do 3343 3322 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3344 echo "configure:33 45: checking for $ac_func" >&53323 echo "configure:3324: checking for $ac_func" >&5 3345 3324 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3346 3325 echo $ac_n "(cached) $ac_c" 1>&6 3347 3326 else 3348 3327 cat > conftest.$ac_ext <<EOF 3349 #line 33 50"configure"3328 #line 3329 "configure" 3350 3329 #include "confdefs.h" 3351 3330 /* System header to define __stub macros and hopefully few prototypes, … … 3370 3349 ; return 0; } 3371 3350 EOF 3372 if { (eval echo configure:33 73: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3351 if { (eval echo configure:3352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3373 3352 rm -rf conftest* 3374 3353 eval "ac_cv_func_$ac_func=yes" … … 3388 3367 #define $ac_tr_func 1 3389 3368 EOF 3390 3369 3391 3370 else 3392 3371 echo "$ac_t""no" 1>&6 … … 3395 3374 3396 3375 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 3397 echo "configure:33 98: checking for working mmap" >&53376 echo "configure:3377: checking for working mmap" >&5 3398 3377 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 3399 3378 echo $ac_n "(cached) $ac_c" 1>&6 … … 3403 3382 else 3404 3383 cat > conftest.$ac_ext <<EOF 3405 #line 3 406"configure"3384 #line 3385 "configure" 3406 3385 #include "confdefs.h" 3407 3386 … … 3543 3522 3544 3523 EOF 3545 if { (eval echo configure:35 46: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3524 if { (eval echo configure:3525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3546 3525 then 3547 3526 ac_cv_func_mmap_fixed_mapped=yes … … 3565 3544 fi 3566 3545 3567 3546 3568 3547 for ac_hdr in argz.h limits.h locale.h nl_types.h malloc.h string.h \ 3569 3548 unistd.h values.h sys/param.h … … 3571 3550 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3572 3551 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3573 echo "configure:35 74: checking for $ac_hdr" >&53552 echo "configure:3553: checking for $ac_hdr" >&5 3574 3553 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3575 3554 echo $ac_n "(cached) $ac_c" 1>&6 … … 3577 3556 cat > conftest.$ac_ext <<EOF 3578 3557 #include <sys/types.h> 3579 #line 35 80"configure"3558 #line 3559 "configure" 3580 3559 #include "confdefs.h" 3581 3560 #include <$ac_hdr> 3582 3561 EOF 3583 3562 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3584 { (eval echo configure:35 85: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3563 { (eval echo configure:3564: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3585 3564 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3586 3565 if test -z "$ac_err"; then … … 3602 3581 #define $ac_tr_hdr 1 3603 3582 EOF 3604 3583 3605 3584 else 3606 3585 echo "$ac_t""no" 1>&6 … … 3612 3591 do 3613 3592 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3614 echo "configure:3 615: checking for $ac_func" >&53593 echo "configure:3594: checking for $ac_func" >&5 3615 3594 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3616 3595 echo $ac_n "(cached) $ac_c" 1>&6 3617 3596 else 3618 3597 cat > conftest.$ac_ext <<EOF 3619 #line 3 620"configure"3598 #line 3599 "configure" 3620 3599 #include "confdefs.h" 3621 3600 /* System header to define __stub macros and hopefully few prototypes, … … 3640 3619 ; return 0; } 3641 3620 EOF 3642 if { (eval echo configure:36 43: \"$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 3643 3622 rm -rf conftest* 3644 3623 eval "ac_cv_func_$ac_func=yes" … … 3658 3637 #define $ac_tr_func 1 3659 3638 EOF 3660 3639 3661 3640 else 3662 3641 echo "$ac_t""no" 1>&6 … … 3669 3648 do 3670 3649 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3671 echo "configure:36 72: checking for $ac_func" >&53650 echo "configure:3651: checking for $ac_func" >&5 3672 3651 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3673 3652 echo $ac_n "(cached) $ac_c" 1>&6 3674 3653 else 3675 3654 cat > conftest.$ac_ext <<EOF 3676 #line 36 77"configure"3655 #line 3656 "configure" 3677 3656 #include "confdefs.h" 3678 3657 /* System header to define __stub macros and hopefully few prototypes, … … 3697 3676 ; return 0; } 3698 3677 EOF 3699 if { (eval echo configure:3 700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3678 if { (eval echo configure:3679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3700 3679 rm -rf conftest* 3701 3680 eval "ac_cv_func_$ac_func=yes" … … 3715 3694 #define $ac_tr_func 1 3716 3695 EOF 3717 3696 3718 3697 else 3719 3698 echo "$ac_t""no" 1>&6 … … 3731 3710 if test $ac_cv_header_locale_h = yes; then 3732 3711 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6 3733 echo "configure:37 34: checking for LC_MESSAGES" >&53712 echo "configure:3713: checking for LC_MESSAGES" >&5 3734 3713 if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then 3735 3714 echo $ac_n "(cached) $ac_c" 1>&6 3736 3715 else 3737 3716 cat > conftest.$ac_ext <<EOF 3738 #line 37 39"configure"3717 #line 3718 "configure" 3739 3718 #include "confdefs.h" 3740 3719 #include <locale.h> … … 3743 3722 ; return 0; } 3744 3723 EOF 3745 if { (eval echo configure:37 46: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3724 if { (eval echo configure:3725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3746 3725 rm -rf conftest* 3747 3726 am_cv_val_LC_MESSAGES=yes … … 3764 3743 fi 3765 3744 echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6 3766 echo "configure:37 67: checking whether NLS is requested" >&53745 echo "configure:3746: checking whether NLS is requested" >&5 3767 3746 # Check whether --enable-nls or --disable-nls was given. 3768 3747 if test "${enable_nls+set}" = set; then … … 3774 3753 3775 3754 echo "$ac_t""$USE_NLS" 1>&6 3776 3755 3777 3756 3778 3757 USE_INCLUDED_LIBINTL=no … … 3784 3763 3785 3764 echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6 3786 echo "configure:37 87: checking whether included gettext is requested" >&53765 echo "configure:3766: checking whether included gettext is requested" >&5 3787 3766 # Check whether --with-included-gettext or --without-included-gettext was given. 3788 3767 if test "${with_included_gettext+set}" = set; then … … 3796 3775 3797 3776 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" 3777 echo "nls_cv_use_gnu_gettext:$nls_cv_use_gnu_gettext" >&5 3798 3778 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then 3799 3779 nls_cv_header_intl= … … 3803 3783 ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'` 3804 3784 echo $ac_n "checking for libintl.h""... $ac_c" 1>&6 3805 echo "configure:3 806: checking for libintl.h" >&53785 echo "configure:3786: checking for libintl.h" >&5 3806 3786 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3807 3787 echo $ac_n "(cached) $ac_c" 1>&6 … … 3809 3789 cat > conftest.$ac_ext <<EOF 3810 3790 #include <sys/types.h> 3811 #line 3 812 "configure"3791 #line 3792 "configure" 3812 3792 #include "confdefs.h" 3813 3793 #include <libintl.h> 3814 3794 EOF 3815 3795 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3816 { (eval echo configure:3 817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3796 { (eval echo configure:3797: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3817 3797 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3818 3798 if test -z "$ac_err"; then … … 3831 3811 echo "$ac_t""yes" 1>&6 3832 3812 echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6 3833 echo "configure:38 34: checking for gettext in libc" >&53813 echo "configure:3814: checking for gettext in libc" >&5 3834 3814 if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then 3835 3815 echo $ac_n "(cached) $ac_c" 1>&6 3836 3816 else 3837 3817 cat > conftest.$ac_ext <<EOF 3838 #line 38 39 "configure"3818 #line 3819 "configure" 3839 3819 #include "confdefs.h" 3840 3820 #include <libintl.h> … … 3843 3823 ; return 0; } 3844 3824 EOF 3845 if { (eval echo configure:38 46: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3825 if { (eval echo configure:3826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3846 3826 rm -rf conftest* 3847 3827 gt_cv_func_gettext_libc=yes … … 3858 3838 3859 3839 if test "$gt_cv_func_gettext_libc" != "yes"; then 3860 echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&63861 echo "configure:38 62: checking for bindtextdomain in -lintl" >&53840 echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6 3841 echo "configure:3842: checking for bindtextdomain in -lintl" >&5 3862 3842 ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'` 3863 3843 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3867 3847 LIBS="-lintl $LIBS" 3868 3848 cat > conftest.$ac_ext <<EOF 3869 #line 38 70 "configure"3849 #line 3850 "configure" 3870 3850 #include "confdefs.h" 3871 3851 /* Override any gcc2 internal prototype to avoid an error. */ … … 3878 3858 ; return 0; } 3879 3859 EOF 3880 if { (eval echo configure:38 81: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3860 if { (eval echo configure:3861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3881 3861 rm -rf conftest* 3882 3862 eval "ac_cv_lib_$ac_lib_var=yes" … … 3894 3874 echo "$ac_t""yes" 1>&6 3895 3875 echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6 3896 echo "configure:38 97: checking for gettext in libintl" >&53876 echo "configure:3877: checking for gettext in libintl" >&5 3897 3877 if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then 3898 3878 echo $ac_n "(cached) $ac_c" 1>&6 3899 3879 else 3900 cat > conftest.$ac_ext <<EOF 3901 #line 3902 "configure" 3880 ac_save_LIBS="$LIBS"; LIBS="-lintl $LIBS"; 3881 cat > conftest.$ac_ext <<EOF 3882 #line 3883 "configure" 3902 3883 #include "confdefs.h" 3903 3884 #include <libintl.h> 3904 3885 int main() { 3905 3886 return (int) gettext ("") 3906 3887 ; return 0; } 3907 3888 EOF 3908 if { (eval echo configure:3 909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3889 if { (eval echo configure:3890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3909 3890 rm -rf conftest* 3910 3891 gt_cv_func_gettext_libintl=yes … … 3916 3897 fi 3917 3898 rm -f conftest* 3899 LIBS="$ac_save_LIBS"; 3918 3900 fi 3919 3901 … … 3934 3916 set dummy msgfmt; ac_word=$2 3935 3917 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3936 echo "configure:39 37: checking for $ac_word" >&53918 echo "configure:3919: checking for $ac_word" >&5 3937 3919 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then 3938 3920 echo $ac_n "(cached) $ac_c" 1>&6 3939 3921 else 3940 3922 case "$MSGFMT" in 3941 /*)3923 [/\\]*|[a-zA-Z]:*) 3942 3924 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 3943 3925 ;; … … 3952 3934 fi 3953 3935 fi 3936 ac_word_saved="$ac_word" 3937 ac_word=$ac_word$ac_cv_exeext 3938 if test -f $ac_dir/$ac_word; then 3939 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then 3940 ac_cv_path_MSGFMT="$ac_dir/$ac_word" 3941 break 3942 fi 3943 fi 3944 ac_word="$ac_word_saved" 3954 3945 done 3955 3946 IFS="$ac_save_ifs" … … 3968 3959 do 3969 3960 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3970 echo "configure:39 71: checking for $ac_func" >&53961 echo "configure:3962: checking for $ac_func" >&5 3971 3962 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3972 3963 echo $ac_n "(cached) $ac_c" 1>&6 3973 3964 else 3974 3965 cat > conftest.$ac_ext <<EOF 3975 #line 39 76"configure"3966 #line 3967 "configure" 3976 3967 #include "confdefs.h" 3977 3968 /* System header to define __stub macros and hopefully few prototypes, … … 3996 3987 ; return 0; } 3997 3988 EOF 3998 if { (eval echo configure:399 9: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3989 if { (eval echo configure:3990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3999 3990 rm -rf conftest* 4000 3991 eval "ac_cv_func_$ac_func=yes" … … 4014 4005 #define $ac_tr_func 1 4015 4006 EOF 4016 4007 4017 4008 else 4018 4009 echo "$ac_t""no" 1>&6 … … 4023 4014 set dummy gmsgfmt; ac_word=$2 4024 4015 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4025 echo "configure:40 26: checking for $ac_word" >&54016 echo "configure:4017: checking for $ac_word" >&5 4026 4017 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then 4027 4018 echo $ac_n "(cached) $ac_c" 1>&6 4028 4019 else 4029 4020 case "$GMSGFMT" in 4030 /* | [a-zA-Z]:*)4021 [/\\]* | [a-zA-Z]:*) 4031 4022 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 4032 4023 ;; 4033 ?:/*) 4024 ?:/*) 4034 4025 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a dos path. 4035 4026 ;; … … 4037 4028 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 4038 4029 ac_dummy="$PATH" 4039 for ac_dir in $ac_dummy; do 4030 for ac_dir in $ac_dummy; do 4040 4031 test -z "$ac_dir" && ac_dir=. 4041 4032 if test -f $ac_dir/$ac_word; then … … 4063 4054 set dummy xgettext; ac_word=$2 4064 4055 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4065 echo "configure:40 66: checking for $ac_word" >&54056 echo "configure:4057: checking for $ac_word" >&5 4066 4057 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then 4067 4058 echo $ac_n "(cached) $ac_c" 1>&6 4068 4059 else 4069 4060 case "$XGETTEXT" in 4070 /*)4061 [/\\]*|[a-zA-Z]:*) 4071 4062 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 4072 4063 ;; … … 4081 4072 fi 4082 4073 fi 4074 ac_word_saved="$ac_word" 4075 ac_word=$ac_word$ac_cv_exeext 4076 if test -f $ac_dir/$ac_word; then 4077 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then 4078 ac_cv_path_XGETTEXT="$ac_dir/$ac_word" 4079 break 4080 fi 4081 fi 4082 ac_word="$ac_word_saved" 4083 4083 done 4084 4084 IFS="$ac_save_ifs" … … 4094 4094 fi 4095 4095 4096 4096 4097 cat > conftest.$ac_ext <<EOF 4097 #line 409 8"configure"4098 #line 4099 "configure" 4098 4099 #include "confdefs.h" 4099 4100 … … 4103 4104 ; return 0; } 4104 4105 EOF 4105 if { (eval echo configure:410 6: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4106 if { (eval echo configure:4107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4106 4107 rm -rf conftest* 4107 4108 CATOBJEXT=.gmo … … 4124 4125 4125 4126 4126 4127 4127 4128 if test "$CATOBJEXT" = "NONE"; then 4128 4129 nls_cv_use_gnu_gettext=yes 4130 echo "nls_cv_use_gnu_gettext:$nls_cv_use_gnu_gettext fallback" >&5 4129 4131 fi 4130 4132 fi … … 4135 4137 set dummy msgfmt; ac_word=$2 4136 4138 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4137 echo "configure:41 38: checking for $ac_word" >&54139 echo "configure:4140: checking for $ac_word" >&5 4138 4140 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then 4139 4141 echo $ac_n "(cached) $ac_c" 1>&6 4140 4142 else 4141 4143 case "$MSGFMT" in 4142 /*)4144 [/\\]*|[a-zA-Z]:*) 4143 4145 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 4144 4146 ;; … … 4153 4155 fi 4154 4156 fi 4157 ac_word_saved="$ac_word" 4158 ac_word=$ac_word$ac_cv_exeext 4159 if test -f $ac_dir/$ac_word; then 4160 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then 4161 ac_cv_path_MSGFMT="$ac_dir/$ac_word" 4162 break 4163 fi 4164 fi 4165 ac_word="$ac_word_saved" 4155 4166 done 4156 4167 IFS="$ac_save_ifs" … … 4169 4180 set dummy gmsgfmt; ac_word=$2 4170 4181 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4171 echo "configure:41 72: checking for $ac_word" >&54182 echo "configure:4183: checking for $ac_word" >&5 4172 4183 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then 4173 4184 echo $ac_n "(cached) $ac_c" 1>&6 4174 4185 else 4175 4186 case "$GMSGFMT" in 4176 /* | [a-zA-Z]:*)4187 [/\\]* | [a-zA-Z]:*) 4177 4188 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 4178 4189 ;; 4179 ?:/*) 4190 ?:/*) 4180 4191 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a dos path. 4181 4192 ;; … … 4183 4194 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 4184 4195 ac_dummy="$PATH" 4185 for ac_dir in $ac_dummy; do 4196 for ac_dir in $ac_dummy; do 4186 4197 test -z "$ac_dir" && ac_dir=. 4187 4198 if test -f $ac_dir/$ac_word; then … … 4209 4220 set dummy xgettext; ac_word=$2 4210 4221 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4211 echo "configure:42 12: checking for $ac_word" >&54222 echo "configure:4223: checking for $ac_word" >&5 4212 4223 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then 4213 4224 echo $ac_n "(cached) $ac_c" 1>&6 4214 4225 else 4215 4226 case "$XGETTEXT" in 4216 /*)4227 [/\\]*|[a-zA-Z]:*) 4217 4228 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 4218 4229 ;; … … 4227 4238 fi 4228 4239 fi 4240 ac_word_saved="$ac_word" 4241 ac_word=$ac_word$ac_cv_exeext 4242 if test -f $ac_dir/$ac_word; then 4243 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then 4244 ac_cv_path_XGETTEXT="$ac_dir/$ac_word" 4245 break 4246 fi 4247 fi 4248 ac_word="$ac_word_saved" 4229 4249 done 4230 4250 IFS="$ac_save_ifs" … … 4240 4260 fi 4241 4261 4242 4262 4243 4263 USE_INCLUDED_LIBINTL=yes 4244 4264 CATOBJEXT=.gmo … … 4250 4270 nls_cv_header_intl=libintl.h 4251 4271 nls_cv_header_libgt=libgettext.h 4272 else 4273 echo "dbg: else: gt_cv_func_gettext_libintl" >&5 4274 if test "$gt_cv_func_gettext_libintl" = "yes"; then 4275 echo "dbg: updating LIBS" >&5 4276 LIBS="-lintl $LIBS" 4277 INTLLIBS="-lintl" 4278 fi 4252 4279 fi 4253 4280 … … 4281 4308 done 4282 4309 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4295 4322 4296 4323 if test "x$CATOBJEXT" != "x"; then … … 4299 4326 else 4300 4327 echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6 4301 echo "configure:43 02: checking for catalogs to be installed" >&54328 echo "configure:4329: checking for catalogs to be installed" >&5 4302 4329 NEW_LINGUAS= 4303 4330 for lang in ${LINGUAS=$ALL_LINGUAS}; do … … 4321 4348 /* The system does not provide the header <locale.h>. Take care yourself. */" 4322 4349 fi 4323 4350 4324 4351 4325 4352 if test -f $srcdir/po2tbl.sed.in; then … … 4327 4354 ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'` 4328 4355 echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6 4329 echo "configure:43 30: checking for linux/version.h" >&54356 echo "configure:4357: checking for linux/version.h" >&5 4330 4357 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4331 4358 echo $ac_n "(cached) $ac_c" 1>&6 … … 4333 4360 cat > conftest.$ac_ext <<EOF 4334 4361 #include <sys/types.h> 4335 #line 43 36"configure"4362 #line 4363 "configure" 4336 4363 #include "confdefs.h" 4337 4364 #include <linux/version.h> 4338 4365 EOF 4339 4366 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4340 { (eval echo configure:43 41: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4367 { (eval echo configure:4368: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4341 4368 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4342 4369 if test -z "$ac_err"; then … … 4374 4401 GT_YES="#YES#" 4375 4402 fi 4376 4377 4403 4404 4378 4405 4379 4406 MKINSTALLDIRS="\$(srcdir)/../../mkinstalldirs" 4380 4407 4381 4408 4382 4409 l= 4383 4410 4384 4411 4385 4412 if test -f $srcdir/po/POTFILES.in; then … … 4398 4425 < $srcdir/po/POTFILES.in > po/POTFILES 4399 4426 fi 4400 4427 4401 4428 4402 4429 … … 4404 4431 4405 4432 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 4406 echo "configure:44 07: checking for executable suffix" >&54433 echo "configure:4434: checking for executable suffix" >&5 4407 4434 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 4408 4435 echo $ac_n "(cached) $ac_c" 1>&6 … … 4414 4441 echo 'int main () { return 0; }' > conftest.$ac_ext 4415 4442 ac_cv_exeext= 4416 if { (eval echo configure:44 17: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then4443 if { (eval echo configure:4444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 4417 4444 for file in conftest.*; do 4418 4445 case $file in … … 4440 4467 set dummy $ac_prog; ac_word=$2 4441 4468 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4442 echo "configure:44 43: checking for $ac_word" >&54469 echo "configure:4470: checking for $ac_word" >&5 4443 4470 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then 4444 4471 echo $ac_n "(cached) $ac_c" 1>&6 … … 4477 4504 set dummy $ac_prog; ac_word=$2 4478 4505 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4479 echo "configure:4 480: checking for $ac_word" >&54506 echo "configure:4507: checking for $ac_word" >&5 4480 4507 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then 4481 4508 echo $ac_n "(cached) $ac_c" 1>&6 … … 4511 4538 set dummy flex; ac_word=$2 4512 4539 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4513 echo "configure:45 14: checking for $ac_word" >&54540 echo "configure:4541: checking for $ac_word" >&5 4514 4541 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then 4515 4542 echo $ac_n "(cached) $ac_c" 1>&6 … … 4546 4573 esac 4547 4574 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6 4548 echo "configure:45 49: checking for yywrap in -l$ac_lib" >&54575 echo "configure:4576: checking for yywrap in -l$ac_lib" >&5 4549 4576 ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'` 4550 4577 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4554 4581 LIBS="-l$ac_lib $LIBS" 4555 4582 cat > conftest.$ac_ext <<EOF 4556 #line 45 57"configure"4583 #line 4584 "configure" 4557 4584 #include "confdefs.h" 4558 4585 /* Override any gcc2 internal prototype to avoid an error. */ … … 4565 4592 ; return 0; } 4566 4593 EOF 4567 if { (eval echo configure:45 68: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4594 if { (eval echo configure:4595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4568 4595 rm -rf conftest* 4569 4596 eval "ac_cv_lib_$ac_lib_var=yes" … … 4588 4615 4589 4616 echo $ac_n "checking lex output file root""... $ac_c" 1>&6 4590 echo "configure:4 591: checking lex output file root" >&54617 echo "configure:4618: checking lex output file root" >&5 4591 4618 if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then 4592 4619 echo $ac_n "(cached) $ac_c" 1>&6 … … 4609 4636 4610 4637 echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6 4611 echo "configure:46 12: checking whether yytext is a pointer" >&54638 echo "configure:4639: checking whether yytext is a pointer" >&5 4612 4639 if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then 4613 4640 echo $ac_n "(cached) $ac_c" 1>&6 … … 4621 4648 LIBS="$LIBS $LEXLIB" 4622 4649 cat > conftest.$ac_ext <<EOF 4623 #line 46 24"configure"4650 #line 4651 "configure" 4624 4651 #include "confdefs.h" 4625 4652 `cat $LEX_OUTPUT_ROOT.c` … … 4628 4655 ; return 0; } 4629 4656 EOF 4630 if { (eval echo configure:46 31: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4657 if { (eval echo configure:4658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4631 4658 rm -rf conftest* 4632 4659 ac_cv_prog_lex_yytext_pointer=yes … … 4651 4678 4652 4679 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 4653 echo "configure:46 54: checking whether to enable maintainer-specific portions of Makefiles" >&54680 echo "configure:4681: checking whether to enable maintainer-specific portions of Makefiles" >&5 4654 4681 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 4655 4682 if test "${enable_maintainer_mode+set}" = set; then … … 4661 4688 4662 4689 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6 4663 4690 4664 4691 4665 4692 if test $USE_MAINTAINER_MODE = yes; then … … 4671 4698 fi 4672 4699 MAINT=$MAINTAINER_MODE_TRUE 4673 4700 4674 4701 4675 4702 … … 4685 4712 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4686 4713 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4687 echo "configure:4 688: checking for $ac_hdr" >&54714 echo "configure:4715: checking for $ac_hdr" >&5 4688 4715 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4689 4716 echo $ac_n "(cached) $ac_c" 1>&6 … … 4691 4718 cat > conftest.$ac_ext <<EOF 4692 4719 #include <sys/types.h> 4693 #line 4 694"configure"4720 #line 4721 "configure" 4694 4721 #include "confdefs.h" 4695 4722 #include <$ac_hdr> 4696 4723 EOF 4697 4724 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4698 { (eval echo configure:4 699: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4725 { (eval echo configure:4726: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4699 4726 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4700 4727 if test -z "$ac_err"; then … … 4716 4743 #define $ac_tr_hdr 1 4717 4744 EOF 4718 4745 4719 4746 else 4720 4747 echo "$ac_t""no" 1>&6 … … 4725 4752 do 4726 4753 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4727 echo "configure:47 28: checking for $ac_func" >&54754 echo "configure:4755: checking for $ac_func" >&5 4728 4755 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4729 4756 echo $ac_n "(cached) $ac_c" 1>&6 4730 4757 else 4731 4758 cat > conftest.$ac_ext <<EOF 4732 #line 47 33"configure"4759 #line 4760 "configure" 4733 4760 #include "confdefs.h" 4734 4761 /* System header to define __stub macros and hopefully few prototypes, … … 4753 4780 ; return 0; } 4754 4781 EOF 4755 if { (eval echo configure:47 56: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4782 if { (eval echo configure:4783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4756 4783 rm -rf conftest* 4757 4784 eval "ac_cv_func_$ac_func=yes" … … 4771 4798 #define $ac_tr_func 1 4772 4799 EOF 4773 4800 4774 4801 else 4775 4802 echo "$ac_t""no" 1>&6 … … 4782 4809 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4783 4810 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 4784 echo "configure:4 785: checking for $ac_hdr that defines DIR" >&54811 echo "configure:4812: checking for $ac_hdr that defines DIR" >&5 4785 4812 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then 4786 4813 echo $ac_n "(cached) $ac_c" 1>&6 4787 4814 else 4788 4815 cat > conftest.$ac_ext <<EOF 4789 #line 4 790"configure"4816 #line 4817 "configure" 4790 4817 #include "confdefs.h" 4791 4818 #include <sys/types.h> … … 4795 4822 ; return 0; } 4796 4823 EOF 4797 if { (eval echo configure:4 798: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4824 if { (eval echo configure:4825: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4798 4825 rm -rf conftest* 4799 4826 eval "ac_cv_header_dirent_$ac_safe=yes" … … 4820 4847 if test $ac_header_dirent = dirent.h; then 4821 4848 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 4822 echo "configure:48 23: checking for opendir in -ldir" >&54849 echo "configure:4850: checking for opendir in -ldir" >&5 4823 4850 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` 4824 4851 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4828 4855 LIBS="-ldir $LIBS" 4829 4856 cat > conftest.$ac_ext <<EOF 4830 #line 48 31"configure"4857 #line 4858 "configure" 4831 4858 #include "confdefs.h" 4832 4859 /* Override any gcc2 internal prototype to avoid an error. */ … … 4839 4866 ; return 0; } 4840 4867 EOF 4841 if { (eval echo configure:48 42: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4868 if { (eval echo configure:4869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4842 4869 rm -rf conftest* 4843 4870 eval "ac_cv_lib_$ac_lib_var=yes" … … 4861 4888 else 4862 4889 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 4863 echo "configure:48 64: checking for opendir in -lx" >&54890 echo "configure:4891: checking for opendir in -lx" >&5 4864 4891 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` 4865 4892 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4869 4896 LIBS="-lx $LIBS" 4870 4897 cat > conftest.$ac_ext <<EOF 4871 #line 48 72"configure"4898 #line 4899 "configure" 4872 4899 #include "confdefs.h" 4873 4900 /* Override any gcc2 internal prototype to avoid an error. */ … … 4880 4907 ; return 0; } 4881 4908 EOF 4882 if { (eval echo configure:4 883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4909 if { (eval echo configure:4910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4883 4910 rm -rf conftest* 4884 4911 eval "ac_cv_lib_$ac_lib_var=yes" … … 4913 4940 4914 4941 echo $ac_n "checking whether strstr must be declared""... $ac_c" 1>&6 4915 echo "configure:49 16: checking whether strstr must be declared" >&54942 echo "configure:4943: checking whether strstr must be declared" >&5 4916 4943 if eval "test \"`echo '$''{'bfd_cv_decl_needed_strstr'+set}'`\" = set"; then 4917 4944 echo $ac_n "(cached) $ac_c" 1>&6 4918 4945 else 4919 4946 cat > conftest.$ac_ext <<EOF 4920 #line 49 21"configure"4947 #line 4948 "configure" 4921 4948 #include "confdefs.h" 4922 4949 … … 4939 4966 ; return 0; } 4940 4967 EOF 4941 if { (eval echo configure:49 42: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4968 if { (eval echo configure:4969: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4942 4969 rm -rf conftest* 4943 4970 bfd_cv_decl_needed_strstr=no … … 4960 4987 4961 4988 echo $ac_n "checking whether free must be declared""... $ac_c" 1>&6 4962 echo "configure:49 63: checking whether free must be declared" >&54989 echo "configure:4990: checking whether free must be declared" >&5 4963 4990 if eval "test \"`echo '$''{'bfd_cv_decl_needed_free'+set}'`\" = set"; then 4964 4991 echo $ac_n "(cached) $ac_c" 1>&6 4965 4992 else 4966 4993 cat > conftest.$ac_ext <<EOF 4967 #line 49 68"configure"4994 #line 4995 "configure" 4968 4995 #include "confdefs.h" 4969 4996 … … 4986 5013 ; return 0; } 4987 5014 EOF 4988 if { (eval echo configure: 4989: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5015 if { (eval echo configure:5016: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4989 5016 rm -rf conftest* 4990 5017 bfd_cv_decl_needed_free=no … … 5007 5034 5008 5035 echo $ac_n "checking whether sbrk must be declared""... $ac_c" 1>&6 5009 echo "configure:50 10: checking whether sbrk must be declared" >&55036 echo "configure:5037: checking whether sbrk must be declared" >&5 5010 5037 if eval "test \"`echo '$''{'bfd_cv_decl_needed_sbrk'+set}'`\" = set"; then 5011 5038 echo $ac_n "(cached) $ac_c" 1>&6 5012 5039 else 5013 5040 cat > conftest.$ac_ext <<EOF 5014 #line 50 15"configure"5041 #line 5042 "configure" 5015 5042 #include "confdefs.h" 5016 5043 … … 5033 5060 ; return 0; } 5034 5061 EOF 5035 if { (eval echo configure:50 36: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5062 if { (eval echo configure:5063: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5036 5063 rm -rf conftest* 5037 5064 bfd_cv_decl_needed_sbrk=no … … 5054 5081 5055 5082 echo $ac_n "checking whether getenv must be declared""... $ac_c" 1>&6 5056 echo "configure:50 57: checking whether getenv must be declared" >&55083 echo "configure:5084: checking whether getenv must be declared" >&5 5057 5084 if eval "test \"`echo '$''{'bfd_cv_decl_needed_getenv'+set}'`\" = set"; then 5058 5085 echo $ac_n "(cached) $ac_c" 1>&6 5059 5086 else 5060 5087 cat > conftest.$ac_ext <<EOF 5061 #line 50 62"configure"5088 #line 5089 "configure" 5062 5089 #include "confdefs.h" 5063 5090 … … 5080 5107 ; return 0; } 5081 5108 EOF 5082 if { (eval echo configure:5 083: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5109 if { (eval echo configure:5110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5083 5110 rm -rf conftest* 5084 5111 bfd_cv_decl_needed_getenv=no … … 5101 5128 5102 5129 echo $ac_n "checking whether environ must be declared""... $ac_c" 1>&6 5103 echo "configure:51 04: checking whether environ must be declared" >&55130 echo "configure:5131: checking whether environ must be declared" >&5 5104 5131 if eval "test \"`echo '$''{'bfd_cv_decl_needed_environ'+set}'`\" = set"; then 5105 5132 echo $ac_n "(cached) $ac_c" 1>&6 5106 5133 else 5107 5134 cat > conftest.$ac_ext <<EOF 5108 #line 51 09"configure"5135 #line 5136 "configure" 5109 5136 #include "confdefs.h" 5110 5137 … … 5127 5154 ; return 0; } 5128 5155 EOF 5129 if { (eval echo configure:51 30: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5156 if { (eval echo configure:5157: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5130 5157 rm -rf conftest* 5131 5158 bfd_cv_decl_needed_environ=no … … 5155 5182 # support string concatenation. 5156 5183 echo $ac_n "checking whether ANSI C string concatenation works""... $ac_c" 1>&6 5157 echo "configure:51 58: checking whether ANSI C string concatenation works" >&55184 echo "configure:5185: checking whether ANSI C string concatenation works" >&5 5158 5185 if eval "test \"`echo '$''{'ld_cv_string_concatenation'+set}'`\" = set"; then 5159 5186 echo $ac_n "(cached) $ac_c" 1>&6 5160 5187 else 5161 5188 cat > conftest.$ac_ext <<EOF 5162 #line 51 63"configure"5189 #line 5190 "configure" 5163 5190 #include "confdefs.h" 5164 5191 … … 5167 5194 ; return 0; } 5168 5195 EOF 5169 if { (eval echo configure:51 70: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then5196 if { (eval echo configure:5197: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5170 5197 rm -rf conftest* 5171 5198 ld_cv_string_concatenation=yes … … 5449 5476 s%@build_vendor@%$build_vendor%g 5450 5477 s%@build_os@%$build_os%g 5478 s%@CC@%$CC%g 5451 5479 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g 5452 5480 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g … … 5460 5488 s%@MAKEINFO@%$MAKEINFO%g 5461 5489 s%@SET_MAKE@%$SET_MAKE%g 5462 s%@CC@%$CC%g5463 5490 s%@LN_S@%$LN_S%g 5464 5491 s%@OBJEXT@%$OBJEXT%g … … 5582 5609 if test -z "$ac_dots"; then top_srcdir=. 5583 5610 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; 5584 /* | [A-Za-z]:*)5611 [/\\]* | [a-zA-Z]:*) 5585 5612 srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; 5586 5613 *) # Relative path. … … 5590 5617 5591 5618 case "$ac_given_INSTALL" in 5592 [/$ ]* | [A-Za-z]:*) INSTALL="$ac_given_INSTALL" ;;5619 [/$\\]* | [A-Za-z]:*) INSTALL="$ac_given_INSTALL" ;; 5593 5620 *) INSTALL="$ac_dots$ac_given_INSTALL" ;; 5594 5621 esac -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.