Changeset 700
- Timestamp:
- 1999-10-15T18:02:53+13:00 (25 years ago)
- Location:
- trunk/gsdl
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/configure
r687 r700 12 12 ac_default_prefix=/usr/local 13 13 # Any additions from configure.in: 14 ac_help="$ac_help 15 --with-dmalloc use dmalloc, as in 16 ftp://ftp.letters.com/src/dmalloc/dmalloc.tar.gz" 17 ac_help="$ac_help 18 --with-regex use older regex in lieu of GNU rx for matching" 19 ac_help="$ac_help 20 --with-dmalloc use dmalloc, as in 21 ftp://ftp.letters.com/src/dmalloc/dmalloc.tar.gz" 22 ac_help="$ac_help 23 --with-regex use older regex in lieu of GNU rx for matching" 14 24 15 25 # Initialize some variables set by options. … … 571 581 set dummy gcc; ac_word=$2 572 582 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 573 echo "configure:5 74: checking for $ac_word" >&5583 echo "configure:584: checking for $ac_word" >&5 574 584 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 575 585 echo $ac_n "(cached) $ac_c" 1>&6 … … 601 611 set dummy cc; ac_word=$2 602 612 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 603 echo "configure:6 04: checking for $ac_word" >&5613 echo "configure:614: checking for $ac_word" >&5 604 614 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 605 615 echo $ac_n "(cached) $ac_c" 1>&6 … … 652 662 set dummy cl; ac_word=$2 653 663 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 654 echo "configure:6 55: checking for $ac_word" >&5664 echo "configure:665: checking for $ac_word" >&5 655 665 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 656 666 echo $ac_n "(cached) $ac_c" 1>&6 … … 684 694 685 695 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 686 echo "configure:6 87: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5696 echo "configure:697: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 687 697 688 698 ac_ext=c … … 695 705 cat > conftest.$ac_ext << EOF 696 706 697 #line 698 "configure"707 #line 708 "configure" 698 708 #include "confdefs.h" 699 709 700 710 main(){return(0);} 701 711 EOF 702 if { (eval echo configure:7 03: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then712 if { (eval echo configure:713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 703 713 ac_cv_prog_cc_works=yes 704 714 # If we can't run a trivial program, we are probably using a cross compiler. … … 726 736 fi 727 737 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 728 echo "configure:7 29: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5738 echo "configure:739: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 729 739 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 730 740 cross_compiling=$ac_cv_prog_cc_cross 731 741 732 742 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 733 echo "configure:7 34: checking whether we are using GNU C" >&5743 echo "configure:744: checking whether we are using GNU C" >&5 734 744 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 735 745 echo $ac_n "(cached) $ac_c" 1>&6 … … 740 750 #endif 741 751 EOF 742 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:7 43: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then752 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:753: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 743 753 ac_cv_prog_gcc=yes 744 754 else … … 759 769 CFLAGS= 760 770 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 761 echo "configure:7 62: checking whether ${CC-cc} accepts -g" >&5771 echo "configure:772: checking whether ${CC-cc} accepts -g" >&5 762 772 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 763 773 echo $ac_n "(cached) $ac_c" 1>&6 … … 795 805 set dummy $ac_prog; ac_word=$2 796 806 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 797 echo "configure: 798: checking for $ac_word" >&5807 echo "configure:808: checking for $ac_word" >&5 798 808 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then 799 809 echo $ac_n "(cached) $ac_c" 1>&6 … … 827 837 828 838 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 829 echo "configure:8 30: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5839 echo "configure:840: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 830 840 831 841 ac_ext=C … … 838 848 cat > conftest.$ac_ext << EOF 839 849 840 #line 8 41 "configure"850 #line 851 "configure" 841 851 #include "confdefs.h" 842 852 843 853 int main(){return(0);} 844 854 EOF 845 if { (eval echo configure:8 46: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then855 if { (eval echo configure:856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 846 856 ac_cv_prog_cxx_works=yes 847 857 # If we can't run a trivial program, we are probably using a cross compiler. … … 869 879 fi 870 880 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 871 echo "configure:8 72: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5881 echo "configure:882: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 872 882 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 873 883 cross_compiling=$ac_cv_prog_cxx_cross 874 884 875 885 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 876 echo "configure:8 77: checking whether we are using GNU C++" >&5886 echo "configure:887: checking whether we are using GNU C++" >&5 877 887 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then 878 888 echo $ac_n "(cached) $ac_c" 1>&6 … … 883 893 #endif 884 894 EOF 885 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:8 86: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then895 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:896: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 886 896 ac_cv_prog_gxx=yes 887 897 else … … 902 912 CXXFLAGS= 903 913 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 904 echo "configure:9 05: checking whether ${CXX-g++} accepts -g" >&5914 echo "configure:915: checking whether ${CXX-g++} accepts -g" >&5 905 915 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then 906 916 echo $ac_n "(cached) $ac_c" 1>&6 … … 938 948 set dummy $ac_prog; ac_word=$2 939 949 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 940 echo "configure:9 41: checking for $ac_word" >&5950 echo "configure:951: checking for $ac_word" >&5 941 951 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then 942 952 echo $ac_n "(cached) $ac_c" 1>&6 … … 972 982 set dummy $ac_prog; ac_word=$2 973 983 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 974 echo "configure:9 75: checking for $ac_word" >&5984 echo "configure:985: checking for $ac_word" >&5 975 985 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then 976 986 echo $ac_n "(cached) $ac_c" 1>&6 … … 1003 1013 1004 1014 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1005 echo "configure:10 06: checking whether ln -s works" >&51015 echo "configure:1016: checking whether ln -s works" >&5 1006 1016 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1007 1017 echo $ac_n "(cached) $ac_c" 1>&6 … … 1024 1034 1025 1035 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 1026 echo "configure:10 27: checking whether ${MAKE-make} sets \${MAKE}" >&51036 echo "configure:1037: checking whether ${MAKE-make} sets \${MAKE}" >&5 1027 1037 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 1028 1038 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 1053 1063 set dummy ranlib; ac_word=$2 1054 1064 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1055 echo "configure:10 56: checking for $ac_word" >&51065 echo "configure:1066: checking for $ac_word" >&5 1056 1066 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1057 1067 echo $ac_n "(cached) $ac_c" 1>&6 … … 1083 1093 1084 1094 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 1085 echo "configure:10 86: checking how to run the C preprocessor" >&51095 echo "configure:1096: checking how to run the C preprocessor" >&5 1086 1096 # On Suns, sometimes $CPP names a directory. 1087 1097 if test -n "$CPP" && test -d "$CPP"; then … … 1098 1108 # not just through cpp. 1099 1109 cat > conftest.$ac_ext <<EOF 1100 #line 11 01 "configure"1110 #line 1111 "configure" 1101 1111 #include "confdefs.h" 1102 1112 #include <assert.h> … … 1104 1114 EOF 1105 1115 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1106 { (eval echo configure:11 07: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1116 { (eval echo configure:1117: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1107 1117 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1108 1118 if test -z "$ac_err"; then … … 1115 1125 CPP="${CC-cc} -E -traditional-cpp" 1116 1126 cat > conftest.$ac_ext <<EOF 1117 #line 11 18 "configure"1127 #line 1128 "configure" 1118 1128 #include "confdefs.h" 1119 1129 #include <assert.h> … … 1121 1131 EOF 1122 1132 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1123 { (eval echo configure:11 24: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1133 { (eval echo configure:1134: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1124 1134 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1125 1135 if test -z "$ac_err"; then … … 1132 1142 CPP="${CC-cc} -nologo -E" 1133 1143 cat > conftest.$ac_ext <<EOF 1134 #line 11 35 "configure"1144 #line 1145 "configure" 1135 1145 #include "confdefs.h" 1136 1146 #include <assert.h> … … 1138 1148 EOF 1139 1149 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1140 { (eval echo configure:11 41: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1150 { (eval echo configure:1151: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1141 1151 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1142 1152 if test -z "$ac_err"; then … … 1163 1173 1164 1174 echo $ac_n "checking for AIX""... $ac_c" 1>&6 1165 echo "configure:11 66: checking for AIX" >&51175 echo "configure:1176: checking for AIX" >&5 1166 1176 cat > conftest.$ac_ext <<EOF 1167 #line 11 68 "configure"1177 #line 1178 "configure" 1168 1178 #include "confdefs.h" 1169 1179 #ifdef _AIX … … 1187 1197 1188 1198 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 1189 echo "configure:1 190: checking for POSIXized ISC" >&51199 echo "configure:1200: checking for POSIXized ISC" >&5 1190 1200 if test -d /etc/conf/kconfig.d && 1191 1201 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 … … 1209 1219 ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'` 1210 1220 echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6 1211 echo "configure:12 12: checking for minix/config.h" >&51221 echo "configure:1222: checking for minix/config.h" >&5 1212 1222 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1213 1223 echo $ac_n "(cached) $ac_c" 1>&6 1214 1224 else 1215 1225 cat > conftest.$ac_ext <<EOF 1216 #line 12 17 "configure"1226 #line 1227 "configure" 1217 1227 #include "confdefs.h" 1218 1228 #include <minix/config.h> 1219 1229 EOF 1220 1230 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1221 { (eval echo configure:12 22: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1231 { (eval echo configure:1232: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1222 1232 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1223 1233 if test -z "$ac_err"; then … … 1256 1266 fi 1257 1267 1258 fp_C_PROTOTYPES 1268 echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6 1269 echo "configure:1270: checking for ${CC-cc} option to accept ANSI C" >&5 1270 if eval "test \"`echo '$''{'ac_cv_prog_cc_stdc'+set}'`\" = set"; then 1271 echo $ac_n "(cached) $ac_c" 1>&6 1272 else 1273 ac_cv_prog_cc_stdc=no 1274 ac_save_CFLAGS="$CFLAGS" 1275 # Don't try gcc -ansi; that turns off useful extensions and 1276 # breaks some systems' header files. 1277 # AIX -qlanglvl=ansi 1278 # Ultrix and OSF/1 -std1 1279 # HP-UX -Aa -D_HPUX_SOURCE 1280 # SVR4 -Xc 1281 for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" -Xc 1282 do 1283 CFLAGS="$ac_save_CFLAGS $ac_arg" 1284 cat > conftest.$ac_ext <<EOF 1285 #line 1286 "configure" 1286 #include "confdefs.h" 1287 #if !defined(__STDC__) || __STDC__ != 1 1288 choke me 1289 #endif 1290 1291 int main() { 1292 int test (int i, double x); 1293 struct s1 {int (*f) (int a);}; 1294 struct s2 {int (*f) (double a);}; 1295 ; return 0; } 1296 EOF 1297 if { (eval echo configure:1298: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1298 rm -rf conftest* 1299 ac_cv_prog_cc_stdc="$ac_arg"; break 1300 else 1301 echo "configure: failed program was:" >&5 1302 cat conftest.$ac_ext >&5 1303 fi 1304 rm -f conftest* 1305 done 1306 CFLAGS="$ac_save_CFLAGS" 1307 1308 fi 1309 1310 echo "$ac_t""$ac_cv_prog_cc_stdc" 1>&6 1311 case "x$ac_cv_prog_cc_stdc" in 1312 x|xno) ;; 1313 *) CC="$CC $ac_cv_prog_cc_stdc" ;; 1314 esac 1315 1316 1317 echo $ac_n "checking for function prototypes""... $ac_c" 1>&6 1318 echo "configure:1319: checking for function prototypes" >&5 1319 if test "$ac_cv_prog_cc_stdc" != no; then 1320 echo "$ac_t""yes" 1>&6 1321 cat >> confdefs.h <<\EOF 1322 #define PROTOTYPES 1 1323 EOF 1324 1325 U= ANSI2KNR= 1326 else 1327 echo "$ac_t""no" 1>&6 1328 U=_ ANSI2KNR=ansi2knr 1329 fi 1330 1259 1331 echo $ac_n "checking for working const""... $ac_c" 1>&6 1260 echo "configure:1 261: checking for working const" >&51332 echo "configure:1333: checking for working const" >&5 1261 1333 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 1262 1334 echo $ac_n "(cached) $ac_c" 1>&6 1263 1335 else 1264 1336 cat > conftest.$ac_ext <<EOF 1265 #line 1 266"configure"1337 #line 1338 "configure" 1266 1338 #include "confdefs.h" 1267 1339 … … 1312 1384 ; return 0; } 1313 1385 EOF 1314 if { (eval echo configure:13 15: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1386 if { (eval echo configure:1387: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1315 1387 rm -rf conftest* 1316 1388 ac_cv_c_const=yes … … 1333 1405 1334 1406 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 1335 echo "configure:1 336: checking for ANSI C header files" >&51407 echo "configure:1408: checking for ANSI C header files" >&5 1336 1408 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 1337 1409 echo $ac_n "(cached) $ac_c" 1>&6 1338 1410 else 1339 1411 cat > conftest.$ac_ext <<EOF 1340 #line 1 341"configure"1412 #line 1413 "configure" 1341 1413 #include "confdefs.h" 1342 1414 #include <stdlib.h> … … 1346 1418 EOF 1347 1419 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1348 { (eval echo configure:1 349: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1420 { (eval echo configure:1421: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1349 1421 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1350 1422 if test -z "$ac_err"; then … … 1363 1435 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1364 1436 cat > conftest.$ac_ext <<EOF 1365 #line 1 366"configure"1437 #line 1438 "configure" 1366 1438 #include "confdefs.h" 1367 1439 #include <string.h> … … 1381 1453 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1382 1454 cat > conftest.$ac_ext <<EOF 1383 #line 1 384"configure"1455 #line 1456 "configure" 1384 1456 #include "confdefs.h" 1385 1457 #include <stdlib.h> … … 1402 1474 else 1403 1475 cat > conftest.$ac_ext <<EOF 1404 #line 14 05"configure"1476 #line 1477 "configure" 1405 1477 #include "confdefs.h" 1406 1478 #include <ctype.h> … … 1413 1485 1414 1486 EOF 1415 if { (eval echo configure:14 16: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1487 if { (eval echo configure:1488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1416 1488 then 1417 1489 : … … 1437 1509 1438 1510 echo $ac_n "checking for off_t""... $ac_c" 1>&6 1439 echo "configure:1 440: checking for off_t" >&51511 echo "configure:1512: checking for off_t" >&5 1440 1512 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then 1441 1513 echo $ac_n "(cached) $ac_c" 1>&6 1442 1514 else 1443 1515 cat > conftest.$ac_ext <<EOF 1444 #line 1 445"configure"1516 #line 1517 "configure" 1445 1517 #include "confdefs.h" 1446 1518 #include <sys/types.h> … … 1470 1542 1471 1543 echo $ac_n "checking for size_t""... $ac_c" 1>&6 1472 echo "configure:1 473: checking for size_t" >&51544 echo "configure:1545: checking for size_t" >&5 1473 1545 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 1474 1546 echo $ac_n "(cached) $ac_c" 1>&6 1475 1547 else 1476 1548 cat > conftest.$ac_ext <<EOF 1477 #line 1 478"configure"1549 #line 1550 "configure" 1478 1550 #include "confdefs.h" 1479 1551 #include <sys/types.h> … … 1503 1575 1504 1576 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 1505 echo "configure:15 06: checking whether time.h and sys/time.h may both be included" >&51577 echo "configure:1578: checking whether time.h and sys/time.h may both be included" >&5 1506 1578 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 1507 1579 echo $ac_n "(cached) $ac_c" 1>&6 1508 1580 else 1509 1581 cat > conftest.$ac_ext <<EOF 1510 #line 15 11"configure"1582 #line 1583 "configure" 1511 1583 #include "confdefs.h" 1512 1584 #include <sys/types.h> … … 1517 1589 ; return 0; } 1518 1590 EOF 1519 if { (eval echo configure:15 20: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1591 if { (eval echo configure:1592: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1520 1592 rm -rf conftest* 1521 1593 ac_cv_header_time=yes … … 1538 1610 1539 1611 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 1540 echo "configure:1 541: checking whether struct tm is in sys/time.h or time.h" >&51612 echo "configure:1613: checking whether struct tm is in sys/time.h or time.h" >&5 1541 1613 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then 1542 1614 echo $ac_n "(cached) $ac_c" 1>&6 1543 1615 else 1544 1616 cat > conftest.$ac_ext <<EOF 1545 #line 1 546"configure"1617 #line 1618 "configure" 1546 1618 #include "confdefs.h" 1547 1619 #include <sys/types.h> … … 1551 1623 ; return 0; } 1552 1624 EOF 1553 if { (eval echo configure:1 554: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1625 if { (eval echo configure:1626: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1554 1626 rm -rf conftest* 1555 1627 ac_cv_struct_tm=time.h … … 1574 1646 if test "$ac_cv_prog_cc_stdc" = '-Xc'; then 1575 1647 cat > conftest.$ac_ext <<EOF 1576 #line 1 577"configure"1648 #line 1649 "configure" 1577 1649 #include "confdefs.h" 1578 1650 #include <stdio.h> … … 1582 1654 ; return 0; } 1583 1655 EOF 1584 if { (eval echo configure:1 585: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1656 if { (eval echo configure:1657: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1585 1657 : 1586 1658 else … … 1595 1667 1596 1668 echo $ac_n "checking for main in -lg""... $ac_c" 1>&6 1597 echo "configure:1 598: checking for main in -lg" >&51669 echo "configure:1670: checking for main in -lg" >&5 1598 1670 ac_lib_var=`echo g'_'main | sed 'y%./+-%__p_%'` 1599 1671 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1603 1675 LIBS="-lg $LIBS" 1604 1676 cat > conftest.$ac_ext <<EOF 1605 #line 16 06"configure"1677 #line 1678 "configure" 1606 1678 #include "confdefs.h" 1607 1679 … … 1610 1682 ; return 0; } 1611 1683 EOF 1612 if { (eval echo configure:16 13: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1684 if { (eval echo configure:1685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1613 1685 rm -rf conftest* 1614 1686 eval "ac_cv_lib_$ac_lib_var=yes" … … 1638 1710 1639 1711 echo $ac_n "checking for main in -lgdbm""... $ac_c" 1>&6 1640 echo "configure:1 641: checking for main in -lgdbm" >&51712 echo "configure:1713: checking for main in -lgdbm" >&5 1641 1713 ac_lib_var=`echo gdbm'_'main | sed 'y%./+-%__p_%'` 1642 1714 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1646 1718 LIBS="-lgdbm $LIBS" 1647 1719 cat > conftest.$ac_ext <<EOF 1648 #line 1 649"configure"1720 #line 1721 "configure" 1649 1721 #include "confdefs.h" 1650 1722 … … 1653 1725 ; return 0; } 1654 1726 EOF 1655 if { (eval echo configure:1 656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1727 if { (eval echo configure:1728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1656 1728 rm -rf conftest* 1657 1729 eval "ac_cv_lib_$ac_lib_var=yes" … … 1681 1753 1682 1754 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6 1683 echo "configure:1 684: checking for main in -lm" >&51755 echo "configure:1756: checking for main in -lm" >&5 1684 1756 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'` 1685 1757 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1689 1761 LIBS="-lm $LIBS" 1690 1762 cat > conftest.$ac_ext <<EOF 1691 #line 1 692"configure"1763 #line 1764 "configure" 1692 1764 #include "confdefs.h" 1693 1765 … … 1696 1768 ; return 0; } 1697 1769 EOF 1698 if { (eval echo configure:1 699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1770 if { (eval echo configure:1771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1699 1771 rm -rf conftest* 1700 1772 eval "ac_cv_lib_$ac_lib_var=yes" … … 1724 1796 1725 1797 echo $ac_n "checking for main in -lstdc""... $ac_c" 1>&6 1726 echo "configure:17 27: checking for main in -lstdc" >&51798 echo "configure:1799: checking for main in -lstdc" >&5 1727 1799 ac_lib_var=`echo stdc'_'main | sed 'y%./+-%__p_%'` 1728 1800 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1732 1804 LIBS="-lstdc $LIBS" 1733 1805 cat > conftest.$ac_ext <<EOF 1734 #line 1 735"configure"1806 #line 1807 "configure" 1735 1807 #include "confdefs.h" 1736 1808 … … 1739 1811 ; return 0; } 1740 1812 EOF 1741 if { (eval echo configure:1 742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1813 if { (eval echo configure:1814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1742 1814 rm -rf conftest* 1743 1815 eval "ac_cv_lib_$ac_lib_var=yes" … … 1772 1844 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1773 1845 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 1774 echo "configure:1 775: checking for $ac_hdr that defines DIR" >&51846 echo "configure:1847: checking for $ac_hdr that defines DIR" >&5 1775 1847 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then 1776 1848 echo $ac_n "(cached) $ac_c" 1>&6 1777 1849 else 1778 1850 cat > conftest.$ac_ext <<EOF 1779 #line 1 780"configure"1851 #line 1852 "configure" 1780 1852 #include "confdefs.h" 1781 1853 #include <sys/types.h> … … 1785 1857 ; return 0; } 1786 1858 EOF 1787 if { (eval echo configure:1 788: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1859 if { (eval echo configure:1860: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1788 1860 rm -rf conftest* 1789 1861 eval "ac_cv_header_dirent_$ac_safe=yes" … … 1810 1882 if test $ac_header_dirent = dirent.h; then 1811 1883 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 1812 echo "configure:18 13: checking for opendir in -ldir" >&51884 echo "configure:1885: checking for opendir in -ldir" >&5 1813 1885 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` 1814 1886 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1818 1890 LIBS="-ldir $LIBS" 1819 1891 cat > conftest.$ac_ext <<EOF 1820 #line 18 21"configure"1892 #line 1893 "configure" 1821 1893 #include "confdefs.h" 1822 1894 /* Override any gcc2 internal prototype to avoid an error. */ … … 1829 1901 ; return 0; } 1830 1902 EOF 1831 if { (eval echo configure:1 832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1903 if { (eval echo configure:1904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1832 1904 rm -rf conftest* 1833 1905 eval "ac_cv_lib_$ac_lib_var=yes" … … 1851 1923 else 1852 1924 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 1853 echo "configure:1 854: checking for opendir in -lx" >&51925 echo "configure:1926: checking for opendir in -lx" >&5 1854 1926 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` 1855 1927 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1859 1931 LIBS="-lx $LIBS" 1860 1932 cat > conftest.$ac_ext <<EOF 1861 #line 1 862"configure"1933 #line 1934 "configure" 1862 1934 #include "confdefs.h" 1863 1935 /* Override any gcc2 internal prototype to avoid an error. */ … … 1870 1942 ; return 0; } 1871 1943 EOF 1872 if { (eval echo configure:1 873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1944 if { (eval echo configure:1945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1873 1945 rm -rf conftest* 1874 1946 eval "ac_cv_lib_$ac_lib_var=yes" … … 1893 1965 1894 1966 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 1895 echo "configure:1 896: checking for ANSI C header files" >&51967 echo "configure:1968: checking for ANSI C header files" >&5 1896 1968 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 1897 1969 echo $ac_n "(cached) $ac_c" 1>&6 1898 1970 else 1899 1971 cat > conftest.$ac_ext <<EOF 1900 #line 19 01"configure"1972 #line 1973 "configure" 1901 1973 #include "confdefs.h" 1902 1974 #include <stdlib.h> … … 1906 1978 EOF 1907 1979 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1908 { (eval echo configure:19 09: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1980 { (eval echo configure:1981: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1909 1981 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1910 1982 if test -z "$ac_err"; then … … 1923 1995 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1924 1996 cat > conftest.$ac_ext <<EOF 1925 #line 19 26"configure"1997 #line 1998 "configure" 1926 1998 #include "confdefs.h" 1927 1999 #include <string.h> … … 1941 2013 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1942 2014 cat > conftest.$ac_ext <<EOF 1943 #line 1944"configure"2015 #line 2016 "configure" 1944 2016 #include "confdefs.h" 1945 2017 #include <stdlib.h> … … 1962 2034 else 1963 2035 cat > conftest.$ac_ext <<EOF 1964 #line 1965"configure"2036 #line 2037 "configure" 1965 2037 #include "confdefs.h" 1966 2038 #include <ctype.h> … … 1973 2045 1974 2046 EOF 1975 if { (eval echo configure: 1976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2047 if { (eval echo configure:2048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1976 2048 then 1977 2049 : … … 2000 2072 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2001 2073 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2002 echo "configure:20 03: checking for $ac_hdr" >&52074 echo "configure:2075: checking for $ac_hdr" >&5 2003 2075 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2004 2076 echo $ac_n "(cached) $ac_c" 1>&6 2005 2077 else 2006 2078 cat > conftest.$ac_ext <<EOF 2007 #line 20 08"configure"2079 #line 2080 "configure" 2008 2080 #include "confdefs.h" 2009 2081 #include <$ac_hdr> 2010 2082 EOF 2011 2083 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2012 { (eval echo configure:20 13: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2084 { (eval echo configure:2085: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2013 2085 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2014 2086 if test -z "$ac_err"; then … … 2037 2109 2038 2110 cat > conftest.$ac_ext <<EOF 2039 #line 2 040"configure"2111 #line 2112 "configure" 2040 2112 #include "confdefs.h" 2041 2113 #include <stdio.h> … … 2052 2124 2053 2125 cat > conftest.$ac_ext <<EOF 2054 #line 2 055"configure"2126 #line 2127 "configure" 2055 2127 #include "confdefs.h" 2056 2128 #include <stdio.h> … … 2067 2139 2068 2140 cat > conftest.$ac_ext <<EOF 2069 #line 2 070"configure"2141 #line 2142 "configure" 2070 2142 #include "confdefs.h" 2071 2143 #include <sys/procfs.h> … … 2085 2157 # for constant arguments. Useless! 2086 2158 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 2087 echo "configure:2 088: checking for working alloca.h" >&52159 echo "configure:2160: checking for working alloca.h" >&5 2088 2160 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 2089 2161 echo $ac_n "(cached) $ac_c" 1>&6 2090 2162 else 2091 2163 cat > conftest.$ac_ext <<EOF 2092 #line 2 093"configure"2164 #line 2165 "configure" 2093 2165 #include "confdefs.h" 2094 2166 #include <alloca.h> … … 2097 2169 ; return 0; } 2098 2170 EOF 2099 if { (eval echo configure:21 00: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2171 if { (eval echo configure:2172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2100 2172 rm -rf conftest* 2101 2173 ac_cv_header_alloca_h=yes … … 2118 2190 2119 2191 echo $ac_n "checking for alloca""... $ac_c" 1>&6 2120 echo "configure:21 21: checking for alloca" >&52192 echo "configure:2193: checking for alloca" >&5 2121 2193 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 2122 2194 echo $ac_n "(cached) $ac_c" 1>&6 2123 2195 else 2124 2196 cat > conftest.$ac_ext <<EOF 2125 #line 21 26"configure"2197 #line 2198 "configure" 2126 2198 #include "confdefs.h" 2127 2199 … … 2151 2223 ; return 0; } 2152 2224 EOF 2153 if { (eval echo configure:2 154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2225 if { (eval echo configure:2226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2154 2226 rm -rf conftest* 2155 2227 ac_cv_func_alloca_works=yes … … 2183 2255 2184 2256 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 2185 echo "configure:2 186: checking whether alloca needs Cray hooks" >&52257 echo "configure:2258: checking whether alloca needs Cray hooks" >&5 2186 2258 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 2187 2259 echo $ac_n "(cached) $ac_c" 1>&6 2188 2260 else 2189 2261 cat > conftest.$ac_ext <<EOF 2190 #line 2 191"configure"2262 #line 2263 "configure" 2191 2263 #include "confdefs.h" 2192 2264 #if defined(CRAY) && ! defined(CRAY2) … … 2213 2285 for ac_func in _getb67 GETB67 getb67; do 2214 2286 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2215 echo "configure:22 16: checking for $ac_func" >&52287 echo "configure:2288: checking for $ac_func" >&5 2216 2288 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2217 2289 echo $ac_n "(cached) $ac_c" 1>&6 2218 2290 else 2219 2291 cat > conftest.$ac_ext <<EOF 2220 #line 22 21"configure"2292 #line 2293 "configure" 2221 2293 #include "confdefs.h" 2222 2294 /* System header to define __stub macros and hopefully few prototypes, … … 2241 2313 ; return 0; } 2242 2314 EOF 2243 if { (eval echo configure:2 244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2315 if { (eval echo configure:2316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2244 2316 rm -rf conftest* 2245 2317 eval "ac_cv_func_$ac_func=yes" … … 2268 2340 2269 2341 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 2270 echo "configure:2 271: checking stack direction for C alloca" >&52342 echo "configure:2343: checking stack direction for C alloca" >&5 2271 2343 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 2272 2344 echo $ac_n "(cached) $ac_c" 1>&6 … … 2276 2348 else 2277 2349 cat > conftest.$ac_ext <<EOF 2278 #line 2 279"configure"2350 #line 2351 "configure" 2279 2351 #include "confdefs.h" 2280 2352 find_stack_direction () … … 2295 2367 } 2296 2368 EOF 2297 if { (eval echo configure:2 298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2369 if { (eval echo configure:2370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2298 2370 then 2299 2371 ac_cv_c_stack_direction=1 … … 2318 2390 if test $ac_cv_prog_gcc = yes; then 2319 2391 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 2320 echo "configure:23 21: checking whether ${CC-cc} needs -traditional" >&52392 echo "configure:2393: checking whether ${CC-cc} needs -traditional" >&5 2321 2393 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then 2322 2394 echo $ac_n "(cached) $ac_c" 1>&6 … … 2324 2396 ac_pattern="Autoconf.*'x'" 2325 2397 cat > conftest.$ac_ext <<EOF 2326 #line 23 27"configure"2398 #line 2399 "configure" 2327 2399 #include "confdefs.h" 2328 2400 #include <sgtty.h> … … 2342 2414 if test $ac_cv_prog_gcc_traditional = no; then 2343 2415 cat > conftest.$ac_ext <<EOF 2344 #line 2 345"configure"2416 #line 2417 "configure" 2345 2417 #include "confdefs.h" 2346 2418 #include <termio.h> … … 2364 2436 2365 2437 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 2366 echo "configure:2 367: checking return type of signal handlers" >&52438 echo "configure:2439: checking return type of signal handlers" >&5 2367 2439 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then 2368 2440 echo $ac_n "(cached) $ac_c" 1>&6 2369 2441 else 2370 2442 cat > conftest.$ac_ext <<EOF 2371 #line 2 372"configure"2443 #line 2444 "configure" 2372 2444 #include "confdefs.h" 2373 2445 #include <sys/types.h> … … 2386 2458 ; return 0; } 2387 2459 EOF 2388 if { (eval echo configure:2 389: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2460 if { (eval echo configure:2461: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2389 2461 rm -rf conftest* 2390 2462 ac_cv_type_signal=void … … 2405 2477 2406 2478 echo $ac_n "checking for vprintf""... $ac_c" 1>&6 2407 echo "configure:24 08: checking for vprintf" >&52479 echo "configure:2480: checking for vprintf" >&5 2408 2480 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then 2409 2481 echo $ac_n "(cached) $ac_c" 1>&6 2410 2482 else 2411 2483 cat > conftest.$ac_ext <<EOF 2412 #line 24 13"configure"2484 #line 2485 "configure" 2413 2485 #include "confdefs.h" 2414 2486 /* System header to define __stub macros and hopefully few prototypes, … … 2433 2505 ; return 0; } 2434 2506 EOF 2435 if { (eval echo configure:2 436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2507 if { (eval echo configure:2508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2436 2508 rm -rf conftest* 2437 2509 eval "ac_cv_func_vprintf=yes" … … 2457 2529 if test "$ac_cv_func_vprintf" != yes; then 2458 2530 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 2459 echo "configure:2 460: checking for _doprnt" >&52531 echo "configure:2532: checking for _doprnt" >&5 2460 2532 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then 2461 2533 echo $ac_n "(cached) $ac_c" 1>&6 2462 2534 else 2463 2535 cat > conftest.$ac_ext <<EOF 2464 #line 2 465"configure"2536 #line 2537 "configure" 2465 2537 #include "confdefs.h" 2466 2538 /* System header to define __stub macros and hopefully few prototypes, … … 2485 2557 ; return 0; } 2486 2558 EOF 2487 if { (eval echo configure:2 488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2559 if { (eval echo configure:2560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2488 2560 rm -rf conftest* 2489 2561 eval "ac_cv_func__doprnt=yes" … … 2512 2584 do 2513 2585 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2514 echo "configure:25 15: checking for $ac_func" >&52586 echo "configure:2587: checking for $ac_func" >&5 2515 2587 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2516 2588 echo $ac_n "(cached) $ac_c" 1>&6 2517 2589 else 2518 2590 cat > conftest.$ac_ext <<EOF 2519 #line 25 20"configure"2591 #line 2592 "configure" 2520 2592 #include "confdefs.h" 2521 2593 /* System header to define __stub macros and hopefully few prototypes, … … 2540 2612 ; return 0; } 2541 2613 EOF 2542 if { (eval echo configure:2 543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2614 if { (eval echo configure:2615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2543 2615 rm -rf conftest* 2544 2616 eval "ac_cv_func_$ac_func=yes" … … 2567 2639 do 2568 2640 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2569 echo "configure:2 570: checking for $ac_func" >&52641 echo "configure:2642: checking for $ac_func" >&5 2570 2642 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2571 2643 echo $ac_n "(cached) $ac_c" 1>&6 2572 2644 else 2573 2645 cat > conftest.$ac_ext <<EOF 2574 #line 2 575"configure"2646 #line 2647 "configure" 2575 2647 #include "confdefs.h" 2576 2648 /* System header to define __stub macros and hopefully few prototypes, … … 2595 2667 ; return 0; } 2596 2668 EOF 2597 if { (eval echo configure:2 598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2669 if { (eval echo configure:2670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2598 2670 rm -rf conftest* 2599 2671 eval "ac_cv_func_$ac_func=yes" … … 2626 2698 # --------------------------------------------------------------------------- 2627 2699 echo $ac_n "checking for HP-UX needing gmalloc""... $ac_c" 1>&6 2628 echo "configure:2 629: checking for HP-UX needing gmalloc" >&52700 echo "configure:2701: checking for HP-UX needing gmalloc" >&5 2629 2701 if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then 2630 2702 echo "$ac_t""yes" 1>&6 … … 2639 2711 do 2640 2712 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2641 echo "configure:2 642: checking for $ac_func" >&52713 echo "configure:2714: checking for $ac_func" >&5 2642 2714 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2643 2715 echo $ac_n "(cached) $ac_c" 1>&6 2644 2716 else 2645 2717 cat > conftest.$ac_ext <<EOF 2646 #line 2 647"configure"2718 #line 2719 "configure" 2647 2719 #include "confdefs.h" 2648 2720 /* System header to define __stub macros and hopefully few prototypes, … … 2667 2739 ; return 0; } 2668 2740 EOF 2669 if { (eval echo configure:2 670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2741 if { (eval echo configure:2742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2670 2742 rm -rf conftest* 2671 2743 eval "ac_cv_func_$ac_func=yes" … … 2693 2765 fi 2694 2766 2695 fp_WITH_DMALLOC 2696 fp_WITH_REGEX 2767 echo $ac_n "checking if malloc debugging is wanted""... $ac_c" 1>&6 2768 echo "configure:2769: checking if malloc debugging is wanted" >&5 2769 # Check whether --with-dmalloc or --without-dmalloc was given. 2770 if test "${with_dmalloc+set}" = set; then 2771 withval="$with_dmalloc" 2772 if test "$withval" = yes; then 2773 echo "$ac_t""yes" 1>&6 2774 cat >> confdefs.h <<\EOF 2775 #define WITH_DMALLOC 1 2776 EOF 2777 2778 LIBS="$LIBS -ldmalloc" 2779 LDFLAGS="$LDFLAGS -g" 2780 else 2781 echo "$ac_t""no" 1>&6 2782 fi 2783 else 2784 echo "$ac_t""no" 1>&6 2785 fi 2786 2787 2788 echo $ac_n "checking which of rx or regex is wanted""... $ac_c" 1>&6 2789 echo "configure:2790: checking which of rx or regex is wanted" >&5 2790 # Check whether --with-regex or --without-regex was given. 2791 if test "${with_regex+set}" = set; then 2792 withval="$with_regex" 2793 if test "$withval" = yes; then 2794 ac_with_regex=1 2795 echo "$ac_t""regex" 1>&6 2796 cat >> confdefs.h <<\EOF 2797 #define WITH_REGEX 1 2798 EOF 2799 2800 LIBOBJS="$LIBOBJS regex.o" 2801 fi 2802 fi 2803 2804 if test -z "$ac_with_regex"; then 2805 echo "$ac_t""rx" 1>&6 2806 echo $ac_n "checking for re_rx_search""... $ac_c" 1>&6 2807 echo "configure:2808: checking for re_rx_search" >&5 2808 if eval "test \"`echo '$''{'ac_cv_func_re_rx_search'+set}'`\" = set"; then 2809 echo $ac_n "(cached) $ac_c" 1>&6 2810 else 2811 cat > conftest.$ac_ext <<EOF 2812 #line 2813 "configure" 2813 #include "confdefs.h" 2814 /* System header to define __stub macros and hopefully few prototypes, 2815 which can conflict with char re_rx_search(); below. */ 2816 #include <assert.h> 2817 /* Override any gcc2 internal prototype to avoid an error. */ 2818 /* We use char because int might match the return type of a gcc2 2819 builtin and then its argument prototype would still apply. */ 2820 char re_rx_search(); 2821 2822 int main() { 2823 2824 /* The GNU C library defines this for functions which it implements 2825 to always fail with ENOSYS. Some functions are actually named 2826 something starting with __ and the normal name is an alias. */ 2827 #if defined (__stub_re_rx_search) || defined (__stub___re_rx_search) 2828 choke me 2829 #else 2830 re_rx_search(); 2831 #endif 2832 2833 ; return 0; } 2834 EOF 2835 if { (eval echo configure:2836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2836 rm -rf conftest* 2837 eval "ac_cv_func_re_rx_search=yes" 2838 else 2839 echo "configure: failed program was:" >&5 2840 cat conftest.$ac_ext >&5 2841 rm -rf conftest* 2842 eval "ac_cv_func_re_rx_search=no" 2843 fi 2844 rm -f conftest* 2845 fi 2846 2847 if eval "test \"`echo '$ac_cv_func_'re_rx_search`\" = yes"; then 2848 echo "$ac_t""yes" 1>&6 2849 : 2850 else 2851 echo "$ac_t""no" 1>&6 2852 LIBOBJS="$LIBOBJS rx.o" 2853 fi 2854 2855 fi 2856 2697 2857 2698 2858 # --------------------------------------------------------------------------- … … 2713 2873 2714 2874 echo $ac_n "checking "that the GDBM library is available"""... $ac_c" 1>&6 2715 echo "configure:2 716: checking "that the GDBM library is available"" >&52875 echo "configure:2876: checking "that the GDBM library is available"" >&5 2716 2876 cat > conftest.$ac_ext <<EOF 2717 #line 2 718 "configure"2877 #line 2878 "configure" 2718 2878 #include "confdefs.h" 2719 2879 #include <gdbm.h> … … 2723 2883 ; return 0; } 2724 2884 EOF 2725 if { (eval echo configure:2 726: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2885 if { (eval echo configure:2886: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2726 2886 rm -rf conftest* 2727 2887 success=yes … … 2740 2900 2741 2901 echo $ac_n "checking "that Perl 5 is available"""... $ac_c" 1>&6 2742 echo "configure:2 743: checking "that Perl 5 is available"" >&52902 echo "configure:2903: checking "that Perl 5 is available"" >&5 2743 2903 success="no" 2744 2904 pl_path="$PATH" … … 2770 2930 success=no 2771 2931 echo $ac_n "checking "whether STL library has known faults"""... $ac_c" 1>&6 2772 echo "configure:2 773: checking "whether STL library has known faults"" >&52932 echo "configure:2933: checking "whether STL library has known faults"" >&5 2773 2933 2774 2934 cat > conftest.$ac_ext <<EOF 2775 #line 2 776 "configure"2935 #line 2936 "configure" 2776 2936 #include "confdefs.h" 2777 2937 #include <vector> … … 2781 2941 ; return 0; } 2782 2942 EOF 2783 if { (eval echo configure:2 784: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2943 if { (eval echo configure:2944: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2784 2944 rm -rf conftest* 2785 2945 success=yes … … 2792 2952 if test $success = "no"; then 2793 2953 cat > conftest.$ac_ext <<EOF 2794 #line 2 795 "configure"2954 #line 2955 "configure" 2795 2955 #include "confdefs.h" 2796 2956 #include <vector.h> … … 2800 2960 ; return 0; } 2801 2961 EOF 2802 if { (eval echo configure:2 803: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2962 if { (eval echo configure:2963: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2803 2963 rm -rf conftest* 2804 2964 success="yes" … … 2812 2972 if test $success = "no"; then 2813 2973 cat > conftest.$ac_ext <<EOF 2814 #line 2 815 "configure"2974 #line 2975 "configure" 2815 2975 #include "confdefs.h" 2816 2976 #include <ospace\\std\\vector> … … 2820 2980 ; return 0; } 2821 2981 EOF 2822 if { (eval echo configure:2 823: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2982 if { (eval echo configure:2983: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2823 2983 rm -rf conftest* 2824 2984 success="yes" … … 2841 3001 2842 3002 echo $ac_n "checking for HP-UX needing gmalloc""... $ac_c" 1>&6 2843 echo "configure: 2844: checking for HP-UX needing gmalloc" >&53003 echo "configure:3004: checking for HP-UX needing gmalloc" >&5 2844 3004 if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then 2845 3005 echo "$ac_t""yes" 1>&6 … … 2854 3014 do 2855 3015 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2856 echo "configure: 2857: checking for $ac_func" >&53016 echo "configure:3017: checking for $ac_func" >&5 2857 3017 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2858 3018 echo $ac_n "(cached) $ac_c" 1>&6 2859 3019 else 2860 3020 cat > conftest.$ac_ext <<EOF 2861 #line 2862 "configure"3021 #line 3022 "configure" 2862 3022 #include "confdefs.h" 2863 3023 /* System header to define __stub macros and hopefully few prototypes, … … 2885 3045 ; return 0; } 2886 3046 EOF 2887 if { (eval echo configure: 2888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3047 if { (eval echo configure:3048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2888 3048 rm -rf conftest* 2889 3049 eval "ac_cv_func_$ac_func=yes" … … 2911 3071 fi 2912 3072 2913 fp_WITH_DMALLOC 2914 fp_WITH_REGEX 3073 echo $ac_n "checking if malloc debugging is wanted""... $ac_c" 1>&6 3074 echo "configure:3075: checking if malloc debugging is wanted" >&5 3075 # Check whether --with-dmalloc or --without-dmalloc was given. 3076 if test "${with_dmalloc+set}" = set; then 3077 withval="$with_dmalloc" 3078 if test "$withval" = yes; then 3079 echo "$ac_t""yes" 1>&6 3080 cat >> confdefs.h <<\EOF 3081 #define WITH_DMALLOC 1 3082 EOF 3083 3084 LIBS="$LIBS -ldmalloc" 3085 LDFLAGS="$LDFLAGS -g" 3086 else 3087 echo "$ac_t""no" 1>&6 3088 fi 3089 else 3090 echo "$ac_t""no" 1>&6 3091 fi 3092 3093 3094 echo $ac_n "checking which of rx or regex is wanted""... $ac_c" 1>&6 3095 echo "configure:3096: checking which of rx or regex is wanted" >&5 3096 # Check whether --with-regex or --without-regex was given. 3097 if test "${with_regex+set}" = set; then 3098 withval="$with_regex" 3099 if test "$withval" = yes; then 3100 ac_with_regex=1 3101 echo "$ac_t""regex" 1>&6 3102 cat >> confdefs.h <<\EOF 3103 #define WITH_REGEX 1 3104 EOF 3105 3106 LIBOBJS="$LIBOBJS regex.o" 3107 fi 3108 fi 3109 3110 if test -z "$ac_with_regex"; then 3111 echo "$ac_t""rx" 1>&6 3112 echo $ac_n "checking for re_rx_search""... $ac_c" 1>&6 3113 echo "configure:3114: checking for re_rx_search" >&5 3114 if eval "test \"`echo '$''{'ac_cv_func_re_rx_search'+set}'`\" = set"; then 3115 echo $ac_n "(cached) $ac_c" 1>&6 3116 else 3117 cat > conftest.$ac_ext <<EOF 3118 #line 3119 "configure" 3119 #include "confdefs.h" 3120 /* System header to define __stub macros and hopefully few prototypes, 3121 which can conflict with char re_rx_search(); below. */ 3122 #include <assert.h> 3123 /* Override any gcc2 internal prototype to avoid an error. */ 3124 #ifdef __cplusplus 3125 extern "C" 3126 #endif 3127 /* We use char because int might match the return type of a gcc2 3128 builtin and then its argument prototype would still apply. */ 3129 char re_rx_search(); 3130 3131 int main() { 3132 3133 /* The GNU C library defines this for functions which it implements 3134 to always fail with ENOSYS. Some functions are actually named 3135 something starting with __ and the normal name is an alias. */ 3136 #if defined (__stub_re_rx_search) || defined (__stub___re_rx_search) 3137 choke me 3138 #else 3139 re_rx_search(); 3140 #endif 3141 3142 ; return 0; } 3143 EOF 3144 if { (eval echo configure:3145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3145 rm -rf conftest* 3146 eval "ac_cv_func_re_rx_search=yes" 3147 else 3148 echo "configure: failed program was:" >&5 3149 cat conftest.$ac_ext >&5 3150 rm -rf conftest* 3151 eval "ac_cv_func_re_rx_search=no" 3152 fi 3153 rm -f conftest* 3154 fi 3155 3156 if eval "test \"`echo '$ac_cv_func_'re_rx_search`\" = yes"; then 3157 echo "$ac_t""yes" 1>&6 3158 : 3159 else 3160 echo "$ac_t""no" 1>&6 3161 LIBOBJS="$LIBOBJS rx.o" 3162 fi 3163 3164 fi 3165 2915 3166 2916 3167 # --------------------------------------------------------------------------- … … 3069 3320 s%@RANLIB@%$RANLIB%g 3070 3321 s%@CPP@%$CPP%g 3322 s%@U@%$U%g 3323 s%@ANSI2KNR@%$ANSI2KNR%g 3071 3324 s%@ALLOCA@%$ALLOCA%g 3072 3325 s%@LIBOBJS@%$LIBOBJS%g
Note:
See TracChangeset
for help on using the changeset viewer.