Changeset 18345 for gsdl/trunk/common-src
- Timestamp:
- 2009-01-11T19:46:44+13:00 (15 years ago)
- Location:
- gsdl/trunk/common-src/packages/gdbm/gdbm-1.8.3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/common-src/packages/gdbm/gdbm-1.8.3/Makefile.in
r18038 r18345 27 27 LIBS = @LIBS@ -lc 28 28 29 CFLAGS = @CFLAGS@ 30 LDFLAGS = @LDFLAGS@ 29 CFLAGS = @CFLAGS@ @COMPAT32BITFLAGS@ 30 LDFLAGS = @LDFLAGS@ @COMPAT32BITFLAGS@ 31 31 32 32 # Common prefix for installation directories … … 115 115 proto.h 116 116 117 MSCFILES = COPYING ChangeLog Makefile.in README gdbm.3 gdbm.texinfo \ 118 gdbm.info NEWS INSTALL gdbm.proto gdbm.proto2 conv2gdbm.c \ 117 #MSCFILES = COPYING ChangeLog Makefile.in README gdbm.3 gdbm.texinfo \ 118 # gdbm.info NEWS INSTALL gdbm.proto gdbm.proto2 conv2gdbm.c \ 119 # configure configure.in getopt.c getopt.h samp1.cc \ 120 # autoconf.h.in install-sh mkinstalldirs config.guess config.sub \ 121 # aclocal.m4 ltconfig ltmain.sh 122 123 MSCFILES = COPYING ChangeLog Makefile.in README gdbm.3 \ 124 NEWS INSTALL gdbm.proto gdbm.proto2 conv2gdbm.c \ 119 125 configure configure.in getopt.c getopt.h samp1.cc \ 120 126 autoconf.h.in install-sh mkinstalldirs config.guess config.sub \ … … 127 133 progs: $(PROGS) 128 134 129 install: libgdbm.la gdbm.h gdbm.info 135 #install: libgdbm.la gdbm.h gdbm.info 136 install: libgdbm.la gdbm.h 130 137 $(srcdir)/mkinstalldirs $(INSTALL_ROOT)$(libdir) \ 131 138 $(INSTALL_ROOT)$(includedir) $(INSTALL_ROOT)$(man3dir) \ … … 136 143 $(INSTALL_DATA) $(srcdir)/gdbm.3 \ 137 144 $(INSTALL_ROOT)$(man3dir)/gdbm.3 138 $(INSTALL_DATA) $(srcdir)/gdbm.info \139 $(INSTALL_ROOT)$(infodir)/gdbm.info145 # $(INSTALL_DATA) $(srcdir)/gdbm.info \ 146 # $(INSTALL_ROOT)$(infodir)/gdbm.info 140 147 141 148 install-compat: … … 156 163 libgdbm.la: $(LOBJS) gdbm.h 157 164 rm -f libgdbm.la 158 $(LIBTOOL) --mode=link $(CC) -o libgdbm.la -rpath $(libdir) \ 165 ## $(CC) -shared $(LDFLAGS) -o libgdbm.so $(LOBJS) 166 $(LIBTOOL) --mode=link $(CC) -Wc,$(LDFLAGS) -o libgdbm.la -rpath $(libdir) \ 159 167 -version-info $(SHLIB_VER) $(LOBJS) 160 168 161 169 libgdbm_compat.la: $(C_LOBJS) gdbm.h 162 170 rm -f libgdbm_compat.la 163 $(LIBTOOL) --mode=link $(CC) -o libgdbm_compat.la -rpath $(libdir) \ 171 ## $(CC) -shared $(LDFLAGS) -o libgdbm_compat.so $(C_LOBJS) 172 $(LIBTOOL) --mode=link $(CC) -Wc,$(LDFLAGS) -o libgdbm_compat.la -rpath $(libdir) \ 164 173 -version-info $(SHLIB_VER) $(C_LOBJS) 165 174 … … 204 213 etags $(SRCS) 205 214 206 info: gdbm.info207 208 gdbm.info: gdbm.texinfo209 $(MAKEINFO) $(srcdir)/gdbm.texinfo210 211 dvi: gdbm.dvi212 213 gdbm.dvi: gdbm.texinfo214 $(TEXI2DVI) $(srcdir)/gdbm.texinfo215 #info: gdbm.info 216 217 #gdbm.info: gdbm.texinfo 218 # $(MAKEINFO) $(srcdir)/gdbm.texinfo 219 220 #dvi: gdbm.dvi 221 222 #gdbm.dvi: gdbm.texinfo 223 # $(TEXI2DVI) $(srcdir)/gdbm.texinfo 215 224 216 225 clean: -
gsdl/trunk/common-src/packages/gdbm/gdbm-1.8.3/configure
r18019 r18345 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.5 4for gdbm 1.8.3.3 # Generated by GNU Autoconf 2.59 for gdbm 1.8.3. 4 4 # 5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 6 # Free Software Foundation, Inc. 5 # Copyright (C) 2003 Free Software Foundation, Inc. 7 6 # This configure script is free software; the Free Software Foundation 8 7 # gives unlimited permission to copy, distribute and modify it. … … 21 20 set -o posix 22 21 fi 22 DUALCASE=1; export DUALCASE # for MKS sh 23 23 24 24 # Support unset when possible. 25 if ( FOO=FOO; unset FOO) >/dev/null 2>&1; then25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26 26 as_unset=unset 27 27 else … … 37 37 38 38 # NLS nuisances. 39 for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME 39 for as_var in \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 42 LC_TELEPHONE LC_TIME 40 43 do 41 if (set +x; test - n"`(eval $as_var=C; export $as_var) 2>&1`"); then44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 42 45 eval $as_var=C; export $as_var 43 46 else … … 83 86 # The user is always right. 84 87 if test "${PATH_SEPARATOR+set}" != set; then 85 echo "#! /bin/sh" >conf test.sh86 echo "exit 0" >>conf test.sh87 chmod +x conf test.sh88 if (PATH="/nonexistent;."; conf test.sh) >/dev/null 2>&1; then88 echo "#! /bin/sh" >conf$$.sh 89 echo "exit 0" >>conf$$.sh 90 chmod +x conf$$.sh 91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 89 92 PATH_SEPARATOR=';' 90 93 else 91 94 PATH_SEPARATOR=: 92 95 fi 93 rm -f conf test.sh96 rm -f conf$$.sh 94 97 fi 95 98 … … 216 219 as_mkdir_p=: 217 220 else 221 test -d ./-p && rmdir ./-p 218 222 as_mkdir_p=false 219 223 fi … … 222 226 223 227 # Sed expression to map a string onto a valid CPP name. 224 as_tr_cpp=" sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 225 229 226 230 # Sed expression to map a string onto a valid variable name. 227 as_tr_sh=" sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 228 232 229 233 … … 465 469 #endif" 466 470 467 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP EGREP LIBTOOLLIBOBJS LTLIBOBJS'471 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S ECHO RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP EGREP LIBTOOL COMPAT32BITFLAGS LIBOBJS LTLIBOBJS' 468 472 ac_subst_files='' 469 473 … … 824 828 # Be sure to have absolute paths. 825 829 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 826 830 localstatedir libdir includedir oldincludedir infodir mandir 827 831 do 828 832 eval ac_val=$`echo $ac_var` … … 864 868 ac_confdir=`(dirname "$0") 2>/dev/null || 865 869 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 866 867 868 869 870 X"$0" : 'X\(//\)[^/]' \| \ 871 X"$0" : 'X\(//\)$' \| \ 872 X"$0" : 'X\(/\)' \| \ 873 . : '\(.\)' 2>/dev/null || 870 874 echo X"$0" | 871 875 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 959 963 Installation directories: 960 964 --prefix=PREFIX install architecture-independent files in PREFIX 961 965 [$ac_default_prefix] 962 966 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 963 967 [PREFIX] 964 968 965 969 By default, \`make install' will install all the files in … … 990 994 --build=BUILD configure for building on BUILD [guessed] 991 995 --host=HOST cross-compile to build programs to run on HOST [BUILD] 996 --target=TARGET configure for building compilers for TARGET [HOST] 992 997 _ACEOF 993 998 fi … … 1058 1063 ac_top_srcdir=$ac_top_builddir$srcdir ;; 1059 1064 esac 1060 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 1061 # absolute. 1062 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 1063 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 1064 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 1065 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 1065 1066 # Do not use `cd foo && pwd` to compute absolute paths, because 1067 # the directories may not exist. 1068 case `pwd` in 1069 .) ac_abs_builddir="$ac_dir";; 1070 *) 1071 case "$ac_dir" in 1072 .) ac_abs_builddir=`pwd`;; 1073 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 1074 *) ac_abs_builddir=`pwd`/"$ac_dir";; 1075 esac;; 1076 esac 1077 case $ac_abs_builddir in 1078 .) ac_abs_top_builddir=${ac_top_builddir}.;; 1079 *) 1080 case ${ac_top_builddir}. in 1081 .) ac_abs_top_builddir=$ac_abs_builddir;; 1082 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 1083 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 1084 esac;; 1085 esac 1086 case $ac_abs_builddir in 1087 .) ac_abs_srcdir=$ac_srcdir;; 1088 *) 1089 case $ac_srcdir in 1090 .) ac_abs_srcdir=$ac_abs_builddir;; 1091 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 1092 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 1093 esac;; 1094 esac 1095 case $ac_abs_builddir in 1096 .) ac_abs_top_srcdir=$ac_top_srcdir;; 1097 *) 1098 case $ac_top_srcdir in 1099 .) ac_abs_top_srcdir=$ac_abs_builddir;; 1100 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 1101 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 1102 esac;; 1103 esac 1066 1104 1067 1105 cd $ac_dir … … 1074 1112 $SHELL $ac_srcdir/configure --help=recursive 1075 1113 elif test -f $ac_srcdir/configure.ac || 1076 1114 test -f $ac_srcdir/configure.in; then 1077 1115 echo 1078 1116 $ac_configure --help … … 1088 1126 cat <<\_ACEOF 1089 1127 gdbm configure 1.8.3 1090 generated by GNU Autoconf 2.54 1091 1092 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 1093 Free Software Foundation, Inc. 1128 generated by GNU Autoconf 2.59 1129 1130 Copyright (C) 2003 Free Software Foundation, Inc. 1094 1131 This configure script is free software; the Free Software Foundation 1095 1132 gives unlimited permission to copy, distribute and modify it. … … 1103 1140 1104 1141 It was created by gdbm $as_me 1.8.3, which was 1105 generated by GNU Autoconf 2.5 4. Invocation command line was1142 generated by GNU Autoconf 2.59. Invocation command line was 1106 1143 1107 1144 $ $0 $@ … … 1155 1192 # Keep a trace of the command line. 1156 1193 # Strip out --no-create and --no-recursion so they do not pile up. 1194 # Strip out --silent because we don't want to record it for future runs. 1157 1195 # Also quote any args containing shell meta-characters. 1196 # Make two passes to allow for proper duplicate-argument suppression. 1158 1197 ac_configure_args= 1198 ac_configure_args0= 1199 ac_configure_args1= 1159 1200 ac_sep= 1160 for ac_arg 1201 ac_must_keep_next=false 1202 for ac_pass in 1 2 1161 1203 do 1162 case $ac_arg in 1163 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1164 | --no-cr | --no-c | -n ) continue ;; 1165 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1166 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1167 continue ;; 1168 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1169 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1170 esac 1171 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1172 # Get rid of the leading space. 1173 ac_sep=" " 1204 for ac_arg 1205 do 1206 case $ac_arg in 1207 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1208 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1209 | -silent | --silent | --silen | --sile | --sil) 1210 continue ;; 1211 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1212 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1213 esac 1214 case $ac_pass in 1215 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1216 2) 1217 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1218 if test $ac_must_keep_next = true; then 1219 ac_must_keep_next=false # Got value, back to normal. 1220 else 1221 case $ac_arg in 1222 *=* | --config-cache | -C | -disable-* | --disable-* \ 1223 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1224 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1225 | -with-* | --with-* | -without-* | --without-* | --x) 1226 case "$ac_configure_args0 " in 1227 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1228 esac 1229 ;; 1230 -* ) ac_must_keep_next=true ;; 1231 esac 1232 fi 1233 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1234 # Get rid of the leading space. 1235 ac_sep=" " 1236 ;; 1237 esac 1238 done 1174 1239 done 1240 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1241 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1175 1242 1176 1243 # When interrupted or exit'd, cleanup temporary files, and complete … … 1196 1263 *ac_space=\ *) 1197 1264 sed -n \ 1198 1199 1265 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1266 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1200 1267 ;; 1201 1268 *) 1202 1269 sed -n \ 1203 1270 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1204 1271 ;; 1205 1272 esac; … … 1230 1297 do 1231 1298 eval ac_val=$`echo $ac_var` 1232 1299 echo "$ac_var='"'"'$ac_val'"'"'" 1233 1300 done | sort 1234 1301 echo … … 1249 1316 echo "$as_me: exit $exit_status" 1250 1317 } >&5 1251 rm -f core core.**.core &&1318 rm -f core *.core && 1252 1319 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1253 1320 exit $exit_status … … 1329 1396 ac_cache_corrupted=false 1330 1397 for ac_var in `(set) 2>&1 | 1331 1398 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1332 1399 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1333 1400 eval ac_new_set=\$ac_env_${ac_var}_set … … 1346 1413 *) 1347 1414 if test "x$ac_old_val" != "x$ac_new_val"; then 1348 1415 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1349 1416 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1350 1417 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1351 1418 echo "$as_me: former value: $ac_old_val" >&2;} 1352 1419 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1353 1420 echo "$as_me: current value: $ac_new_val" >&2;} 1354 1421 ac_cache_corrupted=: 1355 1422 fi;; 1356 1423 esac … … 1412 1479 ac_config_headers="$ac_config_headers autoconf.h" 1413 1480 1481 1482 ac_aux_dir= 1483 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 1484 if test -f $ac_dir/install-sh; then 1485 ac_aux_dir=$ac_dir 1486 ac_install_sh="$ac_aux_dir/install-sh -c" 1487 break 1488 elif test -f $ac_dir/install.sh; then 1489 ac_aux_dir=$ac_dir 1490 ac_install_sh="$ac_aux_dir/install.sh -c" 1491 break 1492 elif test -f $ac_dir/shtool; then 1493 ac_aux_dir=$ac_dir 1494 ac_install_sh="$ac_aux_dir/shtool install -c" 1495 break 1496 fi 1497 done 1498 if test -z "$ac_aux_dir"; then 1499 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1500 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 1501 { (exit 1); exit 1; }; } 1502 fi 1503 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1504 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1505 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1506 1507 # Make sure we can run config.sub. 1508 $ac_config_sub sun4 >/dev/null 2>&1 || 1509 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 1510 echo "$as_me: error: cannot run $ac_config_sub" >&2;} 1511 { (exit 1); exit 1; }; } 1512 1513 echo "$as_me:$LINENO: checking build system type" >&5 1514 echo $ECHO_N "checking build system type... $ECHO_C" >&6 1515 if test "${ac_cv_build+set}" = set; then 1516 echo $ECHO_N "(cached) $ECHO_C" >&6 1517 else 1518 ac_cv_build_alias=$build_alias 1519 test -z "$ac_cv_build_alias" && 1520 ac_cv_build_alias=`$ac_config_guess` 1521 test -z "$ac_cv_build_alias" && 1522 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1523 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1524 { (exit 1); exit 1; }; } 1525 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 1526 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 1527 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 1528 { (exit 1); exit 1; }; } 1529 1530 fi 1531 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1532 echo "${ECHO_T}$ac_cv_build" >&6 1533 build=$ac_cv_build 1534 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1535 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1536 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1537 1538 1539 echo "$as_me:$LINENO: checking host system type" >&5 1540 echo $ECHO_N "checking host system type... $ECHO_C" >&6 1541 if test "${ac_cv_host+set}" = set; then 1542 echo $ECHO_N "(cached) $ECHO_C" >&6 1543 else 1544 ac_cv_host_alias=$host_alias 1545 test -z "$ac_cv_host_alias" && 1546 ac_cv_host_alias=$ac_cv_build_alias 1547 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 1548 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 1549 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 1550 { (exit 1); exit 1; }; } 1551 1552 fi 1553 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1554 echo "${ECHO_T}$ac_cv_host" >&6 1555 host=$ac_cv_host 1556 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1557 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1558 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1559 1560 1561 echo "$as_me:$LINENO: checking target system type" >&5 1562 echo $ECHO_N "checking target system type... $ECHO_C" >&6 1563 if test "${ac_cv_target+set}" = set; then 1564 echo $ECHO_N "(cached) $ECHO_C" >&6 1565 else 1566 ac_cv_target_alias=$target_alias 1567 test "x$ac_cv_target_alias" = "x" && 1568 ac_cv_target_alias=$ac_cv_host_alias 1569 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || 1570 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 1571 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} 1572 { (exit 1); exit 1; }; } 1573 1574 fi 1575 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1576 echo "${ECHO_T}$ac_cv_target" >&6 1577 target=$ac_cv_target 1578 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1579 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1580 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1581 1582 1583 # The aliases save the names the user supplied, while $host etc. 1584 # will get canonicalized. 1585 test -n "$target_alias" && 1586 test "$program_prefix$program_suffix$program_transform_name" = \ 1587 NONENONEs,x,x, && 1588 program_prefix=${target_alias}- 1589 1414 1590 ac_ext=c 1415 1591 ac_cpp='$CPP $CPPFLAGS' … … 1721 1897 1722 1898 1723 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5 1724 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;} 1899 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1900 See \`config.log' for more details." >&5 1901 echo "$as_me: error: no acceptable C compiler found in \$PATH 1902 See \`config.log' for more details." >&2;} 1725 1903 { (exit 1); exit 1; }; } 1726 1904 … … 1746 1924 1747 1925 cat >conftest.$ac_ext <<_ACEOF 1748 #line $LINENO "configure" 1749 #include "confdefs.h" 1926 /* confdefs.h. */ 1927 _ACEOF 1928 cat confdefs.h >>conftest.$ac_ext 1929 cat >>conftest.$ac_ext <<_ACEOF 1930 /* end confdefs.h. */ 1750 1931 1751 1932 int … … 1758 1939 _ACEOF 1759 1940 ac_clean_files_save=$ac_clean_files 1760 ac_clean_files="$ac_clean_files a.out a.exe "1941 ac_clean_files="$ac_clean_files a.out a.exe b.out" 1761 1942 # Try to create an executable without -o first, disregard a.out. 1762 1943 # It will help us diagnose broken compilers, and finding out an intuition 1763 1944 # of exeext. 1764 echo "$as_me:$LINENO: checking for C compiler default output " >&51765 echo $ECHO_N "checking for C compiler default output ... $ECHO_C" >&61945 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 1946 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 1766 1947 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1767 1948 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 … … 1777 1958 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1778 1959 ac_cv_exeext= 1779 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.*; do 1960 # b.out is created by i960 compilers. 1961 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 1962 do 1780 1963 test -f "$ac_file" || continue 1781 1964 case $ac_file in 1782 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 1783 a.out ) # We found the default executable, but exeext='' is most 1784 # certainly right. 1785 break;; 1786 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1787 # FIXME: I believe we export ac_cv_exeext for Libtool --akim. 1788 export ac_cv_exeext 1789 break;; 1790 * ) break;; 1965 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1966 ;; 1967 conftest.$ac_ext ) 1968 # This is the source file. 1969 ;; 1970 [ab].out ) 1971 # We found the default executable, but exeext='' is most 1972 # certainly right. 1973 break;; 1974 *.* ) 1975 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1976 # FIXME: I believe we export ac_cv_exeext for Libtool, 1977 # but it would be cool to find out if it's true. Does anybody 1978 # maintain Libtool? --akim. 1979 export ac_cv_exeext 1980 break;; 1981 * ) 1982 break;; 1791 1983 esac 1792 1984 done 1793 1985 else 1794 1986 echo "$as_me: failed program was:" >&5 1795 cat conftest.$ac_ext >&5 1987 sed 's/^/| /' conftest.$ac_ext >&5 1988 1796 1989 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 1797 check \`config.log' fordetails." >&51990 See \`config.log' for more details." >&5 1798 1991 echo "$as_me: error: C compiler cannot create executables 1799 check \`config.log' fordetails." >&2;}1992 See \`config.log' for more details." >&2;} 1800 1993 { (exit 77); exit 77; }; } 1801 1994 fi … … 1824 2017 else 1825 2018 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 1826 If you meant to cross compile, use \`--host'." >&5 2019 If you meant to cross compile, use \`--host'. 2020 See \`config.log' for more details." >&5 1827 2021 echo "$as_me: error: cannot run C compiled programs. 1828 If you meant to cross compile, use \`--host'." >&2;} 2022 If you meant to cross compile, use \`--host'. 2023 See \`config.log' for more details." >&2;} 1829 2024 { (exit 1); exit 1; }; } 1830 2025 fi … … 1834 2029 echo "${ECHO_T}yes" >&6 1835 2030 1836 rm -f a.out a.exe conftest$ac_cv_exeext 2031 rm -f a.out a.exe conftest$ac_cv_exeext b.out 1837 2032 ac_clean_files=$ac_clean_files_save 1838 2033 # Check the compiler produces executables we can run. If not, either … … 1859 2054 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 1860 2055 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1861 1862 2056 export ac_cv_exeext 2057 break;; 1863 2058 * ) break;; 1864 2059 esac 1865 2060 done 1866 2061 else 1867 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5 1868 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;} 2062 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2063 See \`config.log' for more details." >&5 2064 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2065 See \`config.log' for more details." >&2;} 1869 2066 { (exit 1); exit 1; }; } 1870 2067 fi … … 1883 2080 else 1884 2081 cat >conftest.$ac_ext <<_ACEOF 1885 #line $LINENO "configure" 1886 #include "confdefs.h" 2082 /* confdefs.h. */ 2083 _ACEOF 2084 cat confdefs.h >>conftest.$ac_ext 2085 cat >>conftest.$ac_ext <<_ACEOF 2086 /* end confdefs.h. */ 1887 2087 1888 2088 int … … 1909 2109 else 1910 2110 echo "$as_me: failed program was:" >&5 1911 cat conftest.$ac_ext >&5 1912 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5 1913 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;} 2111 sed 's/^/| /' conftest.$ac_ext >&5 2112 2113 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2114 See \`config.log' for more details." >&5 2115 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2116 See \`config.log' for more details." >&2;} 1914 2117 { (exit 1); exit 1; }; } 1915 2118 fi … … 1927 2130 else 1928 2131 cat >conftest.$ac_ext <<_ACEOF 1929 #line $LINENO "configure" 1930 #include "confdefs.h" 2132 /* confdefs.h. */ 2133 _ACEOF 2134 cat confdefs.h >>conftest.$ac_ext 2135 cat >>conftest.$ac_ext <<_ACEOF 2136 /* end confdefs.h. */ 1931 2137 1932 2138 int … … 1943 2149 rm -f conftest.$ac_objext 1944 2150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1945 (eval $ac_compile) 2>&5 1946 ac_status=$? 2151 (eval $ac_compile) 2>conftest.er1 2152 ac_status=$? 2153 grep -v '^ *+' conftest.er1 >conftest.err 2154 rm -f conftest.er1 2155 cat conftest.err >&5 1947 2156 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1948 2157 (exit $ac_status); } && 1949 { ac_try='test -s conftest.$ac_objext' 2158 { ac_try='test -z "$ac_c_werror_flag" 2159 || test ! -s conftest.err' 1950 2160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1951 2161 (eval $ac_try) 2>&5 1952 2162 ac_status=$? 1953 2163 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2164 (exit $ac_status); }; } && 2165 { ac_try='test -s conftest.$ac_objext' 2166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2167 (eval $ac_try) 2>&5 2168 ac_status=$? 2169 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1954 2170 (exit $ac_status); }; }; then 1955 2171 ac_compiler_gnu=yes 1956 2172 else 1957 2173 echo "$as_me: failed program was:" >&5 1958 cat conftest.$ac_ext >&5 2174 sed 's/^/| /' conftest.$ac_ext >&5 2175 1959 2176 ac_compiler_gnu=no 1960 2177 fi 1961 rm -f conftest. $ac_objext conftest.$ac_ext2178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 1962 2179 ac_cv_c_compiler_gnu=$ac_compiler_gnu 1963 2180 … … 1975 2192 else 1976 2193 cat >conftest.$ac_ext <<_ACEOF 1977 #line $LINENO "configure" 1978 #include "confdefs.h" 2194 /* confdefs.h. */ 2195 _ACEOF 2196 cat confdefs.h >>conftest.$ac_ext 2197 cat >>conftest.$ac_ext <<_ACEOF 2198 /* end confdefs.h. */ 1979 2199 1980 2200 int … … 1988 2208 rm -f conftest.$ac_objext 1989 2209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1990 (eval $ac_compile) 2>&5 1991 ac_status=$? 2210 (eval $ac_compile) 2>conftest.er1 2211 ac_status=$? 2212 grep -v '^ *+' conftest.er1 >conftest.err 2213 rm -f conftest.er1 2214 cat conftest.err >&5 1992 2215 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1993 2216 (exit $ac_status); } && 1994 { ac_try='test -s conftest.$ac_objext' 2217 { ac_try='test -z "$ac_c_werror_flag" 2218 || test ! -s conftest.err' 1995 2219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1996 2220 (eval $ac_try) 2>&5 1997 2221 ac_status=$? 1998 2222 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2223 (exit $ac_status); }; } && 2224 { ac_try='test -s conftest.$ac_objext' 2225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2226 (eval $ac_try) 2>&5 2227 ac_status=$? 2228 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1999 2229 (exit $ac_status); }; }; then 2000 2230 ac_cv_prog_cc_g=yes 2001 2231 else 2002 2232 echo "$as_me: failed program was:" >&5 2003 cat conftest.$ac_ext >&5 2233 sed 's/^/| /' conftest.$ac_ext >&5 2234 2004 2235 ac_cv_prog_cc_g=no 2005 2236 fi 2006 rm -f conftest. $ac_objext conftest.$ac_ext2237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2007 2238 fi 2008 2239 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 … … 2031 2262 ac_save_CC=$CC 2032 2263 cat >conftest.$ac_ext <<_ACEOF 2033 #line $LINENO "configure" 2034 #include "confdefs.h" 2264 /* confdefs.h. */ 2265 _ACEOF 2266 cat confdefs.h >>conftest.$ac_ext 2267 cat >>conftest.$ac_ext <<_ACEOF 2268 /* end confdefs.h. */ 2035 2269 #include <stdarg.h> 2036 2270 #include <stdio.h> … … 2055 2289 return s; 2056 2290 } 2291 2292 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2293 function prototypes and stuff, but not '\xHH' hex character constants. 2294 These don't provoke an error unfortunately, instead are silently treated 2295 as 'x'. The following induces an error, until -std1 is added to get 2296 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2297 array size at least. It's necessary to write '\x00'==0 to get something 2298 that's true only with -std1. */ 2299 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2300 2057 2301 int test (int i, double x); 2058 2302 struct s1 {int (*f) (int a);}; … … 2081 2325 rm -f conftest.$ac_objext 2082 2326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2083 (eval $ac_compile) 2>&5 2084 ac_status=$? 2327 (eval $ac_compile) 2>conftest.er1 2328 ac_status=$? 2329 grep -v '^ *+' conftest.er1 >conftest.err 2330 rm -f conftest.er1 2331 cat conftest.err >&5 2085 2332 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2086 2333 (exit $ac_status); } && 2087 { ac_try='test -s conftest.$ac_objext' 2334 { ac_try='test -z "$ac_c_werror_flag" 2335 || test ! -s conftest.err' 2336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2337 (eval $ac_try) 2>&5 2338 ac_status=$? 2339 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2340 (exit $ac_status); }; } && 2341 { ac_try='test -s conftest.$ac_objext' 2088 2342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2089 2343 (eval $ac_try) 2>&5 … … 2095 2349 else 2096 2350 echo "$as_me: failed program was:" >&5 2097 cat conftest.$ac_ext >&5 2098 fi 2099 rm -f conftest.$ac_objext 2351 sed 's/^/| /' conftest.$ac_ext >&5 2352 2353 fi 2354 rm -f conftest.err conftest.$ac_objext 2100 2355 done 2101 2356 rm -f conftest.$ac_ext conftest.$ac_objext … … 2125 2380 rm -f conftest.$ac_objext 2126 2381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2127 (eval $ac_compile) 2>&5 2128 ac_status=$? 2382 (eval $ac_compile) 2>conftest.er1 2383 ac_status=$? 2384 grep -v '^ *+' conftest.er1 >conftest.err 2385 rm -f conftest.er1 2386 cat conftest.err >&5 2129 2387 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2130 2388 (exit $ac_status); } && 2131 { ac_try='test -s conftest.$ac_objext' 2389 { ac_try='test -z "$ac_c_werror_flag" 2390 || test ! -s conftest.err' 2132 2391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2133 2392 (eval $ac_try) 2>&5 2134 2393 ac_status=$? 2135 2394 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2395 (exit $ac_status); }; } && 2396 { ac_try='test -s conftest.$ac_objext' 2397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2398 (eval $ac_try) 2>&5 2399 ac_status=$? 2400 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2136 2401 (exit $ac_status); }; }; then 2137 2402 for ac_declaration in \ 2138 ''\ 2139 '#include <stdlib.h>' \ 2403 '' \ 2140 2404 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2141 2405 'extern "C" void std::exit (int); using std::exit;' \ … … 2145 2409 do 2146 2410 cat >conftest.$ac_ext <<_ACEOF 2147 #line $LINENO "configure" 2148 #include "confdefs.h" 2411 /* confdefs.h. */ 2412 _ACEOF 2413 cat confdefs.h >>conftest.$ac_ext 2414 cat >>conftest.$ac_ext <<_ACEOF 2415 /* end confdefs.h. */ 2416 $ac_declaration 2149 2417 #include <stdlib.h> 2418 int 2419 main () 2420 { 2421 exit (42); 2422 ; 2423 return 0; 2424 } 2425 _ACEOF 2426 rm -f conftest.$ac_objext 2427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2428 (eval $ac_compile) 2>conftest.er1 2429 ac_status=$? 2430 grep -v '^ *+' conftest.er1 >conftest.err 2431 rm -f conftest.er1 2432 cat conftest.err >&5 2433 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2434 (exit $ac_status); } && 2435 { ac_try='test -z "$ac_c_werror_flag" 2436 || test ! -s conftest.err' 2437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2438 (eval $ac_try) 2>&5 2439 ac_status=$? 2440 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2441 (exit $ac_status); }; } && 2442 { ac_try='test -s conftest.$ac_objext' 2443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2444 (eval $ac_try) 2>&5 2445 ac_status=$? 2446 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2447 (exit $ac_status); }; }; then 2448 : 2449 else 2450 echo "$as_me: failed program was:" >&5 2451 sed 's/^/| /' conftest.$ac_ext >&5 2452 2453 continue 2454 fi 2455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2456 cat >conftest.$ac_ext <<_ACEOF 2457 /* confdefs.h. */ 2458 _ACEOF 2459 cat confdefs.h >>conftest.$ac_ext 2460 cat >>conftest.$ac_ext <<_ACEOF 2461 /* end confdefs.h. */ 2150 2462 $ac_declaration 2151 2463 int … … 2159 2471 rm -f conftest.$ac_objext 2160 2472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2161 (eval $ac_compile) 2>&5 2162 ac_status=$? 2473 (eval $ac_compile) 2>conftest.er1 2474 ac_status=$? 2475 grep -v '^ *+' conftest.er1 >conftest.err 2476 rm -f conftest.er1 2477 cat conftest.err >&5 2163 2478 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2164 2479 (exit $ac_status); } && 2165 { ac_try='test -s conftest.$ac_objext' 2480 { ac_try='test -z "$ac_c_werror_flag" 2481 || test ! -s conftest.err' 2166 2482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2167 2483 (eval $ac_try) 2>&5 2168 2484 ac_status=$? 2169 2485 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2170 (exit $ac_status); }; }; then 2171 : 2172 else 2173 echo "$as_me: failed program was:" >&5 2174 cat conftest.$ac_ext >&5 2175 continue 2176 fi 2177 rm -f conftest.$ac_objext conftest.$ac_ext 2178 cat >conftest.$ac_ext <<_ACEOF 2179 #line $LINENO "configure" 2180 #include "confdefs.h" 2181 $ac_declaration 2182 int 2183 main () 2184 { 2185 exit (42); 2186 ; 2187 return 0; 2188 } 2189 _ACEOF 2190 rm -f conftest.$ac_objext 2191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2192 (eval $ac_compile) 2>&5 2193 ac_status=$? 2194 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2195 (exit $ac_status); } && 2196 { ac_try='test -s conftest.$ac_objext' 2486 (exit $ac_status); }; } && 2487 { ac_try='test -s conftest.$ac_objext' 2197 2488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2198 2489 (eval $ac_try) 2>&5 … … 2203 2494 else 2204 2495 echo "$as_me: failed program was:" >&5 2205 cat conftest.$ac_ext >&5 2206 fi 2207 rm -f conftest.$ac_objext conftest.$ac_ext 2496 sed 's/^/| /' conftest.$ac_ext >&5 2497 2498 fi 2499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2208 2500 done 2209 2501 rm -f conftest* … … 2216 2508 else 2217 2509 echo "$as_me: failed program was:" >&5 2218 cat conftest.$ac_ext >&5 2219 fi 2220 rm -f conftest.$ac_objext conftest.$ac_ext 2510 sed 's/^/| /' conftest.$ac_ext >&5 2511 2512 fi 2513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2221 2514 ac_ext=c 2222 2515 ac_cpp='$CPP $CPPFLAGS' … … 2248 2541 # Use a header file that comes with gcc, so configuring glibc 2249 2542 # with a fresh cross-compiler works. 2543 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2544 # <limits.h> exists even on freestanding compilers. 2250 2545 # On the NeXT, cc -E runs the code through the compiler's parser, 2251 2546 # not just through cpp. "Syntax error" is here to catch this case. 2252 2547 cat >conftest.$ac_ext <<_ACEOF 2253 #line $LINENO "configure" 2254 #include "confdefs.h" 2255 #include <assert.h> 2256 Syntax error 2548 /* confdefs.h. */ 2549 _ACEOF 2550 cat confdefs.h >>conftest.$ac_ext 2551 cat >>conftest.$ac_ext <<_ACEOF 2552 /* end confdefs.h. */ 2553 #ifdef __STDC__ 2554 # include <limits.h> 2555 #else 2556 # include <assert.h> 2557 #endif 2558 Syntax error 2257 2559 _ACEOF 2258 2560 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 … … 2266 2568 if test -s conftest.err; then 2267 2569 ac_cpp_err=$ac_c_preproc_warn_flag 2570 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2268 2571 else 2269 2572 ac_cpp_err= … … 2276 2579 else 2277 2580 echo "$as_me: failed program was:" >&5 2278 cat conftest.$ac_ext >&5 2581 sed 's/^/| /' conftest.$ac_ext >&5 2582 2279 2583 # Broken: fails on valid input. 2280 2584 continue … … 2285 2589 # can be detected and how. 2286 2590 cat >conftest.$ac_ext <<_ACEOF 2287 #line $LINENO "configure" 2288 #include "confdefs.h" 2591 /* confdefs.h. */ 2592 _ACEOF 2593 cat confdefs.h >>conftest.$ac_ext 2594 cat >>conftest.$ac_ext <<_ACEOF 2595 /* end confdefs.h. */ 2289 2596 #include <ac_nonexistent.h> 2290 2597 _ACEOF … … 2299 2606 if test -s conftest.err; then 2300 2607 ac_cpp_err=$ac_c_preproc_warn_flag 2608 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2301 2609 else 2302 2610 ac_cpp_err= … … 2310 2618 else 2311 2619 echo "$as_me: failed program was:" >&5 2312 cat conftest.$ac_ext >&5 2620 sed 's/^/| /' conftest.$ac_ext >&5 2621 2313 2622 # Passes both tests. 2314 2623 ac_preproc_ok=: … … 2339 2648 # Use a header file that comes with gcc, so configuring glibc 2340 2649 # with a fresh cross-compiler works. 2650 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2651 # <limits.h> exists even on freestanding compilers. 2341 2652 # On the NeXT, cc -E runs the code through the compiler's parser, 2342 2653 # not just through cpp. "Syntax error" is here to catch this case. 2343 2654 cat >conftest.$ac_ext <<_ACEOF 2344 #line $LINENO "configure" 2345 #include "confdefs.h" 2346 #include <assert.h> 2347 Syntax error 2655 /* confdefs.h. */ 2656 _ACEOF 2657 cat confdefs.h >>conftest.$ac_ext 2658 cat >>conftest.$ac_ext <<_ACEOF 2659 /* end confdefs.h. */ 2660 #ifdef __STDC__ 2661 # include <limits.h> 2662 #else 2663 # include <assert.h> 2664 #endif 2665 Syntax error 2348 2666 _ACEOF 2349 2667 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 … … 2357 2675 if test -s conftest.err; then 2358 2676 ac_cpp_err=$ac_c_preproc_warn_flag 2677 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2359 2678 else 2360 2679 ac_cpp_err= … … 2367 2686 else 2368 2687 echo "$as_me: failed program was:" >&5 2369 cat conftest.$ac_ext >&5 2688 sed 's/^/| /' conftest.$ac_ext >&5 2689 2370 2690 # Broken: fails on valid input. 2371 2691 continue … … 2376 2696 # can be detected and how. 2377 2697 cat >conftest.$ac_ext <<_ACEOF 2378 #line $LINENO "configure" 2379 #include "confdefs.h" 2698 /* confdefs.h. */ 2699 _ACEOF 2700 cat confdefs.h >>conftest.$ac_ext 2701 cat >>conftest.$ac_ext <<_ACEOF 2702 /* end confdefs.h. */ 2380 2703 #include <ac_nonexistent.h> 2381 2704 _ACEOF … … 2390 2713 if test -s conftest.err; then 2391 2714 ac_cpp_err=$ac_c_preproc_warn_flag 2715 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2392 2716 else 2393 2717 ac_cpp_err= … … 2401 2725 else 2402 2726 echo "$as_me: failed program was:" >&5 2403 cat conftest.$ac_ext >&5 2727 sed 's/^/| /' conftest.$ac_ext >&5 2728 2404 2729 # Passes both tests. 2405 2730 ac_preproc_ok=: … … 2414 2739 : 2415 2740 else 2416 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5 2417 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} 2741 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 2742 See \`config.log' for more details." >&5 2743 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 2744 See \`config.log' for more details." >&2;} 2418 2745 { (exit 1); exit 1; }; } 2419 2746 fi … … 2424 2751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2425 2752 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2426 2427 ac_aux_dir=2428 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do2429 if test -f $ac_dir/install-sh; then2430 ac_aux_dir=$ac_dir2431 ac_install_sh="$ac_aux_dir/install-sh -c"2432 break2433 elif test -f $ac_dir/install.sh; then2434 ac_aux_dir=$ac_dir2435 ac_install_sh="$ac_aux_dir/install.sh -c"2436 break2437 elif test -f $ac_dir/shtool; then2438 ac_aux_dir=$ac_dir2439 ac_install_sh="$ac_aux_dir/shtool install -c"2440 break2441 fi2442 done2443 if test -z "$ac_aux_dir"; then2444 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&52445 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}2446 { (exit 1); exit 1; }; }2447 fi2448 ac_config_guess="$SHELL $ac_aux_dir/config.guess"2449 ac_config_sub="$SHELL $ac_aux_dir/config.sub"2450 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.2451 2753 2452 2754 # Find a good install program. We prefer a C program (faster), … … 2461 2763 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 2462 2764 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2765 # OS/2's system install, which has a completely different semantic 2463 2766 # ./install, which can be erroneously created by make from ./install.sh. 2464 2767 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 … … 2477 2780 ./ | .// | /cC/* | \ 2478 2781 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2782 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 2479 2783 /usr/ucb/* ) ;; 2480 2784 *) … … 2484 2788 for ac_prog in ginstall scoinst install; do 2485 2789 for ac_exec_ext in '' $ac_executable_extensions; do 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2790 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2791 if test $ac_prog = install && 2792 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2793 # AIX install. It has an incompatible calling convention. 2794 : 2795 elif test $ac_prog = install && 2796 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2797 # program-specific install script used by HP pwplus--don't use. 2798 : 2799 else 2800 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2801 break 3 2802 fi 2803 fi 2500 2804 done 2501 2805 done … … 2593 2897 enable_fast_install=yes 2594 2898 fi; 2595 # Make sure we can run config.sub.2596 $ac_config_sub sun4 >/dev/null 2>&1 ||2597 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&52598 echo "$as_me: error: cannot run $ac_config_sub" >&2;}2599 { (exit 1); exit 1; }; }2600 2601 echo "$as_me:$LINENO: checking build system type" >&52602 echo $ECHO_N "checking build system type... $ECHO_C" >&62603 if test "${ac_cv_build+set}" = set; then2604 echo $ECHO_N "(cached) $ECHO_C" >&62605 else2606 ac_cv_build_alias=$build_alias2607 test -z "$ac_cv_build_alias" &&2608 ac_cv_build_alias=`$ac_config_guess`2609 test -z "$ac_cv_build_alias" &&2610 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&52611 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}2612 { (exit 1); exit 1; }; }2613 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||2614 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&52615 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}2616 { (exit 1); exit 1; }; }2617 2618 fi2619 echo "$as_me:$LINENO: result: $ac_cv_build" >&52620 echo "${ECHO_T}$ac_cv_build" >&62621 build=$ac_cv_build2622 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`2623 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`2624 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`2625 2626 2627 echo "$as_me:$LINENO: checking host system type" >&52628 echo $ECHO_N "checking host system type... $ECHO_C" >&62629 if test "${ac_cv_host+set}" = set; then2630 echo $ECHO_N "(cached) $ECHO_C" >&62631 else2632 ac_cv_host_alias=$host_alias2633 test -z "$ac_cv_host_alias" &&2634 ac_cv_host_alias=$ac_cv_build_alias2635 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||2636 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&52637 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}2638 { (exit 1); exit 1; }; }2639 2640 fi2641 echo "$as_me:$LINENO: result: $ac_cv_host" >&52642 echo "${ECHO_T}$ac_cv_host" >&62643 host=$ac_cv_host2644 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`2645 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`2646 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`2647 2648 2649 2899 # Find the correct PATH separator. Usually this is `:', but 2650 2900 # DJGPP uses `;' like DOS. … … 3227 3477 else 3228 3478 cat >conftest.$ac_ext <<_ACEOF 3229 #line $LINENO "configure" 3230 #include "confdefs.h" 3479 /* confdefs.h. */ 3480 _ACEOF 3481 cat confdefs.h >>conftest.$ac_ext 3482 cat >>conftest.$ac_ext <<_ACEOF 3483 /* end confdefs.h. */ 3231 3484 #include <stdlib.h> 3232 3485 #include <stdarg.h> … … 3234 3487 #include <float.h> 3235 3488 3236 _ACEOF 3237 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3238 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3489 int 3490 main () 3491 { 3492 3493 ; 3494 return 0; 3495 } 3496 _ACEOF 3497 rm -f conftest.$ac_objext 3498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3499 (eval $ac_compile) 2>conftest.er1 3239 3500 ac_status=$? 3240 3501 grep -v '^ *+' conftest.er1 >conftest.err … … 3242 3503 cat conftest.err >&5 3243 3504 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3244 (exit $ac_status); } >/dev/null; then 3245 if test -s conftest.err; then 3246 ac_cpp_err=$ac_c_preproc_warn_flag 3247 else 3248 ac_cpp_err= 3249 fi 3250 else 3251 ac_cpp_err=yes 3252 fi 3253 if test -z "$ac_cpp_err"; then 3505 (exit $ac_status); } && 3506 { ac_try='test -z "$ac_c_werror_flag" 3507 || test ! -s conftest.err' 3508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3509 (eval $ac_try) 2>&5 3510 ac_status=$? 3511 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3512 (exit $ac_status); }; } && 3513 { ac_try='test -s conftest.$ac_objext' 3514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3515 (eval $ac_try) 2>&5 3516 ac_status=$? 3517 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3518 (exit $ac_status); }; }; then 3254 3519 ac_cv_header_stdc=yes 3255 3520 else 3256 3521 echo "$as_me: failed program was:" >&5 3257 cat conftest.$ac_ext >&5 3258 ac_cv_header_stdc=no 3259 fi 3260 rm -f conftest.err conftest.$ac_ext 3522 sed 's/^/| /' conftest.$ac_ext >&5 3523 3524 ac_cv_header_stdc=no 3525 fi 3526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3261 3527 3262 3528 if test $ac_cv_header_stdc = yes; then 3263 3529 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3264 3530 cat >conftest.$ac_ext <<_ACEOF 3265 #line $LINENO "configure" 3266 #include "confdefs.h" 3531 /* confdefs.h. */ 3532 _ACEOF 3533 cat confdefs.h >>conftest.$ac_ext 3534 cat >>conftest.$ac_ext <<_ACEOF 3535 /* end confdefs.h. */ 3267 3536 #include <string.h> 3268 3537 … … 3281 3550 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3282 3551 cat >conftest.$ac_ext <<_ACEOF 3283 #line $LINENO "configure" 3284 #include "confdefs.h" 3552 /* confdefs.h. */ 3553 _ACEOF 3554 cat confdefs.h >>conftest.$ac_ext 3555 cat >>conftest.$ac_ext <<_ACEOF 3556 /* end confdefs.h. */ 3285 3557 #include <stdlib.h> 3286 3558 … … 3302 3574 else 3303 3575 cat >conftest.$ac_ext <<_ACEOF 3304 #line $LINENO "configure" 3305 #include "confdefs.h" 3576 /* confdefs.h. */ 3577 _ACEOF 3578 cat confdefs.h >>conftest.$ac_ext 3579 cat >>conftest.$ac_ext <<_ACEOF 3580 /* end confdefs.h. */ 3306 3581 #include <ctype.h> 3307 3582 #if ((' ' & 0x0FF) == 0x020) … … 3309 3584 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3310 3585 #else 3311 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ 3312 || ('j' <= (c) && (c) <= 'r') \ 3313 || ('s' <= (c) && (c) <= 'z')) 3586 # define ISLOWER(c) \ 3587 (('a' <= (c) && (c) <= 'i') \ 3588 || ('j' <= (c) && (c) <= 'r') \ 3589 || ('s' <= (c) && (c) <= 'z')) 3314 3590 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3315 3591 #endif … … 3322 3598 for (i = 0; i < 256; i++) 3323 3599 if (XOR (islower (i), ISLOWER (i)) 3324 3600 || toupper (i) != TOUPPER (i)) 3325 3601 exit(2); 3326 3602 exit (0); … … 3342 3618 echo "$as_me: program exited with status $ac_status" >&5 3343 3619 echo "$as_me: failed program was:" >&5 3344 cat conftest.$ac_ext >&5 3620 sed 's/^/| /' conftest.$ac_ext >&5 3621 3345 3622 ( exit $ac_status ) 3346 3623 ac_cv_header_stdc=no 3347 3624 fi 3348 rm -f core core.**.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext3625 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3349 3626 fi 3350 3627 fi … … 3371 3648 3372 3649 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3373 3650 inttypes.h stdint.h unistd.h 3374 3651 do 3375 3652 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 3380 3657 else 3381 3658 cat >conftest.$ac_ext <<_ACEOF 3382 #line $LINENO "configure" 3383 #include "confdefs.h" 3659 /* confdefs.h. */ 3660 _ACEOF 3661 cat confdefs.h >>conftest.$ac_ext 3662 cat >>conftest.$ac_ext <<_ACEOF 3663 /* end confdefs.h. */ 3384 3664 $ac_includes_default 3385 3665 … … 3388 3668 rm -f conftest.$ac_objext 3389 3669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3390 (eval $ac_compile) 2>&5 3391 ac_status=$? 3670 (eval $ac_compile) 2>conftest.er1 3671 ac_status=$? 3672 grep -v '^ *+' conftest.er1 >conftest.err 3673 rm -f conftest.er1 3674 cat conftest.err >&5 3392 3675 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3393 3676 (exit $ac_status); } && 3394 { ac_try='test -s conftest.$ac_objext' 3677 { ac_try='test -z "$ac_c_werror_flag" 3678 || test ! -s conftest.err' 3395 3679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3396 3680 (eval $ac_try) 2>&5 3397 3681 ac_status=$? 3398 3682 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3683 (exit $ac_status); }; } && 3684 { ac_try='test -s conftest.$ac_objext' 3685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3686 (eval $ac_try) 2>&5 3687 ac_status=$? 3688 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3399 3689 (exit $ac_status); }; }; then 3400 3690 eval "$as_ac_Header=yes" 3401 3691 else 3402 3692 echo "$as_me: failed program was:" >&5 3403 cat conftest.$ac_ext >&5 3693 sed 's/^/| /' conftest.$ac_ext >&5 3694 3404 3695 eval "$as_ac_Header=no" 3405 3696 fi 3406 rm -f conftest. $ac_objext conftest.$ac_ext3697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3407 3698 fi 3408 3699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 … … 3435 3726 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 3436 3727 cat >conftest.$ac_ext <<_ACEOF 3437 #line $LINENO "configure" 3438 #include "confdefs.h" 3728 /* confdefs.h. */ 3729 _ACEOF 3730 cat confdefs.h >>conftest.$ac_ext 3731 cat >>conftest.$ac_ext <<_ACEOF 3732 /* end confdefs.h. */ 3439 3733 $ac_includes_default 3440 3734 #include <$ac_header> … … 3442 3736 rm -f conftest.$ac_objext 3443 3737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3444 (eval $ac_compile) 2>&5 3445 ac_status=$? 3738 (eval $ac_compile) 2>conftest.er1 3739 ac_status=$? 3740 grep -v '^ *+' conftest.er1 >conftest.err 3741 rm -f conftest.er1 3742 cat conftest.err >&5 3446 3743 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3447 3744 (exit $ac_status); } && 3448 { ac_try='test -s conftest.$ac_objext' 3745 { ac_try='test -z "$ac_c_werror_flag" 3746 || test ! -s conftest.err' 3449 3747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3450 3748 (eval $ac_try) 2>&5 3451 3749 ac_status=$? 3452 3750 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3751 (exit $ac_status); }; } && 3752 { ac_try='test -s conftest.$ac_objext' 3753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3754 (eval $ac_try) 2>&5 3755 ac_status=$? 3756 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3453 3757 (exit $ac_status); }; }; then 3454 3758 ac_header_compiler=yes 3455 3759 else 3456 3760 echo "$as_me: failed program was:" >&5 3457 cat conftest.$ac_ext >&5 3761 sed 's/^/| /' conftest.$ac_ext >&5 3762 3458 3763 ac_header_compiler=no 3459 3764 fi 3460 rm -f conftest. $ac_objext conftest.$ac_ext3765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3461 3766 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3462 3767 echo "${ECHO_T}$ac_header_compiler" >&6 … … 3466 3771 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 3467 3772 cat >conftest.$ac_ext <<_ACEOF 3468 #line $LINENO "configure" 3469 #include "confdefs.h" 3773 /* confdefs.h. */ 3774 _ACEOF 3775 cat confdefs.h >>conftest.$ac_ext 3776 cat >>conftest.$ac_ext <<_ACEOF 3777 /* end confdefs.h. */ 3470 3778 #include <$ac_header> 3471 3779 _ACEOF … … 3480 3788 if test -s conftest.err; then 3481 3789 ac_cpp_err=$ac_c_preproc_warn_flag 3790 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3482 3791 else 3483 3792 ac_cpp_err= … … 3490 3799 else 3491 3800 echo "$as_me: failed program was:" >&5 3492 cat conftest.$ac_ext >&5 3801 sed 's/^/| /' conftest.$ac_ext >&5 3802 3493 3803 ac_header_preproc=no 3494 3804 fi … … 3498 3808 3499 3809 # So? What about this header? 3500 case $ac_header_compiler:$ac_header_preproc in3501 yes:no )3810 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 3811 yes:no: ) 3502 3812 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 3503 3813 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 3504 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3505 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; 3506 no:yes ) 3814 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 3815 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 3816 ac_header_preproc=yes 3817 ;; 3818 no:yes:* ) 3507 3819 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 3508 3820 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 3509 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 3510 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 3821 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 3822 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 3823 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 3824 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 3825 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 3826 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 3511 3827 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3512 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; 3828 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 3829 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 3830 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 3831 ( 3832 cat <<\_ASBOX 3833 ## ------------------------------- ## 3834 ## Report this to the gdbm lists. ## 3835 ## ------------------------------- ## 3836 _ASBOX 3837 ) | 3838 sed "s/^/$as_me: WARNING: /" >&2 3839 ;; 3513 3840 esac 3514 3841 echo "$as_me:$LINENO: checking for $ac_header" >&5 … … 3517 3844 echo $ECHO_N "(cached) $ECHO_C" >&6 3518 3845 else 3519 eval "$as_ac_Header= $ac_header_preproc"3846 eval "$as_ac_Header=\$ac_header_preproc" 3520 3847 fi 3521 3848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 … … 3851 4178 *-*-irix6*) 3852 4179 # Find out which ABI we are using. 3853 echo '#line 3853"configure"' > conftest.$ac_ext4180 echo '#line 4180 "configure"' > conftest.$ac_ext 3854 4181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3855 4182 (eval $ac_compile) 2>&5 … … 3890 4217 3891 4218 cat >conftest.$ac_ext <<_ACEOF 3892 #line $LINENO "configure" 3893 #include "confdefs.h" 4219 /* confdefs.h. */ 4220 _ACEOF 4221 cat confdefs.h >>conftest.$ac_ext 4222 cat >>conftest.$ac_ext <<_ACEOF 4223 /* end confdefs.h. */ 3894 4224 3895 4225 int … … 3903 4233 rm -f conftest.$ac_objext conftest$ac_exeext 3904 4234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3905 (eval $ac_link) 2>&5 3906 ac_status=$? 4235 (eval $ac_link) 2>conftest.er1 4236 ac_status=$? 4237 grep -v '^ *+' conftest.er1 >conftest.err 4238 rm -f conftest.er1 4239 cat conftest.err >&5 3907 4240 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3908 4241 (exit $ac_status); } && 3909 { ac_try='test -s conftest$ac_exeext' 4242 { ac_try='test -z "$ac_c_werror_flag" 4243 || test ! -s conftest.err' 3910 4244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3911 4245 (eval $ac_try) 2>&5 3912 4246 ac_status=$? 3913 4247 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4248 (exit $ac_status); }; } && 4249 { ac_try='test -s conftest$ac_exeext' 4250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4251 (eval $ac_try) 2>&5 4252 ac_status=$? 4253 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3914 4254 (exit $ac_status); }; }; then 3915 4255 lt_cv_cc_needs_belf=yes 3916 4256 else 3917 4257 echo "$as_me: failed program was:" >&5 3918 cat conftest.$ac_ext >&5 4258 sed 's/^/| /' conftest.$ac_ext >&5 4259 3919 4260 lt_cv_cc_needs_belf=no 3920 4261 fi 3921 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4262 rm -f conftest.err conftest.$ac_objext \ 4263 conftest$ac_exeext conftest.$ac_ext 3922 4264 ac_ext=c 3923 4265 ac_cpp='$CPP $CPPFLAGS' … … 4224 4566 CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC" 4225 4567 cat >conftest.$ac_ext <<_ACEOF 4226 #line $LINENO "configure" 4227 #include "confdefs.h" 4568 /* confdefs.h. */ 4569 _ACEOF 4570 cat confdefs.h >>conftest.$ac_ext 4571 cat >>conftest.$ac_ext <<_ACEOF 4572 /* end confdefs.h. */ 4228 4573 4229 4574 int … … 4237 4582 rm -f conftest.$ac_objext 4238 4583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4239 (eval $ac_compile) 2>&5 4240 ac_status=$? 4584 (eval $ac_compile) 2>conftest.er1 4585 ac_status=$? 4586 grep -v '^ *+' conftest.er1 >conftest.err 4587 rm -f conftest.er1 4588 cat conftest.err >&5 4241 4589 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4242 4590 (exit $ac_status); } && 4243 { ac_try='test -s conftest.$ac_objext' 4591 { ac_try='test -z "$ac_c_werror_flag" 4592 || test ! -s conftest.err' 4593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4594 (eval $ac_try) 2>&5 4595 ac_status=$? 4596 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4597 (exit $ac_status); }; } && 4598 { ac_try='test -s conftest.$ac_objext' 4244 4599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4245 4600 (eval $ac_try) 2>&5 … … 4265 4620 else 4266 4621 echo "$as_me: failed program was:" >&5 4267 cat conftest.$ac_ext >&5 4622 sed 's/^/| /' conftest.$ac_ext >&5 4623 4268 4624 lt_cv_prog_cc_pic_works=no 4269 4625 4270 4626 fi 4271 rm -f conftest. $ac_objext conftest.$ac_ext4627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4272 4628 CFLAGS="$save_CFLAGS" 4273 4629 … … 4311 4667 LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static" 4312 4668 cat >conftest.$ac_ext <<_ACEOF 4313 #line $LINENO "configure" 4314 #include "confdefs.h" 4669 /* confdefs.h. */ 4670 _ACEOF 4671 cat confdefs.h >>conftest.$ac_ext 4672 cat >>conftest.$ac_ext <<_ACEOF 4673 /* end confdefs.h. */ 4315 4674 4316 4675 int … … 4324 4683 rm -f conftest.$ac_objext conftest$ac_exeext 4325 4684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4326 (eval $ac_link) 2>&5 4327 ac_status=$? 4685 (eval $ac_link) 2>conftest.er1 4686 ac_status=$? 4687 grep -v '^ *+' conftest.er1 >conftest.err 4688 rm -f conftest.er1 4689 cat conftest.err >&5 4328 4690 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4329 4691 (exit $ac_status); } && 4330 { ac_try='test -s conftest$ac_exeext' 4692 { ac_try='test -z "$ac_c_werror_flag" 4693 || test ! -s conftest.err' 4331 4694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4332 4695 (eval $ac_try) 2>&5 4333 4696 ac_status=$? 4334 4697 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4698 (exit $ac_status); }; } && 4699 { ac_try='test -s conftest$ac_exeext' 4700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4701 (eval $ac_try) 2>&5 4702 ac_status=$? 4703 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4335 4704 (exit $ac_status); }; }; then 4336 4705 lt_cv_prog_cc_static_works=yes 4337 4706 else 4338 4707 echo "$as_me: failed program was:" >&5 4339 cat conftest.$ac_ext >&5 4340 fi 4341 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4708 sed 's/^/| /' conftest.$ac_ext >&5 4709 4710 fi 4711 rm -f conftest.err conftest.$ac_objext \ 4712 conftest$ac_exeext conftest.$ac_ext 4342 4713 LDFLAGS="$save_LDFLAGS" 4343 4714 … … 4383 4754 CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" 4384 4755 compiler_c_o=no 4385 if { (eval echo configure:4 385: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then4756 if { (eval echo configure:4756: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then 4386 4757 # The compiler can only warn and ignore the option if not recognized 4387 4758 # So say no if there are warnings … … 4424 4795 ac_objext=lo 4425 4796 cat >conftest.$ac_ext <<_ACEOF 4426 #line $LINENO "configure" 4427 #include "confdefs.h" 4797 /* confdefs.h. */ 4798 _ACEOF 4799 cat confdefs.h >>conftest.$ac_ext 4800 cat >>conftest.$ac_ext <<_ACEOF 4801 /* end confdefs.h. */ 4428 4802 4429 4803 int … … 4437 4811 rm -f conftest.$ac_objext 4438 4812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4439 (eval $ac_compile) 2>&5 4440 ac_status=$? 4813 (eval $ac_compile) 2>conftest.er1 4814 ac_status=$? 4815 grep -v '^ *+' conftest.er1 >conftest.err 4816 rm -f conftest.er1 4817 cat conftest.err >&5 4441 4818 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4442 4819 (exit $ac_status); } && 4443 { ac_try='test -s conftest.$ac_objext' 4820 { ac_try='test -z "$ac_c_werror_flag" 4821 || test ! -s conftest.err' 4822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4823 (eval $ac_try) 2>&5 4824 ac_status=$? 4825 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4826 (exit $ac_status); }; } && 4827 { ac_try='test -s conftest.$ac_objext' 4444 4828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4445 4829 (eval $ac_try) 2>&5 … … 4457 4841 else 4458 4842 echo "$as_me: failed program was:" >&5 4459 cat conftest.$ac_ext >&5 4460 fi 4461 rm -f conftest.$ac_objext conftest.$ac_ext 4843 sed 's/^/| /' conftest.$ac_ext >&5 4844 4845 fi 4846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4462 4847 ac_objext="$save_objext" 4463 4848 CFLAGS="$save_CFLAGS" … … 4512 4897 compiler_rtti_exceptions=no 4513 4898 cat >conftest.$ac_ext <<_ACEOF 4514 #line $LINENO "configure" 4515 #include "confdefs.h" 4899 /* confdefs.h. */ 4900 _ACEOF 4901 cat confdefs.h >>conftest.$ac_ext 4902 cat >>conftest.$ac_ext <<_ACEOF 4903 /* end confdefs.h. */ 4516 4904 4517 4905 int … … 4525 4913 rm -f conftest.$ac_objext 4526 4914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4527 (eval $ac_compile) 2>&5 4528 ac_status=$? 4915 (eval $ac_compile) 2>conftest.er1 4916 ac_status=$? 4917 grep -v '^ *+' conftest.er1 >conftest.err 4918 rm -f conftest.er1 4919 cat conftest.err >&5 4529 4920 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4530 4921 (exit $ac_status); } && 4531 { ac_try='test -s conftest.$ac_objext' 4922 { ac_try='test -z "$ac_c_werror_flag" 4923 || test ! -s conftest.err' 4924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4925 (eval $ac_try) 2>&5 4926 ac_status=$? 4927 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4928 (exit $ac_status); }; } && 4929 { ac_try='test -s conftest.$ac_objext' 4532 4930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4533 4931 (eval $ac_try) 2>&5 … … 4545 4943 else 4546 4944 echo "$as_me: failed program was:" >&5 4547 cat conftest.$ac_ext >&5 4548 fi 4549 rm -f conftest.$ac_objext conftest.$ac_ext 4945 sed 's/^/| /' conftest.$ac_ext >&5 4946 4947 fi 4948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4550 4949 CFLAGS="$save_CFLAGS" 4551 4950 echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5 … … 5795 6194 else 5796 6195 cat >conftest.$ac_ext <<_ACEOF 5797 #line $LINENO "configure" 5798 #include "confdefs.h" 6196 /* confdefs.h. */ 6197 _ACEOF 6198 cat confdefs.h >>conftest.$ac_ext 6199 cat >>conftest.$ac_ext <<_ACEOF 6200 /* end confdefs.h. */ 6201 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. 6202 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6203 #define shl_load innocuous_shl_load 6204 5799 6205 /* System header to define __stub macros and hopefully few prototypes, 5800 which can conflict with char shl_load (); below. */ 5801 #include <assert.h> 6206 which can conflict with char shl_load (); below. 6207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6208 <limits.h> exists even on freestanding compilers. */ 6209 6210 #ifdef __STDC__ 6211 # include <limits.h> 6212 #else 6213 # include <assert.h> 6214 #endif 6215 6216 #undef shl_load 6217 5802 6218 /* Override any gcc2 internal prototype to avoid an error. */ 5803 6219 #ifdef __cplusplus 5804 6220 extern "C" 6221 { 5805 6222 #endif 5806 6223 /* We use char because int might match the return type of a gcc2 5807 6224 builtin and then its argument prototype would still apply. */ 5808 6225 char shl_load (); 5809 char (*f) ();5810 5811 int5812 main ()5813 {5814 6226 /* The GNU C library defines this for functions which it implements 5815 6227 to always fail with ENOSYS. Some functions are actually named … … 5818 6230 choke me 5819 6231 #else 5820 f= shl_load;6232 char (*f) () = shl_load; 5821 6233 #endif 5822 6234 #ifdef __cplusplus 6235 } 6236 #endif 6237 6238 int 6239 main () 6240 { 6241 return f != shl_load; 5823 6242 ; 5824 6243 return 0; … … 5827 6246 rm -f conftest.$ac_objext conftest$ac_exeext 5828 6247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5829 (eval $ac_link) 2>&5 5830 ac_status=$? 6248 (eval $ac_link) 2>conftest.er1 6249 ac_status=$? 6250 grep -v '^ *+' conftest.er1 >conftest.err 6251 rm -f conftest.er1 6252 cat conftest.err >&5 5831 6253 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5832 6254 (exit $ac_status); } && 5833 { ac_try='test -s conftest$ac_exeext' 6255 { ac_try='test -z "$ac_c_werror_flag" 6256 || test ! -s conftest.err' 5834 6257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5835 6258 (eval $ac_try) 2>&5 5836 6259 ac_status=$? 5837 6260 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6261 (exit $ac_status); }; } && 6262 { ac_try='test -s conftest$ac_exeext' 6263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6264 (eval $ac_try) 2>&5 6265 ac_status=$? 6266 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5838 6267 (exit $ac_status); }; }; then 5839 6268 ac_cv_func_shl_load=yes 5840 6269 else 5841 6270 echo "$as_me: failed program was:" >&5 5842 cat conftest.$ac_ext >&5 6271 sed 's/^/| /' conftest.$ac_ext >&5 6272 5843 6273 ac_cv_func_shl_load=no 5844 6274 fi 5845 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6275 rm -f conftest.err conftest.$ac_objext \ 6276 conftest$ac_exeext conftest.$ac_ext 5846 6277 fi 5847 6278 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 … … 5858 6289 LIBS="-ldld $LIBS" 5859 6290 cat >conftest.$ac_ext <<_ACEOF 5860 #line $LINENO "configure" 5861 #include "confdefs.h" 6291 /* confdefs.h. */ 6292 _ACEOF 6293 cat confdefs.h >>conftest.$ac_ext 6294 cat >>conftest.$ac_ext <<_ACEOF 6295 /* end confdefs.h. */ 5862 6296 5863 6297 /* Override any gcc2 internal prototype to avoid an error. */ … … 5878 6312 rm -f conftest.$ac_objext conftest$ac_exeext 5879 6313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5880 (eval $ac_link) 2>&5 5881 ac_status=$? 6314 (eval $ac_link) 2>conftest.er1 6315 ac_status=$? 6316 grep -v '^ *+' conftest.er1 >conftest.err 6317 rm -f conftest.er1 6318 cat conftest.err >&5 5882 6319 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5883 6320 (exit $ac_status); } && 5884 { ac_try='test -s conftest$ac_exeext' 6321 { ac_try='test -z "$ac_c_werror_flag" 6322 || test ! -s conftest.err' 5885 6323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5886 6324 (eval $ac_try) 2>&5 5887 6325 ac_status=$? 5888 6326 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6327 (exit $ac_status); }; } && 6328 { ac_try='test -s conftest$ac_exeext' 6329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6330 (eval $ac_try) 2>&5 6331 ac_status=$? 6332 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5889 6333 (exit $ac_status); }; }; then 5890 6334 ac_cv_lib_dld_shl_load=yes 5891 6335 else 5892 6336 echo "$as_me: failed program was:" >&5 5893 cat conftest.$ac_ext >&5 6337 sed 's/^/| /' conftest.$ac_ext >&5 6338 5894 6339 ac_cv_lib_dld_shl_load=no 5895 6340 fi 5896 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6341 rm -f conftest.err conftest.$ac_objext \ 6342 conftest$ac_exeext conftest.$ac_ext 5897 6343 LIBS=$ac_check_lib_save_LIBS 5898 6344 fi … … 5908 6354 else 5909 6355 cat >conftest.$ac_ext <<_ACEOF 5910 #line $LINENO "configure" 5911 #include "confdefs.h" 6356 /* confdefs.h. */ 6357 _ACEOF 6358 cat confdefs.h >>conftest.$ac_ext 6359 cat >>conftest.$ac_ext <<_ACEOF 6360 /* end confdefs.h. */ 6361 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. 6362 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6363 #define dlopen innocuous_dlopen 6364 5912 6365 /* System header to define __stub macros and hopefully few prototypes, 5913 which can conflict with char dlopen (); below. */ 5914 #include <assert.h> 6366 which can conflict with char dlopen (); below. 6367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6368 <limits.h> exists even on freestanding compilers. */ 6369 6370 #ifdef __STDC__ 6371 # include <limits.h> 6372 #else 6373 # include <assert.h> 6374 #endif 6375 6376 #undef dlopen 6377 5915 6378 /* Override any gcc2 internal prototype to avoid an error. */ 5916 6379 #ifdef __cplusplus 5917 6380 extern "C" 6381 { 5918 6382 #endif 5919 6383 /* We use char because int might match the return type of a gcc2 5920 6384 builtin and then its argument prototype would still apply. */ 5921 6385 char dlopen (); 5922 char (*f) ();5923 5924 int5925 main ()5926 {5927 6386 /* The GNU C library defines this for functions which it implements 5928 6387 to always fail with ENOSYS. Some functions are actually named … … 5931 6390 choke me 5932 6391 #else 5933 f= dlopen;6392 char (*f) () = dlopen; 5934 6393 #endif 5935 6394 #ifdef __cplusplus 6395 } 6396 #endif 6397 6398 int 6399 main () 6400 { 6401 return f != dlopen; 5936 6402 ; 5937 6403 return 0; … … 5940 6406 rm -f conftest.$ac_objext conftest$ac_exeext 5941 6407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5942 (eval $ac_link) 2>&5 5943 ac_status=$? 6408 (eval $ac_link) 2>conftest.er1 6409 ac_status=$? 6410 grep -v '^ *+' conftest.er1 >conftest.err 6411 rm -f conftest.er1 6412 cat conftest.err >&5 5944 6413 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5945 6414 (exit $ac_status); } && 5946 { ac_try='test -s conftest$ac_exeext' 6415 { ac_try='test -z "$ac_c_werror_flag" 6416 || test ! -s conftest.err' 5947 6417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5948 6418 (eval $ac_try) 2>&5 5949 6419 ac_status=$? 5950 6420 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6421 (exit $ac_status); }; } && 6422 { ac_try='test -s conftest$ac_exeext' 6423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6424 (eval $ac_try) 2>&5 6425 ac_status=$? 6426 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5951 6427 (exit $ac_status); }; }; then 5952 6428 ac_cv_func_dlopen=yes 5953 6429 else 5954 6430 echo "$as_me: failed program was:" >&5 5955 cat conftest.$ac_ext >&5 6431 sed 's/^/| /' conftest.$ac_ext >&5 6432 5956 6433 ac_cv_func_dlopen=no 5957 6434 fi 5958 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6435 rm -f conftest.err conftest.$ac_objext \ 6436 conftest$ac_exeext conftest.$ac_ext 5959 6437 fi 5960 6438 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 … … 5971 6449 LIBS="-ldl $LIBS" 5972 6450 cat >conftest.$ac_ext <<_ACEOF 5973 #line $LINENO "configure" 5974 #include "confdefs.h" 6451 /* confdefs.h. */ 6452 _ACEOF 6453 cat confdefs.h >>conftest.$ac_ext 6454 cat >>conftest.$ac_ext <<_ACEOF 6455 /* end confdefs.h. */ 5975 6456 5976 6457 /* Override any gcc2 internal prototype to avoid an error. */ … … 5991 6472 rm -f conftest.$ac_objext conftest$ac_exeext 5992 6473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5993 (eval $ac_link) 2>&5 5994 ac_status=$? 6474 (eval $ac_link) 2>conftest.er1 6475 ac_status=$? 6476 grep -v '^ *+' conftest.er1 >conftest.err 6477 rm -f conftest.er1 6478 cat conftest.err >&5 5995 6479 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5996 6480 (exit $ac_status); } && 5997 { ac_try='test -s conftest$ac_exeext' 6481 { ac_try='test -z "$ac_c_werror_flag" 6482 || test ! -s conftest.err' 5998 6483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5999 6484 (eval $ac_try) 2>&5 6000 6485 ac_status=$? 6001 6486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6487 (exit $ac_status); }; } && 6488 { ac_try='test -s conftest$ac_exeext' 6489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6490 (eval $ac_try) 2>&5 6491 ac_status=$? 6492 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6002 6493 (exit $ac_status); }; }; then 6003 6494 ac_cv_lib_dl_dlopen=yes 6004 6495 else 6005 6496 echo "$as_me: failed program was:" >&5 6006 cat conftest.$ac_ext >&5 6497 sed 's/^/| /' conftest.$ac_ext >&5 6498 6007 6499 ac_cv_lib_dl_dlopen=no 6008 6500 fi 6009 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6501 rm -f conftest.err conftest.$ac_objext \ 6502 conftest$ac_exeext conftest.$ac_ext 6010 6503 LIBS=$ac_check_lib_save_LIBS 6011 6504 fi … … 6023 6516 LIBS="-lsvld $LIBS" 6024 6517 cat >conftest.$ac_ext <<_ACEOF 6025 #line $LINENO "configure" 6026 #include "confdefs.h" 6518 /* confdefs.h. */ 6519 _ACEOF 6520 cat confdefs.h >>conftest.$ac_ext 6521 cat >>conftest.$ac_ext <<_ACEOF 6522 /* end confdefs.h. */ 6027 6523 6028 6524 /* Override any gcc2 internal prototype to avoid an error. */ … … 6043 6539 rm -f conftest.$ac_objext conftest$ac_exeext 6044 6540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6045 (eval $ac_link) 2>&5 6046 ac_status=$? 6541 (eval $ac_link) 2>conftest.er1 6542 ac_status=$? 6543 grep -v '^ *+' conftest.er1 >conftest.err 6544 rm -f conftest.er1 6545 cat conftest.err >&5 6047 6546 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6048 6547 (exit $ac_status); } && 6049 { ac_try='test -s conftest$ac_exeext' 6548 { ac_try='test -z "$ac_c_werror_flag" 6549 || test ! -s conftest.err' 6050 6550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6051 6551 (eval $ac_try) 2>&5 6052 6552 ac_status=$? 6053 6553 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6554 (exit $ac_status); }; } && 6555 { ac_try='test -s conftest$ac_exeext' 6556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6557 (eval $ac_try) 2>&5 6558 ac_status=$? 6559 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6054 6560 (exit $ac_status); }; }; then 6055 6561 ac_cv_lib_svld_dlopen=yes 6056 6562 else 6057 6563 echo "$as_me: failed program was:" >&5 6058 cat conftest.$ac_ext >&5 6564 sed 's/^/| /' conftest.$ac_ext >&5 6565 6059 6566 ac_cv_lib_svld_dlopen=no 6060 6567 fi 6061 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6568 rm -f conftest.err conftest.$ac_objext \ 6569 conftest$ac_exeext conftest.$ac_ext 6062 6570 LIBS=$ac_check_lib_save_LIBS 6063 6571 fi … … 6075 6583 LIBS="-ldld $LIBS" 6076 6584 cat >conftest.$ac_ext <<_ACEOF 6077 #line $LINENO "configure" 6078 #include "confdefs.h" 6585 /* confdefs.h. */ 6586 _ACEOF 6587 cat confdefs.h >>conftest.$ac_ext 6588 cat >>conftest.$ac_ext <<_ACEOF 6589 /* end confdefs.h. */ 6079 6590 6080 6591 /* Override any gcc2 internal prototype to avoid an error. */ … … 6095 6606 rm -f conftest.$ac_objext conftest$ac_exeext 6096 6607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6097 (eval $ac_link) 2>&5 6098 ac_status=$? 6608 (eval $ac_link) 2>conftest.er1 6609 ac_status=$? 6610 grep -v '^ *+' conftest.er1 >conftest.err 6611 rm -f conftest.er1 6612 cat conftest.err >&5 6099 6613 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6100 6614 (exit $ac_status); } && 6101 { ac_try='test -s conftest$ac_exeext' 6615 { ac_try='test -z "$ac_c_werror_flag" 6616 || test ! -s conftest.err' 6102 6617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6103 6618 (eval $ac_try) 2>&5 6104 6619 ac_status=$? 6105 6620 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6621 (exit $ac_status); }; } && 6622 { ac_try='test -s conftest$ac_exeext' 6623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6624 (eval $ac_try) 2>&5 6625 ac_status=$? 6626 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6106 6627 (exit $ac_status); }; }; then 6107 6628 ac_cv_lib_dld_dld_link=yes 6108 6629 else 6109 6630 echo "$as_me: failed program was:" >&5 6110 cat conftest.$ac_ext >&5 6631 sed 's/^/| /' conftest.$ac_ext >&5 6632 6111 6633 ac_cv_lib_dld_dld_link=no 6112 6634 fi 6113 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6635 rm -f conftest.err conftest.$ac_objext \ 6636 conftest$ac_exeext conftest.$ac_ext 6114 6637 LIBS=$ac_check_lib_save_LIBS 6115 6638 fi … … 6166 6689 lt_status=$lt_dlunknown 6167 6690 cat > conftest.$ac_ext <<EOF 6168 #line 6 168"configure"6691 #line 6691 "configure" 6169 6692 #include "confdefs.h" 6170 6693 … … 6264 6787 lt_status=$lt_dlunknown 6265 6788 cat > conftest.$ac_ext <<EOF 6266 #line 6 266"configure"6789 #line 6789 "configure" 6267 6790 #include "confdefs.h" 6268 6791 … … 6996 7519 6997 7520 7521 7522 echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5 7523 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6 7524 arch_64bit=no 7525 case "$host_cpu" in 7526 x86_64) arch_64bit=yes ;; 7527 esac 7528 7529 if test "$arch_64bit" = yes; then 7530 echo "$as_me:$LINENO: result: yes" >&5 7531 echo "${ECHO_T}yes" >&6 7532 if test -z "$COMPAT32BITFLAGS" ; then 7533 COMPAT32BITFLAGS="-m32" 7534 fi 7535 else 7536 echo "$as_me:$LINENO: result: no" >&5 7537 echo "${ECHO_T}no" >&6 7538 if test -z "$COMPAT32BITFLAGS" ; then 7539 COMPAT32BITFLAGS= 7540 fi 7541 fi 7542 export COMPAT32BITFLAGS 7543 7544 7545 6998 7546 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 6999 7547 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 … … 7002 7550 else 7003 7551 cat >conftest.$ac_ext <<_ACEOF 7004 #line $LINENO "configure" 7005 #include "confdefs.h" 7552 /* confdefs.h. */ 7553 _ACEOF 7554 cat confdefs.h >>conftest.$ac_ext 7555 cat >>conftest.$ac_ext <<_ACEOF 7556 /* end confdefs.h. */ 7006 7557 7007 7558 int … … 7061 7612 rm -f conftest.$ac_objext 7062 7613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7063 (eval $ac_compile) 2>&5 7064 ac_status=$? 7614 (eval $ac_compile) 2>conftest.er1 7615 ac_status=$? 7616 grep -v '^ *+' conftest.er1 >conftest.err 7617 rm -f conftest.er1 7618 cat conftest.err >&5 7065 7619 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7066 7620 (exit $ac_status); } && 7067 { ac_try='test -s conftest.$ac_objext' 7621 { ac_try='test -z "$ac_c_werror_flag" 7622 || test ! -s conftest.err' 7068 7623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7069 7624 (eval $ac_try) 2>&5 7070 7625 ac_status=$? 7071 7626 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7627 (exit $ac_status); }; } && 7628 { ac_try='test -s conftest.$ac_objext' 7629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7630 (eval $ac_try) 2>&5 7631 ac_status=$? 7632 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7072 7633 (exit $ac_status); }; }; then 7073 7634 ac_cv_c_const=yes 7074 7635 else 7075 7636 echo "$as_me: failed program was:" >&5 7076 cat conftest.$ac_ext >&5 7637 sed 's/^/| /' conftest.$ac_ext >&5 7638 7077 7639 ac_cv_c_const=no 7078 7640 fi 7079 rm -f conftest. $ac_objext conftest.$ac_ext7641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7080 7642 fi 7081 7643 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 … … 7112 7674 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 7113 7675 cat >conftest.$ac_ext <<_ACEOF 7114 #line $LINENO "configure" 7115 #include "confdefs.h" 7676 /* confdefs.h. */ 7677 _ACEOF 7678 cat confdefs.h >>conftest.$ac_ext 7679 cat >>conftest.$ac_ext <<_ACEOF 7680 /* end confdefs.h. */ 7116 7681 $ac_includes_default 7117 7682 #include <$ac_header> … … 7119 7684 rm -f conftest.$ac_objext 7120 7685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7121 (eval $ac_compile) 2>&5 7122 ac_status=$? 7686 (eval $ac_compile) 2>conftest.er1 7687 ac_status=$? 7688 grep -v '^ *+' conftest.er1 >conftest.err 7689 rm -f conftest.er1 7690 cat conftest.err >&5 7123 7691 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7124 7692 (exit $ac_status); } && 7125 { ac_try='test -s conftest.$ac_objext' 7693 { ac_try='test -z "$ac_c_werror_flag" 7694 || test ! -s conftest.err' 7126 7695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7127 7696 (eval $ac_try) 2>&5 7128 7697 ac_status=$? 7129 7698 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7699 (exit $ac_status); }; } && 7700 { ac_try='test -s conftest.$ac_objext' 7701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7702 (eval $ac_try) 2>&5 7703 ac_status=$? 7704 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7130 7705 (exit $ac_status); }; }; then 7131 7706 ac_header_compiler=yes 7132 7707 else 7133 7708 echo "$as_me: failed program was:" >&5 7134 cat conftest.$ac_ext >&5 7709 sed 's/^/| /' conftest.$ac_ext >&5 7710 7135 7711 ac_header_compiler=no 7136 7712 fi 7137 rm -f conftest. $ac_objext conftest.$ac_ext7713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7138 7714 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7139 7715 echo "${ECHO_T}$ac_header_compiler" >&6 … … 7143 7719 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 7144 7720 cat >conftest.$ac_ext <<_ACEOF 7145 #line $LINENO "configure" 7146 #include "confdefs.h" 7721 /* confdefs.h. */ 7722 _ACEOF 7723 cat confdefs.h >>conftest.$ac_ext 7724 cat >>conftest.$ac_ext <<_ACEOF 7725 /* end confdefs.h. */ 7147 7726 #include <$ac_header> 7148 7727 _ACEOF … … 7157 7736 if test -s conftest.err; then 7158 7737 ac_cpp_err=$ac_c_preproc_warn_flag 7738 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 7159 7739 else 7160 7740 ac_cpp_err= … … 7167 7747 else 7168 7748 echo "$as_me: failed program was:" >&5 7169 cat conftest.$ac_ext >&5 7749 sed 's/^/| /' conftest.$ac_ext >&5 7750 7170 7751 ac_header_preproc=no 7171 7752 fi … … 7175 7756 7176 7757 # So? What about this header? 7177 case $ac_header_compiler:$ac_header_preproc in7178 yes:no )7758 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7759 yes:no: ) 7179 7760 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7180 7761 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7181 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7182 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; 7183 no:yes ) 7762 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7763 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7764 ac_header_preproc=yes 7765 ;; 7766 no:yes:* ) 7184 7767 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7185 7768 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7186 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7187 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7769 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7770 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7771 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7772 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7773 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7774 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7188 7775 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7189 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; 7776 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7777 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7778 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7779 ( 7780 cat <<\_ASBOX 7781 ## ------------------------------- ## 7782 ## Report this to the gdbm lists. ## 7783 ## ------------------------------- ## 7784 _ASBOX 7785 ) | 7786 sed "s/^/$as_me: WARNING: /" >&2 7787 ;; 7190 7788 esac 7191 7789 echo "$as_me:$LINENO: checking for $ac_header" >&5 … … 7194 7792 echo $ECHO_N "(cached) $ECHO_C" >&6 7195 7793 else 7196 eval "$as_ac_Header= $ac_header_preproc"7794 eval "$as_ac_Header=\$ac_header_preproc" 7197 7795 fi 7198 7796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 … … 7218 7816 LIBS="-ldbm $LIBS" 7219 7817 cat >conftest.$ac_ext <<_ACEOF 7220 #line $LINENO "configure" 7221 #include "confdefs.h" 7818 /* confdefs.h. */ 7819 _ACEOF 7820 cat confdefs.h >>conftest.$ac_ext 7821 cat >>conftest.$ac_ext <<_ACEOF 7822 /* end confdefs.h. */ 7222 7823 7223 7824 … … 7232 7833 rm -f conftest.$ac_objext conftest$ac_exeext 7233 7834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7234 (eval $ac_link) 2>&5 7235 ac_status=$? 7835 (eval $ac_link) 2>conftest.er1 7836 ac_status=$? 7837 grep -v '^ *+' conftest.er1 >conftest.err 7838 rm -f conftest.er1 7839 cat conftest.err >&5 7236 7840 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7237 7841 (exit $ac_status); } && 7238 { ac_try='test -s conftest$ac_exeext' 7842 { ac_try='test -z "$ac_c_werror_flag" 7843 || test ! -s conftest.err' 7239 7844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7240 7845 (eval $ac_try) 2>&5 7241 7846 ac_status=$? 7242 7847 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7848 (exit $ac_status); }; } && 7849 { ac_try='test -s conftest$ac_exeext' 7850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7851 (eval $ac_try) 2>&5 7852 ac_status=$? 7853 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7243 7854 (exit $ac_status); }; }; then 7244 7855 ac_cv_lib_dbm_main=yes 7245 7856 else 7246 7857 echo "$as_me: failed program was:" >&5 7247 cat conftest.$ac_ext >&5 7858 sed 's/^/| /' conftest.$ac_ext >&5 7859 7248 7860 ac_cv_lib_dbm_main=no 7249 7861 fi 7250 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7862 rm -f conftest.err conftest.$ac_objext \ 7863 conftest$ac_exeext conftest.$ac_ext 7251 7864 LIBS=$ac_check_lib_save_LIBS 7252 7865 fi … … 7271 7884 LIBS="-lndbm $LIBS" 7272 7885 cat >conftest.$ac_ext <<_ACEOF 7273 #line $LINENO "configure" 7274 #include "confdefs.h" 7886 /* confdefs.h. */ 7887 _ACEOF 7888 cat confdefs.h >>conftest.$ac_ext 7889 cat >>conftest.$ac_ext <<_ACEOF 7890 /* end confdefs.h. */ 7275 7891 7276 7892 … … 7285 7901 rm -f conftest.$ac_objext conftest$ac_exeext 7286 7902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7287 (eval $ac_link) 2>&5 7288 ac_status=$? 7903 (eval $ac_link) 2>conftest.er1 7904 ac_status=$? 7905 grep -v '^ *+' conftest.er1 >conftest.err 7906 rm -f conftest.er1 7907 cat conftest.err >&5 7289 7908 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7290 7909 (exit $ac_status); } && 7291 { ac_try='test -s conftest$ac_exeext' 7910 { ac_try='test -z "$ac_c_werror_flag" 7911 || test ! -s conftest.err' 7292 7912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7293 7913 (eval $ac_try) 2>&5 7294 7914 ac_status=$? 7295 7915 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7916 (exit $ac_status); }; } && 7917 { ac_try='test -s conftest$ac_exeext' 7918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7919 (eval $ac_try) 2>&5 7920 ac_status=$? 7921 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7296 7922 (exit $ac_status); }; }; then 7297 7923 ac_cv_lib_ndbm_main=yes 7298 7924 else 7299 7925 echo "$as_me: failed program was:" >&5 7300 cat conftest.$ac_ext >&5 7926 sed 's/^/| /' conftest.$ac_ext >&5 7927 7301 7928 ac_cv_lib_ndbm_main=no 7302 7929 fi 7303 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7930 rm -f conftest.err conftest.$ac_objext \ 7931 conftest$ac_exeext conftest.$ac_ext 7304 7932 LIBS=$ac_check_lib_save_LIBS 7305 7933 fi … … 7329 7957 else 7330 7958 cat >conftest.$ac_ext <<_ACEOF 7331 #line $LINENO "configure" 7332 #include "confdefs.h" 7959 /* confdefs.h. */ 7960 _ACEOF 7961 cat confdefs.h >>conftest.$ac_ext 7962 cat >>conftest.$ac_ext <<_ACEOF 7963 /* end confdefs.h. */ 7964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 7965 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7966 #define $ac_func innocuous_$ac_func 7967 7333 7968 /* System header to define __stub macros and hopefully few prototypes, 7334 which can conflict with char $ac_func (); below. */ 7335 #include <assert.h> 7969 which can conflict with char $ac_func (); below. 7970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7971 <limits.h> exists even on freestanding compilers. */ 7972 7973 #ifdef __STDC__ 7974 # include <limits.h> 7975 #else 7976 # include <assert.h> 7977 #endif 7978 7979 #undef $ac_func 7980 7336 7981 /* Override any gcc2 internal prototype to avoid an error. */ 7337 7982 #ifdef __cplusplus 7338 7983 extern "C" 7984 { 7339 7985 #endif 7340 7986 /* We use char because int might match the return type of a gcc2 7341 7987 builtin and then its argument prototype would still apply. */ 7342 7988 char $ac_func (); 7343 char (*f) ();7344 7345 int7346 main ()7347 {7348 7989 /* The GNU C library defines this for functions which it implements 7349 7990 to always fail with ENOSYS. Some functions are actually named … … 7352 7993 choke me 7353 7994 #else 7354 f= $ac_func;7995 char (*f) () = $ac_func; 7355 7996 #endif 7356 7997 #ifdef __cplusplus 7998 } 7999 #endif 8000 8001 int 8002 main () 8003 { 8004 return f != $ac_func; 7357 8005 ; 7358 8006 return 0; … … 7361 8009 rm -f conftest.$ac_objext conftest$ac_exeext 7362 8010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7363 (eval $ac_link) 2>&5 7364 ac_status=$? 8011 (eval $ac_link) 2>conftest.er1 8012 ac_status=$? 8013 grep -v '^ *+' conftest.er1 >conftest.err 8014 rm -f conftest.er1 8015 cat conftest.err >&5 7365 8016 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7366 8017 (exit $ac_status); } && 7367 { ac_try='test -s conftest$ac_exeext' 8018 { ac_try='test -z "$ac_c_werror_flag" 8019 || test ! -s conftest.err' 7368 8020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7369 8021 (eval $ac_try) 2>&5 7370 8022 ac_status=$? 7371 8023 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8024 (exit $ac_status); }; } && 8025 { ac_try='test -s conftest$ac_exeext' 8026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8027 (eval $ac_try) 2>&5 8028 ac_status=$? 8029 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7372 8030 (exit $ac_status); }; }; then 7373 8031 eval "$as_ac_var=yes" 7374 8032 else 7375 8033 echo "$as_me: failed program was:" >&5 7376 cat conftest.$ac_ext >&5 8034 sed 's/^/| /' conftest.$ac_ext >&5 8035 7377 8036 eval "$as_ac_var=no" 7378 8037 fi 7379 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8038 rm -f conftest.err conftest.$ac_objext \ 8039 conftest$ac_exeext conftest.$ac_ext 7380 8040 fi 7381 8041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 … … 7399 8059 else 7400 8060 cat >conftest.$ac_ext <<_ACEOF 7401 #line $LINENO "configure" 7402 #include "confdefs.h" 8061 /* confdefs.h. */ 8062 _ACEOF 8063 cat confdefs.h >>conftest.$ac_ext 8064 cat >>conftest.$ac_ext <<_ACEOF 8065 /* end confdefs.h. */ 8066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 8067 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 8068 #define $ac_func innocuous_$ac_func 8069 7403 8070 /* System header to define __stub macros and hopefully few prototypes, 7404 which can conflict with char $ac_func (); below. */ 7405 #include <assert.h> 8071 which can conflict with char $ac_func (); below. 8072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8073 <limits.h> exists even on freestanding compilers. */ 8074 8075 #ifdef __STDC__ 8076 # include <limits.h> 8077 #else 8078 # include <assert.h> 8079 #endif 8080 8081 #undef $ac_func 8082 7406 8083 /* Override any gcc2 internal prototype to avoid an error. */ 7407 8084 #ifdef __cplusplus 7408 8085 extern "C" 8086 { 7409 8087 #endif 7410 8088 /* We use char because int might match the return type of a gcc2 7411 8089 builtin and then its argument prototype would still apply. */ 7412 8090 char $ac_func (); 7413 char (*f) ();7414 7415 int7416 main ()7417 {7418 8091 /* The GNU C library defines this for functions which it implements 7419 8092 to always fail with ENOSYS. Some functions are actually named … … 7422 8095 choke me 7423 8096 #else 7424 f= $ac_func;8097 char (*f) () = $ac_func; 7425 8098 #endif 7426 8099 #ifdef __cplusplus 8100 } 8101 #endif 8102 8103 int 8104 main () 8105 { 8106 return f != $ac_func; 7427 8107 ; 7428 8108 return 0; … … 7431 8111 rm -f conftest.$ac_objext conftest$ac_exeext 7432 8112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7433 (eval $ac_link) 2>&5 7434 ac_status=$? 8113 (eval $ac_link) 2>conftest.er1 8114 ac_status=$? 8115 grep -v '^ *+' conftest.er1 >conftest.err 8116 rm -f conftest.er1 8117 cat conftest.err >&5 7435 8118 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7436 8119 (exit $ac_status); } && 7437 { ac_try='test -s conftest$ac_exeext' 8120 { ac_try='test -z "$ac_c_werror_flag" 8121 || test ! -s conftest.err' 7438 8122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7439 8123 (eval $ac_try) 2>&5 7440 8124 ac_status=$? 7441 8125 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8126 (exit $ac_status); }; } && 8127 { ac_try='test -s conftest$ac_exeext' 8128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8129 (eval $ac_try) 2>&5 8130 ac_status=$? 8131 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7442 8132 (exit $ac_status); }; }; then 7443 8133 eval "$as_ac_var=yes" 7444 8134 else 7445 8135 echo "$as_me: failed program was:" >&5 7446 cat conftest.$ac_ext >&5 8136 sed 's/^/| /' conftest.$ac_ext >&5 8137 7447 8138 eval "$as_ac_var=no" 7448 8139 fi 7449 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8140 rm -f conftest.err conftest.$ac_objext \ 8141 conftest$ac_exeext conftest.$ac_ext 7450 8142 fi 7451 8143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 … … 7457 8149 7458 8150 else 7459 LIBOBJS="$LIBOBJS $ac_func.$ac_objext" 8151 case $LIBOBJS in 8152 "$ac_func.$ac_objext" | \ 8153 *" $ac_func.$ac_objext" | \ 8154 "$ac_func.$ac_objext "* | \ 8155 *" $ac_func.$ac_objext "* ) ;; 8156 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;; 8157 esac 8158 7460 8159 fi 7461 8160 done … … 7468 8167 else 7469 8168 cat >conftest.$ac_ext <<_ACEOF 7470 #line $LINENO "configure" 7471 #include "confdefs.h" 8169 /* confdefs.h. */ 8170 _ACEOF 8171 cat confdefs.h >>conftest.$ac_ext 8172 cat >>conftest.$ac_ext <<_ACEOF 8173 /* end confdefs.h. */ 7472 8174 $ac_includes_default 7473 8175 int … … 7484 8186 rm -f conftest.$ac_objext 7485 8187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7486 (eval $ac_compile) 2>&5 7487 ac_status=$? 8188 (eval $ac_compile) 2>conftest.er1 8189 ac_status=$? 8190 grep -v '^ *+' conftest.er1 >conftest.err 8191 rm -f conftest.er1 8192 cat conftest.err >&5 7488 8193 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7489 8194 (exit $ac_status); } && 7490 { ac_try='test -s conftest.$ac_objext' 8195 { ac_try='test -z "$ac_c_werror_flag" 8196 || test ! -s conftest.err' 7491 8197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7492 8198 (eval $ac_try) 2>&5 7493 8199 ac_status=$? 7494 8200 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8201 (exit $ac_status); }; } && 8202 { ac_try='test -s conftest.$ac_objext' 8203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8204 (eval $ac_try) 2>&5 8205 ac_status=$? 8206 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7495 8207 (exit $ac_status); }; }; then 7496 8208 ac_cv_type_off_t=yes 7497 8209 else 7498 8210 echo "$as_me: failed program was:" >&5 7499 cat conftest.$ac_ext >&5 8211 sed 's/^/| /' conftest.$ac_ext >&5 8212 7500 8213 ac_cv_type_off_t=no 7501 8214 fi 7502 rm -f conftest. $ac_objext conftest.$ac_ext8215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7503 8216 fi 7504 8217 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 … … 7520 8233 else 7521 8234 cat >conftest.$ac_ext <<_ACEOF 7522 #line $LINENO "configure" 7523 #include "confdefs.h" 8235 /* confdefs.h. */ 8236 _ACEOF 8237 cat confdefs.h >>conftest.$ac_ext 8238 cat >>conftest.$ac_ext <<_ACEOF 8239 /* end confdefs.h. */ 7524 8240 $ac_includes_default 7525 8241 int … … 7535 8251 rm -f conftest.$ac_objext 7536 8252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7537 (eval $ac_compile) 2>&5 7538 ac_status=$? 8253 (eval $ac_compile) 2>conftest.er1 8254 ac_status=$? 8255 grep -v '^ *+' conftest.er1 >conftest.err 8256 rm -f conftest.er1 8257 cat conftest.err >&5 7539 8258 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7540 8259 (exit $ac_status); } && 7541 { ac_try='test -s conftest.$ac_objext' 8260 { ac_try='test -z "$ac_c_werror_flag" 8261 || test ! -s conftest.err' 7542 8262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7543 8263 (eval $ac_try) 2>&5 7544 8264 ac_status=$? 7545 8265 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8266 (exit $ac_status); }; } && 8267 { ac_try='test -s conftest.$ac_objext' 8268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8269 (eval $ac_try) 2>&5 8270 ac_status=$? 8271 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7546 8272 (exit $ac_status); }; }; then 7547 8273 ac_cv_member_struct_stat_st_blksize=yes 7548 8274 else 7549 8275 echo "$as_me: failed program was:" >&5 7550 cat conftest.$ac_ext >&5 8276 sed 's/^/| /' conftest.$ac_ext >&5 8277 7551 8278 cat >conftest.$ac_ext <<_ACEOF 7552 #line $LINENO "configure" 7553 #include "confdefs.h" 8279 /* confdefs.h. */ 8280 _ACEOF 8281 cat confdefs.h >>conftest.$ac_ext 8282 cat >>conftest.$ac_ext <<_ACEOF 8283 /* end confdefs.h. */ 7554 8284 $ac_includes_default 7555 8285 int … … 7565 8295 rm -f conftest.$ac_objext 7566 8296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7567 (eval $ac_compile) 2>&5 7568 ac_status=$? 8297 (eval $ac_compile) 2>conftest.er1 8298 ac_status=$? 8299 grep -v '^ *+' conftest.er1 >conftest.err 8300 rm -f conftest.er1 8301 cat conftest.err >&5 7569 8302 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7570 8303 (exit $ac_status); } && 7571 { ac_try='test -s conftest.$ac_objext' 8304 { ac_try='test -z "$ac_c_werror_flag" 8305 || test ! -s conftest.err' 7572 8306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7573 8307 (eval $ac_try) 2>&5 7574 8308 ac_status=$? 7575 8309 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8310 (exit $ac_status); }; } && 8311 { ac_try='test -s conftest.$ac_objext' 8312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8313 (eval $ac_try) 2>&5 8314 ac_status=$? 8315 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7576 8316 (exit $ac_status); }; }; then 7577 8317 ac_cv_member_struct_stat_st_blksize=yes 7578 8318 else 7579 8319 echo "$as_me: failed program was:" >&5 7580 cat conftest.$ac_ext >&5 8320 sed 's/^/| /' conftest.$ac_ext >&5 8321 7581 8322 ac_cv_member_struct_stat_st_blksize=no 7582 8323 fi 7583 rm -f conftest. $ac_objext conftest.$ac_ext7584 fi 7585 rm -f conftest. $ac_objext conftest.$ac_ext8324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8325 fi 8326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7586 8327 fi 7587 8328 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5 … … 7626 8367 # substitution turns \\\\ into \\, and sed turns \\ into \). 7627 8368 sed -n \ 7628 7629 8369 "s/'/'\\\\''/g; 8370 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 7630 8371 ;; 7631 8372 *) 7632 8373 # `set' quotes correctly as required by POSIX, so do not add quotes. 7633 8374 sed -n \ 7634 8375 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 7635 8376 ;; 7636 8377 esac; … … 7643 8384 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 7644 8385 : end' >>confcache 7645 if cmp -s $cache_file confcache; then :; else8386 if diff $cache_file confcache >/dev/null 2>&1; then :; else 7646 8387 if test -w $cache_file; then 7647 8388 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" … … 7662 8403 # (actually we leave an empty line to preserve line numbers). 7663 8404 if test "x$srcdir" = x.; then 7664 ac_vpsub='/^[ ]*VPATH[]*=/{8405 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 7665 8406 s/:*\$(srcdir):*/:/; 7666 8407 s/:*\${srcdir}:*/:/; 7667 8408 s/:*@srcdir@:*/:/; 7668 s/^\([^=]*=[ 8409 s/^\([^=]*=[ ]*\):*/\1/; 7669 8410 s/:*$//; 7670 s/^[^=]*=[ 8411 s/^[^=]*=[ ]*$//; 7671 8412 }' 7672 8413 fi … … 7679 8420 # 1. Remove the extension, and $U if already installed. 7680 8421 ac_i=`echo "$ac_i" | 7681 8422 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 7682 8423 # 2. Add them. 7683 8424 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" … … 7703 8444 7704 8445 debug=false 8446 ac_cs_recheck=false 8447 ac_cs_silent=false 7705 8448 SHELL=\${CONFIG_SHELL-$SHELL} 7706 8449 _ACEOF … … 7721 8464 set -o posix 7722 8465 fi 8466 DUALCASE=1; export DUALCASE # for MKS sh 7723 8467 7724 8468 # Support unset when possible. 7725 if ( FOO=FOO; unset FOO) >/dev/null 2>&1; then8469 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 7726 8470 as_unset=unset 7727 8471 else … … 7737 8481 7738 8482 # NLS nuisances. 7739 for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME 8483 for as_var in \ 8484 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 8485 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 8486 LC_TELEPHONE LC_TIME 7740 8487 do 7741 if (set +x; test - n"`(eval $as_var=C; export $as_var) 2>&1`"); then8488 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 7742 8489 eval $as_var=C; export $as_var 7743 8490 else … … 7783 8530 # The user is always right. 7784 8531 if test "${PATH_SEPARATOR+set}" != set; then 7785 echo "#! /bin/sh" >conf test.sh7786 echo "exit 0" >>conf test.sh7787 chmod +x conf test.sh7788 if (PATH="/nonexistent;."; conf test.sh) >/dev/null 2>&1; then8532 echo "#! /bin/sh" >conf$$.sh 8533 echo "exit 0" >>conf$$.sh 8534 chmod +x conf$$.sh 8535 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 7789 8536 PATH_SEPARATOR=';' 7790 8537 else 7791 8538 PATH_SEPARATOR=: 7792 8539 fi 7793 rm -f conf test.sh8540 rm -f conf$$.sh 7794 8541 fi 7795 8542 … … 7918 8665 as_mkdir_p=: 7919 8666 else 8667 test -d ./-p && rmdir ./-p 7920 8668 as_mkdir_p=false 7921 8669 fi … … 7924 8672 7925 8673 # Sed expression to map a string onto a valid CPP name. 7926 as_tr_cpp=" sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"8674 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 7927 8675 7928 8676 # Sed expression to map a string onto a valid variable name. 7929 as_tr_sh=" sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"8677 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 7930 8678 7931 8679 … … 7954 8702 7955 8703 This file was extended by gdbm $as_me 1.8.3, which was 7956 generated by GNU Autoconf 2.5 4. Invocation command line was8704 generated by GNU Autoconf 2.59. Invocation command line was 7957 8705 7958 8706 CONFIG_FILES = $CONFIG_FILES … … 7994 8742 -h, --help print this help, then exit 7995 8743 -V, --version print version number, then exit 8744 -q, --quiet do not print progress messages 7996 8745 -d, --debug don't remove temporary files 7997 8746 --recheck update $as_me by reconfiguring in the same conditions 7998 8747 --file=FILE[:TEMPLATE] 7999 8748 instantiate the configuration file FILE 8000 8749 --header=FILE[:TEMPLATE] 8001 8750 instantiate the configuration header FILE 8002 8751 8003 8752 Configuration files: … … 8013 8762 ac_cs_version="\\ 8014 8763 gdbm config.status 1.8.3 8015 configured by $0, generated by GNU Autoconf 2.5 4,8764 configured by $0, generated by GNU Autoconf 2.59, 8016 8765 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 8017 8766 8018 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 8019 Free Software Foundation, Inc. 8767 Copyright (C) 2003 Free Software Foundation, Inc. 8020 8768 This config.status script is free software; the Free Software Foundation 8021 8769 gives unlimited permission to copy, distribute and modify it." … … 8050 8798 # Handling of the options. 8051 8799 _ACEOF 8052 cat >>$CONFIG_STATUS << _ACEOF8800 cat >>$CONFIG_STATUS <<\_ACEOF 8053 8801 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 8054 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" 8055 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; 8056 _ACEOF 8057 cat >>$CONFIG_STATUS <<\_ACEOF 8802 ac_cs_recheck=: ;; 8058 8803 --version | --vers* | -V ) 8059 8804 echo "$ac_cs_version"; exit 0 ;; … … 8077 8822 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 8078 8823 ac_need_defaults=false;; 8824 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 8825 | -silent | --silent | --silen | --sile | --sil | --si | --s) 8826 ac_cs_silent=: ;; 8079 8827 8080 8828 # This is an error. … … 8090 8838 shift 8091 8839 done 8840 8841 ac_configure_extra_args= 8842 8843 if $ac_cs_silent; then 8844 exec 6>/dev/null 8845 ac_configure_extra_args="$ac_configure_extra_args --silent" 8846 fi 8847 8848 _ACEOF 8849 cat >>$CONFIG_STATUS <<_ACEOF 8850 if \$ac_cs_recheck; then 8851 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 8852 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 8853 fi 8092 8854 8093 8855 _ACEOF … … 8119 8881 fi 8120 8882 8883 # Have a temporary directory for convenience. Make it in the build tree 8884 # simply because there is no reason to put it here, and in addition, 8885 # creating and moving files from /tmp can sometimes cause problems. 8121 8886 # Create a temporary directory, and hook for its removal unless debugging. 8122 8887 $debug || … … 8127 8892 8128 8893 # Create a (secure) tmp directory for tmp files. 8129 : ${TMPDIR=/tmp} 8894 8130 8895 { 8131 tmp=`(umask 077 && mktemp -d -q " $TMPDIR/csXXXXXX") 2>/dev/null` &&8896 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 8132 8897 test -n "$tmp" && test -d "$tmp" 8133 8898 } || 8134 8899 { 8135 tmp= $TMPDIR/cs$$-$RANDOM8900 tmp=./confstat$$-$RANDOM 8136 8901 (umask 077 && mkdir $tmp) 8137 8902 } || 8138 8903 { 8139 echo "$me: cannot create a temporary directory in $TMPDIR" >&28904 echo "$me: cannot create a temporary directory in ." >&2 8140 8905 { (exit 1); exit 1; } 8141 8906 } … … 8185 8950 s,@ECHO_T@,$ECHO_T,;t t 8186 8951 s,@LIBS@,$LIBS,;t t 8952 s,@build@,$build,;t t 8953 s,@build_cpu@,$build_cpu,;t t 8954 s,@build_vendor@,$build_vendor,;t t 8955 s,@build_os@,$build_os,;t t 8956 s,@host@,$host,;t t 8957 s,@host_cpu@,$host_cpu,;t t 8958 s,@host_vendor@,$host_vendor,;t t 8959 s,@host_os@,$host_os,;t t 8960 s,@target@,$target,;t t 8961 s,@target_cpu@,$target_cpu,;t t 8962 s,@target_vendor@,$target_vendor,;t t 8963 s,@target_os@,$target_os,;t t 8187 8964 s,@CC@,$CC,;t t 8188 8965 s,@CFLAGS@,$CFLAGS,;t t … … 8196 8973 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 8197 8974 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 8198 s,@build@,$build,;t t8199 s,@build_cpu@,$build_cpu,;t t8200 s,@build_vendor@,$build_vendor,;t t8201 s,@build_os@,$build_os,;t t8202 s,@host@,$host,;t t8203 s,@host_cpu@,$host_cpu,;t t8204 s,@host_vendor@,$host_vendor,;t t8205 s,@host_os@,$host_os,;t t8206 8975 s,@LN_S@,$LN_S,;t t 8207 8976 s,@ECHO@,$ECHO,;t t … … 8212 8981 s,@EGREP@,$EGREP,;t t 8213 8982 s,@LIBTOOL@,$LIBTOOL,;t t 8983 s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t 8214 8984 s,@LIBOBJS@,$LIBOBJS,;t t 8215 8985 s,@LTLIBOBJS@,$LTLIBOBJS,;t t … … 8243 9013 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 8244 9014 if test -z "$ac_sed_cmds"; then 8245 9015 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 8246 9016 else 8247 9017 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 8248 9018 fi 8249 9019 ac_sed_frag=`expr $ac_sed_frag + 1` … … 8263 9033 case $ac_file in 8264 9034 - | *:- | *:-:* ) # input from stdin 8265 8266 8267 9035 cat >$tmp/stdin 9036 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 9037 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8268 9038 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8269 9039 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8270 9040 * ) ac_file_in=$ac_file.in ;; 8271 9041 esac … … 8274 9044 ac_dir=`(dirname "$ac_file") 2>/dev/null || 8275 9045 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8276 8277 8278 8279 9046 X"$ac_file" : 'X\(//\)[^/]' \| \ 9047 X"$ac_file" : 'X\(//\)$' \| \ 9048 X"$ac_file" : 'X\(/\)' \| \ 9049 . : '\(.\)' 2>/dev/null || 8280 9050 echo X"$ac_file" | 8281 9051 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 8293 9063 as_dir=`(dirname "$as_dir") 2>/dev/null || 8294 9064 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8295 8296 8297 8298 9065 X"$as_dir" : 'X\(//\)[^/]' \| \ 9066 X"$as_dir" : 'X\(//\)$' \| \ 9067 X"$as_dir" : 'X\(/\)' \| \ 9068 . : '\(.\)' 2>/dev/null || 8299 9069 echo X"$as_dir" | 8300 9070 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 8334 9104 ac_top_srcdir=$ac_top_builddir$srcdir ;; 8335 9105 esac 8336 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 8337 # absolute. 8338 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 8339 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 8340 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 8341 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 9106 9107 # Do not use `cd foo && pwd` to compute absolute paths, because 9108 # the directories may not exist. 9109 case `pwd` in 9110 .) ac_abs_builddir="$ac_dir";; 9111 *) 9112 case "$ac_dir" in 9113 .) ac_abs_builddir=`pwd`;; 9114 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 9115 *) ac_abs_builddir=`pwd`/"$ac_dir";; 9116 esac;; 9117 esac 9118 case $ac_abs_builddir in 9119 .) ac_abs_top_builddir=${ac_top_builddir}.;; 9120 *) 9121 case ${ac_top_builddir}. in 9122 .) ac_abs_top_builddir=$ac_abs_builddir;; 9123 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 9124 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 9125 esac;; 9126 esac 9127 case $ac_abs_builddir in 9128 .) ac_abs_srcdir=$ac_srcdir;; 9129 *) 9130 case $ac_srcdir in 9131 .) ac_abs_srcdir=$ac_abs_builddir;; 9132 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 9133 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 9134 esac;; 9135 esac 9136 case $ac_abs_builddir in 9137 .) ac_abs_top_srcdir=$ac_top_srcdir;; 9138 *) 9139 case $ac_top_srcdir in 9140 .) ac_abs_top_srcdir=$ac_abs_builddir;; 9141 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 9142 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 9143 esac;; 9144 esac 8342 9145 8343 9146 … … 8361 9164 fi 8362 9165 configure_input=$configure_input"Generated from `echo $ac_file_in | 8363 9166 sed 's,.*/,,'` by configure." 8364 9167 8365 9168 # First look for the input files in the build tree, otherwise in the … … 8370 9173 -) echo $tmp/stdin ;; 8371 9174 [\\/$]*) 8372 8373 9175 # Absolute (can't be DOS-style, as IFS=:) 9176 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8374 9177 echo "$as_me: error: cannot find input file: $f" >&2;} 8375 9178 { (exit 1); exit 1; }; } 8376 echo $f;;9179 echo "$f";; 8377 9180 *) # Relative 8378 8379 8380 echo $f 8381 8382 8383 echo $srcdir/$f 8384 8385 8386 9181 if test -f "$f"; then 9182 # Build tree 9183 echo "$f" 9184 elif test -f "$srcdir/$f"; then 9185 # Source tree 9186 echo "$srcdir/$f" 9187 else 9188 # /dev/null tree 9189 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8387 9190 echo "$as_me: error: cannot find input file: $f" >&2;} 8388 9191 { (exit 1); exit 1; }; } 8389 9192 fi;; 8390 9193 esac 8391 9194 done` || { (exit 1); exit 1; } … … 8429 9232 # 8430 9233 # ac_d sets the value in "#define NAME VALUE" lines. 8431 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][]*\)'8432 ac_dB='[ 9234 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 9235 ac_dB='[ ].*$,\1#\2' 8433 9236 ac_dC=' ' 8434 9237 ac_dD=',;t' 8435 9238 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 8436 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][]*\)'9239 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 8437 9240 ac_uB='$,\1#\2define\3' 8438 9241 ac_uC=' ' … … 8443 9246 case $ac_file in 8444 9247 - | *:- | *:-:* ) # input from stdin 8445 8446 8447 9248 cat >$tmp/stdin 9249 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 9250 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8448 9251 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8449 9252 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8450 9253 * ) ac_file_in=$ac_file.in ;; 8451 9254 esac … … 8461 9264 -) echo $tmp/stdin ;; 8462 9265 [\\/$]*) 8463 8464 9266 # Absolute (can't be DOS-style, as IFS=:) 9267 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8465 9268 echo "$as_me: error: cannot find input file: $f" >&2;} 8466 9269 { (exit 1); exit 1; }; } 8467 echo $f;; 9270 # Do quote $f, to prevent DOS paths from being IFS'd. 9271 echo "$f";; 8468 9272 *) # Relative 8469 8470 8471 echo $f 8472 8473 8474 echo $srcdir/$f 8475 8476 8477 9273 if test -f "$f"; then 9274 # Build tree 9275 echo "$f" 9276 elif test -f "$srcdir/$f"; then 9277 # Source tree 9278 echo "$srcdir/$f" 9279 else 9280 # /dev/null tree 9281 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8478 9282 echo "$as_me: error: cannot find input file: $f" >&2;} 8479 9283 { (exit 1); exit 1; }; } 8480 9284 fi;; 8481 9285 esac 8482 9286 done` || { (exit 1); exit 1; } 8483 9287 # Remove the trailing spaces. 8484 sed 's/[ 9288 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 8485 9289 8486 9290 _ACEOF … … 8505 9309 t clear 8506 9310 : clear 8507 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp9311 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 8508 9312 t end 8509 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp9313 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 8510 9314 : end 8511 9315 _ACEOF … … 8521 9325 # on some systems where configure will not decide to define it. 8522 9326 cat >>conftest.undefs <<\_ACEOF 8523 s,^[ ]*#[ ]*undef[ ][]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,9327 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 8524 9328 _ACEOF 8525 9329 … … 8527 9331 # of here documents, and old seds have small limits too (100 cmds). 8528 9332 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 8529 echo ' if grep "^[ ]*#[]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS9333 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 8530 9334 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 8531 9335 echo ' :' >>$CONFIG_STATUS … … 8536 9340 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 8537 9341 # Speed up: don't consider the non `#define' lines. 8538 echo '/^[ ]*#[]*define/!b' >>$CONFIG_STATUS9342 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 8539 9343 # Work around the forget-to-reset-the-flag bug. 8540 9344 echo 't clr' >>$CONFIG_STATUS … … 8563 9367 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 8564 9368 # Speed up: don't consider the non `#undef' 8565 echo '/^[ ]*#[]*undef/!b' >>$CONFIG_STATUS9369 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 8566 9370 # Work around the forget-to-reset-the-flag bug. 8567 9371 echo 't clr' >>$CONFIG_STATUS … … 8591 9395 rm -f $tmp/in 8592 9396 if test x"$ac_file" != x-; then 8593 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then9397 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 8594 9398 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 8595 9399 echo "$as_me: $ac_file is unchanged" >&6;} … … 8597 9401 ac_dir=`(dirname "$ac_file") 2>/dev/null || 8598 9402 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8599 8600 8601 8602 9403 X"$ac_file" : 'X\(//\)[^/]' \| \ 9404 X"$ac_file" : 'X\(//\)$' \| \ 9405 X"$ac_file" : 'X\(/\)' \| \ 9406 . : '\(.\)' 2>/dev/null || 8603 9407 echo X"$ac_file" | 8604 9408 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 8616 9420 as_dir=`(dirname "$as_dir") 2>/dev/null || 8617 9421 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8618 8619 8620 8621 9422 X"$as_dir" : 'X\(//\)[^/]' \| \ 9423 X"$as_dir" : 'X\(//\)$' \| \ 9424 X"$as_dir" : 'X\(/\)' \| \ 9425 . : '\(.\)' 2>/dev/null || 8622 9426 echo X"$as_dir" | 8623 9427 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } … … 8660 9464 if test "$no_create" != yes; then 8661 9465 ac_cs_success=: 9466 ac_config_status_args= 9467 test "$silent" = yes && 9468 ac_config_status_args="$ac_config_status_args --quiet" 8662 9469 exec 5>/dev/null 8663 $SHELL $CONFIG_STATUS || ac_cs_success=false9470 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 8664 9471 exec 5>>config.log 8665 9472 # Use ||, not &&, to avoid exiting from the if with $? = 1, which -
gsdl/trunk/common-src/packages/gdbm/gdbm-1.8.3/configure.in
r18019 r18345 4 4 AC_CONFIG_SRCDIR([gdbmdefs.h]) 5 5 AC_CONFIG_HEADERS([autoconf.h]) 6 7 dnl get $target_cpu, $target_vendor, and $target_os 8 dnl (as well as host_*) 9 AC_CANONICAL_SYSTEM 10 6 11 AC_PROG_CC 7 12 AC_PROG_CPP … … 10 15 dnl AC_PROG_RANLIB 11 16 dnl AC_C_BIGENDIAN([]) 17 18 AC_MSG_CHECKING(to see if architecture is 64-bit) 19 arch_64bit=no 20 case "$host_cpu" in 21 x86_64) arch_64bit=yes ;; 22 esac 23 24 if test "$arch_64bit" = yes; then 25 AC_MSG_RESULT(yes) 26 if test -z "$COMPAT32BITFLAGS" ; then 27 COMPAT32BITFLAGS="-m32" 28 LIBTOOLCOMPAT32BITFLAGS="-Wl,-m32" 29 fi 30 else 31 AC_MSG_RESULT(no) 32 if test -z "$COMPAT32BITFLAGS" ; then 33 COMPAT32BITFLAGS= 34 LIBTOOLCOMPAT32BITFLAGS= 35 fi 36 fi 37 export COMPAT32BITFLAGS 38 AC_SUBST(COMPAT32BITFLAGS) 39 40 12 41 AC_C_CONST 13 42 AC_CHECK_HEADERS([stdlib.h string.h sys/file.h unistd.h fcntl.h sys/types.h memory.y])
Note:
See TracChangeset
for help on using the changeset viewer.