Changeset 3063 for trunk/gsdl
- Timestamp:
- 2002-03-21T03:26:37+12:00 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/configure
r2951 r3063 610 610 611 611 612 613 614 612 LDFLAGS= 615 613 if test -z "$CFLAGS"; then … … 621 619 set dummy gcc; ac_word=$2 622 620 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 623 echo "configure:62 4: checking for $ac_word" >&5621 echo "configure:622: checking for $ac_word" >&5 624 622 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 625 623 echo $ac_n "(cached) $ac_c" 1>&6 … … 651 649 set dummy cc; ac_word=$2 652 650 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 653 echo "configure:65 4: checking for $ac_word" >&5651 echo "configure:652: checking for $ac_word" >&5 654 652 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 655 653 echo $ac_n "(cached) $ac_c" 1>&6 … … 702 700 set dummy cl; ac_word=$2 703 701 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 704 echo "configure:70 5: checking for $ac_word" >&5702 echo "configure:703: checking for $ac_word" >&5 705 703 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 706 704 echo $ac_n "(cached) $ac_c" 1>&6 … … 734 732 735 733 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 736 echo "configure:73 7: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5734 echo "configure:735: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 737 735 738 736 ac_ext=c … … 745 743 cat > conftest.$ac_ext << EOF 746 744 747 #line 74 8"configure"745 #line 746 "configure" 748 746 #include "confdefs.h" 749 747 750 748 main(){return(0);} 751 749 EOF 752 if { (eval echo configure:75 3: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then750 if { (eval echo configure:751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 753 751 ac_cv_prog_cc_works=yes 754 752 # If we can't run a trivial program, we are probably using a cross compiler. … … 776 774 fi 777 775 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 778 echo "configure:77 9: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5776 echo "configure:777: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 779 777 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 780 778 cross_compiling=$ac_cv_prog_cc_cross 781 779 782 780 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 783 echo "configure:78 4: checking whether we are using GNU C" >&5781 echo "configure:782: checking whether we are using GNU C" >&5 784 782 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 785 783 echo $ac_n "(cached) $ac_c" 1>&6 … … 790 788 #endif 791 789 EOF 792 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:79 3: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then790 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:791: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 793 791 ac_cv_prog_gcc=yes 794 792 else … … 809 807 CFLAGS= 810 808 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 811 echo "configure:81 2: checking whether ${CC-cc} accepts -g" >&5809 echo "configure:810: checking whether ${CC-cc} accepts -g" >&5 812 810 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 813 811 echo $ac_n "(cached) $ac_c" 1>&6 … … 845 843 set dummy $ac_prog; ac_word=$2 846 844 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 847 echo "configure:84 8: checking for $ac_word" >&5845 echo "configure:846: checking for $ac_word" >&5 848 846 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then 849 847 echo $ac_n "(cached) $ac_c" 1>&6 … … 877 875 878 876 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 879 echo "configure:8 80: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5877 echo "configure:878: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 880 878 881 879 ac_ext=C … … 888 886 cat > conftest.$ac_ext << EOF 889 887 890 #line 8 91"configure"888 #line 889 "configure" 891 889 #include "confdefs.h" 892 890 893 891 int main(){return(0);} 894 892 EOF 895 if { (eval echo configure:89 6: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then893 if { (eval echo configure:894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 896 894 ac_cv_prog_cxx_works=yes 897 895 # If we can't run a trivial program, we are probably using a cross compiler. … … 919 917 fi 920 918 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 921 echo "configure:92 2: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5919 echo "configure:920: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 922 920 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 923 921 cross_compiling=$ac_cv_prog_cxx_cross 924 922 925 923 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 926 echo "configure:92 7: checking whether we are using GNU C++" >&5924 echo "configure:925: checking whether we are using GNU C++" >&5 927 925 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then 928 926 echo $ac_n "(cached) $ac_c" 1>&6 … … 933 931 #endif 934 932 EOF 935 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:93 6: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then933 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:934: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 936 934 ac_cv_prog_gxx=yes 937 935 else … … 952 950 CXXFLAGS= 953 951 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 954 echo "configure:95 5: checking whether ${CXX-g++} accepts -g" >&5952 echo "configure:953: checking whether ${CXX-g++} accepts -g" >&5 955 953 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then 956 954 echo $ac_n "(cached) $ac_c" 1>&6 … … 983 981 fi 984 982 985 for ac_prog in mawk gawk nawk awk 983 for ac_declaration in \ 984 ''\ 985 '#include <stdlib.h>' \ 986 'extern "C" void std::exit (int) throw (); using std::exit;' \ 987 'extern "C" void std::exit (int); using std::exit;' \ 988 'extern "C" void exit (int) throw ();' \ 989 'extern "C" void exit (int);' \ 990 'void exit (int);' 991 do 992 cat > conftest.$ac_ext <<EOF 993 #line 994 "configure" 994 #include "confdefs.h" 995 #include <stdlib.h> 996 $ac_declaration 997 int main() { 998 exit (42); 999 ; return 0; } 1000 EOF 1001 if { (eval echo configure:1002: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1002 : 1003 else 1004 echo "configure: failed program was:" >&5 1005 cat conftest.$ac_ext >&5 1006 rm -rf conftest* 1007 continue 1008 fi 1009 rm -f conftest* 1010 cat > conftest.$ac_ext <<EOF 1011 #line 1012 "configure" 1012 #include "confdefs.h" 1013 $ac_declaration 1014 int main() { 1015 exit (42); 1016 ; return 0; } 1017 EOF 1018 if { (eval echo configure:1019: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1019 rm -rf conftest* 1020 break 1021 else 1022 echo "configure: failed program was:" >&5 1023 cat conftest.$ac_ext >&5 1024 fi 1025 rm -f conftest* 1026 done 1027 if test -n "$ac_declaration"; then 1028 echo '#ifdef __cplusplus' >>confdefs.h 1029 echo $ac_declaration >>confdefs.h 1030 echo '#endif' >>confdefs.h 1031 fi 1032 1033 1034 for ac_prog in gawk mawk nawk awk 986 1035 do 987 1036 # Extract the first word of "$ac_prog", so it can be a program name with args. 988 1037 set dummy $ac_prog; ac_word=$2 989 1038 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 990 echo "configure: 991: checking for $ac_word" >&51039 echo "configure:1040: checking for $ac_word" >&5 991 1040 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then 992 1041 echo $ac_n "(cached) $ac_c" 1>&6 … … 1022 1071 set dummy $ac_prog; ac_word=$2 1023 1072 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1024 echo "configure:10 25: checking for $ac_word" >&51073 echo "configure:1074: checking for $ac_word" >&5 1025 1074 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then 1026 1075 echo $ac_n "(cached) $ac_c" 1>&6 … … 1099 1148 1100 1149 echo $ac_n "checking host system type""... $ac_c" 1>&6 1101 echo "configure:11 02: checking host system type" >&51150 echo "configure:1151: checking host system type" >&5 1102 1151 1103 1152 host_alias=$host … … 1120 1169 1121 1170 echo $ac_n "checking target system type""... $ac_c" 1>&6 1122 echo "configure:11 23: checking target system type" >&51171 echo "configure:1172: checking target system type" >&5 1123 1172 1124 1173 target_alias=$target … … 1138 1187 1139 1188 echo $ac_n "checking build system type""... $ac_c" 1>&6 1140 echo "configure:11 41: checking build system type" >&51189 echo "configure:1190: checking build system type" >&5 1141 1190 1142 1191 build_alias=$build … … 1172 1221 # ./install, which can be erroneously created by make from ./install.sh. 1173 1222 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 1174 echo "configure:1 175: checking for a BSD compatible install" >&51223 echo "configure:1224: checking for a BSD compatible install" >&5 1175 1224 if test -z "$INSTALL"; then 1176 1225 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then … … 1225 1274 1226 1275 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1227 echo "configure:12 28: checking whether ln -s works" >&51276 echo "configure:1277: checking whether ln -s works" >&5 1228 1277 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1229 1278 echo $ac_n "(cached) $ac_c" 1>&6 … … 1246 1295 1247 1296 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 1248 echo "configure:12 49: checking whether ${MAKE-make} sets \${MAKE}" >&51297 echo "configure:1298: checking whether ${MAKE-make} sets \${MAKE}" >&5 1249 1298 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 1250 1299 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 1275 1324 set dummy ranlib; ac_word=$2 1276 1325 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1277 echo "configure:1 278: checking for $ac_word" >&51326 echo "configure:1327: checking for $ac_word" >&5 1278 1327 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1279 1328 echo $ac_n "(cached) $ac_c" 1>&6 … … 1303 1352 1304 1353 1305 1306 1354 #moved CORBA MICO directory test to get version of MICO 1307 1355 if test $USE_CORBA = 1; then … … 1337 1385 1338 1386 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 1339 echo "configure:13 40: checking how to run the C preprocessor" >&51387 echo "configure:1388: checking how to run the C preprocessor" >&5 1340 1388 # On Suns, sometimes $CPP names a directory. 1341 1389 if test -n "$CPP" && test -d "$CPP"; then … … 1352 1400 # not just through cpp. 1353 1401 cat > conftest.$ac_ext <<EOF 1354 #line 1 355"configure"1402 #line 1403 "configure" 1355 1403 #include "confdefs.h" 1356 1404 #include <assert.h> … … 1358 1406 EOF 1359 1407 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1360 { (eval echo configure:1 361: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1408 { (eval echo configure:1409: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1361 1409 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1362 1410 if test -z "$ac_err"; then … … 1369 1417 CPP="${CC-cc} -E -traditional-cpp" 1370 1418 cat > conftest.$ac_ext <<EOF 1371 #line 1 372"configure"1419 #line 1420 "configure" 1372 1420 #include "confdefs.h" 1373 1421 #include <assert.h> … … 1375 1423 EOF 1376 1424 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1377 { (eval echo configure:1 378: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1425 { (eval echo configure:1426: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1378 1426 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1379 1427 if test -z "$ac_err"; then … … 1386 1434 CPP="${CC-cc} -nologo -E" 1387 1435 cat > conftest.$ac_ext <<EOF 1388 #line 1 389"configure"1436 #line 1437 "configure" 1389 1437 #include "confdefs.h" 1390 1438 #include <assert.h> … … 1392 1440 EOF 1393 1441 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1394 { (eval echo configure:1 395: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1442 { (eval echo configure:1443: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1395 1443 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1396 1444 if test -z "$ac_err"; then … … 1417 1465 1418 1466 echo $ac_n "checking for AIX""... $ac_c" 1>&6 1419 echo "configure:14 20: checking for AIX" >&51467 echo "configure:1468: checking for AIX" >&5 1420 1468 cat > conftest.$ac_ext <<EOF 1421 #line 14 22"configure"1469 #line 1470 "configure" 1422 1470 #include "confdefs.h" 1423 1471 #ifdef _AIX … … 1441 1489 1442 1490 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 1443 echo "configure:14 44: checking for POSIXized ISC" >&51491 echo "configure:1492: checking for POSIXized ISC" >&5 1444 1492 if test -d /etc/conf/kconfig.d && 1445 1493 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 … … 1463 1511 ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'` 1464 1512 echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6 1465 echo "configure:1 466: checking for minix/config.h" >&51513 echo "configure:1514: checking for minix/config.h" >&5 1466 1514 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1467 1515 echo $ac_n "(cached) $ac_c" 1>&6 1468 1516 else 1469 1517 cat > conftest.$ac_ext <<EOF 1470 #line 1 471"configure"1518 #line 1519 "configure" 1471 1519 #include "confdefs.h" 1472 1520 #include <minix/config.h> 1473 1521 EOF 1474 1522 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1475 { (eval echo configure:1 476: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1523 { (eval echo configure:1524: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1476 1524 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1477 1525 if test -z "$ac_err"; then … … 1511 1559 1512 1560 echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6 1513 echo "configure:15 14: checking for ${CC-cc} option to accept ANSI C" >&51561 echo "configure:1562: checking for ${CC-cc} option to accept ANSI C" >&5 1514 1562 if eval "test \"`echo '$''{'ac_cv_prog_cc_stdc'+set}'`\" = set"; then 1515 1563 echo $ac_n "(cached) $ac_c" 1>&6 … … 1527 1575 CFLAGS="$ac_save_CFLAGS $ac_arg" 1528 1576 cat > conftest.$ac_ext <<EOF 1529 #line 15 30"configure"1577 #line 1578 "configure" 1530 1578 #include "confdefs.h" 1531 1579 #if !defined(__STDC__) || __STDC__ != 1 … … 1539 1587 ; return 0; } 1540 1588 EOF 1541 if { (eval echo configure:15 42: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1589 if { (eval echo configure:1590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1542 1590 rm -rf conftest* 1543 1591 ac_cv_prog_cc_stdc="$ac_arg"; break … … 1560 1608 1561 1609 echo $ac_n "checking for function prototypes""... $ac_c" 1>&6 1562 echo "configure:1 563: checking for function prototypes" >&51610 echo "configure:1611: checking for function prototypes" >&5 1563 1611 if test "$ac_cv_prog_cc_stdc" != no; then 1564 1612 echo "$ac_t""yes" 1>&6 … … 1574 1622 1575 1623 echo $ac_n "checking for working const""... $ac_c" 1>&6 1576 echo "configure:1 577: checking for working const" >&51624 echo "configure:1625: checking for working const" >&5 1577 1625 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 1578 1626 echo $ac_n "(cached) $ac_c" 1>&6 1579 1627 else 1580 1628 cat > conftest.$ac_ext <<EOF 1581 #line 1 582"configure"1629 #line 1630 "configure" 1582 1630 #include "confdefs.h" 1583 1631 … … 1628 1676 ; return 0; } 1629 1677 EOF 1630 if { (eval echo configure:16 31: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1678 if { (eval echo configure:1679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1631 1679 rm -rf conftest* 1632 1680 ac_cv_c_const=yes … … 1649 1697 1650 1698 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 1651 echo "configure:1 652: checking for ANSI C header files" >&51699 echo "configure:1700: checking for ANSI C header files" >&5 1652 1700 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 1653 1701 echo $ac_n "(cached) $ac_c" 1>&6 1654 1702 else 1655 1703 cat > conftest.$ac_ext <<EOF 1656 #line 1 657"configure"1704 #line 1705 "configure" 1657 1705 #include "confdefs.h" 1658 1706 #include <stdlib.h> … … 1662 1710 EOF 1663 1711 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1664 { (eval echo configure:1 665: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1712 { (eval echo configure:1713: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1665 1713 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1666 1714 if test -z "$ac_err"; then … … 1679 1727 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1680 1728 cat > conftest.$ac_ext <<EOF 1681 #line 1 682"configure"1729 #line 1730 "configure" 1682 1730 #include "confdefs.h" 1683 1731 #include <string.h> … … 1697 1745 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1698 1746 cat > conftest.$ac_ext <<EOF 1699 #line 17 00"configure"1747 #line 1748 "configure" 1700 1748 #include "confdefs.h" 1701 1749 #include <stdlib.h> … … 1718 1766 else 1719 1767 cat > conftest.$ac_ext <<EOF 1720 #line 17 21"configure"1768 #line 1769 "configure" 1721 1769 #include "confdefs.h" 1722 1770 #include <ctype.h> … … 1729 1777 1730 1778 EOF 1731 if { (eval echo configure:17 32: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1779 if { (eval echo configure:1780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1732 1780 then 1733 1781 : … … 1753 1801 1754 1802 echo $ac_n "checking for off_t""... $ac_c" 1>&6 1755 echo "configure:1 756: checking for off_t" >&51803 echo "configure:1804: checking for off_t" >&5 1756 1804 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then 1757 1805 echo $ac_n "(cached) $ac_c" 1>&6 1758 1806 else 1759 1807 cat > conftest.$ac_ext <<EOF 1760 #line 1 761"configure"1808 #line 1809 "configure" 1761 1809 #include "confdefs.h" 1762 1810 #include <sys/types.h> … … 1786 1834 1787 1835 echo $ac_n "checking for size_t""... $ac_c" 1>&6 1788 echo "configure:1 789: checking for size_t" >&51836 echo "configure:1837: checking for size_t" >&5 1789 1837 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 1790 1838 echo $ac_n "(cached) $ac_c" 1>&6 1791 1839 else 1792 1840 cat > conftest.$ac_ext <<EOF 1793 #line 1 794"configure"1841 #line 1842 "configure" 1794 1842 #include "confdefs.h" 1795 1843 #include <sys/types.h> … … 1819 1867 1820 1868 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 1821 echo "configure:18 22: checking whether time.h and sys/time.h may both be included" >&51869 echo "configure:1870: checking whether time.h and sys/time.h may both be included" >&5 1822 1870 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 1823 1871 echo $ac_n "(cached) $ac_c" 1>&6 1824 1872 else 1825 1873 cat > conftest.$ac_ext <<EOF 1826 #line 18 27"configure"1874 #line 1875 "configure" 1827 1875 #include "confdefs.h" 1828 1876 #include <sys/types.h> … … 1833 1881 ; return 0; } 1834 1882 EOF 1835 if { (eval echo configure:18 36: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1883 if { (eval echo configure:1884: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1836 1884 rm -rf conftest* 1837 1885 ac_cv_header_time=yes … … 1854 1902 1855 1903 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 1856 echo "configure:1 857: checking whether struct tm is in sys/time.h or time.h" >&51904 echo "configure:1905: checking whether struct tm is in sys/time.h or time.h" >&5 1857 1905 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then 1858 1906 echo $ac_n "(cached) $ac_c" 1>&6 1859 1907 else 1860 1908 cat > conftest.$ac_ext <<EOF 1861 #line 1 862"configure"1909 #line 1910 "configure" 1862 1910 #include "confdefs.h" 1863 1911 #include <sys/types.h> … … 1867 1915 ; return 0; } 1868 1916 EOF 1869 if { (eval echo configure:1 870: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1917 if { (eval echo configure:1918: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1870 1918 rm -rf conftest* 1871 1919 ac_cv_struct_tm=time.h … … 1890 1938 if test "$ac_cv_prog_cc_stdc" = '-Xc'; then 1891 1939 cat > conftest.$ac_ext <<EOF 1892 #line 1 893"configure"1940 #line 1941 "configure" 1893 1941 #include "confdefs.h" 1894 1942 #include <stdio.h> … … 1898 1946 ; return 0; } 1899 1947 EOF 1900 if { (eval echo configure:19 01: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1948 if { (eval echo configure:1949: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1901 1949 : 1902 1950 else … … 1911 1959 1912 1960 echo $ac_n "checking for main in -lg""... $ac_c" 1>&6 1913 echo "configure:19 14: checking for main in -lg" >&51961 echo "configure:1962: checking for main in -lg" >&5 1914 1962 ac_lib_var=`echo g'_'main | sed 'y%./+-%__p_%'` 1915 1963 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1919 1967 LIBS="-lg $LIBS" 1920 1968 cat > conftest.$ac_ext <<EOF 1921 #line 19 22"configure"1969 #line 1970 "configure" 1922 1970 #include "confdefs.h" 1923 1971 … … 1926 1974 ; return 0; } 1927 1975 EOF 1928 if { (eval echo configure:19 29: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1976 if { (eval echo configure:1977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1929 1977 rm -rf conftest* 1930 1978 eval "ac_cv_lib_$ac_lib_var=yes" … … 1954 2002 1955 2003 echo $ac_n "checking for main in -lgdbm""... $ac_c" 1>&6 1956 echo "configure: 1957: checking for main in -lgdbm" >&52004 echo "configure:2005: checking for main in -lgdbm" >&5 1957 2005 ac_lib_var=`echo gdbm'_'main | sed 'y%./+-%__p_%'` 1958 2006 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1962 2010 LIBS="-lgdbm $LIBS" 1963 2011 cat > conftest.$ac_ext <<EOF 1964 #line 1965"configure"2012 #line 2013 "configure" 1965 2013 #include "confdefs.h" 1966 2014 … … 1969 2017 ; return 0; } 1970 2018 EOF 1971 if { (eval echo configure: 1972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2019 if { (eval echo configure:2020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1972 2020 rm -rf conftest* 1973 2021 eval "ac_cv_lib_$ac_lib_var=yes" … … 1997 2045 1998 2046 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6 1999 echo "configure:20 00: checking for main in -lm" >&52047 echo "configure:2048: checking for main in -lm" >&5 2000 2048 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'` 2001 2049 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 2005 2053 LIBS="-lm $LIBS" 2006 2054 cat > conftest.$ac_ext <<EOF 2007 #line 20 08"configure"2055 #line 2056 "configure" 2008 2056 #include "confdefs.h" 2009 2057 … … 2012 2060 ; return 0; } 2013 2061 EOF 2014 if { (eval echo configure:20 15: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2062 if { (eval echo configure:2063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2015 2063 rm -rf conftest* 2016 2064 eval "ac_cv_lib_$ac_lib_var=yes" … … 2040 2088 2041 2089 echo $ac_n "checking for main in -lstdc++""... $ac_c" 1>&6 2042 echo "configure:20 43: checking for main in -lstdc++" >&52090 echo "configure:2091: checking for main in -lstdc++" >&5 2043 2091 ac_lib_var=`echo stdc++'_'main | sed 'y%./+-%__p_%'` 2044 2092 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 2048 2096 LIBS="-lstdc++ $LIBS" 2049 2097 cat > conftest.$ac_ext <<EOF 2050 #line 20 51"configure"2098 #line 2099 "configure" 2051 2099 #include "confdefs.h" 2052 2100 … … 2055 2103 ; return 0; } 2056 2104 EOF 2057 if { (eval echo configure:2 058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2105 if { (eval echo configure:2106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2058 2106 rm -rf conftest* 2059 2107 eval "ac_cv_lib_$ac_lib_var=yes" … … 2083 2131 2084 2132 echo $ac_n "checking for main in -lcrypt""... $ac_c" 1>&6 2085 echo "configure:2 086: checking for main in -lcrypt" >&52133 echo "configure:2134: checking for main in -lcrypt" >&5 2086 2134 ac_lib_var=`echo crypt'_'main | sed 'y%./+-%__p_%'` 2087 2135 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 2091 2139 LIBS="-lcrypt $LIBS" 2092 2140 cat > conftest.$ac_ext <<EOF 2093 #line 2 094"configure"2141 #line 2142 "configure" 2094 2142 #include "confdefs.h" 2095 2143 … … 2098 2146 ; return 0; } 2099 2147 EOF 2100 if { (eval echo configure:21 01: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2148 if { (eval echo configure:2149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2101 2149 rm -rf conftest* 2102 2150 eval "ac_cv_lib_$ac_lib_var=yes" … … 2132 2180 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2133 2181 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 2134 echo "configure:21 35: checking for $ac_hdr that defines DIR" >&52182 echo "configure:2183: checking for $ac_hdr that defines DIR" >&5 2135 2183 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then 2136 2184 echo $ac_n "(cached) $ac_c" 1>&6 2137 2185 else 2138 2186 cat > conftest.$ac_ext <<EOF 2139 #line 21 40"configure"2187 #line 2188 "configure" 2140 2188 #include "confdefs.h" 2141 2189 #include <sys/types.h> … … 2145 2193 ; return 0; } 2146 2194 EOF 2147 if { (eval echo configure:21 48: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2195 if { (eval echo configure:2196: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2148 2196 rm -rf conftest* 2149 2197 eval "ac_cv_header_dirent_$ac_safe=yes" … … 2170 2218 if test $ac_header_dirent = dirent.h; then 2171 2219 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 2172 echo "configure:2 173: checking for opendir in -ldir" >&52220 echo "configure:2221: checking for opendir in -ldir" >&5 2173 2221 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` 2174 2222 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 2178 2226 LIBS="-ldir $LIBS" 2179 2227 cat > conftest.$ac_ext <<EOF 2180 #line 2 181"configure"2228 #line 2229 "configure" 2181 2229 #include "confdefs.h" 2182 2230 /* Override any gcc2 internal prototype to avoid an error. */ … … 2189 2237 ; return 0; } 2190 2238 EOF 2191 if { (eval echo configure:2 192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2239 if { (eval echo configure:2240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2192 2240 rm -rf conftest* 2193 2241 eval "ac_cv_lib_$ac_lib_var=yes" … … 2211 2259 else 2212 2260 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 2213 echo "configure:22 14: checking for opendir in -lx" >&52261 echo "configure:2262: checking for opendir in -lx" >&5 2214 2262 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` 2215 2263 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 2219 2267 LIBS="-lx $LIBS" 2220 2268 cat > conftest.$ac_ext <<EOF 2221 #line 22 22"configure"2269 #line 2270 "configure" 2222 2270 #include "confdefs.h" 2223 2271 /* Override any gcc2 internal prototype to avoid an error. */ … … 2230 2278 ; return 0; } 2231 2279 EOF 2232 if { (eval echo configure:22 33: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2280 if { (eval echo configure:2281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2233 2281 rm -rf conftest* 2234 2282 eval "ac_cv_lib_$ac_lib_var=yes" … … 2253 2301 2254 2302 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 2255 echo "configure:2 256: checking for ANSI C header files" >&52303 echo "configure:2304: checking for ANSI C header files" >&5 2256 2304 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 2257 2305 echo $ac_n "(cached) $ac_c" 1>&6 2258 2306 else 2259 2307 cat > conftest.$ac_ext <<EOF 2260 #line 2 261"configure"2308 #line 2309 "configure" 2261 2309 #include "confdefs.h" 2262 2310 #include <stdlib.h> … … 2266 2314 EOF 2267 2315 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2268 { (eval echo configure:2 269: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2316 { (eval echo configure:2317: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2269 2317 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2270 2318 if test -z "$ac_err"; then … … 2283 2331 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2284 2332 cat > conftest.$ac_ext <<EOF 2285 #line 2 286"configure"2333 #line 2334 "configure" 2286 2334 #include "confdefs.h" 2287 2335 #include <string.h> … … 2301 2349 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2302 2350 cat > conftest.$ac_ext <<EOF 2303 #line 23 04"configure"2351 #line 2352 "configure" 2304 2352 #include "confdefs.h" 2305 2353 #include <stdlib.h> … … 2322 2370 else 2323 2371 cat > conftest.$ac_ext <<EOF 2324 #line 23 25"configure"2372 #line 2373 "configure" 2325 2373 #include "confdefs.h" 2326 2374 #include <ctype.h> … … 2333 2381 2334 2382 EOF 2335 if { (eval echo configure:23 36: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2383 if { (eval echo configure:2384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2336 2384 then 2337 2385 : … … 2360 2408 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2361 2409 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2362 echo "configure:2 363: checking for $ac_hdr" >&52410 echo "configure:2411: checking for $ac_hdr" >&5 2363 2411 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2364 2412 echo $ac_n "(cached) $ac_c" 1>&6 2365 2413 else 2366 2414 cat > conftest.$ac_ext <<EOF 2367 #line 2 368"configure"2415 #line 2416 "configure" 2368 2416 #include "confdefs.h" 2369 2417 #include <$ac_hdr> 2370 2418 EOF 2371 2419 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2372 { (eval echo configure:2 373: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2420 { (eval echo configure:2421: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2373 2421 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2374 2422 if test -z "$ac_err"; then … … 2397 2445 2398 2446 cat > conftest.$ac_ext <<EOF 2399 #line 24 00"configure"2447 #line 2448 "configure" 2400 2448 #include "confdefs.h" 2401 2449 #include <stdio.h> … … 2412 2460 2413 2461 cat > conftest.$ac_ext <<EOF 2414 #line 24 15"configure"2462 #line 2463 "configure" 2415 2463 #include "confdefs.h" 2416 2464 #include <stdio.h> … … 2427 2475 2428 2476 cat > conftest.$ac_ext <<EOF 2429 #line 24 30"configure"2477 #line 2478 "configure" 2430 2478 #include "confdefs.h" 2431 2479 #include <sys/procfs.h> … … 2445 2493 # for constant arguments. Useless! 2446 2494 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 2447 echo "configure:24 48: checking for working alloca.h" >&52495 echo "configure:2496: checking for working alloca.h" >&5 2448 2496 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 2449 2497 echo $ac_n "(cached) $ac_c" 1>&6 2450 2498 else 2451 2499 cat > conftest.$ac_ext <<EOF 2452 #line 2 453"configure"2500 #line 2501 "configure" 2453 2501 #include "confdefs.h" 2454 2502 #include <alloca.h> … … 2457 2505 ; return 0; } 2458 2506 EOF 2459 if { (eval echo configure:2 460: \"$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 2460 2508 rm -rf conftest* 2461 2509 ac_cv_header_alloca_h=yes … … 2478 2526 2479 2527 echo $ac_n "checking for alloca""... $ac_c" 1>&6 2480 echo "configure:2 481: checking for alloca" >&52528 echo "configure:2529: checking for alloca" >&5 2481 2529 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 2482 2530 echo $ac_n "(cached) $ac_c" 1>&6 2483 2531 else 2484 2532 cat > conftest.$ac_ext <<EOF 2485 #line 2 486"configure"2533 #line 2534 "configure" 2486 2534 #include "confdefs.h" 2487 2535 … … 2511 2559 ; return 0; } 2512 2560 EOF 2513 if { (eval echo configure:25 14: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2561 if { (eval echo configure:2562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2514 2562 rm -rf conftest* 2515 2563 ac_cv_func_alloca_works=yes … … 2543 2591 2544 2592 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 2545 echo "configure:25 46: checking whether alloca needs Cray hooks" >&52593 echo "configure:2594: checking whether alloca needs Cray hooks" >&5 2546 2594 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 2547 2595 echo $ac_n "(cached) $ac_c" 1>&6 2548 2596 else 2549 2597 cat > conftest.$ac_ext <<EOF 2550 #line 25 51"configure"2598 #line 2599 "configure" 2551 2599 #include "confdefs.h" 2552 2600 #if defined(CRAY) && ! defined(CRAY2) … … 2573 2621 for ac_func in _getb67 GETB67 getb67; do 2574 2622 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2575 echo "configure:2 576: checking for $ac_func" >&52623 echo "configure:2624: checking for $ac_func" >&5 2576 2624 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2577 2625 echo $ac_n "(cached) $ac_c" 1>&6 2578 2626 else 2579 2627 cat > conftest.$ac_ext <<EOF 2580 #line 2 581"configure"2628 #line 2629 "configure" 2581 2629 #include "confdefs.h" 2582 2630 /* System header to define __stub macros and hopefully few prototypes, … … 2601 2649 ; return 0; } 2602 2650 EOF 2603 if { (eval echo configure:26 04: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2651 if { (eval echo configure:2652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2604 2652 rm -rf conftest* 2605 2653 eval "ac_cv_func_$ac_func=yes" … … 2628 2676 2629 2677 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 2630 echo "configure:26 31: checking stack direction for C alloca" >&52678 echo "configure:2679: checking stack direction for C alloca" >&5 2631 2679 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 2632 2680 echo $ac_n "(cached) $ac_c" 1>&6 … … 2636 2684 else 2637 2685 cat > conftest.$ac_ext <<EOF 2638 #line 26 39"configure"2686 #line 2687 "configure" 2639 2687 #include "confdefs.h" 2640 2688 find_stack_direction () … … 2655 2703 } 2656 2704 EOF 2657 if { (eval echo configure:2 658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2705 if { (eval echo configure:2706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2658 2706 then 2659 2707 ac_cv_c_stack_direction=1 … … 2678 2726 if test $ac_cv_prog_gcc = yes; then 2679 2727 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 2680 echo "configure:2 681: checking whether ${CC-cc} needs -traditional" >&52728 echo "configure:2729: checking whether ${CC-cc} needs -traditional" >&5 2681 2729 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then 2682 2730 echo $ac_n "(cached) $ac_c" 1>&6 … … 2684 2732 ac_pattern="Autoconf.*'x'" 2685 2733 cat > conftest.$ac_ext <<EOF 2686 #line 2 687"configure"2734 #line 2735 "configure" 2687 2735 #include "confdefs.h" 2688 2736 #include <sgtty.h> … … 2702 2750 if test $ac_cv_prog_gcc_traditional = no; then 2703 2751 cat > conftest.$ac_ext <<EOF 2704 #line 27 05"configure"2752 #line 2753 "configure" 2705 2753 #include "confdefs.h" 2706 2754 #include <termio.h> … … 2724 2772 2725 2773 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 2726 echo "configure:27 27: checking return type of signal handlers" >&52774 echo "configure:2775: checking return type of signal handlers" >&5 2727 2775 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then 2728 2776 echo $ac_n "(cached) $ac_c" 1>&6 2729 2777 else 2730 2778 cat > conftest.$ac_ext <<EOF 2731 #line 27 32"configure"2779 #line 2780 "configure" 2732 2780 #include "confdefs.h" 2733 2781 #include <sys/types.h> … … 2746 2794 ; return 0; } 2747 2795 EOF 2748 if { (eval echo configure:27 49: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2796 if { (eval echo configure:2797: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2749 2797 rm -rf conftest* 2750 2798 ac_cv_type_signal=void … … 2765 2813 2766 2814 echo $ac_n "checking for vprintf""... $ac_c" 1>&6 2767 echo "configure:2 768: checking for vprintf" >&52815 echo "configure:2816: checking for vprintf" >&5 2768 2816 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then 2769 2817 echo $ac_n "(cached) $ac_c" 1>&6 2770 2818 else 2771 2819 cat > conftest.$ac_ext <<EOF 2772 #line 2 773"configure"2820 #line 2821 "configure" 2773 2821 #include "confdefs.h" 2774 2822 /* System header to define __stub macros and hopefully few prototypes, … … 2793 2841 ; return 0; } 2794 2842 EOF 2795 if { (eval echo configure:2 796: \"$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 2796 2844 rm -rf conftest* 2797 2845 eval "ac_cv_func_vprintf=yes" … … 2817 2865 if test "$ac_cv_func_vprintf" != yes; then 2818 2866 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 2819 echo "configure:28 20: checking for _doprnt" >&52867 echo "configure:2868: checking for _doprnt" >&5 2820 2868 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then 2821 2869 echo $ac_n "(cached) $ac_c" 1>&6 2822 2870 else 2823 2871 cat > conftest.$ac_ext <<EOF 2824 #line 28 25"configure"2872 #line 2873 "configure" 2825 2873 #include "confdefs.h" 2826 2874 /* System header to define __stub macros and hopefully few prototypes, … … 2845 2893 ; return 0; } 2846 2894 EOF 2847 if { (eval echo configure:28 48: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2895 if { (eval echo configure:2896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2848 2896 rm -rf conftest* 2849 2897 eval "ac_cv_func__doprnt=yes" … … 2872 2920 do 2873 2921 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2874 echo "configure:2 875: checking for $ac_func" >&52922 echo "configure:2923: checking for $ac_func" >&5 2875 2923 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2876 2924 echo $ac_n "(cached) $ac_c" 1>&6 2877 2925 else 2878 2926 cat > conftest.$ac_ext <<EOF 2879 #line 2 880"configure"2927 #line 2928 "configure" 2880 2928 #include "confdefs.h" 2881 2929 /* System header to define __stub macros and hopefully few prototypes, … … 2900 2948 ; return 0; } 2901 2949 EOF 2902 if { (eval echo configure:29 03: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2950 if { (eval echo configure:2951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2903 2951 rm -rf conftest* 2904 2952 eval "ac_cv_func_$ac_func=yes" … … 2927 2975 do 2928 2976 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2929 echo "configure:29 30: checking for $ac_func" >&52977 echo "configure:2978: checking for $ac_func" >&5 2930 2978 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2931 2979 echo $ac_n "(cached) $ac_c" 1>&6 2932 2980 else 2933 2981 cat > conftest.$ac_ext <<EOF 2934 #line 29 35"configure"2982 #line 2983 "configure" 2935 2983 #include "confdefs.h" 2936 2984 /* System header to define __stub macros and hopefully few prototypes, … … 2955 3003 ; return 0; } 2956 3004 EOF 2957 if { (eval echo configure: 2958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3005 if { (eval echo configure:3006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2958 3006 rm -rf conftest* 2959 3007 eval "ac_cv_func_$ac_func=yes" … … 2986 3034 # --------------------------------------------------------------------------- 2987 3035 echo $ac_n "checking for HP-UX needing gmalloc""... $ac_c" 1>&6 2988 echo "configure: 2989: checking for HP-UX needing gmalloc" >&53036 echo "configure:3037: checking for HP-UX needing gmalloc" >&5 2989 3037 if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then 2990 3038 echo "$ac_t""yes" 1>&6 … … 2999 3047 do 3000 3048 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3001 echo "configure:30 02: checking for $ac_func" >&53049 echo "configure:3050: checking for $ac_func" >&5 3002 3050 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3003 3051 echo $ac_n "(cached) $ac_c" 1>&6 3004 3052 else 3005 3053 cat > conftest.$ac_ext <<EOF 3006 #line 30 07"configure"3054 #line 3055 "configure" 3007 3055 #include "confdefs.h" 3008 3056 /* System header to define __stub macros and hopefully few prototypes, … … 3027 3075 ; return 0; } 3028 3076 EOF 3029 if { (eval echo configure:30 30: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3077 if { (eval echo configure:3078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3030 3078 rm -rf conftest* 3031 3079 eval "ac_cv_func_$ac_func=yes" … … 3054 3102 3055 3103 echo $ac_n "checking if malloc debugging is wanted""... $ac_c" 1>&6 3056 echo "configure:3 057: checking if malloc debugging is wanted" >&53104 echo "configure:3105: checking if malloc debugging is wanted" >&5 3057 3105 # Check whether --with-dmalloc or --without-dmalloc was given. 3058 3106 if test "${with_dmalloc+set}" = set; then … … 3075 3123 3076 3124 echo $ac_n "checking which of rx or regex is wanted""... $ac_c" 1>&6 3077 echo "configure:3 078: checking which of rx or regex is wanted" >&53125 echo "configure:3126: checking which of rx or regex is wanted" >&5 3078 3126 # Check whether --with-regex or --without-regex was given. 3079 3127 if test "${with_regex+set}" = set; then … … 3093 3141 echo "$ac_t""rx" 1>&6 3094 3142 echo $ac_n "checking for re_rx_search""... $ac_c" 1>&6 3095 echo "configure:3 096: checking for re_rx_search" >&53143 echo "configure:3144: checking for re_rx_search" >&5 3096 3144 if eval "test \"`echo '$''{'ac_cv_func_re_rx_search'+set}'`\" = set"; then 3097 3145 echo $ac_n "(cached) $ac_c" 1>&6 3098 3146 else 3099 3147 cat > conftest.$ac_ext <<EOF 3100 #line 31 01"configure"3148 #line 3149 "configure" 3101 3149 #include "confdefs.h" 3102 3150 /* System header to define __stub macros and hopefully few prototypes, … … 3121 3169 ; return 0; } 3122 3170 EOF 3123 if { (eval echo configure:31 24: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3171 if { (eval echo configure:3172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3124 3172 rm -rf conftest* 3125 3173 eval "ac_cv_func_re_rx_search=yes" … … 3162 3210 3163 3211 echo $ac_n "checking that the GDBM library is available""... $ac_c" 1>&6 3164 echo "configure:3 165: checking that the GDBM library is available" >&53212 echo "configure:3213: checking that the GDBM library is available" >&5 3165 3213 if test ! -z "$gdbmdir" ; then 3166 3214 # look in given directory for header file … … 3185 3233 echo "$ac_t""can't find gdbm.h and libgdbm.a in $gdbmdir" 1>&6; 3186 3234 echo $ac_n "checking looking for GDBM library in default locations""... $ac_c" 1>&6 3187 echo "configure:3 188: checking looking for GDBM library in default locations" >&53235 echo "configure:3236: checking looking for GDBM library in default locations" >&5 3188 3236 fi 3189 3237 fi … … 3193 3241 # try in system directory 3194 3242 cat > conftest.$ac_ext <<EOF 3195 #line 3 196"configure"3243 #line 3244 "configure" 3196 3244 #include "confdefs.h" 3197 3245 #include <gdbm.h> … … 3201 3249 ; return 0; } 3202 3250 EOF 3203 if { (eval echo configure:32 04: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3251 if { (eval echo configure:3252: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3204 3252 rm -rf conftest* 3205 3253 success=yes … … 3222 3270 LIBS="$LIBS -L/usr/local/lib -lgdbm" 3223 3271 cat > conftest.$ac_ext <<EOF 3224 #line 32 25"configure"3272 #line 3273 "configure" 3225 3273 #include "confdefs.h" 3226 3274 #include <gdbm.h> … … 3231 3279 ; return 0; } 3232 3280 EOF 3233 if { (eval echo configure:32 34: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3281 if { (eval echo configure:3282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3234 3282 rm -rf conftest* 3235 3283 success=/usr/local … … 3260 3308 3261 3309 echo $ac_n "checking that Perl 5 is available""... $ac_c" 1>&6 3262 echo "configure:3 263: checking that Perl 5 is available" >&53310 echo "configure:3311: checking that Perl 5 is available" >&5 3263 3311 success="no" 3264 3312 pl_path="$PATH" … … 3290 3338 success=no 3291 3339 echo $ac_n "checking "whether STL library has known faults"""... $ac_c" 1>&6 3292 echo "configure:3 293: checking "whether STL library has known faults"" >&53340 echo "configure:3341: checking "whether STL library has known faults"" >&5 3293 3341 3294 3342 cat > conftest.$ac_ext <<EOF 3295 #line 3 296"configure"3343 #line 3344 "configure" 3296 3344 #include "confdefs.h" 3297 3345 #include <vector> … … 3301 3349 ; return 0; } 3302 3350 EOF 3303 if { (eval echo configure:33 04: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3351 if { (eval echo configure:3352: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3304 3352 rm -rf conftest* 3305 3353 success=yes … … 3312 3360 if test $success = "no"; then 3313 3361 cat > conftest.$ac_ext <<EOF 3314 #line 33 15"configure"3362 #line 3363 "configure" 3315 3363 #include "confdefs.h" 3316 3364 #include <vector.h> … … 3320 3368 ; return 0; } 3321 3369 EOF 3322 if { (eval echo configure:33 23: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3370 if { (eval echo configure:3371: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3323 3371 rm -rf conftest* 3324 3372 success="yes" … … 3332 3380 if test $success = "no"; then 3333 3381 cat > conftest.$ac_ext <<EOF 3334 #line 33 35"configure"3382 #line 3383 "configure" 3335 3383 #include "confdefs.h" 3336 3384 #include <ospace\\std\\vector> … … 3340 3388 ; return 0; } 3341 3389 EOF 3342 if { (eval echo configure:33 43: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3390 if { (eval echo configure:3391: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3343 3391 rm -rf conftest* 3344 3392 success="yes" … … 3370 3418 fi 3371 3419 3420 # --------------------------------------------------------------------------- 3421 3422 moduleDirs="" 3423 MODULEDIRS="" 3424 for x in `find modules -mindepth 1 -maxdepth 2`; do 3425 if test -d "$x"; then 3426 d="$x/Makefile.in" 3427 if test -e "$d"; then 3428 moduleDirs="$moduleDirs $x/Makefile" 3429 MODULEDIRS="$MODULEDIRS $x" 3430 fi 3431 fi 3432 done 3433 echo "Making$moduleDirs in modules directory" 3434 3372 3435 3373 3436 # --------------------------------------------------------------------------- … … 3375 3438 subdirs="packages" 3376 3439 3440 3441 # the list of folders in the src folder 3442 srclist="src/mgpp/lib/Makefile src/mgpp/text/Makefile src/mgpp/Makefile \ 3443 src/hashfile/Makefile src/colservr/Makefile src/recpt/Makefile src/txt2db/Makefile \ 3444 src/db2txt/Makefile src/getpw/Makefile src/phind/generate/Makefile" 3377 3445 3378 3446 trap '' 1 2 15 … … 3478 3546 3479 3547 trap 'rm -fr `echo "packages/Makefile packages/mg/Makefile packages/mg/src/text/Makefile packages/mg/src/images/Makefile 3480 packages/mg/src/scripts/Makefile packages/mg/lib/Makefile src/mgpp/Makefile 3481 src/mgpp/lib/Makefile src/mgpp/text/Makefile 3482 src/hashfile/Makefile src/colservr/Makefile src/recpt/Makefile src/txt2db/Makefile 3483 src/db2txt/Makefile lib/Makefile Makefile src/getpw/Makefile 3484 src/phind/generate/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 3548 packages/mg/src/scripts/Makefile packages/mg/lib/Makefile 3549 lib/Makefile Makefile $srclist $moduleDirs config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 3485 3550 EOF 3486 3551 cat >> $CONFIG_STATUS <<EOF … … 3554 3619 s%@GDBM_INCLUDE@%$GDBM_INCLUDE%g 3555 3620 s%@gsdlos@%$gsdlos%g 3621 s%@MODULEDIRS@%$MODULEDIRS%g 3556 3622 s%@subdirs@%$subdirs%g 3557 3623 … … 3597 3663 3598 3664 CONFIG_FILES=\${CONFIG_FILES-"packages/Makefile packages/mg/Makefile packages/mg/src/text/Makefile packages/mg/src/images/Makefile 3599 packages/mg/src/scripts/Makefile packages/mg/lib/Makefile src/mgpp/Makefile 3600 src/mgpp/lib/Makefile src/mgpp/text/Makefile 3601 src/hashfile/Makefile src/colservr/Makefile src/recpt/Makefile src/txt2db/Makefile 3602 src/db2txt/Makefile lib/Makefile Makefile src/getpw/Makefile 3603 src/phind/generate/Makefile"} 3665 packages/mg/src/scripts/Makefile packages/mg/lib/Makefile 3666 lib/Makefile Makefile $srclist $moduleDirs"} 3604 3667 EOF 3605 3668 cat >> $CONFIG_STATUS <<\EOF … … 3876 3939 fi 3877 3940 3878 3879 3880 3941 #AC_OUTPUT($srclist) 3942 3943
Note:
See TracChangeset
for help on using the changeset viewer.