Changeset 2051
- Timestamp:
- 2001-02-23T09:48:00+13:00 (23 years ago)
- Location:
- trunk/gsdl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/configure
r1938 r2051 18 18 ac_help="$ac_help 19 19 --enable-z3950 Enable Z39.50 client support" 20 ac_help="$ac_help21 --with-dmalloc use dmalloc, as in22 ftp://ftp.letters.com/src/dmalloc/dmalloc.tar.gz"23 ac_help="$ac_help24 --with-regex use older regex in lieu of GNU rx for matching"25 20 ac_help="$ac_help 26 21 --with-dmalloc use dmalloc, as in … … 633 628 set dummy gcc; ac_word=$2 634 629 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 635 echo "configure:63 6: checking for $ac_word" >&5630 echo "configure:631: checking for $ac_word" >&5 636 631 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 637 632 echo $ac_n "(cached) $ac_c" 1>&6 … … 663 658 set dummy cc; ac_word=$2 664 659 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 665 echo "configure:66 6: checking for $ac_word" >&5660 echo "configure:661: checking for $ac_word" >&5 666 661 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 667 662 echo $ac_n "(cached) $ac_c" 1>&6 … … 714 709 set dummy cl; ac_word=$2 715 710 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 716 echo "configure:71 7: checking for $ac_word" >&5711 echo "configure:712: checking for $ac_word" >&5 717 712 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 718 713 echo $ac_n "(cached) $ac_c" 1>&6 … … 746 741 747 742 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 748 echo "configure:74 9: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5743 echo "configure:744: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 749 744 750 745 ac_ext=c … … 757 752 cat > conftest.$ac_ext << EOF 758 753 759 #line 7 60"configure"754 #line 755 "configure" 760 755 #include "confdefs.h" 761 756 762 757 main(){return(0);} 763 758 EOF 764 if { (eval echo configure:76 5: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then759 if { (eval echo configure:760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 765 760 ac_cv_prog_cc_works=yes 766 761 # If we can't run a trivial program, we are probably using a cross compiler. … … 788 783 fi 789 784 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 790 echo "configure:7 91: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5785 echo "configure:786: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 791 786 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 792 787 cross_compiling=$ac_cv_prog_cc_cross 793 788 794 789 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 795 echo "configure:79 6: checking whether we are using GNU C" >&5790 echo "configure:791: checking whether we are using GNU C" >&5 796 791 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 797 792 echo $ac_n "(cached) $ac_c" 1>&6 … … 802 797 #endif 803 798 EOF 804 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:80 5: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then799 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:800: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 805 800 ac_cv_prog_gcc=yes 806 801 else … … 821 816 CFLAGS= 822 817 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 823 echo "configure:8 24: checking whether ${CC-cc} accepts -g" >&5818 echo "configure:819: checking whether ${CC-cc} accepts -g" >&5 824 819 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 825 820 echo $ac_n "(cached) $ac_c" 1>&6 … … 857 852 set dummy $ac_prog; ac_word=$2 858 853 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 859 echo "configure:8 60: checking for $ac_word" >&5854 echo "configure:855: checking for $ac_word" >&5 860 855 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then 861 856 echo $ac_n "(cached) $ac_c" 1>&6 … … 889 884 890 885 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 891 echo "configure:8 92: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5886 echo "configure:887: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 892 887 893 888 ac_ext=C … … 900 895 cat > conftest.$ac_ext << EOF 901 896 902 #line 903"configure"897 #line 898 "configure" 903 898 #include "confdefs.h" 904 899 905 900 int main(){return(0);} 906 901 EOF 907 if { (eval echo configure:90 8: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then902 if { (eval echo configure:903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 908 903 ac_cv_prog_cxx_works=yes 909 904 # If we can't run a trivial program, we are probably using a cross compiler. … … 931 926 fi 932 927 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 933 echo "configure:9 34: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5928 echo "configure:929: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 934 929 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 935 930 cross_compiling=$ac_cv_prog_cxx_cross 936 931 937 932 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 938 echo "configure:93 9: checking whether we are using GNU C++" >&5933 echo "configure:934: checking whether we are using GNU C++" >&5 939 934 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then 940 935 echo $ac_n "(cached) $ac_c" 1>&6 … … 945 940 #endif 946 941 EOF 947 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:94 8: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then942 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:943: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 948 943 ac_cv_prog_gxx=yes 949 944 else … … 964 959 CXXFLAGS= 965 960 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 966 echo "configure:96 7: checking whether ${CXX-g++} accepts -g" >&5961 echo "configure:962: checking whether ${CXX-g++} accepts -g" >&5 967 962 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then 968 963 echo $ac_n "(cached) $ac_c" 1>&6 … … 1000 995 set dummy $ac_prog; ac_word=$2 1001 996 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1002 echo "configure: 1003: checking for $ac_word" >&5997 echo "configure:998: checking for $ac_word" >&5 1003 998 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then 1004 999 echo $ac_n "(cached) $ac_c" 1>&6 … … 1034 1029 set dummy $ac_prog; ac_word=$2 1035 1030 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1036 echo "configure:103 7: checking for $ac_word" >&51031 echo "configure:1032: checking for $ac_word" >&5 1037 1032 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then 1038 1033 echo $ac_n "(cached) $ac_c" 1>&6 … … 1095 1090 # ./install, which can be erroneously created by make from ./install.sh. 1096 1091 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 1097 echo "configure:109 8: checking for a BSD compatible install" >&51092 echo "configure:1093: checking for a BSD compatible install" >&5 1098 1093 if test -z "$INSTALL"; then 1099 1094 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then … … 1148 1143 1149 1144 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1150 echo "configure:11 51: checking whether ln -s works" >&51145 echo "configure:1146: checking whether ln -s works" >&5 1151 1146 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1152 1147 echo $ac_n "(cached) $ac_c" 1>&6 … … 1169 1164 1170 1165 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 1171 echo "configure:11 72: checking whether ${MAKE-make} sets \${MAKE}" >&51166 echo "configure:1167: checking whether ${MAKE-make} sets \${MAKE}" >&5 1172 1167 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 1173 1168 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 1198 1193 set dummy ranlib; ac_word=$2 1199 1194 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1200 echo "configure:1 201: checking for $ac_word" >&51195 echo "configure:1196: checking for $ac_word" >&5 1201 1196 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1202 1197 echo $ac_n "(cached) $ac_c" 1>&6 … … 1228 1223 1229 1224 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 1230 echo "configure:12 31: checking how to run the C preprocessor" >&51225 echo "configure:1226: checking how to run the C preprocessor" >&5 1231 1226 # On Suns, sometimes $CPP names a directory. 1232 1227 if test -n "$CPP" && test -d "$CPP"; then … … 1243 1238 # not just through cpp. 1244 1239 cat > conftest.$ac_ext <<EOF 1245 #line 124 6"configure"1240 #line 1241 "configure" 1246 1241 #include "confdefs.h" 1247 1242 #include <assert.h> … … 1249 1244 EOF 1250 1245 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1251 { (eval echo configure:12 52: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1246 { (eval echo configure:1247: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1252 1247 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1253 1248 if test -z "$ac_err"; then … … 1260 1255 CPP="${CC-cc} -E -traditional-cpp" 1261 1256 cat > conftest.$ac_ext <<EOF 1262 #line 12 63"configure"1257 #line 1258 "configure" 1263 1258 #include "confdefs.h" 1264 1259 #include <assert.h> … … 1266 1261 EOF 1267 1262 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1268 { (eval echo configure:126 9: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1263 { (eval echo configure:1264: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1269 1264 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1270 1265 if test -z "$ac_err"; then … … 1277 1272 CPP="${CC-cc} -nologo -E" 1278 1273 cat > conftest.$ac_ext <<EOF 1279 #line 12 80"configure"1274 #line 1275 "configure" 1280 1275 #include "confdefs.h" 1281 1276 #include <assert.h> … … 1283 1278 EOF 1284 1279 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1285 { (eval echo configure:128 6: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1280 { (eval echo configure:1281: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1286 1281 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1287 1282 if test -z "$ac_err"; then … … 1308 1303 1309 1304 echo $ac_n "checking for AIX""... $ac_c" 1>&6 1310 echo "configure:13 11: checking for AIX" >&51305 echo "configure:1306: checking for AIX" >&5 1311 1306 cat > conftest.$ac_ext <<EOF 1312 #line 13 13"configure"1307 #line 1308 "configure" 1313 1308 #include "confdefs.h" 1314 1309 #ifdef _AIX … … 1332 1327 1333 1328 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 1334 echo "configure:133 5: checking for POSIXized ISC" >&51329 echo "configure:1330: checking for POSIXized ISC" >&5 1335 1330 if test -d /etc/conf/kconfig.d && 1336 1331 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 … … 1354 1349 ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'` 1355 1350 echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6 1356 echo "configure:135 7: checking for minix/config.h" >&51351 echo "configure:1352: checking for minix/config.h" >&5 1357 1352 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1358 1353 echo $ac_n "(cached) $ac_c" 1>&6 1359 1354 else 1360 1355 cat > conftest.$ac_ext <<EOF 1361 #line 13 62"configure"1356 #line 1357 "configure" 1362 1357 #include "confdefs.h" 1363 1358 #include <minix/config.h> 1364 1359 EOF 1365 1360 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1366 { (eval echo configure:136 7: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1361 { (eval echo configure:1362: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1367 1362 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1368 1363 if test -z "$ac_err"; then … … 1402 1397 1403 1398 echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6 1404 echo "configure:140 5: checking for ${CC-cc} option to accept ANSI C" >&51399 echo "configure:1400: checking for ${CC-cc} option to accept ANSI C" >&5 1405 1400 if eval "test \"`echo '$''{'ac_cv_prog_cc_stdc'+set}'`\" = set"; then 1406 1401 echo $ac_n "(cached) $ac_c" 1>&6 … … 1418 1413 CFLAGS="$ac_save_CFLAGS $ac_arg" 1419 1414 cat > conftest.$ac_ext <<EOF 1420 #line 14 21"configure"1415 #line 1416 "configure" 1421 1416 #include "confdefs.h" 1422 1417 #if !defined(__STDC__) || __STDC__ != 1 … … 1430 1425 ; return 0; } 1431 1426 EOF 1432 if { (eval echo configure:14 33: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1427 if { (eval echo configure:1428: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1433 1428 rm -rf conftest* 1434 1429 ac_cv_prog_cc_stdc="$ac_arg"; break … … 1451 1446 1452 1447 echo $ac_n "checking for function prototypes""... $ac_c" 1>&6 1453 echo "configure:14 54: checking for function prototypes" >&51448 echo "configure:1449: checking for function prototypes" >&5 1454 1449 if test "$ac_cv_prog_cc_stdc" != no; then 1455 1450 echo "$ac_t""yes" 1>&6 … … 1465 1460 1466 1461 echo $ac_n "checking for working const""... $ac_c" 1>&6 1467 echo "configure:146 8: checking for working const" >&51462 echo "configure:1463: checking for working const" >&5 1468 1463 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 1469 1464 echo $ac_n "(cached) $ac_c" 1>&6 1470 1465 else 1471 1466 cat > conftest.$ac_ext <<EOF 1472 #line 14 73"configure"1467 #line 1468 "configure" 1473 1468 #include "confdefs.h" 1474 1469 … … 1519 1514 ; return 0; } 1520 1515 EOF 1521 if { (eval echo configure:15 22: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1516 if { (eval echo configure:1517: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1522 1517 rm -rf conftest* 1523 1518 ac_cv_c_const=yes … … 1540 1535 1541 1536 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 1542 echo "configure:15 43: checking for ANSI C header files" >&51537 echo "configure:1538: checking for ANSI C header files" >&5 1543 1538 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 1544 1539 echo $ac_n "(cached) $ac_c" 1>&6 1545 1540 else 1546 1541 cat > conftest.$ac_ext <<EOF 1547 #line 154 8"configure"1542 #line 1543 "configure" 1548 1543 #include "confdefs.h" 1549 1544 #include <stdlib.h> … … 1553 1548 EOF 1554 1549 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1555 { (eval echo configure:155 6: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1550 { (eval echo configure:1551: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1556 1551 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1557 1552 if test -z "$ac_err"; then … … 1570 1565 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1571 1566 cat > conftest.$ac_ext <<EOF 1572 #line 15 73"configure"1567 #line 1568 "configure" 1573 1568 #include "confdefs.h" 1574 1569 #include <string.h> … … 1588 1583 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1589 1584 cat > conftest.$ac_ext <<EOF 1590 #line 15 91"configure"1585 #line 1586 "configure" 1591 1586 #include "confdefs.h" 1592 1587 #include <stdlib.h> … … 1609 1604 else 1610 1605 cat > conftest.$ac_ext <<EOF 1611 #line 16 12"configure"1606 #line 1607 "configure" 1612 1607 #include "confdefs.h" 1613 1608 #include <ctype.h> … … 1620 1615 1621 1616 EOF 1622 if { (eval echo configure:16 23: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1617 if { (eval echo configure:1618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1623 1618 then 1624 1619 : … … 1644 1639 1645 1640 echo $ac_n "checking for off_t""... $ac_c" 1>&6 1646 echo "configure:164 7: checking for off_t" >&51641 echo "configure:1642: checking for off_t" >&5 1647 1642 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then 1648 1643 echo $ac_n "(cached) $ac_c" 1>&6 1649 1644 else 1650 1645 cat > conftest.$ac_ext <<EOF 1651 #line 16 52"configure"1646 #line 1647 "configure" 1652 1647 #include "confdefs.h" 1653 1648 #include <sys/types.h> … … 1677 1672 1678 1673 echo $ac_n "checking for size_t""... $ac_c" 1>&6 1679 echo "configure:16 80: checking for size_t" >&51674 echo "configure:1675: checking for size_t" >&5 1680 1675 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 1681 1676 echo $ac_n "(cached) $ac_c" 1>&6 1682 1677 else 1683 1678 cat > conftest.$ac_ext <<EOF 1684 #line 168 5"configure"1679 #line 1680 "configure" 1685 1680 #include "confdefs.h" 1686 1681 #include <sys/types.h> … … 1710 1705 1711 1706 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 1712 echo "configure:17 13: checking whether time.h and sys/time.h may both be included" >&51707 echo "configure:1708: checking whether time.h and sys/time.h may both be included" >&5 1713 1708 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 1714 1709 echo $ac_n "(cached) $ac_c" 1>&6 1715 1710 else 1716 1711 cat > conftest.$ac_ext <<EOF 1717 #line 171 8"configure"1712 #line 1713 "configure" 1718 1713 #include "confdefs.h" 1719 1714 #include <sys/types.h> … … 1724 1719 ; return 0; } 1725 1720 EOF 1726 if { (eval echo configure:172 7: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1721 if { (eval echo configure:1722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1727 1722 rm -rf conftest* 1728 1723 ac_cv_header_time=yes … … 1745 1740 1746 1741 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 1747 echo "configure:174 8: checking whether struct tm is in sys/time.h or time.h" >&51742 echo "configure:1743: checking whether struct tm is in sys/time.h or time.h" >&5 1748 1743 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then 1749 1744 echo $ac_n "(cached) $ac_c" 1>&6 1750 1745 else 1751 1746 cat > conftest.$ac_ext <<EOF 1752 #line 17 53"configure"1747 #line 1748 "configure" 1753 1748 #include "confdefs.h" 1754 1749 #include <sys/types.h> … … 1758 1753 ; return 0; } 1759 1754 EOF 1760 if { (eval echo configure:17 61: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1755 if { (eval echo configure:1756: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1761 1756 rm -rf conftest* 1762 1757 ac_cv_struct_tm=time.h … … 1781 1776 if test "$ac_cv_prog_cc_stdc" = '-Xc'; then 1782 1777 cat > conftest.$ac_ext <<EOF 1783 #line 17 84"configure"1778 #line 1779 "configure" 1784 1779 #include "confdefs.h" 1785 1780 #include <stdio.h> … … 1789 1784 ; return 0; } 1790 1785 EOF 1791 if { (eval echo configure:17 92: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1786 if { (eval echo configure:1787: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1792 1787 : 1793 1788 else … … 1802 1797 1803 1798 echo $ac_n "checking for main in -lg""... $ac_c" 1>&6 1804 echo "configure:180 5: checking for main in -lg" >&51799 echo "configure:1800: checking for main in -lg" >&5 1805 1800 ac_lib_var=`echo g'_'main | sed 'y%./+-%__p_%'` 1806 1801 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1810 1805 LIBS="-lg $LIBS" 1811 1806 cat > conftest.$ac_ext <<EOF 1812 #line 18 13"configure"1807 #line 1808 "configure" 1813 1808 #include "confdefs.h" 1814 1809 … … 1817 1812 ; return 0; } 1818 1813 EOF 1819 if { (eval echo configure:18 20: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1814 if { (eval echo configure:1815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1820 1815 rm -rf conftest* 1821 1816 eval "ac_cv_lib_$ac_lib_var=yes" … … 1845 1840 1846 1841 echo $ac_n "checking for main in -lgdbm""... $ac_c" 1>&6 1847 echo "configure:184 8: checking for main in -lgdbm" >&51842 echo "configure:1843: checking for main in -lgdbm" >&5 1848 1843 ac_lib_var=`echo gdbm'_'main | sed 'y%./+-%__p_%'` 1849 1844 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1853 1848 LIBS="-lgdbm $LIBS" 1854 1849 cat > conftest.$ac_ext <<EOF 1855 #line 185 6"configure"1850 #line 1851 "configure" 1856 1851 #include "confdefs.h" 1857 1852 … … 1860 1855 ; return 0; } 1861 1856 EOF 1862 if { (eval echo configure:18 63: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1857 if { (eval echo configure:1858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1863 1858 rm -rf conftest* 1864 1859 eval "ac_cv_lib_$ac_lib_var=yes" … … 1888 1883 1889 1884 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6 1890 echo "configure:18 91: checking for main in -lm" >&51885 echo "configure:1886: checking for main in -lm" >&5 1891 1886 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'` 1892 1887 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1896 1891 LIBS="-lm $LIBS" 1897 1892 cat > conftest.$ac_ext <<EOF 1898 #line 189 9"configure"1893 #line 1894 "configure" 1899 1894 #include "confdefs.h" 1900 1895 … … 1903 1898 ; return 0; } 1904 1899 EOF 1905 if { (eval echo configure:190 6: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1900 if { (eval echo configure:1901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1906 1901 rm -rf conftest* 1907 1902 eval "ac_cv_lib_$ac_lib_var=yes" … … 1931 1926 1932 1927 echo $ac_n "checking for main in -lstdc++""... $ac_c" 1>&6 1933 echo "configure:19 34: checking for main in -lstdc++" >&51928 echo "configure:1929: checking for main in -lstdc++" >&5 1934 1929 ac_lib_var=`echo stdc++'_'main | sed 'y%./+-%__p_%'` 1935 1930 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1939 1934 LIBS="-lstdc++ $LIBS" 1940 1935 cat > conftest.$ac_ext <<EOF 1941 #line 19 42"configure"1936 #line 1937 "configure" 1942 1937 #include "confdefs.h" 1943 1938 … … 1946 1941 ; return 0; } 1947 1942 EOF 1948 if { (eval echo configure:194 9: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1943 if { (eval echo configure:1944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1949 1944 rm -rf conftest* 1950 1945 eval "ac_cv_lib_$ac_lib_var=yes" … … 1974 1969 1975 1970 echo $ac_n "checking for main in -lcrypt""... $ac_c" 1>&6 1976 echo "configure:197 7: checking for main in -lcrypt" >&51971 echo "configure:1972: checking for main in -lcrypt" >&5 1977 1972 ac_lib_var=`echo crypt'_'main | sed 'y%./+-%__p_%'` 1978 1973 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1982 1977 LIBS="-lcrypt $LIBS" 1983 1978 cat > conftest.$ac_ext <<EOF 1984 #line 198 5"configure"1979 #line 1980 "configure" 1985 1980 #include "confdefs.h" 1986 1981 … … 1989 1984 ; return 0; } 1990 1985 EOF 1991 if { (eval echo configure:19 92: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1986 if { (eval echo configure:1987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1992 1987 rm -rf conftest* 1993 1988 eval "ac_cv_lib_$ac_lib_var=yes" … … 2023 2018 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2024 2019 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 2025 echo "configure:202 6: checking for $ac_hdr that defines DIR" >&52020 echo "configure:2021: checking for $ac_hdr that defines DIR" >&5 2026 2021 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then 2027 2022 echo $ac_n "(cached) $ac_c" 1>&6 2028 2023 else 2029 2024 cat > conftest.$ac_ext <<EOF 2030 #line 20 31"configure"2025 #line 2026 "configure" 2031 2026 #include "confdefs.h" 2032 2027 #include <sys/types.h> … … 2036 2031 ; return 0; } 2037 2032 EOF 2038 if { (eval echo configure:203 9: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2033 if { (eval echo configure:2034: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2039 2034 rm -rf conftest* 2040 2035 eval "ac_cv_header_dirent_$ac_safe=yes" … … 2061 2056 if test $ac_header_dirent = dirent.h; then 2062 2057 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 2063 echo "configure:20 64: checking for opendir in -ldir" >&52058 echo "configure:2059: checking for opendir in -ldir" >&5 2064 2059 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` 2065 2060 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 2069 2064 LIBS="-ldir $LIBS" 2070 2065 cat > conftest.$ac_ext <<EOF 2071 #line 20 72"configure"2066 #line 2067 "configure" 2072 2067 #include "confdefs.h" 2073 2068 /* Override any gcc2 internal prototype to avoid an error. */ … … 2080 2075 ; return 0; } 2081 2076 EOF 2082 if { (eval echo configure:20 83: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2077 if { (eval echo configure:2078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2083 2078 rm -rf conftest* 2084 2079 eval "ac_cv_lib_$ac_lib_var=yes" … … 2102 2097 else 2103 2098 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 2104 echo "configure:210 5: checking for opendir in -lx" >&52099 echo "configure:2100: checking for opendir in -lx" >&5 2105 2100 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` 2106 2101 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 2110 2105 LIBS="-lx $LIBS" 2111 2106 cat > conftest.$ac_ext <<EOF 2112 #line 21 13"configure"2107 #line 2108 "configure" 2113 2108 #include "confdefs.h" 2114 2109 /* Override any gcc2 internal prototype to avoid an error. */ … … 2121 2116 ; return 0; } 2122 2117 EOF 2123 if { (eval echo configure:21 24: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2118 if { (eval echo configure:2119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2124 2119 rm -rf conftest* 2125 2120 eval "ac_cv_lib_$ac_lib_var=yes" … … 2144 2139 2145 2140 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 2146 echo "configure:214 7: checking for ANSI C header files" >&52141 echo "configure:2142: checking for ANSI C header files" >&5 2147 2142 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 2148 2143 echo $ac_n "(cached) $ac_c" 1>&6 2149 2144 else 2150 2145 cat > conftest.$ac_ext <<EOF 2151 #line 21 52"configure"2146 #line 2147 "configure" 2152 2147 #include "confdefs.h" 2153 2148 #include <stdlib.h> … … 2157 2152 EOF 2158 2153 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2159 { (eval echo configure:21 60: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2154 { (eval echo configure:2155: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2160 2155 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2161 2156 if test -z "$ac_err"; then … … 2174 2169 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2175 2170 cat > conftest.$ac_ext <<EOF 2176 #line 217 7"configure"2171 #line 2172 "configure" 2177 2172 #include "confdefs.h" 2178 2173 #include <string.h> … … 2192 2187 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2193 2188 cat > conftest.$ac_ext <<EOF 2194 #line 219 5"configure"2189 #line 2190 "configure" 2195 2190 #include "confdefs.h" 2196 2191 #include <stdlib.h> … … 2213 2208 else 2214 2209 cat > conftest.$ac_ext <<EOF 2215 #line 221 6"configure"2210 #line 2211 "configure" 2216 2211 #include "confdefs.h" 2217 2212 #include <ctype.h> … … 2224 2219 2225 2220 EOF 2226 if { (eval echo configure:222 7: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2221 if { (eval echo configure:2222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2227 2222 then 2228 2223 : … … 2251 2246 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2252 2247 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2253 echo "configure:22 54: checking for $ac_hdr" >&52248 echo "configure:2249: checking for $ac_hdr" >&5 2254 2249 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2255 2250 echo $ac_n "(cached) $ac_c" 1>&6 2256 2251 else 2257 2252 cat > conftest.$ac_ext <<EOF 2258 #line 225 9"configure"2253 #line 2254 "configure" 2259 2254 #include "confdefs.h" 2260 2255 #include <$ac_hdr> 2261 2256 EOF 2262 2257 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2263 { (eval echo configure:22 64: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2258 { (eval echo configure:2259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2264 2259 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2265 2260 if test -z "$ac_err"; then … … 2288 2283 2289 2284 cat > conftest.$ac_ext <<EOF 2290 #line 22 91"configure"2285 #line 2286 "configure" 2291 2286 #include "confdefs.h" 2292 2287 #include <stdio.h> … … 2303 2298 2304 2299 cat > conftest.$ac_ext <<EOF 2305 #line 230 6"configure"2300 #line 2301 "configure" 2306 2301 #include "confdefs.h" 2307 2302 #include <stdio.h> … … 2318 2313 2319 2314 cat > conftest.$ac_ext <<EOF 2320 #line 23 21"configure"2315 #line 2316 "configure" 2321 2316 #include "confdefs.h" 2322 2317 #include <sys/procfs.h> … … 2336 2331 # for constant arguments. Useless! 2337 2332 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 2338 echo "configure:233 9: checking for working alloca.h" >&52333 echo "configure:2334: checking for working alloca.h" >&5 2339 2334 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 2340 2335 echo $ac_n "(cached) $ac_c" 1>&6 2341 2336 else 2342 2337 cat > conftest.$ac_ext <<EOF 2343 #line 23 44"configure"2338 #line 2339 "configure" 2344 2339 #include "confdefs.h" 2345 2340 #include <alloca.h> … … 2348 2343 ; return 0; } 2349 2344 EOF 2350 if { (eval echo configure:23 51: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2345 if { (eval echo configure:2346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2351 2346 rm -rf conftest* 2352 2347 ac_cv_header_alloca_h=yes … … 2369 2364 2370 2365 echo $ac_n "checking for alloca""... $ac_c" 1>&6 2371 echo "configure:23 72: checking for alloca" >&52366 echo "configure:2367: checking for alloca" >&5 2372 2367 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 2373 2368 echo $ac_n "(cached) $ac_c" 1>&6 2374 2369 else 2375 2370 cat > conftest.$ac_ext <<EOF 2376 #line 237 7"configure"2371 #line 2372 "configure" 2377 2372 #include "confdefs.h" 2378 2373 … … 2402 2397 ; return 0; } 2403 2398 EOF 2404 if { (eval echo configure:240 5: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2399 if { (eval echo configure:2400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2405 2400 rm -rf conftest* 2406 2401 ac_cv_func_alloca_works=yes … … 2434 2429 2435 2430 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 2436 echo "configure:243 7: checking whether alloca needs Cray hooks" >&52431 echo "configure:2432: checking whether alloca needs Cray hooks" >&5 2437 2432 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 2438 2433 echo $ac_n "(cached) $ac_c" 1>&6 2439 2434 else 2440 2435 cat > conftest.$ac_ext <<EOF 2441 #line 24 42"configure"2436 #line 2437 "configure" 2442 2437 #include "confdefs.h" 2443 2438 #if defined(CRAY) && ! defined(CRAY2) … … 2464 2459 for ac_func in _getb67 GETB67 getb67; do 2465 2460 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2466 echo "configure:246 7: checking for $ac_func" >&52461 echo "configure:2462: checking for $ac_func" >&5 2467 2462 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2468 2463 echo $ac_n "(cached) $ac_c" 1>&6 2469 2464 else 2470 2465 cat > conftest.$ac_ext <<EOF 2471 #line 24 72"configure"2466 #line 2467 "configure" 2472 2467 #include "confdefs.h" 2473 2468 /* System header to define __stub macros and hopefully few prototypes, … … 2492 2487 ; return 0; } 2493 2488 EOF 2494 if { (eval echo configure:249 5: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2489 if { (eval echo configure:2490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2495 2490 rm -rf conftest* 2496 2491 eval "ac_cv_func_$ac_func=yes" … … 2519 2514 2520 2515 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 2521 echo "configure:25 22: checking stack direction for C alloca" >&52516 echo "configure:2517: checking stack direction for C alloca" >&5 2522 2517 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 2523 2518 echo $ac_n "(cached) $ac_c" 1>&6 … … 2527 2522 else 2528 2523 cat > conftest.$ac_ext <<EOF 2529 #line 25 30"configure"2524 #line 2525 "configure" 2530 2525 #include "confdefs.h" 2531 2526 find_stack_direction () … … 2546 2541 } 2547 2542 EOF 2548 if { (eval echo configure:254 9: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2543 if { (eval echo configure:2544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2549 2544 then 2550 2545 ac_cv_c_stack_direction=1 … … 2569 2564 if test $ac_cv_prog_gcc = yes; then 2570 2565 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 2571 echo "configure:25 72: checking whether ${CC-cc} needs -traditional" >&52566 echo "configure:2567: checking whether ${CC-cc} needs -traditional" >&5 2572 2567 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then 2573 2568 echo $ac_n "(cached) $ac_c" 1>&6 … … 2575 2570 ac_pattern="Autoconf.*'x'" 2576 2571 cat > conftest.$ac_ext <<EOF 2577 #line 257 8"configure"2572 #line 2573 "configure" 2578 2573 #include "confdefs.h" 2579 2574 #include <sgtty.h> … … 2593 2588 if test $ac_cv_prog_gcc_traditional = no; then 2594 2589 cat > conftest.$ac_ext <<EOF 2595 #line 259 6"configure"2590 #line 2591 "configure" 2596 2591 #include "confdefs.h" 2597 2592 #include <termio.h> … … 2615 2610 2616 2611 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 2617 echo "configure:261 8: checking return type of signal handlers" >&52612 echo "configure:2613: checking return type of signal handlers" >&5 2618 2613 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then 2619 2614 echo $ac_n "(cached) $ac_c" 1>&6 2620 2615 else 2621 2616 cat > conftest.$ac_ext <<EOF 2622 #line 26 23"configure"2617 #line 2618 "configure" 2623 2618 #include "confdefs.h" 2624 2619 #include <sys/types.h> … … 2637 2632 ; return 0; } 2638 2633 EOF 2639 if { (eval echo configure:26 40: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2634 if { (eval echo configure:2635: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2640 2635 rm -rf conftest* 2641 2636 ac_cv_type_signal=void … … 2656 2651 2657 2652 echo $ac_n "checking for vprintf""... $ac_c" 1>&6 2658 echo "configure:265 9: checking for vprintf" >&52653 echo "configure:2654: checking for vprintf" >&5 2659 2654 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then 2660 2655 echo $ac_n "(cached) $ac_c" 1>&6 2661 2656 else 2662 2657 cat > conftest.$ac_ext <<EOF 2663 #line 26 64"configure"2658 #line 2659 "configure" 2664 2659 #include "confdefs.h" 2665 2660 /* System header to define __stub macros and hopefully few prototypes, … … 2684 2679 ; return 0; } 2685 2680 EOF 2686 if { (eval echo configure:268 7: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2681 if { (eval echo configure:2682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2687 2682 rm -rf conftest* 2688 2683 eval "ac_cv_func_vprintf=yes" … … 2708 2703 if test "$ac_cv_func_vprintf" != yes; then 2709 2704 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 2710 echo "configure:27 11: checking for _doprnt" >&52705 echo "configure:2706: checking for _doprnt" >&5 2711 2706 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then 2712 2707 echo $ac_n "(cached) $ac_c" 1>&6 2713 2708 else 2714 2709 cat > conftest.$ac_ext <<EOF 2715 #line 271 6"configure"2710 #line 2711 "configure" 2716 2711 #include "confdefs.h" 2717 2712 /* System header to define __stub macros and hopefully few prototypes, … … 2736 2731 ; return 0; } 2737 2732 EOF 2738 if { (eval echo configure:273 9: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2733 if { (eval echo configure:2734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2739 2734 rm -rf conftest* 2740 2735 eval "ac_cv_func__doprnt=yes" … … 2763 2758 do 2764 2759 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2765 echo "configure:276 6: checking for $ac_func" >&52760 echo "configure:2761: checking for $ac_func" >&5 2766 2761 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2767 2762 echo $ac_n "(cached) $ac_c" 1>&6 2768 2763 else 2769 2764 cat > conftest.$ac_ext <<EOF 2770 #line 27 71"configure"2765 #line 2766 "configure" 2771 2766 #include "confdefs.h" 2772 2767 /* System header to define __stub macros and hopefully few prototypes, … … 2791 2786 ; return 0; } 2792 2787 EOF 2793 if { (eval echo configure:27 94: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2788 if { (eval echo configure:2789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2794 2789 rm -rf conftest* 2795 2790 eval "ac_cv_func_$ac_func=yes" … … 2818 2813 do 2819 2814 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2820 echo "configure:28 21: checking for $ac_func" >&52815 echo "configure:2816: checking for $ac_func" >&5 2821 2816 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2822 2817 echo $ac_n "(cached) $ac_c" 1>&6 2823 2818 else 2824 2819 cat > conftest.$ac_ext <<EOF 2825 #line 282 6"configure"2820 #line 2821 "configure" 2826 2821 #include "confdefs.h" 2827 2822 /* System header to define __stub macros and hopefully few prototypes, … … 2846 2841 ; return 0; } 2847 2842 EOF 2848 if { (eval echo configure:284 9: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2843 if { (eval echo configure:2844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2849 2844 rm -rf conftest* 2850 2845 eval "ac_cv_func_$ac_func=yes" … … 2877 2872 # --------------------------------------------------------------------------- 2878 2873 echo $ac_n "checking for HP-UX needing gmalloc""... $ac_c" 1>&6 2879 echo "configure:28 80: checking for HP-UX needing gmalloc" >&52874 echo "configure:2875: checking for HP-UX needing gmalloc" >&5 2880 2875 if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then 2881 2876 echo "$ac_t""yes" 1>&6 … … 2890 2885 do 2891 2886 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2892 echo "configure:28 93: checking for $ac_func" >&52887 echo "configure:2888: checking for $ac_func" >&5 2893 2888 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2894 2889 echo $ac_n "(cached) $ac_c" 1>&6 2895 2890 else 2896 2891 cat > conftest.$ac_ext <<EOF 2897 #line 289 8"configure"2892 #line 2893 "configure" 2898 2893 #include "confdefs.h" 2899 2894 /* System header to define __stub macros and hopefully few prototypes, … … 2918 2913 ; return 0; } 2919 2914 EOF 2920 if { (eval echo configure:29 21: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2915 if { (eval echo configure:2916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2921 2916 rm -rf conftest* 2922 2917 eval "ac_cv_func_$ac_func=yes" … … 2945 2940 2946 2941 echo $ac_n "checking if malloc debugging is wanted""... $ac_c" 1>&6 2947 echo "configure:294 8: checking if malloc debugging is wanted" >&52942 echo "configure:2943: checking if malloc debugging is wanted" >&5 2948 2943 # Check whether --with-dmalloc or --without-dmalloc was given. 2949 2944 if test "${with_dmalloc+set}" = set; then … … 2966 2961 2967 2962 echo $ac_n "checking which of rx or regex is wanted""... $ac_c" 1>&6 2968 echo "configure:296 9: checking which of rx or regex is wanted" >&52963 echo "configure:2964: checking which of rx or regex is wanted" >&5 2969 2964 # Check whether --with-regex or --without-regex was given. 2970 2965 if test "${with_regex+set}" = set; then … … 2984 2979 echo "$ac_t""rx" 1>&6 2985 2980 echo $ac_n "checking for re_rx_search""... $ac_c" 1>&6 2986 echo "configure:298 7: checking for re_rx_search" >&52981 echo "configure:2982: checking for re_rx_search" >&5 2987 2982 if eval "test \"`echo '$''{'ac_cv_func_re_rx_search'+set}'`\" = set"; then 2988 2983 echo $ac_n "(cached) $ac_c" 1>&6 2989 2984 else 2990 2985 cat > conftest.$ac_ext <<EOF 2991 #line 29 92"configure"2986 #line 2987 "configure" 2992 2987 #include "confdefs.h" 2993 2988 /* System header to define __stub macros and hopefully few prototypes, … … 3012 3007 ; return 0; } 3013 3008 EOF 3014 if { (eval echo configure:301 5: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3009 if { (eval echo configure:3010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3015 3010 rm -rf conftest* 3016 3011 eval "ac_cv_func_re_rx_search=yes" … … 3052 3047 3053 3048 echo $ac_n "checking "that the GDBM library is available"""... $ac_c" 1>&6 3054 echo "configure:305 5: checking "that the GDBM library is available"" >&53049 echo "configure:3050: checking "that the GDBM library is available"" >&5 3055 3050 cat > conftest.$ac_ext <<EOF 3056 #line 305 7"configure"3051 #line 3052 "configure" 3057 3052 #include "confdefs.h" 3058 3053 #include <gdbm.h> … … 3062 3057 ; return 0; } 3063 3058 EOF 3064 if { (eval echo configure:306 5: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3059 if { (eval echo configure:3060: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3065 3060 rm -rf conftest* 3066 3061 success=yes … … 3079 3074 3080 3075 echo $ac_n "checking "that Perl 5 is available"""... $ac_c" 1>&6 3081 echo "configure:30 82: checking "that Perl 5 is available"" >&53076 echo "configure:3077: checking "that Perl 5 is available"" >&5 3082 3077 success="no" 3083 3078 pl_path="$PATH" … … 3109 3104 success=no 3110 3105 echo $ac_n "checking "whether STL library has known faults"""... $ac_c" 1>&6 3111 echo "configure:31 12: checking "whether STL library has known faults"" >&53106 echo "configure:3107: checking "whether STL library has known faults"" >&5 3112 3107 3113 3108 cat > conftest.$ac_ext <<EOF 3114 #line 311 5"configure"3109 #line 3110 "configure" 3115 3110 #include "confdefs.h" 3116 3111 #include <vector> … … 3120 3115 ; return 0; } 3121 3116 EOF 3122 if { (eval echo configure:31 23: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3117 if { (eval echo configure:3118: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3123 3118 rm -rf conftest* 3124 3119 success=yes … … 3131 3126 if test $success = "no"; then 3132 3127 cat > conftest.$ac_ext <<EOF 3133 #line 31 34"configure"3128 #line 3129 "configure" 3134 3129 #include "confdefs.h" 3135 3130 #include <vector.h> … … 3139 3134 ; return 0; } 3140 3135 EOF 3141 if { (eval echo configure:31 42: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3136 if { (eval echo configure:3137: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3142 3137 rm -rf conftest* 3143 3138 success="yes" … … 3151 3146 if test $success = "no"; then 3152 3147 cat > conftest.$ac_ext <<EOF 3153 #line 31 54"configure"3148 #line 3149 "configure" 3154 3149 #include "confdefs.h" 3155 3150 #include <ospace\\std\\vector> … … 3159 3154 ; return 0; } 3160 3155 EOF 3161 if { (eval echo configure:31 62: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3156 if { (eval echo configure:3157: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3162 3157 rm -rf conftest* 3163 3158 success="yes" … … 3177 3172 3178 3173 gsdlos=`uname | tr A-Z a-z` 3179 3180 3181 echo $ac_n "checking for HP-UX needing gmalloc""... $ac_c" 1>&63182 echo "configure:3183: checking for HP-UX needing gmalloc" >&53183 if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then3184 echo "$ac_t""yes" 1>&63185 LIBOBJS="$LIBOBJS gmalloc.o"3186 cat >> confdefs.h <<\EOF3187 #define HAVE_VALLOC 13188 EOF3189 3190 else3191 echo "$ac_t""no" 1>&63192 for ac_func in valloc3193 do3194 echo $ac_n "checking for $ac_func""... $ac_c" 1>&63195 echo "configure:3196: checking for $ac_func" >&53196 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then3197 echo $ac_n "(cached) $ac_c" 1>&63198 else3199 cat > conftest.$ac_ext <<EOF3200 #line 3201 "configure"3201 #include "confdefs.h"3202 /* System header to define __stub macros and hopefully few prototypes,3203 which can conflict with char $ac_func(); below. */3204 #include <assert.h>3205 /* Override any gcc2 internal prototype to avoid an error. */3206 #ifdef __cplusplus3207 extern "C"3208 #endif3209 /* We use char because int might match the return type of a gcc23210 builtin and then its argument prototype would still apply. */3211 char $ac_func();3212 3213 int main() {3214 3215 /* The GNU C library defines this for functions which it implements3216 to always fail with ENOSYS. Some functions are actually named3217 something starting with __ and the normal name is an alias. */3218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)3219 choke me3220 #else3221 $ac_func();3222 #endif3223 3224 ; return 0; }3225 EOF3226 if { (eval echo configure:3227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3227 rm -rf conftest*3228 eval "ac_cv_func_$ac_func=yes"3229 else3230 echo "configure: failed program was:" >&53231 cat conftest.$ac_ext >&53232 rm -rf conftest*3233 eval "ac_cv_func_$ac_func=no"3234 fi3235 rm -f conftest*3236 fi3237 3238 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then3239 echo "$ac_t""yes" 1>&63240 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`3241 cat >> confdefs.h <<EOF3242 #define $ac_tr_func 13243 EOF3244 3245 else3246 echo "$ac_t""no" 1>&63247 fi3248 done3249 3250 fi3251 3252 echo $ac_n "checking if malloc debugging is wanted""... $ac_c" 1>&63253 echo "configure:3254: checking if malloc debugging is wanted" >&53254 # Check whether --with-dmalloc or --without-dmalloc was given.3255 if test "${with_dmalloc+set}" = set; then3256 withval="$with_dmalloc"3257 if test "$withval" = yes; then3258 echo "$ac_t""yes" 1>&63259 cat >> confdefs.h <<\EOF3260 #define WITH_DMALLOC 13261 EOF3262 3263 LIBS="$LIBS -ldmalloc"3264 LDFLAGS="$LDFLAGS -g"3265 else3266 echo "$ac_t""no" 1>&63267 fi3268 else3269 echo "$ac_t""no" 1>&63270 fi3271 3272 3273 echo $ac_n "checking which of rx or regex is wanted""... $ac_c" 1>&63274 echo "configure:3275: checking which of rx or regex is wanted" >&53275 # Check whether --with-regex or --without-regex was given.3276 if test "${with_regex+set}" = set; then3277 withval="$with_regex"3278 if test "$withval" = yes; then3279 ac_with_regex=13280 echo "$ac_t""regex" 1>&63281 cat >> confdefs.h <<\EOF3282 #define WITH_REGEX 13283 EOF3284 3285 LIBOBJS="$LIBOBJS regex.o"3286 fi3287 fi3288 3289 if test -z "$ac_with_regex"; then3290 echo "$ac_t""rx" 1>&63291 echo $ac_n "checking for re_rx_search""... $ac_c" 1>&63292 echo "configure:3293: checking for re_rx_search" >&53293 if eval "test \"`echo '$''{'ac_cv_func_re_rx_search'+set}'`\" = set"; then3294 echo $ac_n "(cached) $ac_c" 1>&63295 else3296 cat > conftest.$ac_ext <<EOF3297 #line 3298 "configure"3298 #include "confdefs.h"3299 /* System header to define __stub macros and hopefully few prototypes,3300 which can conflict with char re_rx_search(); below. */3301 #include <assert.h>3302 /* Override any gcc2 internal prototype to avoid an error. */3303 #ifdef __cplusplus3304 extern "C"3305 #endif3306 /* We use char because int might match the return type of a gcc23307 builtin and then its argument prototype would still apply. */3308 char re_rx_search();3309 3310 int main() {3311 3312 /* The GNU C library defines this for functions which it implements3313 to always fail with ENOSYS. Some functions are actually named3314 something starting with __ and the normal name is an alias. */3315 #if defined (__stub_re_rx_search) || defined (__stub___re_rx_search)3316 choke me3317 #else3318 re_rx_search();3319 #endif3320 3321 ; return 0; }3322 EOF3323 if { (eval echo configure:3324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3324 rm -rf conftest*3325 eval "ac_cv_func_re_rx_search=yes"3326 else3327 echo "configure: failed program was:" >&53328 cat conftest.$ac_ext >&53329 rm -rf conftest*3330 eval "ac_cv_func_re_rx_search=no"3331 fi3332 rm -f conftest*3333 fi3334 3335 if eval "test \"`echo '$ac_cv_func_'re_rx_search`\" = yes"; then3336 echo "$ac_t""yes" 1>&63337 :3338 else3339 echo "$ac_t""no" 1>&63340 LIBOBJS="$LIBOBJS rx.o"3341 fi3342 3343 fi3344 3174 3345 3175 -
trunk/gsdl/configure.in
r1938 r2051 26 26 AC_ARG_ENABLE(corba, [ --enable-corba Enable CORBA support], USE_CORBA=1, USE_CORBA=0) 27 27 AC_DEFINE(USE_CORBA) 28 AC_SUBST(USE_CORBA , $(USE_CORBA))28 AC_SUBST(USE_CORBA) 29 29 30 30 AC_ARG_WITH(micodir, [ --with-micodir Use installed MICO directory], MICO_DIR=$enableval, MICO_DIR="default") 31 31 AC_DEFINE(MICO_DIR) 32 AC_SUBST(MICO_DIR , $(MICO_DIR))32 AC_SUBST(MICO_DIR) 33 33 34 34 dnl … … 245 245 AC_SUBST(gsdlos) 246 246 247 AC_MSG_CHECKING(for HP-UX needing gmalloc)248 if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then249 AC_MSG_RESULT(yes)250 LIBOBJS="$LIBOBJS gmalloc.o"251 AC_DEFINE(HAVE_VALLOC)252 else253 AC_MSG_RESULT(no)254 AC_CHECK_FUNCS(valloc)255 fi256 257 fp_WITH_DMALLOC258 fp_WITH_REGEX259 260 247 # --------------------------------------------------------------------------- 261 248 if test "$ac_cv_func_alloca" = 'no'; then
Note:
See TracChangeset
for help on using the changeset viewer.