Changeset 002517 in git
- Timestamp:
- Jun 29, 2006, 2:35:00 PM (18 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 2921f58f2dca4a15d99f58e2cdc4cb8478a41894
- Parents:
- 578ac04876c2ef508ad16a645cb18cd9c46287da
- Location:
- Singular
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/configure
r578ac0 r002517 1231 1231 CXX=g++ 1232 1232 fi 1233 temp_flags= ${CXXFLAGS}1233 temp_flags="${CXXFLAGS}" 1234 1234 1235 1235 ac_ext=C … … 1270 1270 echo "$ac_t""${ac_cv_cxx_have_rtti}" 1>&6 1271 1271 if test "${ac_cv_cxx_have_rtti}" != yes; then 1272 CXXFLAGS=$temp_flags1272 CXXFLAGS="$temp_flags" 1273 1273 else 1274 CXXFLAGS="${temp_flags} --no-rtti" 1274 CXXFLAGS="${temp_flags} --no-rtti" 1275 temp_flags="${CXXFLAGS}" 1275 1276 fi 1276 1277 1277 1278 # check whether gcc accepts --no-exceptions 1278 1279 echo $ac_n "checking whether gcc accepts --no-exceptions""... $ac_c" 1>&6 1279 echo "configure:128 0: checking whether gcc accepts --no-exceptions" >&51280 echo "configure:1281: checking whether gcc accepts --no-exceptions" >&5 1280 1281 CXXFLAGS="${CXXFLAGS} --no-exceptions" 1281 1282 if eval "test \"`echo '$''{'ac_cv_cxx_have_exceptions'+set}'`\" = set"; then … … 1283 1284 else 1284 1285 cat > conftest.$ac_ext <<EOF 1285 #line 128 6"configure"1286 #line 1287 "configure" 1286 1287 #include "confdefs.h" 1287 1288 … … 1290 1291 ; return 0; } 1291 1292 EOF 1292 if { (eval echo configure:129 3: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1293 if { (eval echo configure:1294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1293 1294 rm -rf conftest* 1294 1295 ac_cv_cxx_have_exceptions=yes … … 1305 1306 echo "$ac_t""${ac_cv_cxx_have_exceptions}" 1>&6 1306 1307 if test "${ac_cv_cxx_have_exceptions}" != yes; then 1307 CXXFLAGS=$temp_flags1308 CXXFLAGS="$temp_flags" 1308 1309 else 1309 CXXFLAGS="${temp_flags} --no-exceptions" 1310 CXXFLAGS="${temp_flags} --no-exceptions" 1311 temp_flags="${CXXFLAGS}" 1310 1312 fi 1311 1313 … … 1317 1319 cross_compiling=$ac_cv_prog_cc_cross 1318 1320 1319 CXXFLAGS= $temp_flags1321 CXXFLAGS="$temp_flags" 1320 1322 #here is broking something 1321 1323 #uncommented breaks CXXFLAGS variable set … … 1327 1329 then 1328 1330 echo $ac_n "checking whether compiler accepts -pipe""... $ac_c" 1>&6 1329 echo "configure:133 0: checking whether compiler accepts -pipe" >&51330 temp_cflags= ${CFLAGS}1331 echo "configure:1332: checking whether compiler accepts -pipe" >&5 1332 temp_cflags="${CFLAGS}" 1331 1333 CFLAGS="${CFLAGS} -pipe" 1332 1334 if eval "test \"`echo '$''{'ac_cv_cxx_have_pipe'+set}'`\" = set"; then … … 1334 1336 else 1335 1337 cat > conftest.$ac_ext <<EOF 1336 #line 133 7"configure"1338 #line 1339 "configure" 1337 1339 #include "confdefs.h" 1338 1340 … … 1341 1343 ; return 0; } 1342 1344 EOF 1343 if { (eval echo configure:134 4: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1345 if { (eval echo configure:1346: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1344 1346 rm -rf conftest* 1345 1347 ac_cv_cxx_have_pipe=yes … … 1368 1370 # Customize CFLAGS 1369 1371 echo $ac_n "checking whether _AIX is defined""... $ac_c" 1>&6 1370 echo "configure:137 1: checking whether _AIX is defined" >&51372 echo "configure:1373: checking whether _AIX is defined" >&5 1371 1373 if eval "test \"`echo '$''{'ac_cv_is_aix'+set}'`\" = set"; then 1372 1374 echo $ac_n "(cached) $ac_c" 1>&6 1373 1375 else 1374 1376 cat > conftest.$ac_ext <<EOF 1375 #line 137 6"configure"1377 #line 1378 "configure" 1376 1378 #include "confdefs.h" 1377 1379 #ifdef _AIX … … 1402 1404 if test "$ac_cxxflags_set" = no; then 1403 1405 CXXFLAGS="-O3 -w -fomit-frame-pointer" 1406 fi 1407 temp_flags="${CXXFLAGS}" 1408 if test "${ac_cv_cxx_have_rtti}" = yes; then 1409 CXXFLAGS="${temp_flags} --no-rtti" 1410 fi 1411 temp_flags="${CXXFLAGS}" 1412 if test "${ac_cv_cxx_have_exceptions}" = yes; then 1413 CXXFLAGS="${temp_flags} --no-exceptions" 1404 1414 fi 1405 1415 CXXTEMPLFLAGS="-fno-implicit-templates" … … 1424 1434 1425 1435 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 1426 echo "configure:14 27: checking whether ${MAKE-make} sets \${MAKE}" >&51436 echo "configure:1437: checking whether ${MAKE-make} sets \${MAKE}" >&5 1427 1437 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 1428 1438 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 1507 1517 if test "${with_lex+set}" != set; then 1508 1518 echo $ac_n "checking for flex""... $ac_c" 1>&6 1509 echo "configure:15 10: checking for flex" >&51519 echo "configure:1520: checking for flex" >&5 1510 1520 cmd="egrep [2-9]\.[5-9]" 1511 1521 if eval "test \"`echo '$''{'ac_cv_prog_flex'+set}'`\" = set"; then … … 1539 1549 set dummy $ac_prog; ac_word=$2 1540 1550 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1541 echo "configure:15 42: checking for $ac_word" >&51551 echo "configure:1552: checking for $ac_word" >&5 1542 1552 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then 1543 1553 echo $ac_n "(cached) $ac_c" 1>&6 … … 1579 1589 set dummy $ac_prog; ac_word=$2 1580 1590 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1581 echo "configure:15 82: checking for $ac_word" >&51591 echo "configure:1592: checking for $ac_word" >&5 1582 1592 if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then 1583 1593 echo $ac_n "(cached) $ac_c" 1>&6 … … 1614 1624 # ln -s 1615 1625 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1616 echo "configure:16 17: checking whether ln -s works" >&51626 echo "configure:1627: checking whether ln -s works" >&5 1617 1627 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1618 1628 echo $ac_n "(cached) $ac_c" 1>&6 … … 1640 1650 set dummy $ac_prog; ac_word=$2 1641 1651 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1642 echo "configure:16 43: checking for $ac_word" >&51652 echo "configure:1653: checking for $ac_word" >&5 1643 1653 if eval "test \"`echo '$''{'ac_cv_prog_PERL'+set}'`\" = set"; then 1644 1654 echo $ac_n "(cached) $ac_c" 1>&6 … … 1675 1685 if test "$ac_cv_singuname" != ix86-Win; then 1676 1686 echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6 1677 echo "configure:16 78: checking for atof in -lm" >&51687 echo "configure:1688: checking for atof in -lm" >&5 1678 1688 ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'` 1679 1689 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1683 1693 LIBS="-lm $LIBS" 1684 1694 cat > conftest.$ac_ext <<EOF 1685 #line 16 86 "configure"1695 #line 1696 "configure" 1686 1696 #include "confdefs.h" 1687 1697 /* Override any gcc2 internal prototype to avoid an error. */ … … 1694 1704 ; return 0; } 1695 1705 EOF 1696 if { (eval echo configure:1 697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1706 if { (eval echo configure:1707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1697 1707 rm -rf conftest* 1698 1708 eval "ac_cv_lib_$ac_lib_var=yes" … … 1723 1733 fi 1724 1734 echo $ac_n "checking for in -lnsl""... $ac_c" 1>&6 1725 echo "configure:17 26: checking for in -lnsl" >&51735 echo "configure:1736: checking for in -lnsl" >&5 1726 1736 ac_lib_var=`echo nsl'_' | sed 'y%./+-%__p_%'` 1727 1737 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1731 1741 LIBS="-lnsl $LIBS" 1732 1742 cat > conftest.$ac_ext <<EOF 1733 #line 17 34 "configure"1743 #line 1744 "configure" 1734 1744 #include "confdefs.h" 1735 1745 /* Override any gcc2 internal prototype to avoid an error. */ … … 1742 1752 ; return 0; } 1743 1753 EOF 1744 if { (eval echo configure:17 45: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1754 if { (eval echo configure:1755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1745 1755 rm -rf conftest* 1746 1756 eval "ac_cv_lib_$ac_lib_var=yes" … … 1770 1780 1771 1781 echo $ac_n "checking for in -lsocket""... $ac_c" 1>&6 1772 echo "configure:17 73: checking for in -lsocket" >&51782 echo "configure:1783: checking for in -lsocket" >&5 1773 1783 ac_lib_var=`echo socket'_' | sed 'y%./+-%__p_%'` 1774 1784 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1778 1788 LIBS="-lsocket $LIBS" 1779 1789 cat > conftest.$ac_ext <<EOF 1780 #line 17 81 "configure"1790 #line 1791 "configure" 1781 1791 #include "confdefs.h" 1782 1792 /* Override any gcc2 internal prototype to avoid an error. */ … … 1789 1799 ; return 0; } 1790 1800 EOF 1791 if { (eval echo configure:1 792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1801 if { (eval echo configure:1802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1792 1802 rm -rf conftest* 1793 1803 eval "ac_cv_lib_$ac_lib_var=yes" … … 1820 1830 1821 1831 echo $ac_n "checking for setenv in -lbsd""... $ac_c" 1>&6 1822 echo "configure:18 23: checking for setenv in -lbsd" >&51832 echo "configure:1833: checking for setenv in -lbsd" >&5 1823 1833 ac_lib_var=`echo bsd'_'setenv | sed 'y%./+-%__p_%'` 1824 1834 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1828 1838 LIBS="-lbsd $LIBS" 1829 1839 cat > conftest.$ac_ext <<EOF 1830 #line 18 31 "configure"1840 #line 1841 "configure" 1831 1841 #include "confdefs.h" 1832 1842 /* Override any gcc2 internal prototype to avoid an error. */ … … 1839 1849 ; return 0; } 1840 1850 EOF 1841 if { (eval echo configure:18 42: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1851 if { (eval echo configure:1852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1842 1852 rm -rf conftest* 1843 1853 eval "ac_cv_lib_$ac_lib_var=yes" … … 1867 1877 1868 1878 echo $ac_n "checking for listen in -lsocket""... $ac_c" 1>&6 1869 echo "configure:18 70: checking for listen in -lsocket" >&51879 echo "configure:1880: checking for listen in -lsocket" >&5 1870 1880 ac_lib_var=`echo socket'_'listen | sed 'y%./+-%__p_%'` 1871 1881 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1875 1885 LIBS="-lsocket $LIBS" 1876 1886 cat > conftest.$ac_ext <<EOF 1877 #line 18 78 "configure"1887 #line 1888 "configure" 1878 1888 #include "confdefs.h" 1879 1889 /* Override any gcc2 internal prototype to avoid an error. */ … … 1886 1896 ; return 0; } 1887 1897 EOF 1888 if { (eval echo configure:18 89: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1898 if { (eval echo configure:1899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1889 1899 rm -rf conftest* 1890 1900 eval "ac_cv_lib_$ac_lib_var=yes" … … 1914 1924 1915 1925 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 1916 echo "configure:19 17: checking for gethostbyname in -lnsl" >&51926 echo "configure:1927: checking for gethostbyname in -lnsl" >&5 1917 1927 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 1918 1928 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1922 1932 LIBS="-lnsl $LIBS" 1923 1933 cat > conftest.$ac_ext <<EOF 1924 #line 19 25 "configure"1934 #line 1935 "configure" 1925 1935 #include "confdefs.h" 1926 1936 /* Override any gcc2 internal prototype to avoid an error. */ … … 1933 1943 ; return 0; } 1934 1944 EOF 1935 if { (eval echo configure:19 36: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1945 if { (eval echo configure:1946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1936 1946 rm -rf conftest* 1937 1947 eval "ac_cv_lib_$ac_lib_var=yes" … … 1965 1975 HPUX*) 1966 1976 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 1967 echo "configure:19 68: checking for shl_load in -ldld" >&51977 echo "configure:1978: checking for shl_load in -ldld" >&5 1968 1978 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` 1969 1979 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1973 1983 LIBS="-ldld $LIBS" 1974 1984 cat > conftest.$ac_ext <<EOF 1975 #line 19 76 "configure"1985 #line 1986 "configure" 1976 1986 #include "confdefs.h" 1977 1987 /* Override any gcc2 internal prototype to avoid an error. */ … … 1984 1994 ; return 0; } 1985 1995 EOF 1986 if { (eval echo configure:19 87: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1996 if { (eval echo configure:1997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1987 1997 rm -rf conftest* 1988 1998 eval "ac_cv_lib_$ac_lib_var=yes" … … 2021 2031 *Linux*) 2022 2032 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 2023 echo "configure:20 24: checking for dlopen in -ldl" >&52033 echo "configure:2034: checking for dlopen in -ldl" >&5 2024 2034 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` 2025 2035 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 2029 2039 LIBS="-ldl $LIBS" 2030 2040 cat > conftest.$ac_ext <<EOF 2031 #line 20 32 "configure"2041 #line 2042 "configure" 2032 2042 #include "confdefs.h" 2033 2043 /* Override any gcc2 internal prototype to avoid an error. */ … … 2040 2050 ; return 0; } 2041 2051 EOF 2042 if { (eval echo configure:20 43: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2052 if { (eval echo configure:2053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2043 2053 rm -rf conftest* 2044 2054 eval "ac_cv_lib_$ac_lib_var=yes" … … 2084 2094 SunOS-5) 2085 2095 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 2086 echo "configure:20 87: checking for dlopen in -ldl" >&52096 echo "configure:2097: checking for dlopen in -ldl" >&5 2087 2097 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` 2088 2098 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 2092 2102 LIBS="-ldl $LIBS" 2093 2103 cat > conftest.$ac_ext <<EOF 2094 #line 2 095 "configure"2104 #line 2105 "configure" 2095 2105 #include "confdefs.h" 2096 2106 /* Override any gcc2 internal prototype to avoid an error. */ … … 2103 2113 ; return 0; } 2104 2114 EOF 2105 if { (eval echo configure:21 06: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2115 if { (eval echo configure:2116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2106 2116 rm -rf conftest* 2107 2117 eval "ac_cv_lib_$ac_lib_var=yes" … … 2141 2151 ppcMac-darwin) 2142 2152 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 2143 echo "configure:21 44: checking for dlopen in -ldl" >&52153 echo "configure:2154: checking for dlopen in -ldl" >&5 2144 2154 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` 2145 2155 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 2149 2159 LIBS="-ldl $LIBS" 2150 2160 cat > conftest.$ac_ext <<EOF 2151 #line 21 52 "configure"2161 #line 2162 "configure" 2152 2162 #include "confdefs.h" 2153 2163 /* Override any gcc2 internal prototype to avoid an error. */ … … 2160 2170 ; return 0; } 2161 2171 EOF 2162 if { (eval echo configure:21 63: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2172 if { (eval echo configure:2173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2163 2173 rm -rf conftest* 2164 2174 eval "ac_cv_lib_$ac_lib_var=yes" … … 2197 2207 i386Mac-darwin) 2198 2208 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 2199 echo "configure:22 00: checking for dlopen in -ldl" >&52209 echo "configure:2210: checking for dlopen in -ldl" >&5 2200 2210 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` 2201 2211 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 2205 2215 LIBS="-ldl $LIBS" 2206 2216 cat > conftest.$ac_ext <<EOF 2207 #line 22 08 "configure"2217 #line 2218 "configure" 2208 2218 #include "confdefs.h" 2209 2219 /* Override any gcc2 internal prototype to avoid an error. */ … … 2216 2226 ; return 0; } 2217 2227 EOF 2218 if { (eval echo configure:22 19: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2228 if { (eval echo configure:2229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2219 2229 rm -rf conftest* 2220 2230 eval "ac_cv_lib_$ac_lib_var=yes" … … 2253 2263 ix86-freebsd) 2254 2264 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 2255 echo "configure:22 56: checking for dlopen in -lc" >&52265 echo "configure:2266: checking for dlopen in -lc" >&5 2256 2266 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` 2257 2267 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 2261 2271 LIBS="-lc $LIBS" 2262 2272 cat > conftest.$ac_ext <<EOF 2263 #line 22 64 "configure"2273 #line 2274 "configure" 2264 2274 #include "confdefs.h" 2265 2275 /* Override any gcc2 internal prototype to avoid an error. */ … … 2272 2282 ; return 0; } 2273 2283 EOF 2274 if { (eval echo configure:22 75: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2284 if { (eval echo configure:2285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2275 2285 rm -rf conftest* 2276 2286 eval "ac_cv_lib_$ac_lib_var=yes" … … 2317 2327 # heder file checks 2318 2328 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 2319 echo "configure:23 20: checking for ANSI C header files" >&52329 echo "configure:2330: checking for ANSI C header files" >&5 2320 2330 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 2321 2331 echo $ac_n "(cached) $ac_c" 1>&6 2322 2332 else 2323 2333 cat > conftest.$ac_ext <<EOF 2324 #line 23 25 "configure"2334 #line 2335 "configure" 2325 2335 #include "confdefs.h" 2326 2336 #include <stdlib.h> … … 2330 2340 EOF 2331 2341 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2332 { (eval echo configure:23 33: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2342 { (eval echo configure:2343: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2333 2343 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2334 2344 if test -z "$ac_err"; then … … 2347 2357 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2348 2358 cat > conftest.$ac_ext <<EOF 2349 #line 23 50 "configure"2359 #line 2360 "configure" 2350 2360 #include "confdefs.h" 2351 2361 #include <string.h> … … 2365 2375 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2366 2376 cat > conftest.$ac_ext <<EOF 2367 #line 23 68 "configure"2377 #line 2378 "configure" 2368 2378 #include "confdefs.h" 2369 2379 #include <stdlib.h> … … 2386 2396 else 2387 2397 cat > conftest.$ac_ext <<EOF 2388 #line 23 89 "configure"2398 #line 2399 "configure" 2389 2399 #include "confdefs.h" 2390 2400 #include <ctype.h> … … 2397 2407 2398 2408 EOF 2399 if { (eval echo configure:24 00: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2409 if { (eval echo configure:2410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2400 2410 then 2401 2411 : … … 2424 2434 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2425 2435 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2426 echo "configure:24 27: checking for $ac_hdr" >&52436 echo "configure:2437: checking for $ac_hdr" >&5 2427 2437 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2428 2438 echo $ac_n "(cached) $ac_c" 1>&6 2429 2439 else 2430 2440 cat > conftest.$ac_ext <<EOF 2431 #line 24 32 "configure"2441 #line 2442 "configure" 2432 2442 #include "confdefs.h" 2433 2443 #include <$ac_hdr> 2434 2444 EOF 2435 2445 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2436 { (eval echo configure:24 37: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2446 { (eval echo configure:2447: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2437 2447 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2438 2448 if test -z "$ac_err"; then … … 2468 2478 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2469 2479 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2470 echo "configure:24 71: checking for $ac_hdr" >&52480 echo "configure:2481: checking for $ac_hdr" >&5 2471 2481 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2472 2482 echo $ac_n "(cached) $ac_c" 1>&6 2473 2483 else 2474 2484 cat > conftest.$ac_ext <<EOF 2475 #line 24 76 "configure"2485 #line 2486 "configure" 2476 2486 #include "confdefs.h" 2477 2487 #include <$ac_hdr> 2478 2488 EOF 2479 2489 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2480 { (eval echo configure:24 81: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2490 { (eval echo configure:2491: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2481 2491 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2482 2492 if test -z "$ac_err"; then … … 2507 2517 # typedefs, structures 2508 2518 echo $ac_n "checking for working const""... $ac_c" 1>&6 2509 echo "configure:25 10: checking for working const" >&52519 echo "configure:2520: checking for working const" >&5 2510 2520 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 2511 2521 echo $ac_n "(cached) $ac_c" 1>&6 2512 2522 else 2513 2523 cat > conftest.$ac_ext <<EOF 2514 #line 25 15 "configure"2524 #line 2525 "configure" 2515 2525 #include "confdefs.h" 2516 2526 … … 2561 2571 ; return 0; } 2562 2572 EOF 2563 if { (eval echo configure:25 64: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2573 if { (eval echo configure:2574: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2564 2574 rm -rf conftest* 2565 2575 ac_cv_c_const=yes … … 2582 2592 2583 2593 echo $ac_n "checking for inline""... $ac_c" 1>&6 2584 echo "configure:25 85: checking for inline" >&52594 echo "configure:2595: checking for inline" >&5 2585 2595 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 2586 2596 echo $ac_n "(cached) $ac_c" 1>&6 … … 2589 2599 for ac_kw in inline __inline__ __inline; do 2590 2600 cat > conftest.$ac_ext <<EOF 2591 #line 2 592 "configure"2601 #line 2602 "configure" 2592 2602 #include "confdefs.h" 2593 2603 … … 2596 2606 ; return 0; } 2597 2607 EOF 2598 if { (eval echo configure:2 599: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2608 if { (eval echo configure:2609: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2599 2609 rm -rf conftest* 2600 2610 ac_cv_c_inline=$ac_kw; break … … 2622 2632 2623 2633 echo $ac_n "checking for size_t""... $ac_c" 1>&6 2624 echo "configure:26 25: checking for size_t" >&52634 echo "configure:2635: checking for size_t" >&5 2625 2635 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 2626 2636 echo $ac_n "(cached) $ac_c" 1>&6 2627 2637 else 2628 2638 cat > conftest.$ac_ext <<EOF 2629 #line 26 30 "configure"2639 #line 2640 "configure" 2630 2640 #include "confdefs.h" 2631 2641 #include <sys/types.h> … … 2655 2665 2656 2666 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 2657 echo "configure:26 58: checking whether struct tm is in sys/time.h or time.h" >&52667 echo "configure:2668: checking whether struct tm is in sys/time.h or time.h" >&5 2658 2668 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then 2659 2669 echo $ac_n "(cached) $ac_c" 1>&6 2660 2670 else 2661 2671 cat > conftest.$ac_ext <<EOF 2662 #line 26 63 "configure"2672 #line 2673 "configure" 2663 2673 #include "confdefs.h" 2664 2674 #include <sys/types.h> … … 2668 2678 ; return 0; } 2669 2679 EOF 2670 if { (eval echo configure:26 71: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2680 if { (eval echo configure:2681: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2671 2681 rm -rf conftest* 2672 2682 ac_cv_struct_tm=time.h … … 2689 2699 2690 2700 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 2691 echo "configure:2 692: checking whether time.h and sys/time.h may both be included" >&52701 echo "configure:2702: checking whether time.h and sys/time.h may both be included" >&5 2692 2702 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 2693 2703 echo $ac_n "(cached) $ac_c" 1>&6 2694 2704 else 2695 2705 cat > conftest.$ac_ext <<EOF 2696 #line 2 697 "configure"2706 #line 2707 "configure" 2697 2707 #include "confdefs.h" 2698 2708 #include <sys/types.h> … … 2703 2713 ; return 0; } 2704 2714 EOF 2705 if { (eval echo configure:27 06: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2715 if { (eval echo configure:2716: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2706 2716 rm -rf conftest* 2707 2717 ac_cv_header_time=yes … … 2728 2738 # for constant arguments. Useless! 2729 2739 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 2730 echo "configure:27 31: checking for working alloca.h" >&52740 echo "configure:2741: checking for working alloca.h" >&5 2731 2741 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 2732 2742 echo $ac_n "(cached) $ac_c" 1>&6 2733 2743 else 2734 2744 cat > conftest.$ac_ext <<EOF 2735 #line 27 36 "configure"2745 #line 2746 "configure" 2736 2746 #include "confdefs.h" 2737 2747 #include <alloca.h> … … 2740 2750 ; return 0; } 2741 2751 EOF 2742 if { (eval echo configure:27 43: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2752 if { (eval echo configure:2753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2743 2753 rm -rf conftest* 2744 2754 ac_cv_header_alloca_h=yes … … 2761 2771 2762 2772 echo $ac_n "checking for alloca""... $ac_c" 1>&6 2763 echo "configure:27 64: checking for alloca" >&52773 echo "configure:2774: checking for alloca" >&5 2764 2774 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 2765 2775 echo $ac_n "(cached) $ac_c" 1>&6 2766 2776 else 2767 2777 cat > conftest.$ac_ext <<EOF 2768 #line 27 69 "configure"2778 #line 2779 "configure" 2769 2779 #include "confdefs.h" 2770 2780 … … 2794 2804 ; return 0; } 2795 2805 EOF 2796 if { (eval echo configure:2 797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2806 if { (eval echo configure:2807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2797 2807 rm -rf conftest* 2798 2808 ac_cv_func_alloca_works=yes … … 2826 2836 2827 2837 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 2828 echo "configure:28 29: checking whether alloca needs Cray hooks" >&52838 echo "configure:2839: checking whether alloca needs Cray hooks" >&5 2829 2839 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 2830 2840 echo $ac_n "(cached) $ac_c" 1>&6 2831 2841 else 2832 2842 cat > conftest.$ac_ext <<EOF 2833 #line 28 34 "configure"2843 #line 2844 "configure" 2834 2844 #include "confdefs.h" 2835 2845 #if defined(CRAY) && ! defined(CRAY2) … … 2856 2866 for ac_func in _getb67 GETB67 getb67; do 2857 2867 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2858 echo "configure:28 59: checking for $ac_func" >&52868 echo "configure:2869: checking for $ac_func" >&5 2859 2869 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2860 2870 echo $ac_n "(cached) $ac_c" 1>&6 2861 2871 else 2862 2872 cat > conftest.$ac_ext <<EOF 2863 #line 28 64 "configure"2873 #line 2874 "configure" 2864 2874 #include "confdefs.h" 2865 2875 /* System header to define __stub macros and hopefully few prototypes, … … 2884 2894 ; return 0; } 2885 2895 EOF 2886 if { (eval echo configure:28 87: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2896 if { (eval echo configure:2897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2887 2897 rm -rf conftest* 2888 2898 eval "ac_cv_func_$ac_func=yes" … … 2911 2921 2912 2922 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 2913 echo "configure:29 14: checking stack direction for C alloca" >&52923 echo "configure:2924: checking stack direction for C alloca" >&5 2914 2924 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 2915 2925 echo $ac_n "(cached) $ac_c" 1>&6 … … 2919 2929 else 2920 2930 cat > conftest.$ac_ext <<EOF 2921 #line 29 22 "configure"2931 #line 2932 "configure" 2922 2932 #include "confdefs.h" 2923 2933 find_stack_direction () … … 2938 2948 } 2939 2949 EOF 2940 if { (eval echo configure:29 41: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2950 if { (eval echo configure:2951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2941 2951 then 2942 2952 ac_cv_c_stack_direction=1 … … 2961 2971 if test $ac_cv_prog_gcc = yes; then 2962 2972 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 2963 echo "configure:29 64: checking whether ${CC-cc} needs -traditional" >&52973 echo "configure:2974: checking whether ${CC-cc} needs -traditional" >&5 2964 2974 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then 2965 2975 echo $ac_n "(cached) $ac_c" 1>&6 … … 2967 2977 ac_pattern="Autoconf.*'x'" 2968 2978 cat > conftest.$ac_ext <<EOF 2969 #line 29 70 "configure"2979 #line 2980 "configure" 2970 2980 #include "confdefs.h" 2971 2981 #include <sgtty.h> … … 2985 2995 if test $ac_cv_prog_gcc_traditional = no; then 2986 2996 cat > conftest.$ac_ext <<EOF 2987 #line 29 88 "configure"2997 #line 2998 "configure" 2988 2998 #include "confdefs.h" 2989 2999 #include <termio.h> … … 3010 3020 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3011 3021 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3012 echo "configure:30 13: checking for $ac_hdr" >&53022 echo "configure:3023: checking for $ac_hdr" >&5 3013 3023 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3014 3024 echo $ac_n "(cached) $ac_c" 1>&6 3015 3025 else 3016 3026 cat > conftest.$ac_ext <<EOF 3017 #line 30 18 "configure"3027 #line 3028 "configure" 3018 3028 #include "confdefs.h" 3019 3029 #include <$ac_hdr> 3020 3030 EOF 3021 3031 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3022 { (eval echo configure:30 23: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3032 { (eval echo configure:3033: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3023 3033 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3024 3034 if test -z "$ac_err"; then … … 3049 3059 do 3050 3060 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3051 echo "configure:30 52: checking for $ac_func" >&53061 echo "configure:3062: checking for $ac_func" >&5 3052 3062 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3053 3063 echo $ac_n "(cached) $ac_c" 1>&6 3054 3064 else 3055 3065 cat > conftest.$ac_ext <<EOF 3056 #line 30 57 "configure"3066 #line 3067 "configure" 3057 3067 #include "confdefs.h" 3058 3068 /* System header to define __stub macros and hopefully few prototypes, … … 3077 3087 ; return 0; } 3078 3088 EOF 3079 if { (eval echo configure:30 80: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3089 if { (eval echo configure:3090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3080 3090 rm -rf conftest* 3081 3091 eval "ac_cv_func_$ac_func=yes" … … 3102 3112 3103 3113 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 3104 echo "configure:31 05: checking for working mmap" >&53114 echo "configure:3115: checking for working mmap" >&5 3105 3115 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 3106 3116 echo $ac_n "(cached) $ac_c" 1>&6 … … 3110 3120 else 3111 3121 cat > conftest.$ac_ext <<EOF 3112 #line 31 13 "configure"3122 #line 3123 "configure" 3113 3123 #include "confdefs.h" 3114 3124 … … 3250 3260 3251 3261 EOF 3252 if { (eval echo configure:32 53: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3262 if { (eval echo configure:3263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3253 3263 then 3254 3264 ac_cv_func_mmap_fixed_mapped=yes … … 3273 3283 3274 3284 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 3275 echo "configure:32 76: checking return type of signal handlers" >&53285 echo "configure:3286: checking return type of signal handlers" >&5 3276 3286 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then 3277 3287 echo $ac_n "(cached) $ac_c" 1>&6 3278 3288 else 3279 3289 cat > conftest.$ac_ext <<EOF 3280 #line 32 81 "configure"3290 #line 3291 "configure" 3281 3291 #include "confdefs.h" 3282 3292 #include <sys/types.h> … … 3295 3305 ; return 0; } 3296 3306 EOF 3297 if { (eval echo configure:3 298: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3307 if { (eval echo configure:3308: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3298 3308 rm -rf conftest* 3299 3309 ac_cv_type_signal=void … … 3314 3324 3315 3325 echo $ac_n "checking for vprintf""... $ac_c" 1>&6 3316 echo "configure:33 17: checking for vprintf" >&53326 echo "configure:3327: checking for vprintf" >&5 3317 3327 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then 3318 3328 echo $ac_n "(cached) $ac_c" 1>&6 3319 3329 else 3320 3330 cat > conftest.$ac_ext <<EOF 3321 #line 33 22 "configure"3331 #line 3332 "configure" 3322 3332 #include "confdefs.h" 3323 3333 /* System header to define __stub macros and hopefully few prototypes, … … 3342 3352 ; return 0; } 3343 3353 EOF 3344 if { (eval echo configure:33 45: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3354 if { (eval echo configure:3355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3345 3355 rm -rf conftest* 3346 3356 eval "ac_cv_func_vprintf=yes" … … 3366 3376 if test "$ac_cv_func_vprintf" != yes; then 3367 3377 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 3368 echo "configure:33 69: checking for _doprnt" >&53378 echo "configure:3379: checking for _doprnt" >&5 3369 3379 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then 3370 3380 echo $ac_n "(cached) $ac_c" 1>&6 3371 3381 else 3372 3382 cat > conftest.$ac_ext <<EOF 3373 #line 33 74 "configure"3383 #line 3384 "configure" 3374 3384 #include "confdefs.h" 3375 3385 /* System header to define __stub macros and hopefully few prototypes, … … 3394 3404 ; return 0; } 3395 3405 EOF 3396 if { (eval echo configure:3 397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3406 if { (eval echo configure:3407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3397 3407 rm -rf conftest* 3398 3408 eval "ac_cv_func__doprnt=yes" … … 3420 3430 3421 3431 echo $ac_n "checking for library containing setenv""... $ac_c" 1>&6 3422 echo "configure:34 23: checking for library containing setenv" >&53432 echo "configure:3433: checking for library containing setenv" >&5 3423 3433 if eval "test \"`echo '$''{'ac_cv_search_setenv'+set}'`\" = set"; then 3424 3434 echo $ac_n "(cached) $ac_c" 1>&6 … … 3427 3437 ac_cv_search_setenv="no" 3428 3438 cat > conftest.$ac_ext <<EOF 3429 #line 34 30 "configure"3439 #line 3440 "configure" 3430 3440 #include "confdefs.h" 3431 3441 /* Override any gcc2 internal prototype to avoid an error. */ … … 3438 3448 ; return 0; } 3439 3449 EOF 3440 if { (eval echo configure:34 41: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3450 if { (eval echo configure:3451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3441 3451 rm -rf conftest* 3442 3452 ac_cv_search_setenv="none required" … … 3449 3459 LIBS="-l$i $ac_func_search_save_LIBS" 3450 3460 cat > conftest.$ac_ext <<EOF 3451 #line 34 52 "configure"3461 #line 3462 "configure" 3452 3462 #include "confdefs.h" 3453 3463 /* Override any gcc2 internal prototype to avoid an error. */ … … 3460 3470 ; return 0; } 3461 3471 EOF 3462 if { (eval echo configure:34 63: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3472 if { (eval echo configure:3473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3463 3473 rm -rf conftest* 3464 3474 ac_cv_search_setenv="-l$i" … … 3484 3494 do 3485 3495 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3486 echo "configure:34 87: checking for $ac_func" >&53496 echo "configure:3497: checking for $ac_func" >&5 3487 3497 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3488 3498 echo $ac_n "(cached) $ac_c" 1>&6 3489 3499 else 3490 3500 cat > conftest.$ac_ext <<EOF 3491 #line 3 492 "configure"3501 #line 3502 "configure" 3492 3502 #include "confdefs.h" 3493 3503 /* System header to define __stub macros and hopefully few prototypes, … … 3512 3522 ; return 0; } 3513 3523 EOF 3514 if { (eval echo configure:35 15: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3524 if { (eval echo configure:3525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3515 3525 rm -rf conftest* 3516 3526 eval "ac_cv_func_$ac_func=yes" … … 3541 3551 # arithmetic shifts 3542 3552 echo $ac_n "checking whether your machine has correct arithmetic shifts""... $ac_c" 1>&6 3543 echo "configure:35 44: checking whether your machine has correct arithmetic shifts" >&53553 echo "configure:3554: checking whether your machine has correct arithmetic shifts" >&5 3544 3554 if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then 3545 3555 echo $ac_n "(cached) $ac_c" 1>&6 … … 3554 3564 else 3555 3565 cat > conftest.$ac_ext <<EOF 3556 #line 35 57 "configure"3566 #line 3567 "configure" 3557 3567 #include "confdefs.h" 3558 3568 int main() { if (-2 >> 1 == -1) return(0); else return(1); } 3559 3569 EOF 3560 if { (eval echo configure:35 61: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3570 if { (eval echo configure:3571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3561 3571 then 3562 3572 ac_cv_shift=yes … … 3583 3593 # check for a peculiar constructor initialization 3584 3594 echo $ac_n "checking whether explicit C++ constructor calls are allowed""... $ac_c" 1>&6 3585 echo "configure:35 86: checking whether explicit C++ constructor calls are allowed" >&53595 echo "configure:3596: checking whether explicit C++ constructor calls are allowed" >&5 3586 3596 3587 3597 ac_ext=C … … 3596 3606 else 3597 3607 cat > conftest.$ac_ext <<EOF 3598 #line 3 599 "configure"3608 #line 3609 "configure" 3599 3609 #include "confdefs.h" 3600 3610 … … 3614 3624 ; return 0; } 3615 3625 EOF 3616 if { (eval echo configure:36 17: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3626 if { (eval echo configure:3627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3617 3627 rm -rf conftest* 3618 3628 ac_cv_explicit_const=yes … … 3643 3653 # sprintf returns number of printed chars 3644 3654 echo $ac_n "checking whether vsprintf returns number of printed chars""... $ac_c" 1>&6 3645 echo "configure:36 46: checking whether vsprintf returns number of printed chars" >&53655 echo "configure:3656: checking whether vsprintf returns number of printed chars" >&5 3646 3656 if eval "test \"`echo '$''{'ac_cv_returns_n_of_chars'+set}'`\" = set"; then 3647 3657 echo $ac_n "(cached) $ac_c" 1>&6 … … 3651 3661 else 3652 3662 cat > conftest.$ac_ext <<EOF 3653 #line 36 54 "configure"3663 #line 3664 "configure" 3654 3664 #include "confdefs.h" 3655 3665 #include <stdio.h> 3656 3666 main() { char *str=(char*)malloc(20); if (((int) sprintf(str,"123456789")) == 9) exit(0); else exit(1); } 3657 3667 EOF 3658 if { (eval echo configure:36 59: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3668 if { (eval echo configure:3669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3659 3669 then 3660 3670 ac_cv_returns_n_of_chars=yes … … 3682 3692 # determine ALIGN_8 3683 3693 echo $ac_n "checking size of char""... $ac_c" 1>&6 3684 echo "configure:36 85: checking size of char" >&53694 echo "configure:3695: checking size of char" >&5 3685 3695 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then 3686 3696 echo $ac_n "(cached) $ac_c" 1>&6 … … 3690 3700 else 3691 3701 cat > conftest.$ac_ext <<EOF 3692 #line 3 693 "configure"3702 #line 3703 "configure" 3693 3703 #include "confdefs.h" 3694 3704 #include <stdio.h> … … 3701 3711 } 3702 3712 EOF 3703 if { (eval echo configure:37 04: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3713 if { (eval echo configure:3714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3704 3714 then 3705 3715 ac_cv_sizeof_char=`cat conftestval` … … 3721 3731 3722 3732 echo $ac_n "checking size of short""... $ac_c" 1>&6 3723 echo "configure:37 24: checking size of short" >&53733 echo "configure:3734: checking size of short" >&5 3724 3734 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then 3725 3735 echo $ac_n "(cached) $ac_c" 1>&6 … … 3729 3739 else 3730 3740 cat > conftest.$ac_ext <<EOF 3731 #line 37 32 "configure"3741 #line 3742 "configure" 3732 3742 #include "confdefs.h" 3733 3743 #include <stdio.h> … … 3740 3750 } 3741 3751 EOF 3742 if { (eval echo configure:37 43: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3752 if { (eval echo configure:3753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3743 3753 then 3744 3754 ac_cv_sizeof_short=`cat conftestval` … … 3760 3770 3761 3771 echo $ac_n "checking size of int""... $ac_c" 1>&6 3762 echo "configure:37 63: checking size of int" >&53772 echo "configure:3773: checking size of int" >&5 3763 3773 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then 3764 3774 echo $ac_n "(cached) $ac_c" 1>&6 … … 3768 3778 else 3769 3779 cat > conftest.$ac_ext <<EOF 3770 #line 37 71 "configure"3780 #line 3781 "configure" 3771 3781 #include "confdefs.h" 3772 3782 #include <stdio.h> … … 3779 3789 } 3780 3790 EOF 3781 if { (eval echo configure:37 82: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3791 if { (eval echo configure:3792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3782 3792 then 3783 3793 ac_cv_sizeof_int=`cat conftestval` … … 3799 3809 3800 3810 echo $ac_n "checking size of long""... $ac_c" 1>&6 3801 echo "configure:38 02: checking size of long" >&53811 echo "configure:3812: checking size of long" >&5 3802 3812 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then 3803 3813 echo $ac_n "(cached) $ac_c" 1>&6 … … 3807 3817 else 3808 3818 cat > conftest.$ac_ext <<EOF 3809 #line 38 10 "configure"3819 #line 3820 "configure" 3810 3820 #include "confdefs.h" 3811 3821 #include <stdio.h> … … 3818 3828 } 3819 3829 EOF 3820 if { (eval echo configure:38 21: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3830 if { (eval echo configure:3831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3821 3831 then 3822 3832 ac_cv_sizeof_long=`cat conftestval` … … 3838 3848 3839 3849 echo $ac_n "checking size of void*""... $ac_c" 1>&6 3840 echo "configure:38 41: checking size of void*" >&53850 echo "configure:3851: checking size of void*" >&5 3841 3851 if eval "test \"`echo '$''{'ac_cv_sizeof_voidp'+set}'`\" = set"; then 3842 3852 echo $ac_n "(cached) $ac_c" 1>&6 … … 3846 3856 else 3847 3857 cat > conftest.$ac_ext <<EOF 3848 #line 38 49 "configure"3858 #line 3859 "configure" 3849 3859 #include "confdefs.h" 3850 3860 #include <stdio.h> … … 3857 3867 } 3858 3868 EOF 3859 if { (eval echo configure:38 60: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3869 if { (eval echo configure:3870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3860 3870 then 3861 3871 ac_cv_sizeof_voidp=`cat conftestval` … … 3877 3887 3878 3888 echo $ac_n "checking size of double""... $ac_c" 1>&6 3879 echo "configure:38 80: checking size of double" >&53889 echo "configure:3890: checking size of double" >&5 3880 3890 if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then 3881 3891 echo $ac_n "(cached) $ac_c" 1>&6 … … 3885 3895 else 3886 3896 cat > conftest.$ac_ext <<EOF 3887 #line 38 88 "configure"3897 #line 3898 "configure" 3888 3898 #include "confdefs.h" 3889 3899 #include <stdio.h> … … 3896 3906 } 3897 3907 EOF 3898 if { (eval echo configure:3 899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3908 if { (eval echo configure:3909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3899 3909 then 3900 3910 ac_cv_sizeof_double=`cat conftestval` … … 3916 3926 3917 3927 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 3918 echo "configure:39 19: checking whether byte ordering is bigendian" >&53928 echo "configure:3929: checking whether byte ordering is bigendian" >&5 3919 3929 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then 3920 3930 echo $ac_n "(cached) $ac_c" 1>&6 … … 3923 3933 # See if sys/param.h defines the BYTE_ORDER macro. 3924 3934 cat > conftest.$ac_ext <<EOF 3925 #line 39 26 "configure"3935 #line 3936 "configure" 3926 3936 #include "confdefs.h" 3927 3937 #include <sys/types.h> … … 3934 3944 ; return 0; } 3935 3945 EOF 3936 if { (eval echo configure:39 37: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3946 if { (eval echo configure:3947: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3937 3947 rm -rf conftest* 3938 3948 # It does; now see whether it defined to BIG_ENDIAN or not. 3939 3949 cat > conftest.$ac_ext <<EOF 3940 #line 39 41 "configure"3950 #line 3951 "configure" 3941 3951 #include "confdefs.h" 3942 3952 #include <sys/types.h> … … 3949 3959 ; return 0; } 3950 3960 EOF 3951 if { (eval echo configure:39 52: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3961 if { (eval echo configure:3962: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3952 3962 rm -rf conftest* 3953 3963 ac_cv_c_bigendian=yes … … 3969 3979 else 3970 3980 cat > conftest.$ac_ext <<EOF 3971 #line 39 72 "configure"3981 #line 3982 "configure" 3972 3982 #include "confdefs.h" 3973 3983 main () { … … 3982 3992 } 3983 3993 EOF 3984 if { (eval echo configure:39 85: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3994 if { (eval echo configure:3995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3985 3995 then 3986 3996 ac_cv_c_bigendian=no … … 4112 4122 4113 4123 echo $ac_n "checking whether to use dynamic linking""... $ac_c" 1>&6 4114 echo "configure:41 15: checking whether to use dynamic linking" >&54124 echo "configure:4125: checking whether to use dynamic linking" >&5 4115 4125 if test "$with_dl" != no && test "$ac_lib_dl" = yes; then 4116 4126 cat >> confdefs.h <<\EOF … … 4125 4135 4126 4136 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 4127 echo "configure:41 28: checking for tgetent in -lncurses" >&54137 echo "configure:4138: checking for tgetent in -lncurses" >&5 4128 4138 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` 4129 4139 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4133 4143 LIBS="-lncurses $LIBS" 4134 4144 cat > conftest.$ac_ext <<EOF 4135 #line 41 36 "configure"4145 #line 4146 "configure" 4136 4146 #include "confdefs.h" 4137 4147 /* Override any gcc2 internal prototype to avoid an error. */ … … 4144 4154 ; return 0; } 4145 4155 EOF 4146 if { (eval echo configure:41 47: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4156 if { (eval echo configure:4157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4147 4157 rm -rf conftest* 4148 4158 eval "ac_cv_lib_$ac_lib_var=yes" … … 4171 4181 \ 4172 4182 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 4173 echo "configure:41 74: checking for tgetent in -lcurses" >&54183 echo "configure:4184: checking for tgetent in -lcurses" >&5 4174 4184 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` 4175 4185 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4179 4189 LIBS="-lcurses $LIBS" 4180 4190 cat > conftest.$ac_ext <<EOF 4181 #line 41 82 "configure"4191 #line 4192 "configure" 4182 4192 #include "confdefs.h" 4183 4193 /* Override any gcc2 internal prototype to avoid an error. */ … … 4190 4200 ; return 0; } 4191 4201 EOF 4192 if { (eval echo configure:4 193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4202 if { (eval echo configure:4203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4193 4203 rm -rf conftest* 4194 4204 eval "ac_cv_lib_$ac_lib_var=yes" … … 4217 4227 \ 4218 4228 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 4219 echo "configure:42 20: checking for tgetent in -ltermcap" >&54229 echo "configure:4230: checking for tgetent in -ltermcap" >&5 4220 4230 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` 4221 4231 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4225 4235 LIBS="-ltermcap $LIBS" 4226 4236 cat > conftest.$ac_ext <<EOF 4227 #line 42 28 "configure"4237 #line 4238 "configure" 4228 4238 #include "confdefs.h" 4229 4239 /* Override any gcc2 internal prototype to avoid an error. */ … … 4236 4246 ; return 0; } 4237 4247 EOF 4238 if { (eval echo configure:42 39: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4248 if { (eval echo configure:4249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4239 4249 rm -rf conftest* 4240 4250 eval "ac_cv_lib_$ac_lib_var=yes" … … 4285 4295 4286 4296 echo $ac_n "checking for rl_abort in -lreadline""... $ac_c" 1>&6 4287 echo "configure:42 88: checking for rl_abort in -lreadline" >&54297 echo "configure:4298: checking for rl_abort in -lreadline" >&5 4288 4298 ac_lib_var=`echo readline'_'rl_abort | sed 'y%./+-%__p_%'` 4289 4299 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4293 4303 LIBS="-lreadline $LIBS" 4294 4304 cat > conftest.$ac_ext <<EOF 4295 #line 4 296 "configure"4305 #line 4306 "configure" 4296 4306 #include "confdefs.h" 4297 4307 /* Override any gcc2 internal prototype to avoid an error. */ … … 4307 4317 ; return 0; } 4308 4318 EOF 4309 if { (eval echo configure:43 10: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4319 if { (eval echo configure:4320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4310 4320 rm -rf conftest* 4311 4321 eval "ac_cv_lib_$ac_lib_var=yes" … … 4335 4345 4336 4346 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6 4337 echo "configure:43 38: checking how to run the C++ preprocessor" >&54347 echo "configure:4348: checking how to run the C++ preprocessor" >&5 4338 4348 if test -z "$CXXCPP"; then 4339 4349 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then … … 4348 4358 CXXCPP="${CXX-g++} -E" 4349 4359 cat > conftest.$ac_ext <<EOF 4350 #line 43 51 "configure"4360 #line 4361 "configure" 4351 4361 #include "confdefs.h" 4352 4362 #include <stdlib.h> 4353 4363 EOF 4354 4364 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4355 { (eval echo configure:43 56: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4365 { (eval echo configure:4366: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4356 4366 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4357 4367 if test -z "$ac_err"; then … … 4381 4391 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4382 4392 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4383 echo "configure:43 84: checking for $ac_hdr" >&54393 echo "configure:4394: checking for $ac_hdr" >&5 4384 4394 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4385 4395 echo $ac_n "(cached) $ac_c" 1>&6 4386 4396 else 4387 4397 cat > conftest.$ac_ext <<EOF 4388 #line 43 89 "configure"4398 #line 4399 "configure" 4389 4399 #include "confdefs.h" 4390 4400 #include <$ac_hdr> 4391 4401 EOF 4392 4402 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4393 { (eval echo configure:4 394: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4403 { (eval echo configure:4404: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4394 4404 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4395 4405 if test -z "$ac_err"; then … … 4420 4430 test "$ac_cv_header_readline_readline_h" = yes; then 4421 4431 echo $ac_n "checking whether readline.h is ok""... $ac_c" 1>&6 4422 echo "configure:44 23: checking whether readline.h is ok" >&54432 echo "configure:4433: checking whether readline.h is ok" >&5 4423 4433 if eval "test \"`echo '$''{'ac_cv_header_readline_readline_h_ok'+set}'`\" = set"; then 4424 4434 echo $ac_n "(cached) $ac_c" 1>&6 4425 4435 else 4426 4436 cat > conftest.$ac_ext <<EOF 4427 #line 44 28 "configure"4437 #line 4438 "configure" 4428 4438 #include "confdefs.h" 4429 4439 #include<unistd.h> … … 4438 4448 ; return 0; } 4439 4449 EOF 4440 if { (eval echo configure:44 41: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4450 if { (eval echo configure:4451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4441 4451 rm -rf conftest* 4442 4452 ac_cv_header_readline_readline_h_ok="yes" … … 4454 4464 #not ok -- try once more with explicitly declaring everything 4455 4465 echo $ac_n "checking whether or not we nevertheless can use readline""... $ac_c" 1>&6 4456 echo "configure:44 57: checking whether or not we nevertheless can use readline" >&54466 echo "configure:4467: checking whether or not we nevertheless can use readline" >&5 4457 4467 if eval "test \"`echo '$''{'ac_cv_have_readline'+set}'`\" = set"; then 4458 4468 echo $ac_n "(cached) $ac_c" 1>&6 4459 4469 else 4460 4470 cat > conftest.$ac_ext <<EOF 4461 #line 44 62 "configure"4471 #line 4472 "configure" 4462 4472 #include "confdefs.h" 4463 4473 #include <stdio.h> … … 4493 4503 ; return 0; } 4494 4504 EOF 4495 if { (eval echo configure:4 496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4505 if { (eval echo configure:4506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4496 4506 rm -rf conftest* 4497 4507 ac_cv_have_readline="yes" … … 4532 4542 4533 4543 echo $ac_n "checking which readline to use""... $ac_c" 1>&6 4534 echo "configure:45 35: checking which readline to use" >&54544 echo "configure:4545: checking which readline to use" >&5 4535 4545 if test "$ac_cv_with_readline" = dynamic; then 4536 4546 echo "$ac_t""dynamic" 1>&6 … … 4552 4562 # gmp, MP, MPT, factory, libfac 4553 4563 echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6 4554 echo "configure:45 55: checking for main in -lgmp" >&54564 echo "configure:4565: checking for main in -lgmp" >&5 4555 4565 ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'` 4556 4566 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4560 4570 LIBS="-lgmp $LIBS" 4561 4571 cat > conftest.$ac_ext <<EOF 4562 #line 45 63 "configure"4572 #line 4573 "configure" 4563 4573 #include "confdefs.h" 4564 4574 … … 4567 4577 ; return 0; } 4568 4578 EOF 4569 if { (eval echo configure:45 70: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4579 if { (eval echo configure:4580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4570 4580 rm -rf conftest* 4571 4581 eval "ac_cv_lib_$ac_lib_var=yes" … … 4596 4606 SAVE_LIBS=$LIBS 4597 4607 echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6 4598 echo "configure:4 599: checking for IMP_PutGmpInt in -lMP" >&54608 echo "configure:4609: checking for IMP_PutGmpInt in -lMP" >&5 4599 4609 ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'` 4600 4610 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4604 4614 LIBS="-lMP $MP_LIBS $LIBS" 4605 4615 cat > conftest.$ac_ext <<EOF 4606 #line 46 07 "configure"4616 #line 4617 "configure" 4607 4617 #include "confdefs.h" 4608 4618 /* Override any gcc2 internal prototype to avoid an error. */ … … 4615 4625 ; return 0; } 4616 4626 EOF 4617 if { (eval echo configure:46 18: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4627 if { (eval echo configure:4628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4618 4628 rm -rf conftest* 4619 4629 eval "ac_cv_lib_$ac_lib_var=yes" … … 4643 4653 4644 4654 echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6 4645 echo "configure:46 46: checking for MPT_GetTree in -lMPT" >&54655 echo "configure:4656: checking for MPT_GetTree in -lMPT" >&5 4646 4656 ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'` 4647 4657 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4651 4661 LIBS="-lMPT $MP_LIBS $LIBS" 4652 4662 cat > conftest.$ac_ext <<EOF 4653 #line 46 54 "configure"4663 #line 4664 "configure" 4654 4664 #include "confdefs.h" 4655 4665 /* Override any gcc2 internal prototype to avoid an error. */ … … 4662 4672 ; return 0; } 4663 4673 EOF 4664 if { (eval echo configure:46 65: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4674 if { (eval echo configure:4675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4665 4675 rm -rf conftest* 4666 4676 eval "ac_cv_lib_$ac_lib_var=yes" … … 4691 4701 LIBS=$SAVE_LIBS 4692 4702 echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6 4693 echo "configure:4 694: checking for atof in -lsingcf" >&54703 echo "configure:4704: checking for atof in -lsingcf" >&5 4694 4704 ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'` 4695 4705 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4699 4709 LIBS="-lsingcf $LIBS" 4700 4710 cat > conftest.$ac_ext <<EOF 4701 #line 47 02 "configure"4711 #line 4712 "configure" 4702 4712 #include "confdefs.h" 4703 4713 /* Override any gcc2 internal prototype to avoid an error. */ … … 4710 4720 ; return 0; } 4711 4721 EOF 4712 if { (eval echo configure:47 13: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4722 if { (eval echo configure:4723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4713 4723 rm -rf conftest* 4714 4724 eval "ac_cv_lib_$ac_lib_var=yes" … … 4738 4748 4739 4749 echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6 4740 echo "configure:47 41: checking for atof in -lsingfac" >&54750 echo "configure:4751: checking for atof in -lsingfac" >&5 4741 4751 ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'` 4742 4752 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4746 4756 LIBS="-lsingfac $LIBS" 4747 4757 cat > conftest.$ac_ext <<EOF 4748 #line 47 49 "configure"4758 #line 4759 "configure" 4749 4759 #include "confdefs.h" 4750 4760 /* Override any gcc2 internal prototype to avoid an error. */ … … 4757 4767 ; return 0; } 4758 4768 EOF 4759 if { (eval echo configure:47 60: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4769 if { (eval echo configure:4770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4760 4770 rm -rf conftest* 4761 4771 eval "ac_cv_lib_$ac_lib_var=yes" … … 4785 4795 4786 4796 echo $ac_n "checking for omTestAddr in -lomalloc""... $ac_c" 1>&6 4787 echo "configure:47 88: checking for omTestAddr in -lomalloc" >&54797 echo "configure:4798: checking for omTestAddr in -lomalloc" >&5 4788 4798 ac_lib_var=`echo omalloc'_'omTestAddr | sed 'y%./+-%__p_%'` 4789 4799 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4793 4803 LIBS="-lomalloc $LIBS" 4794 4804 cat > conftest.$ac_ext <<EOF 4795 #line 4 796 "configure"4805 #line 4806 "configure" 4796 4806 #include "confdefs.h" 4797 4807 /* Override any gcc2 internal prototype to avoid an error. */ … … 4804 4814 ; return 0; } 4805 4815 EOF 4806 if { (eval echo configure:48 07: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4816 if { (eval echo configure:4817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4807 4817 rm -rf conftest* 4808 4818 eval "ac_cv_lib_$ac_lib_var=yes" … … 4832 4842 4833 4843 echo $ac_n "checking for main in -lomalloc_ndebug""... $ac_c" 1>&6 4834 echo "configure:48 35: checking for main in -lomalloc_ndebug" >&54844 echo "configure:4845: checking for main in -lomalloc_ndebug" >&5 4835 4845 ac_lib_var=`echo omalloc_ndebug'_'main | sed 'y%./+-%__p_%'` 4836 4846 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4840 4850 LIBS="-lomalloc_ndebug $LIBS" 4841 4851 cat > conftest.$ac_ext <<EOF 4842 #line 48 43 "configure"4852 #line 4853 "configure" 4843 4853 #include "confdefs.h" 4844 4854 … … 4847 4857 ; return 0; } 4848 4858 EOF 4849 if { (eval echo configure:48 50: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4859 if { (eval echo configure:4860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4850 4860 rm -rf conftest* 4851 4861 eval "ac_cv_lib_$ac_lib_var=yes" … … 4875 4885 4876 4886 echo $ac_n "checking for main in -lntl""... $ac_c" 1>&6 4877 echo "configure:48 78: checking for main in -lntl" >&54887 echo "configure:4888: checking for main in -lntl" >&5 4878 4888 ac_lib_var=`echo ntl'_'main | sed 'y%./+-%__p_%'` 4879 4889 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4883 4893 LIBS="-lntl $LIBS" 4884 4894 cat > conftest.$ac_ext <<EOF 4885 #line 48 86 "configure"4895 #line 4896 "configure" 4886 4896 #include "confdefs.h" 4887 4897 … … 4890 4900 ; return 0; } 4891 4901 EOF 4892 if { (eval echo configure:4 893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4902 if { (eval echo configure:4903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4893 4903 rm -rf conftest* 4894 4904 eval "ac_cv_lib_$ac_lib_var=yes" … … 4923 4933 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4924 4934 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4925 echo "configure:49 26: checking for $ac_hdr" >&54935 echo "configure:4936: checking for $ac_hdr" >&5 4926 4936 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4927 4937 echo $ac_n "(cached) $ac_c" 1>&6 4928 4938 else 4929 4939 cat > conftest.$ac_ext <<EOF 4930 #line 49 31 "configure"4940 #line 4941 "configure" 4931 4941 #include "confdefs.h" 4932 4942 #include <$ac_hdr> 4933 4943 EOF 4934 4944 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4935 { (eval echo configure:49 36: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4945 { (eval echo configure:4946: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4936 4946 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4937 4947 if test -z "$ac_err"; then … … 4972 4982 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4973 4983 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4974 echo "configure:49 75: checking for $ac_hdr" >&54984 echo "configure:4985: checking for $ac_hdr" >&5 4975 4985 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4976 4986 echo $ac_n "(cached) $ac_c" 1>&6 4977 4987 else 4978 4988 cat > conftest.$ac_ext <<EOF 4979 #line 49 80 "configure"4989 #line 4990 "configure" 4980 4990 #include "confdefs.h" 4981 4991 #include <$ac_hdr> 4982 4992 EOF 4983 4993 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4984 { (eval echo configure:49 85: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4994 { (eval echo configure:4995: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4985 4995 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4986 4996 if test -z "$ac_err"; then … … 5055 5065 5056 5066 echo $ac_n "checking which apint package to use""... $ac_c" 1>&6 5057 echo "configure:50 58: checking which apint package to use" >&55067 echo "configure:5068: checking which apint package to use" >&5 5058 5068 if test "${with_apint}" != gmp; then 5059 5069 if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then … … 5078 5088 # 5079 5089 echo $ac_n "checking whether to have MP""... $ac_c" 1>&6 5080 echo "configure:50 81: checking whether to have MP" >&55090 echo "configure:5091: checking whether to have MP" >&5 5081 5091 if test "${with_MP}" != yes && test "${with_MP}" != no; then 5082 5092 if (test "${will_have_gmp}" = yes) && \ … … 5113 5123 5114 5124 echo $ac_n "checking whether to have NTL""... $ac_c" 1>&6 5115 echo "configure:51 16: checking whether to have NTL" >&55125 echo "configure:5126: checking whether to have NTL" >&5 5116 5126 if test "${with_NTL}" = yes ; then 5117 5127 echo "$ac_t""yes" 1>&6 … … 5122 5132 5123 5133 echo $ac_n "checking whether to have factory""... $ac_c" 1>&6 5124 echo "configure:51 25: checking whether to have factory" >&55134 echo "configure:5135: checking whether to have factory" >&5 5125 5135 if test "${with_factory}" != yes && test "${with_factory}" != no; then 5126 5136 if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then … … 5153 5163 5154 5164 echo $ac_n "checking whether to have libfac""... $ac_c" 1>&6 5155 echo "configure:51 56: checking whether to have libfac" >&55165 echo "configure:5166: checking whether to have libfac" >&5 5156 5166 if test "${with_libfac}" != yes && test "${with_libfac}" != no; then 5157 5167 if (test "${will_have_factory}" = yes) && \ … … 5195 5205 5196 5206 echo $ac_n "checking whether to have dbm links""... $ac_c" 1>&6 5197 echo "configure:5 198: checking whether to have dbm links" >&55207 echo "configure:5208: checking whether to have dbm links" >&5 5198 5208 if test "$with_dbm" != no; then 5199 5209 cat >> confdefs.h <<\EOF … … 5207 5217 5208 5218 echo $ac_n "checking whether to have namespaces""... $ac_c" 1>&6 5209 echo "configure:52 10: checking whether to have namespaces" >&55219 echo "configure:5220: checking whether to have namespaces" >&5 5210 5220 if test "$with_namespaces" != no; then 5211 5221 echo "$ac_t""yes" 1>&6 … … 5219 5229 5220 5230 echo $ac_n "checking whether to have dynamic modules""... $ac_c" 1>&6 5221 echo "configure:52 22: checking whether to have dynamic modules" >&55231 echo "configure:5232: checking whether to have dynamic modules" >&5 5222 5232 if test "$with_dynamic_modules" = no || test "$ac_have_dl" != yes; then 5223 5233 echo "$ac_t""no" 1>&6 … … 5231 5241 5232 5242 echo $ac_n "checking whether to have dynamic kernel""... $ac_c" 1>&6 5233 echo "configure:52 34: checking whether to have dynamic kernel" >&55243 echo "configure:5244: checking whether to have dynamic kernel" >&5 5234 5244 if test "$with_dynamic_kernel" != no && test "$ac_lib_dl" = yes; then 5235 5245 DL_KERNEL=1 … … 5241 5251 5242 5252 echo $ac_n "checking whether to have Plural""... $ac_c" 1>&6 5243 echo "configure:52 44: checking whether to have Plural" >&55253 echo "configure:5254: checking whether to have Plural" >&5 5244 5254 if test "$with_Plural" != yes && test "$enable_Plural" != yes; then 5245 5255 echo "$ac_t""no" 1>&6 -
Singular/configure.in
r578ac0 r002517 113 113 CXX=g++ 114 114 fi 115 temp_flags= ${CXXFLAGS}115 temp_flags="${CXXFLAGS}" 116 116 AC_LANG_SAVE 117 117 AC_LANG_CPLUSPLUS … … 124 124 AC_MSG_RESULT(${ac_cv_cxx_have_rtti}) 125 125 if test "${ac_cv_cxx_have_rtti}" != yes; then 126 CXXFLAGS=$temp_flags 127 else 128 CXXFLAGS="${temp_flags} --no-rtti" 126 CXXFLAGS="$temp_flags" 127 else 128 CXXFLAGS="${temp_flags} --no-rtti" 129 temp_flags="${CXXFLAGS}" 129 130 fi 130 131 … … 137 138 AC_MSG_RESULT(${ac_cv_cxx_have_exceptions}) 138 139 if test "${ac_cv_cxx_have_exceptions}" != yes; then 139 CXXFLAGS=$temp_flags 140 else 141 CXXFLAGS="${temp_flags} --no-exceptions" 140 CXXFLAGS="$temp_flags" 141 else 142 CXXFLAGS="${temp_flags} --no-exceptions" 143 temp_flags="${CXXFLAGS}" 142 144 fi 143 145 144 146 AC_LANG_RESTORE 145 CXXFLAGS= $temp_flags147 CXXFLAGS="$temp_flags" 146 148 #here is broking something 147 149 #uncommented breaks CXXFLAGS variable set … … 153 155 then 154 156 AC_MSG_CHECKING(whether compiler accepts -pipe) 155 temp_cflags= ${CFLAGS}157 temp_cflags="${CFLAGS}" 156 158 CFLAGS="${CFLAGS} -pipe" 157 159 AC_CACHE_VAL(ac_cv_cxx_have_pipe, … … 188 190 if test "$ac_cxxflags_set" = no; then 189 191 CXXFLAGS="-O3 -w -fomit-frame-pointer" 192 fi 193 temp_flags="${CXXFLAGS}" 194 if test "${ac_cv_cxx_have_rtti}" = yes; then 195 CXXFLAGS="${temp_flags} --no-rtti" 196 fi 197 temp_flags="${CXXFLAGS}" 198 if test "${ac_cv_cxx_have_exceptions}" = yes; then 199 CXXFLAGS="${temp_flags} --no-exceptions" 190 200 fi 191 201 CXXTEMPLFLAGS="-fno-implicit-templates"
Note: See TracChangeset
for help on using the changeset viewer.