Changeset 104fd23 in git
- Timestamp:
- Dec 12, 2000, 1:37:18 PM (22 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '00e2e9c41af3fde1273eb3633f4c0c7c3db2579d')
- Children:
- c8839774c1058397a14da4aad0dc89c93261c85a
- Parents:
- b2589847732c7342913d983111884aa9b6a193e9
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/configure
rb258984 r104fd23 1207 1207 if test "${GXX}" = yes && test "${ac_cxx_set}" = no; then 1208 1208 CXX=gcc 1209 temp_cflags=${CXXFLAGS} 1210 1211 # check whether gcc accepts --no-rtti 1212 echo $ac_n "checking whether gcc accepts --no-rtti""... $ac_c" 1>&6 1213 echo "configure:1214: checking whether gcc accepts --no-rtti" >&5 1214 CXXFLAGS="${CXXFLAGS} --no-rtti" 1215 if eval "test \"`echo '$''{'ac_cv_cxx_have_rtti'+set}'`\" = set"; then 1216 echo $ac_n "(cached) $ac_c" 1>&6 1217 else 1218 cat > conftest.$ac_ext <<EOF 1219 #line 1220 "configure" 1220 #include "confdefs.h" 1221 1222 int main() { 1223 1224 ; return 0; } 1225 EOF 1226 if { (eval echo configure:1227: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1227 rm -rf conftest* 1228 ac_cv_cxx_have_rtti=yes 1229 else 1230 echo "configure: failed program was:" >&5 1231 cat conftest.$ac_ext >&5 1232 rm -rf conftest* 1233 ac_cv_cxx_have_rtti=no 1234 fi 1235 rm -f conftest* 1236 1237 fi 1238 1239 echo "$ac_t""${ac_cv_cxx_have_rtti}" 1>&6 1240 if test "${ac_cv_cxx_have_rtti}" != yes; then 1241 CXXFLAGS=$temp_flags 1242 else 1243 CXX="${CXX} --no-rtti" 1244 fi 1245 1246 # check whether gcc accepts --no-exceptions 1247 echo $ac_n "checking whether gcc accepts --no-exceptions""... $ac_c" 1>&6 1248 echo "configure:1249: checking whether gcc accepts --no-exceptions" >&5 1249 CXXFLAGS="${CXXFLAGS} --no-exceptions" 1250 if eval "test \"`echo '$''{'ac_cv_cxx_have_exceptions'+set}'`\" = set"; then 1251 echo $ac_n "(cached) $ac_c" 1>&6 1252 else 1253 cat > conftest.$ac_ext <<EOF 1254 #line 1255 "configure" 1255 #include "confdefs.h" 1256 1257 int main() { 1258 1259 ; return 0; } 1260 EOF 1261 if { (eval echo configure:1262: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1262 rm -rf conftest* 1263 ac_cv_cxx_have_exceptions=yes 1264 else 1265 echo "configure: failed program was:" >&5 1266 cat conftest.$ac_ext >&5 1267 rm -rf conftest* 1268 ac_cv_cxx_have_exceptions=no 1269 fi 1270 rm -f conftest* 1271 1272 fi 1273 1274 echo "$ac_t""${ac_cv_cxx_have_exceptions}" 1>&6 1275 if test "${ac_cv_cxx_have_exceptions}" != yes; then 1276 CXXFLAGS=$temp_flags 1277 else 1278 CXX="${CXX} --no-exceptions" 1279 fi 1280 1281 CXXFLAGS=$temp_flags 1282 1209 1283 fi 1210 1284 1211 1285 # check whether the compiler accepts -pipe 1212 1286 echo $ac_n "checking whether compiler accepts -pipe""... $ac_c" 1>&6 1213 echo "configure:12 14: checking whether compiler accepts -pipe" >&51287 echo "configure:1288: checking whether compiler accepts -pipe" >&5 1214 1288 temp_cflags=${CFLAGS} 1215 1289 CFLAGS="${CFLAGS} -pipe" … … 1218 1292 else 1219 1293 cat > conftest.$ac_ext <<EOF 1220 #line 12 21"configure"1294 #line 1295 "configure" 1221 1295 #include "confdefs.h" 1222 1296 … … 1225 1299 ; return 0; } 1226 1300 EOF 1227 if { (eval echo configure:1 228: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1301 if { (eval echo configure:1302: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1228 1302 rm -rf conftest* 1229 1303 ac_cv_cxx_have_pipe=yes … … 1249 1323 # Customize CFLAGS 1250 1324 echo $ac_n "checking whether _AIX is defined""... $ac_c" 1>&6 1251 echo "configure:1 252: checking whether _AIX is defined" >&51325 echo "configure:1326: checking whether _AIX is defined" >&5 1252 1326 if eval "test \"`echo '$''{'ac_cv_is_aix'+set}'`\" = set"; then 1253 1327 echo $ac_n "(cached) $ac_c" 1>&6 1254 1328 else 1255 1329 cat > conftest.$ac_ext <<EOF 1256 #line 1 257"configure"1330 #line 1331 "configure" 1257 1331 #include "confdefs.h" 1258 1332 #ifdef _AIX … … 1305 1379 1306 1380 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 1307 echo "configure:13 08: checking whether ${MAKE-make} sets \${MAKE}" >&51381 echo "configure:1382: checking whether ${MAKE-make} sets \${MAKE}" >&5 1308 1382 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 1309 1383 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 1383 1457 if test "${with_lex+set}" != set; then 1384 1458 echo $ac_n "checking for flex""... $ac_c" 1>&6 1385 echo "configure:1 386: checking for flex" >&51459 echo "configure:1460: checking for flex" >&5 1386 1460 if eval "test \"`echo '$''{'ac_cv_prog_flex'+set}'`\" = set"; then 1387 1461 echo $ac_n "(cached) $ac_c" 1>&6 … … 1414 1488 set dummy $ac_prog; ac_word=$2 1415 1489 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1416 echo "configure:14 17: checking for $ac_word" >&51490 echo "configure:1491: checking for $ac_word" >&5 1417 1491 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then 1418 1492 echo $ac_n "(cached) $ac_c" 1>&6 … … 1454 1528 set dummy $ac_prog; ac_word=$2 1455 1529 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1456 echo "configure:1 457: checking for $ac_word" >&51530 echo "configure:1531: checking for $ac_word" >&5 1457 1531 if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then 1458 1532 echo $ac_n "(cached) $ac_c" 1>&6 … … 1489 1563 # ln -s 1490 1564 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1491 echo "configure:1 492: checking whether ln -s works" >&51565 echo "configure:1566: checking whether ln -s works" >&5 1492 1566 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1493 1567 echo $ac_n "(cached) $ac_c" 1>&6 … … 1515 1589 set dummy $ac_prog; ac_word=$2 1516 1590 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1517 echo "configure:15 18: checking for $ac_word" >&51591 echo "configure:1592: checking for $ac_word" >&5 1518 1592 if eval "test \"`echo '$''{'ac_cv_prog_PERL'+set}'`\" = set"; then 1519 1593 echo $ac_n "(cached) $ac_c" 1>&6 … … 1547 1621 # lib checks 1548 1622 echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6 1549 echo "configure:1 550: checking for atof in -lm" >&51623 echo "configure:1624: checking for atof in -lm" >&5 1550 1624 ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'` 1551 1625 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1555 1629 LIBS="-lm $LIBS" 1556 1630 cat > conftest.$ac_ext <<EOF 1557 #line 1 558"configure"1631 #line 1632 "configure" 1558 1632 #include "confdefs.h" 1559 1633 /* Override any gcc2 internal prototype to avoid an error. */ … … 1566 1640 ; return 0; } 1567 1641 EOF 1568 if { (eval echo configure:1 569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1642 if { (eval echo configure:1643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1569 1643 rm -rf conftest* 1570 1644 eval "ac_cv_lib_$ac_lib_var=yes" … … 1596 1670 LIBS= 1597 1671 echo $ac_n "checking for socket in -lbsd""... $ac_c" 1>&6 1598 echo "configure:1 599: checking for socket in -lbsd" >&51672 echo "configure:1673: checking for socket in -lbsd" >&5 1599 1673 ac_lib_var=`echo bsd'_'socket | sed 'y%./+-%__p_%'` 1600 1674 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1604 1678 LIBS="-lbsd $LIBS" 1605 1679 cat > conftest.$ac_ext <<EOF 1606 #line 16 07"configure"1680 #line 1681 "configure" 1607 1681 #include "confdefs.h" 1608 1682 /* Override any gcc2 internal prototype to avoid an error. */ … … 1615 1689 ; return 0; } 1616 1690 EOF 1617 if { (eval echo configure:16 18: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1691 if { (eval echo configure:1692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1618 1692 rm -rf conftest* 1619 1693 eval "ac_cv_lib_$ac_lib_var=yes" … … 1643 1717 1644 1718 echo $ac_n "checking for listen in -lsocket""... $ac_c" 1>&6 1645 echo "configure:1 646: checking for listen in -lsocket" >&51719 echo "configure:1720: checking for listen in -lsocket" >&5 1646 1720 ac_lib_var=`echo socket'_'listen | sed 'y%./+-%__p_%'` 1647 1721 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1651 1725 LIBS="-lsocket $LIBS" 1652 1726 cat > conftest.$ac_ext <<EOF 1653 #line 1 654"configure"1727 #line 1728 "configure" 1654 1728 #include "confdefs.h" 1655 1729 /* Override any gcc2 internal prototype to avoid an error. */ … … 1662 1736 ; return 0; } 1663 1737 EOF 1664 if { (eval echo configure:1 665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1738 if { (eval echo configure:1739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1665 1739 rm -rf conftest* 1666 1740 eval "ac_cv_lib_$ac_lib_var=yes" … … 1690 1764 1691 1765 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 1692 echo "configure:1 693: checking for gethostbyname in -lnsl" >&51766 echo "configure:1767: checking for gethostbyname in -lnsl" >&5 1693 1767 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 1694 1768 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1698 1772 LIBS="-lnsl $LIBS" 1699 1773 cat > conftest.$ac_ext <<EOF 1700 #line 17 01"configure"1774 #line 1775 "configure" 1701 1775 #include "confdefs.h" 1702 1776 /* Override any gcc2 internal prototype to avoid an error. */ … … 1709 1783 ; return 0; } 1710 1784 EOF 1711 if { (eval echo configure:17 12: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1785 if { (eval echo configure:1786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1712 1786 rm -rf conftest* 1713 1787 eval "ac_cv_lib_$ac_lib_var=yes" … … 1737 1811 1738 1812 echo $ac_n "checking for index in -lucb""... $ac_c" 1>&6 1739 echo "configure:1 740: checking for index in -lucb" >&51813 echo "configure:1814: checking for index in -lucb" >&5 1740 1814 ac_lib_var=`echo ucb'_'index | sed 'y%./+-%__p_%'` 1741 1815 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1745 1819 LIBS="-lucb $LIBS" 1746 1820 cat > conftest.$ac_ext <<EOF 1747 #line 1 748"configure"1821 #line 1822 "configure" 1748 1822 #include "confdefs.h" 1749 1823 /* Override any gcc2 internal prototype to avoid an error. */ … … 1756 1830 ; return 0; } 1757 1831 EOF 1758 if { (eval echo configure:1 759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1832 if { (eval echo configure:1833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1759 1833 rm -rf conftest* 1760 1834 eval "ac_cv_lib_$ac_lib_var=yes" … … 1790 1864 HPUX*) 1791 1865 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 1792 echo "configure:1 793: checking for shl_load in -ldld" >&51866 echo "configure:1867: checking for shl_load in -ldld" >&5 1793 1867 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` 1794 1868 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1798 1872 LIBS="-ldld $LIBS" 1799 1873 cat > conftest.$ac_ext <<EOF 1800 #line 18 01"configure"1874 #line 1875 "configure" 1801 1875 #include "confdefs.h" 1802 1876 /* Override any gcc2 internal prototype to avoid an error. */ … … 1809 1883 ; return 0; } 1810 1884 EOF 1811 if { (eval echo configure:18 12: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1885 if { (eval echo configure:1886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1812 1886 rm -rf conftest* 1813 1887 eval "ac_cv_lib_$ac_lib_var=yes" … … 1845 1919 *Linux*) 1846 1920 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 1847 echo "configure:1 848: checking for dlopen in -ldl" >&51921 echo "configure:1922: checking for dlopen in -ldl" >&5 1848 1922 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` 1849 1923 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1853 1927 LIBS="-ldl $LIBS" 1854 1928 cat > conftest.$ac_ext <<EOF 1855 #line 1 856"configure"1929 #line 1930 "configure" 1856 1930 #include "confdefs.h" 1857 1931 /* Override any gcc2 internal prototype to avoid an error. */ … … 1864 1938 ; return 0; } 1865 1939 EOF 1866 if { (eval echo configure:1 867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1940 if { (eval echo configure:1941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1867 1941 rm -rf conftest* 1868 1942 eval "ac_cv_lib_$ac_lib_var=yes" … … 1906 1980 # heder file checks 1907 1981 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 1908 echo "configure:19 09: checking for ANSI C header files" >&51982 echo "configure:1983: checking for ANSI C header files" >&5 1909 1983 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 1910 1984 echo $ac_n "(cached) $ac_c" 1>&6 1911 1985 else 1912 1986 cat > conftest.$ac_ext <<EOF 1913 #line 19 14"configure"1987 #line 1988 "configure" 1914 1988 #include "confdefs.h" 1915 1989 #include <stdlib.h> … … 1919 1993 EOF 1920 1994 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1921 { (eval echo configure:19 22: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1995 { (eval echo configure:1996: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1922 1996 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1923 1997 if test -z "$ac_err"; then … … 1936 2010 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1937 2011 cat > conftest.$ac_ext <<EOF 1938 #line 1939"configure"2012 #line 2013 "configure" 1939 2013 #include "confdefs.h" 1940 2014 #include <string.h> … … 1954 2028 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1955 2029 cat > conftest.$ac_ext <<EOF 1956 #line 1957"configure"2030 #line 2031 "configure" 1957 2031 #include "confdefs.h" 1958 2032 #include <stdlib.h> … … 1975 2049 else 1976 2050 cat > conftest.$ac_ext <<EOF 1977 #line 1978"configure"2051 #line 2052 "configure" 1978 2052 #include "confdefs.h" 1979 2053 #include <ctype.h> … … 1986 2060 1987 2061 EOF 1988 if { (eval echo configure: 1989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2062 if { (eval echo configure:2063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1989 2063 then 1990 2064 : … … 2013 2087 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2014 2088 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2015 echo "configure:20 16: checking for $ac_hdr" >&52089 echo "configure:2090: checking for $ac_hdr" >&5 2016 2090 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2017 2091 echo $ac_n "(cached) $ac_c" 1>&6 2018 2092 else 2019 2093 cat > conftest.$ac_ext <<EOF 2020 #line 20 21"configure"2094 #line 2095 "configure" 2021 2095 #include "confdefs.h" 2022 2096 #include <$ac_hdr> 2023 2097 EOF 2024 2098 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2025 { (eval echo configure:2 026: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2099 { (eval echo configure:2100: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2026 2100 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2027 2101 if test -z "$ac_err"; then … … 2055 2129 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2056 2130 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2057 echo "configure:2 058: checking for $ac_hdr" >&52131 echo "configure:2132: checking for $ac_hdr" >&5 2058 2132 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2059 2133 echo $ac_n "(cached) $ac_c" 1>&6 2060 2134 else 2061 2135 cat > conftest.$ac_ext <<EOF 2062 #line 2 063"configure"2136 #line 2137 "configure" 2063 2137 #include "confdefs.h" 2064 2138 #include <$ac_hdr> 2065 2139 EOF 2066 2140 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2067 { (eval echo configure:2 068: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2141 { (eval echo configure:2142: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2068 2142 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2069 2143 if test -z "$ac_err"; then … … 2094 2168 # typedefs, structures 2095 2169 echo $ac_n "checking for working const""... $ac_c" 1>&6 2096 echo "configure:2 097: checking for working const" >&52170 echo "configure:2171: checking for working const" >&5 2097 2171 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 2098 2172 echo $ac_n "(cached) $ac_c" 1>&6 2099 2173 else 2100 2174 cat > conftest.$ac_ext <<EOF 2101 #line 21 02"configure"2175 #line 2176 "configure" 2102 2176 #include "confdefs.h" 2103 2177 … … 2148 2222 ; return 0; } 2149 2223 EOF 2150 if { (eval echo configure:2 151: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2224 if { (eval echo configure:2225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2151 2225 rm -rf conftest* 2152 2226 ac_cv_c_const=yes … … 2169 2243 2170 2244 echo $ac_n "checking for inline""... $ac_c" 1>&6 2171 echo "configure:2 172: checking for inline" >&52245 echo "configure:2246: checking for inline" >&5 2172 2246 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 2173 2247 echo $ac_n "(cached) $ac_c" 1>&6 … … 2176 2250 for ac_kw in inline __inline__ __inline; do 2177 2251 cat > conftest.$ac_ext <<EOF 2178 #line 2 179"configure"2252 #line 2253 "configure" 2179 2253 #include "confdefs.h" 2180 2254 … … 2183 2257 ; return 0; } 2184 2258 EOF 2185 if { (eval echo configure:2 186: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2259 if { (eval echo configure:2260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2186 2260 rm -rf conftest* 2187 2261 ac_cv_c_inline=$ac_kw; break … … 2209 2283 2210 2284 echo $ac_n "checking for size_t""... $ac_c" 1>&6 2211 echo "configure:22 12: checking for size_t" >&52285 echo "configure:2286: checking for size_t" >&5 2212 2286 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 2213 2287 echo $ac_n "(cached) $ac_c" 1>&6 2214 2288 else 2215 2289 cat > conftest.$ac_ext <<EOF 2216 #line 22 17"configure"2290 #line 2291 "configure" 2217 2291 #include "confdefs.h" 2218 2292 #include <sys/types.h> … … 2242 2316 2243 2317 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 2244 echo "configure:2 245: checking whether time.h and sys/time.h may both be included" >&52318 echo "configure:2319: checking whether time.h and sys/time.h may both be included" >&5 2245 2319 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 2246 2320 echo $ac_n "(cached) $ac_c" 1>&6 2247 2321 else 2248 2322 cat > conftest.$ac_ext <<EOF 2249 #line 2 250"configure"2323 #line 2324 "configure" 2250 2324 #include "confdefs.h" 2251 2325 #include <sys/types.h> … … 2256 2330 ; return 0; } 2257 2331 EOF 2258 if { (eval echo configure:2 259: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2332 if { (eval echo configure:2333: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2259 2333 rm -rf conftest* 2260 2334 ac_cv_header_time=yes … … 2277 2351 2278 2352 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 2279 echo "configure:2 280: checking whether struct tm is in sys/time.h or time.h" >&52353 echo "configure:2354: checking whether struct tm is in sys/time.h or time.h" >&5 2280 2354 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then 2281 2355 echo $ac_n "(cached) $ac_c" 1>&6 2282 2356 else 2283 2357 cat > conftest.$ac_ext <<EOF 2284 #line 2 285"configure"2358 #line 2359 "configure" 2285 2359 #include "confdefs.h" 2286 2360 #include <sys/types.h> … … 2290 2364 ; return 0; } 2291 2365 EOF 2292 if { (eval echo configure:2 293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2366 if { (eval echo configure:2367: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2293 2367 rm -rf conftest* 2294 2368 ac_cv_struct_tm=time.h … … 2315 2389 # for constant arguments. Useless! 2316 2390 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 2317 echo "configure:23 18: checking for working alloca.h" >&52391 echo "configure:2392: checking for working alloca.h" >&5 2318 2392 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 2319 2393 echo $ac_n "(cached) $ac_c" 1>&6 2320 2394 else 2321 2395 cat > conftest.$ac_ext <<EOF 2322 #line 23 23"configure"2396 #line 2397 "configure" 2323 2397 #include "confdefs.h" 2324 2398 #include <alloca.h> … … 2327 2401 ; return 0; } 2328 2402 EOF 2329 if { (eval echo configure:2 330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2403 if { (eval echo configure:2404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2330 2404 rm -rf conftest* 2331 2405 ac_cv_header_alloca_h=yes … … 2348 2422 2349 2423 echo $ac_n "checking for alloca""... $ac_c" 1>&6 2350 echo "configure:2 351: checking for alloca" >&52424 echo "configure:2425: checking for alloca" >&5 2351 2425 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 2352 2426 echo $ac_n "(cached) $ac_c" 1>&6 2353 2427 else 2354 2428 cat > conftest.$ac_ext <<EOF 2355 #line 2 356"configure"2429 #line 2430 "configure" 2356 2430 #include "confdefs.h" 2357 2431 … … 2381 2455 ; return 0; } 2382 2456 EOF 2383 if { (eval echo configure:2 384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2457 if { (eval echo configure:2458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2384 2458 rm -rf conftest* 2385 2459 ac_cv_func_alloca_works=yes … … 2413 2487 2414 2488 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 2415 echo "configure:24 16: checking whether alloca needs Cray hooks" >&52489 echo "configure:2490: checking whether alloca needs Cray hooks" >&5 2416 2490 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 2417 2491 echo $ac_n "(cached) $ac_c" 1>&6 2418 2492 else 2419 2493 cat > conftest.$ac_ext <<EOF 2420 #line 24 21"configure"2494 #line 2495 "configure" 2421 2495 #include "confdefs.h" 2422 2496 #if defined(CRAY) && ! defined(CRAY2) … … 2443 2517 for ac_func in _getb67 GETB67 getb67; do 2444 2518 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2445 echo "configure:2 446: checking for $ac_func" >&52519 echo "configure:2520: checking for $ac_func" >&5 2446 2520 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2447 2521 echo $ac_n "(cached) $ac_c" 1>&6 2448 2522 else 2449 2523 cat > conftest.$ac_ext <<EOF 2450 #line 2 451"configure"2524 #line 2525 "configure" 2451 2525 #include "confdefs.h" 2452 2526 /* System header to define __stub macros and hopefully few prototypes, … … 2471 2545 ; return 0; } 2472 2546 EOF 2473 if { (eval echo configure:2 474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2547 if { (eval echo configure:2548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2474 2548 rm -rf conftest* 2475 2549 eval "ac_cv_func_$ac_func=yes" … … 2498 2572 2499 2573 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 2500 echo "configure:25 01: checking stack direction for C alloca" >&52574 echo "configure:2575: checking stack direction for C alloca" >&5 2501 2575 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 2502 2576 echo $ac_n "(cached) $ac_c" 1>&6 … … 2506 2580 else 2507 2581 cat > conftest.$ac_ext <<EOF 2508 #line 25 09"configure"2582 #line 2583 "configure" 2509 2583 #include "confdefs.h" 2510 2584 find_stack_direction () … … 2525 2599 } 2526 2600 EOF 2527 if { (eval echo configure:2 528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2601 if { (eval echo configure:2602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2528 2602 then 2529 2603 ac_cv_c_stack_direction=1 … … 2548 2622 if test $ac_cv_prog_gcc = yes; then 2549 2623 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 2550 echo "configure:2 551: checking whether ${CC-cc} needs -traditional" >&52624 echo "configure:2625: checking whether ${CC-cc} needs -traditional" >&5 2551 2625 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then 2552 2626 echo $ac_n "(cached) $ac_c" 1>&6 … … 2554 2628 ac_pattern="Autoconf.*'x'" 2555 2629 cat > conftest.$ac_ext <<EOF 2556 #line 2 557"configure"2630 #line 2631 "configure" 2557 2631 #include "confdefs.h" 2558 2632 #include <sgtty.h> … … 2572 2646 if test $ac_cv_prog_gcc_traditional = no; then 2573 2647 cat > conftest.$ac_ext <<EOF 2574 #line 2 575"configure"2648 #line 2649 "configure" 2575 2649 #include "confdefs.h" 2576 2650 #include <termio.h> … … 2597 2671 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2598 2672 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2599 echo "configure:26 00: checking for $ac_hdr" >&52673 echo "configure:2674: checking for $ac_hdr" >&5 2600 2674 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2601 2675 echo $ac_n "(cached) $ac_c" 1>&6 2602 2676 else 2603 2677 cat > conftest.$ac_ext <<EOF 2604 #line 26 05"configure"2678 #line 2679 "configure" 2605 2679 #include "confdefs.h" 2606 2680 #include <$ac_hdr> 2607 2681 EOF 2608 2682 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2609 { (eval echo configure:26 10: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2683 { (eval echo configure:2684: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2610 2684 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2611 2685 if test -z "$ac_err"; then … … 2636 2710 do 2637 2711 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2638 echo "configure:2 639: checking for $ac_func" >&52712 echo "configure:2713: checking for $ac_func" >&5 2639 2713 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2640 2714 echo $ac_n "(cached) $ac_c" 1>&6 2641 2715 else 2642 2716 cat > conftest.$ac_ext <<EOF 2643 #line 2 644"configure"2717 #line 2718 "configure" 2644 2718 #include "confdefs.h" 2645 2719 /* System header to define __stub macros and hopefully few prototypes, … … 2664 2738 ; return 0; } 2665 2739 EOF 2666 if { (eval echo configure:2 667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2740 if { (eval echo configure:2741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2667 2741 rm -rf conftest* 2668 2742 eval "ac_cv_func_$ac_func=yes" … … 2689 2763 2690 2764 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 2691 echo "configure:2 692: checking for working mmap" >&52765 echo "configure:2766: checking for working mmap" >&5 2692 2766 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 2693 2767 echo $ac_n "(cached) $ac_c" 1>&6 … … 2697 2771 else 2698 2772 cat > conftest.$ac_ext <<EOF 2699 #line 27 00"configure"2773 #line 2774 "configure" 2700 2774 #include "confdefs.h" 2701 2775 … … 2837 2911 2838 2912 EOF 2839 if { (eval echo configure:2 840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2913 if { (eval echo configure:2914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2840 2914 then 2841 2915 ac_cv_func_mmap_fixed_mapped=yes … … 2860 2934 2861 2935 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 2862 echo "configure:2 863: checking return type of signal handlers" >&52936 echo "configure:2937: checking return type of signal handlers" >&5 2863 2937 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then 2864 2938 echo $ac_n "(cached) $ac_c" 1>&6 2865 2939 else 2866 2940 cat > conftest.$ac_ext <<EOF 2867 #line 2 868"configure"2941 #line 2942 "configure" 2868 2942 #include "confdefs.h" 2869 2943 #include <sys/types.h> … … 2882 2956 ; return 0; } 2883 2957 EOF 2884 if { (eval echo configure:2 885: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2958 if { (eval echo configure:2959: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2885 2959 rm -rf conftest* 2886 2960 ac_cv_type_signal=void … … 2901 2975 2902 2976 echo $ac_n "checking for vprintf""... $ac_c" 1>&6 2903 echo "configure:29 04: checking for vprintf" >&52977 echo "configure:2978: checking for vprintf" >&5 2904 2978 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then 2905 2979 echo $ac_n "(cached) $ac_c" 1>&6 2906 2980 else 2907 2981 cat > conftest.$ac_ext <<EOF 2908 #line 29 09"configure"2982 #line 2983 "configure" 2909 2983 #include "confdefs.h" 2910 2984 /* System header to define __stub macros and hopefully few prototypes, … … 2929 3003 ; return 0; } 2930 3004 EOF 2931 if { (eval echo configure: 2932: \"$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 2932 3006 rm -rf conftest* 2933 3007 eval "ac_cv_func_vprintf=yes" … … 2953 3027 if test "$ac_cv_func_vprintf" != yes; then 2954 3028 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 2955 echo "configure: 2956: checking for _doprnt" >&53029 echo "configure:3030: checking for _doprnt" >&5 2956 3030 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then 2957 3031 echo $ac_n "(cached) $ac_c" 1>&6 2958 3032 else 2959 3033 cat > conftest.$ac_ext <<EOF 2960 #line 2961"configure"3034 #line 3035 "configure" 2961 3035 #include "confdefs.h" 2962 3036 /* System header to define __stub macros and hopefully few prototypes, … … 2981 3055 ; return 0; } 2982 3056 EOF 2983 if { (eval echo configure: 2984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3057 if { (eval echo configure:3058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2984 3058 rm -rf conftest* 2985 3059 eval "ac_cv_func__doprnt=yes" … … 3008 3082 do 3009 3083 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3010 echo "configure:30 11: checking for $ac_func" >&53084 echo "configure:3085: checking for $ac_func" >&5 3011 3085 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3012 3086 echo $ac_n "(cached) $ac_c" 1>&6 3013 3087 else 3014 3088 cat > conftest.$ac_ext <<EOF 3015 #line 30 16"configure"3089 #line 3090 "configure" 3016 3090 #include "confdefs.h" 3017 3091 /* System header to define __stub macros and hopefully few prototypes, … … 3036 3110 ; return 0; } 3037 3111 EOF 3038 if { (eval echo configure:3 039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3112 if { (eval echo configure:3113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3039 3113 rm -rf conftest* 3040 3114 eval "ac_cv_func_$ac_func=yes" … … 3064 3138 # arithmetic shifts 3065 3139 echo $ac_n "checking whether your machine has correct arithmetic shifts""... $ac_c" 1>&6 3066 echo "configure:3 067: checking whether your machine has correct arithmetic shifts" >&53140 echo "configure:3141: checking whether your machine has correct arithmetic shifts" >&5 3067 3141 if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then 3068 3142 echo $ac_n "(cached) $ac_c" 1>&6 … … 3077 3151 else 3078 3152 cat > conftest.$ac_ext <<EOF 3079 #line 3 080"configure"3153 #line 3154 "configure" 3080 3154 #include "confdefs.h" 3081 3155 int main() { if (-2 >> 1 == -1) exit(0); else exit(1); } 3082 3156 EOF 3083 if { (eval echo configure:3 084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3157 if { (eval echo configure:3158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3084 3158 then 3085 3159 ac_cv_shift=yes … … 3106 3180 # check for a peculiar constructor initialization 3107 3181 echo $ac_n "checking whether explicit C++ constructor calls are allowed""... $ac_c" 1>&6 3108 echo "configure:31 09: checking whether explicit C++ constructor calls are allowed" >&53182 echo "configure:3183: checking whether explicit C++ constructor calls are allowed" >&5 3109 3183 3110 3184 ac_ext=C … … 3119 3193 else 3120 3194 cat > conftest.$ac_ext <<EOF 3121 #line 31 22"configure"3195 #line 3196 "configure" 3122 3196 #include "confdefs.h" 3123 3197 … … 3137 3211 ; return 0; } 3138 3212 EOF 3139 if { (eval echo configure:3 140: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3213 if { (eval echo configure:3214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3140 3214 rm -rf conftest* 3141 3215 ac_cv_explicit_const=yes … … 3166 3240 # sprintf returns number of printed chars 3167 3241 echo $ac_n "checking whether vsprintf returns number of printed chars""... $ac_c" 1>&6 3168 echo "configure:3 169: checking whether vsprintf returns number of printed chars" >&53242 echo "configure:3243: checking whether vsprintf returns number of printed chars" >&5 3169 3243 if eval "test \"`echo '$''{'ac_cv_returns_n_of_chars'+set}'`\" = set"; then 3170 3244 echo $ac_n "(cached) $ac_c" 1>&6 … … 3174 3248 else 3175 3249 cat > conftest.$ac_ext <<EOF 3176 #line 3 177"configure"3250 #line 3251 "configure" 3177 3251 #include "confdefs.h" 3178 3252 #include <stdio.h> 3179 3253 main() { char *str=(char*)malloc(20); if (((int) sprintf(str,"123456789")) == 9) exit(0); else exit(1); } 3180 3254 EOF 3181 if { (eval echo configure:3 182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3255 if { (eval echo configure:3256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3182 3256 then 3183 3257 ac_cv_returns_n_of_chars=yes … … 3205 3279 # determine ALIGN_8 3206 3280 echo $ac_n "checking size of char""... $ac_c" 1>&6 3207 echo "configure:32 08: checking size of char" >&53281 echo "configure:3282: checking size of char" >&5 3208 3282 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then 3209 3283 echo $ac_n "(cached) $ac_c" 1>&6 … … 3213 3287 else 3214 3288 cat > conftest.$ac_ext <<EOF 3215 #line 32 16"configure"3289 #line 3290 "configure" 3216 3290 #include "confdefs.h" 3217 3291 #include <stdio.h> … … 3224 3298 } 3225 3299 EOF 3226 if { (eval echo configure:3 227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3300 if { (eval echo configure:3301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3227 3301 then 3228 3302 ac_cv_sizeof_char=`cat conftestval` … … 3244 3318 3245 3319 echo $ac_n "checking size of short""... $ac_c" 1>&6 3246 echo "configure:3 247: checking size of short" >&53320 echo "configure:3321: checking size of short" >&5 3247 3321 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then 3248 3322 echo $ac_n "(cached) $ac_c" 1>&6 … … 3252 3326 else 3253 3327 cat > conftest.$ac_ext <<EOF 3254 #line 3 255"configure"3328 #line 3329 "configure" 3255 3329 #include "confdefs.h" 3256 3330 #include <stdio.h> … … 3263 3337 } 3264 3338 EOF 3265 if { (eval echo configure:3 266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3339 if { (eval echo configure:3340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3266 3340 then 3267 3341 ac_cv_sizeof_short=`cat conftestval` … … 3283 3357 3284 3358 echo $ac_n "checking size of int""... $ac_c" 1>&6 3285 echo "configure:3 286: checking size of int" >&53359 echo "configure:3360: checking size of int" >&5 3286 3360 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then 3287 3361 echo $ac_n "(cached) $ac_c" 1>&6 … … 3291 3365 else 3292 3366 cat > conftest.$ac_ext <<EOF 3293 #line 3 294"configure"3367 #line 3368 "configure" 3294 3368 #include "confdefs.h" 3295 3369 #include <stdio.h> … … 3302 3376 } 3303 3377 EOF 3304 if { (eval echo configure:33 05: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3378 if { (eval echo configure:3379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3305 3379 then 3306 3380 ac_cv_sizeof_int=`cat conftestval` … … 3322 3396 3323 3397 echo $ac_n "checking size of long""... $ac_c" 1>&6 3324 echo "configure:33 25: checking size of long" >&53398 echo "configure:3399: checking size of long" >&5 3325 3399 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then 3326 3400 echo $ac_n "(cached) $ac_c" 1>&6 … … 3330 3404 else 3331 3405 cat > conftest.$ac_ext <<EOF 3332 #line 3 333"configure"3406 #line 3407 "configure" 3333 3407 #include "confdefs.h" 3334 3408 #include <stdio.h> … … 3341 3415 } 3342 3416 EOF 3343 if { (eval echo configure:3 344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3417 if { (eval echo configure:3418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3344 3418 then 3345 3419 ac_cv_sizeof_long=`cat conftestval` … … 3361 3435 3362 3436 echo $ac_n "checking size of void*""... $ac_c" 1>&6 3363 echo "configure:3 364: checking size of void*" >&53437 echo "configure:3438: checking size of void*" >&5 3364 3438 if eval "test \"`echo '$''{'ac_cv_sizeof_voidp'+set}'`\" = set"; then 3365 3439 echo $ac_n "(cached) $ac_c" 1>&6 … … 3369 3443 else 3370 3444 cat > conftest.$ac_ext <<EOF 3371 #line 3 372"configure"3445 #line 3446 "configure" 3372 3446 #include "confdefs.h" 3373 3447 #include <stdio.h> … … 3380 3454 } 3381 3455 EOF 3382 if { (eval echo configure:3 383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3456 if { (eval echo configure:3457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3383 3457 then 3384 3458 ac_cv_sizeof_voidp=`cat conftestval` … … 3400 3474 3401 3475 echo $ac_n "checking size of double""... $ac_c" 1>&6 3402 echo "configure:34 03: checking size of double" >&53476 echo "configure:3477: checking size of double" >&5 3403 3477 if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then 3404 3478 echo $ac_n "(cached) $ac_c" 1>&6 … … 3408 3482 else 3409 3483 cat > conftest.$ac_ext <<EOF 3410 #line 34 11"configure"3484 #line 3485 "configure" 3411 3485 #include "confdefs.h" 3412 3486 #include <stdio.h> … … 3419 3493 } 3420 3494 EOF 3421 if { (eval echo configure:34 22: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3495 if { (eval echo configure:3496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3422 3496 then 3423 3497 ac_cv_sizeof_double=`cat conftestval` … … 3439 3513 3440 3514 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 3441 echo "configure:3 442: checking whether byte ordering is bigendian" >&53515 echo "configure:3516: checking whether byte ordering is bigendian" >&5 3442 3516 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then 3443 3517 echo $ac_n "(cached) $ac_c" 1>&6 … … 3446 3520 # See if sys/param.h defines the BYTE_ORDER macro. 3447 3521 cat > conftest.$ac_ext <<EOF 3448 #line 3 449"configure"3522 #line 3523 "configure" 3449 3523 #include "confdefs.h" 3450 3524 #include <sys/types.h> … … 3457 3531 ; return 0; } 3458 3532 EOF 3459 if { (eval echo configure:3 460: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3533 if { (eval echo configure:3534: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3460 3534 rm -rf conftest* 3461 3535 # It does; now see whether it defined to BIG_ENDIAN or not. 3462 3536 cat > conftest.$ac_ext <<EOF 3463 #line 3 464"configure"3537 #line 3538 "configure" 3464 3538 #include "confdefs.h" 3465 3539 #include <sys/types.h> … … 3472 3546 ; return 0; } 3473 3547 EOF 3474 if { (eval echo configure:3 475: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3548 if { (eval echo configure:3549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3475 3549 rm -rf conftest* 3476 3550 ac_cv_c_bigendian=yes … … 3492 3566 else 3493 3567 cat > conftest.$ac_ext <<EOF 3494 #line 3 495"configure"3568 #line 3569 "configure" 3495 3569 #include "confdefs.h" 3496 3570 main () { … … 3505 3579 } 3506 3580 EOF 3507 if { (eval echo configure:35 08: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3581 if { (eval echo configure:3582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3508 3582 then 3509 3583 ac_cv_c_bigendian=no … … 3623 3697 3624 3698 echo $ac_n "checking whether to use dynamic linking""... $ac_c" 1>&6 3625 echo "configure:3 626: checking whether to use dynamic linking" >&53699 echo "configure:3700: checking whether to use dynamic linking" >&5 3626 3700 if test "$with_dl" != no && test "$ac_lib_dl" = yes; then 3627 3701 cat >> confdefs.h <<\EOF … … 3636 3710 3637 3711 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 3638 echo "configure:3 639: checking for tgetent in -lncurses" >&53712 echo "configure:3713: checking for tgetent in -lncurses" >&5 3639 3713 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` 3640 3714 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3644 3718 LIBS="-lncurses $LIBS" 3645 3719 cat > conftest.$ac_ext <<EOF 3646 #line 3 647"configure"3720 #line 3721 "configure" 3647 3721 #include "confdefs.h" 3648 3722 /* Override any gcc2 internal prototype to avoid an error. */ … … 3655 3729 ; return 0; } 3656 3730 EOF 3657 if { (eval echo configure:3 658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3731 if { (eval echo configure:3732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3658 3732 rm -rf conftest* 3659 3733 eval "ac_cv_lib_$ac_lib_var=yes" … … 3682 3756 \ 3683 3757 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 3684 echo "configure:3 685: checking for tgetent in -lcurses" >&53758 echo "configure:3759: checking for tgetent in -lcurses" >&5 3685 3759 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` 3686 3760 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3690 3764 LIBS="-lcurses $LIBS" 3691 3765 cat > conftest.$ac_ext <<EOF 3692 #line 3 693"configure"3766 #line 3767 "configure" 3693 3767 #include "confdefs.h" 3694 3768 /* Override any gcc2 internal prototype to avoid an error. */ … … 3701 3775 ; return 0; } 3702 3776 EOF 3703 if { (eval echo configure:37 04: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3777 if { (eval echo configure:3778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3704 3778 rm -rf conftest* 3705 3779 eval "ac_cv_lib_$ac_lib_var=yes" … … 3728 3802 \ 3729 3803 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 3730 echo "configure:3 731: checking for tgetent in -ltermcap" >&53804 echo "configure:3805: checking for tgetent in -ltermcap" >&5 3731 3805 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` 3732 3806 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3736 3810 LIBS="-ltermcap $LIBS" 3737 3811 cat > conftest.$ac_ext <<EOF 3738 #line 3 739"configure"3812 #line 3813 "configure" 3739 3813 #include "confdefs.h" 3740 3814 /* Override any gcc2 internal prototype to avoid an error. */ … … 3747 3821 ; return 0; } 3748 3822 EOF 3749 if { (eval echo configure:3 750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3823 if { (eval echo configure:3824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3750 3824 rm -rf conftest* 3751 3825 eval "ac_cv_lib_$ac_lib_var=yes" … … 3796 3870 3797 3871 echo $ac_n "checking for rl_abort in -lreadline""... $ac_c" 1>&6 3798 echo "configure:3 799: checking for rl_abort in -lreadline" >&53872 echo "configure:3873: checking for rl_abort in -lreadline" >&5 3799 3873 ac_lib_var=`echo readline'_'rl_abort | sed 'y%./+-%__p_%'` 3800 3874 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3804 3878 LIBS="-lreadline $LIBS" 3805 3879 cat > conftest.$ac_ext <<EOF 3806 #line 38 07"configure"3880 #line 3881 "configure" 3807 3881 #include "confdefs.h" 3808 3882 /* Override any gcc2 internal prototype to avoid an error. */ … … 3818 3892 ; return 0; } 3819 3893 EOF 3820 if { (eval echo configure:38 21: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3894 if { (eval echo configure:3895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3821 3895 rm -rf conftest* 3822 3896 eval "ac_cv_lib_$ac_lib_var=yes" … … 3846 3920 3847 3921 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6 3848 echo "configure:3 849: checking how to run the C++ preprocessor" >&53922 echo "configure:3923: checking how to run the C++ preprocessor" >&5 3849 3923 if test -z "$CXXCPP"; then 3850 3924 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then … … 3859 3933 CXXCPP="${CXX-g++} -E" 3860 3934 cat > conftest.$ac_ext <<EOF 3861 #line 3 862"configure"3935 #line 3936 "configure" 3862 3936 #include "confdefs.h" 3863 3937 #include <stdlib.h> 3864 3938 EOF 3865 3939 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3866 { (eval echo configure:3 867: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3940 { (eval echo configure:3941: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3867 3941 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3868 3942 if test -z "$ac_err"; then … … 3892 3966 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3893 3967 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3894 echo "configure:3 895: checking for $ac_hdr" >&53968 echo "configure:3969: checking for $ac_hdr" >&5 3895 3969 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3896 3970 echo $ac_n "(cached) $ac_c" 1>&6 3897 3971 else 3898 3972 cat > conftest.$ac_ext <<EOF 3899 #line 39 00"configure"3973 #line 3974 "configure" 3900 3974 #include "confdefs.h" 3901 3975 #include <$ac_hdr> 3902 3976 EOF 3903 3977 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3904 { (eval echo configure:39 05: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3978 { (eval echo configure:3979: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3905 3979 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3906 3980 if test -z "$ac_err"; then … … 3931 4005 test "$ac_cv_header_readline_readline_h" = yes; then 3932 4006 echo $ac_n "checking whether readline.h is ok""... $ac_c" 1>&6 3933 echo "configure: 3934: checking whether readline.h is ok" >&54007 echo "configure:4008: checking whether readline.h is ok" >&5 3934 4008 if eval "test \"`echo '$''{'ac_cv_header_readline_readline_h_ok'+set}'`\" = set"; then 3935 4009 echo $ac_n "(cached) $ac_c" 1>&6 3936 4010 else 3937 4011 cat > conftest.$ac_ext <<EOF 3938 #line 3939"configure"4012 #line 4013 "configure" 3939 4013 #include "confdefs.h" 3940 4014 #include<unistd.h> … … 3961 4035 ; return 0; } 3962 4036 EOF 3963 if { (eval echo configure: 3964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4037 if { (eval echo configure:4038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3964 4038 rm -rf conftest* 3965 4039 ac_cv_header_readline_readline_h_ok="yes" … … 3977 4051 #not ok -- try once more with explicitly declaring everything 3978 4052 echo $ac_n "checking whether or not we nevertheless can use readline""... $ac_c" 1>&6 3979 echo "configure: 3980: checking whether or not we nevertheless can use readline" >&54053 echo "configure:4054: checking whether or not we nevertheless can use readline" >&5 3980 4054 if eval "test \"`echo '$''{'ac_cv_have_readline'+set}'`\" = set"; then 3981 4055 echo $ac_n "(cached) $ac_c" 1>&6 3982 4056 else 3983 4057 cat > conftest.$ac_ext <<EOF 3984 #line 3985"configure"4058 #line 4059 "configure" 3985 4059 #include "confdefs.h" 3986 4060 #include <stdio.h> … … 4016 4090 ; return 0; } 4017 4091 EOF 4018 if { (eval echo configure:40 19: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4092 if { (eval echo configure:4093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4019 4093 rm -rf conftest* 4020 4094 ac_cv_have_readline="yes" … … 4055 4129 4056 4130 echo $ac_n "checking which readline to use""... $ac_c" 1>&6 4057 echo "configure:4 058: checking which readline to use" >&54131 echo "configure:4132: checking which readline to use" >&5 4058 4132 if test "$ac_cv_with_readline" = dynamic; then 4059 4133 echo "$ac_t""dynamic" 1>&6 … … 4073 4147 # gmp, smallgmp, MP, MPT, factory, libfac 4074 4148 echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6 4075 echo "configure:4 076: checking for main in -lgmp" >&54149 echo "configure:4150: checking for main in -lgmp" >&5 4076 4150 ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'` 4077 4151 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4081 4155 LIBS="-lgmp $LIBS" 4082 4156 cat > conftest.$ac_ext <<EOF 4083 #line 4 084"configure"4157 #line 4158 "configure" 4084 4158 #include "confdefs.h" 4085 4159 … … 4088 4162 ; return 0; } 4089 4163 EOF 4090 if { (eval echo configure:4 091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4164 if { (eval echo configure:4165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4091 4165 rm -rf conftest* 4092 4166 eval "ac_cv_lib_$ac_lib_var=yes" … … 4119 4193 fi 4120 4194 echo $ac_n "checking for main in -lsmallgmp""... $ac_c" 1>&6 4121 echo "configure:41 22: checking for main in -lsmallgmp" >&54195 echo "configure:4196: checking for main in -lsmallgmp" >&5 4122 4196 ac_lib_var=`echo smallgmp'_'main | sed 'y%./+-%__p_%'` 4123 4197 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4127 4201 LIBS="-lsmallgmp $LIBS" 4128 4202 cat > conftest.$ac_ext <<EOF 4129 #line 4 130"configure"4203 #line 4204 "configure" 4130 4204 #include "confdefs.h" 4131 4205 … … 4134 4208 ; return 0; } 4135 4209 EOF 4136 if { (eval echo configure:4 137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4210 if { (eval echo configure:4211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4137 4211 rm -rf conftest* 4138 4212 eval "ac_cv_lib_$ac_lib_var=yes" … … 4163 4237 SAVE_LIBS=$LIBS 4164 4238 echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6 4165 echo "configure:4 166: checking for IMP_PutGmpInt in -lMP" >&54239 echo "configure:4240: checking for IMP_PutGmpInt in -lMP" >&5 4166 4240 ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'` 4167 4241 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4171 4245 LIBS="-lMP $MP_LIBS $LIBS" 4172 4246 cat > conftest.$ac_ext <<EOF 4173 #line 4 174"configure"4247 #line 4248 "configure" 4174 4248 #include "confdefs.h" 4175 4249 /* Override any gcc2 internal prototype to avoid an error. */ … … 4182 4256 ; return 0; } 4183 4257 EOF 4184 if { (eval echo configure:4 185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4258 if { (eval echo configure:4259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4185 4259 rm -rf conftest* 4186 4260 eval "ac_cv_lib_$ac_lib_var=yes" … … 4210 4284 4211 4285 echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6 4212 echo "configure:42 13: checking for MPT_GetTree in -lMPT" >&54286 echo "configure:4287: checking for MPT_GetTree in -lMPT" >&5 4213 4287 ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'` 4214 4288 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4218 4292 LIBS="-lMPT $MP_LIBS $LIBS" 4219 4293 cat > conftest.$ac_ext <<EOF 4220 #line 42 21"configure"4294 #line 4295 "configure" 4221 4295 #include "confdefs.h" 4222 4296 /* Override any gcc2 internal prototype to avoid an error. */ … … 4229 4303 ; return 0; } 4230 4304 EOF 4231 if { (eval echo configure:4 232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4305 if { (eval echo configure:4306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4232 4306 rm -rf conftest* 4233 4307 eval "ac_cv_lib_$ac_lib_var=yes" … … 4258 4332 LIBS=$SAVE_LIBS 4259 4333 echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6 4260 echo "configure:4 261: checking for atof in -lsingcf" >&54334 echo "configure:4335: checking for atof in -lsingcf" >&5 4261 4335 ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'` 4262 4336 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4266 4340 LIBS="-lsingcf $LIBS" 4267 4341 cat > conftest.$ac_ext <<EOF 4268 #line 4 269"configure"4342 #line 4343 "configure" 4269 4343 #include "confdefs.h" 4270 4344 /* Override any gcc2 internal prototype to avoid an error. */ … … 4277 4351 ; return 0; } 4278 4352 EOF 4279 if { (eval echo configure:4 280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4353 if { (eval echo configure:4354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4280 4354 rm -rf conftest* 4281 4355 eval "ac_cv_lib_$ac_lib_var=yes" … … 4305 4379 4306 4380 echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6 4307 echo "configure:43 08: checking for atof in -lsingfac" >&54381 echo "configure:4382: checking for atof in -lsingfac" >&5 4308 4382 ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'` 4309 4383 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4313 4387 LIBS="-lsingfac $LIBS" 4314 4388 cat > conftest.$ac_ext <<EOF 4315 #line 43 16"configure"4389 #line 4390 "configure" 4316 4390 #include "confdefs.h" 4317 4391 /* Override any gcc2 internal prototype to avoid an error. */ … … 4324 4398 ; return 0; } 4325 4399 EOF 4326 if { (eval echo configure:4 327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4400 if { (eval echo configure:4401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4327 4401 rm -rf conftest* 4328 4402 eval "ac_cv_lib_$ac_lib_var=yes" … … 4352 4426 4353 4427 echo $ac_n "checking for omTestAddr in -lomalloc""... $ac_c" 1>&6 4354 echo "configure:4 355: checking for omTestAddr in -lomalloc" >&54428 echo "configure:4429: checking for omTestAddr in -lomalloc" >&5 4355 4429 ac_lib_var=`echo omalloc'_'omTestAddr | sed 'y%./+-%__p_%'` 4356 4430 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4360 4434 LIBS="-lomalloc $LIBS" 4361 4435 cat > conftest.$ac_ext <<EOF 4362 #line 4 363"configure"4436 #line 4437 "configure" 4363 4437 #include "confdefs.h" 4364 4438 /* Override any gcc2 internal prototype to avoid an error. */ … … 4371 4445 ; return 0; } 4372 4446 EOF 4373 if { (eval echo configure:4 374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4447 if { (eval echo configure:4448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4374 4448 rm -rf conftest* 4375 4449 eval "ac_cv_lib_$ac_lib_var=yes" … … 4399 4473 4400 4474 echo $ac_n "checking for main in -lomalloc_ndebug""... $ac_c" 1>&6 4401 echo "configure:44 02: checking for main in -lomalloc_ndebug" >&54475 echo "configure:4476: checking for main in -lomalloc_ndebug" >&5 4402 4476 ac_lib_var=`echo omalloc_ndebug'_'main | sed 'y%./+-%__p_%'` 4403 4477 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4407 4481 LIBS="-lomalloc_ndebug $LIBS" 4408 4482 cat > conftest.$ac_ext <<EOF 4409 #line 44 10"configure"4483 #line 4484 "configure" 4410 4484 #include "confdefs.h" 4411 4485 … … 4414 4488 ; return 0; } 4415 4489 EOF 4416 if { (eval echo configure:44 17: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4490 if { (eval echo configure:4491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4417 4491 rm -rf conftest* 4418 4492 eval "ac_cv_lib_$ac_lib_var=yes" … … 4446 4520 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4447 4521 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4448 echo "configure:4 449: checking for $ac_hdr" >&54522 echo "configure:4523: checking for $ac_hdr" >&5 4449 4523 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4450 4524 echo $ac_n "(cached) $ac_c" 1>&6 4451 4525 else 4452 4526 cat > conftest.$ac_ext <<EOF 4453 #line 4 454"configure"4527 #line 4528 "configure" 4454 4528 #include "confdefs.h" 4455 4529 #include <$ac_hdr> 4456 4530 EOF 4457 4531 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4458 { (eval echo configure:4 459: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4532 { (eval echo configure:4533: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4459 4533 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4460 4534 if test -z "$ac_err"; then … … 4525 4599 4526 4600 echo $ac_n "checking which apint package to use""... $ac_c" 1>&6 4527 echo "configure:4 528: checking which apint package to use" >&54601 echo "configure:4602: checking which apint package to use" >&5 4528 4602 if test "${with_apint}" != gmp && test "${with_apint}" != smallgmp; then 4529 4603 if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then … … 4567 4641 # 4568 4642 echo $ac_n "checking whether to have MP""... $ac_c" 1>&6 4569 echo "configure:4 570: checking whether to have MP" >&54643 echo "configure:4644: checking whether to have MP" >&5 4570 4644 if test "${with_MP}" != yes && test "${with_MP}" != no; then 4571 4645 if (test "${will_have_gmp}" = yes) && \ … … 4602 4676 4603 4677 echo $ac_n "checking whether to have factory""... $ac_c" 1>&6 4604 echo "configure:46 05: checking whether to have factory" >&54678 echo "configure:4679: checking whether to have factory" >&5 4605 4679 if test "${with_factory}" != yes && test "${with_factory}" != no; then 4606 4680 if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then … … 4633 4707 4634 4708 echo $ac_n "checking whether to have libfac""... $ac_c" 1>&6 4635 echo "configure:4 636: checking whether to have libfac" >&54709 echo "configure:4710: checking whether to have libfac" >&5 4636 4710 if test "${with_libfac}" != yes && test "${with_libfac}" != no; then 4637 4711 if (test "${will_have_factory}" = yes) && \ … … 4667 4741 4668 4742 echo $ac_n "checking whether to have dbm links""... $ac_c" 1>&6 4669 echo "configure:4 670: checking whether to have dbm links" >&54743 echo "configure:4744: checking whether to have dbm links" >&5 4670 4744 if test "$with_dbm" != no; then 4671 4745 cat >> confdefs.h <<\EOF … … 4679 4753 4680 4754 echo $ac_n "checking whether to have namespaces""... $ac_c" 1>&6 4681 echo "configure:4 682: checking whether to have namespaces" >&54755 echo "configure:4756: checking whether to have namespaces" >&5 4682 4756 if test "$with_namespaces" != yes; then 4683 4757 echo "$ac_t""no" 1>&6 … … 4691 4765 4692 4766 echo $ac_n "checking whether to have dynamic modules""... $ac_c" 1>&6 4693 echo "configure:4 694: checking whether to have dynamic modules" >&54767 echo "configure:4768: checking whether to have dynamic modules" >&5 4694 4768 if test "$with_dynamic_modules" != yes || test "$ac_have_dl" != yes; then 4695 4769 echo "$ac_t""no" 1>&6 … … 4703 4777 4704 4778 echo $ac_n "checking whether to have dynamic kernel""... $ac_c" 1>&6 4705 echo "configure:47 06: checking whether to have dynamic kernel" >&54779 echo "configure:4780: checking whether to have dynamic kernel" >&5 4706 4780 if test "$with_dynamic_kernel" != no && test "$ac_lib_dl" = yes; then 4707 4781 DL_KERNEL=1 … … 4711 4785 4712 4786 echo $ac_n "checking whether to have Plural""... $ac_c" 1>&6 4713 echo "configure:47 14: checking whether to have Plural" >&54787 echo "configure:4788: checking whether to have Plural" >&5 4714 4788 if test "$with_plural" != yes; then 4715 4789 echo "$ac_t""no" 1>&6 -
Singular/configure.in
rb258984 r104fd23 96 96 if test "${GXX}" = yes && test "${ac_cxx_set}" = no; then 97 97 CXX=gcc 98 temp_cflags=${CXXFLAGS} 99 100 # check whether gcc accepts --no-rtti 101 AC_MSG_CHECKING(whether gcc accepts --no-rtti) 102 CXXFLAGS="${CXXFLAGS} --no-rtti" 103 AC_CACHE_VAL(ac_cv_cxx_have_rtti, 104 AC_TRY_COMPILE(,,ac_cv_cxx_have_rtti=yes,ac_cv_cxx_have_rtti=no) 105 ) 106 AC_MSG_RESULT(${ac_cv_cxx_have_rtti}) 107 if test "${ac_cv_cxx_have_rtti}" != yes; then 108 CXXFLAGS=$temp_flags 109 else 110 CXX="${CXX} --no-rtti" 111 fi 112 113 # check whether gcc accepts --no-exceptions 114 AC_MSG_CHECKING(whether gcc accepts --no-exceptions) 115 CXXFLAGS="${CXXFLAGS} --no-exceptions" 116 AC_CACHE_VAL(ac_cv_cxx_have_exceptions, 117 AC_TRY_COMPILE(,,ac_cv_cxx_have_exceptions=yes,ac_cv_cxx_have_exceptions=no) 118 ) 119 AC_MSG_RESULT(${ac_cv_cxx_have_exceptions}) 120 if test "${ac_cv_cxx_have_exceptions}" != yes; then 121 CXXFLAGS=$temp_flags 122 else 123 CXX="${CXX} --no-exceptions" 124 fi 125 126 CXXFLAGS=$temp_flags 127 98 128 fi 99 129 -
factory/configure
rb258984 r104fd23 1088 1088 (instead of the configure default \`-g -O')" 1>&2 1089 1089 fi 1090 1091 # check whether CXX accepts --no-rtti 1092 echo $ac_n "checking whether gcc accepts --no-rtti""... $ac_c" 1>&6 1093 echo "configure:1094: checking whether gcc accepts --no-rtti" >&5 1094 CXXFLAGS="${CXXFLAGS} --no-rtti" 1095 if eval "test \"`echo '$''{'ac_cv_cxx_have_rtti'+set}'`\" = set"; then 1096 echo $ac_n "(cached) $ac_c" 1>&6 1097 else 1098 cat > conftest.$ac_ext <<EOF 1099 #line 1100 "configure" 1100 #include "confdefs.h" 1101 1102 int main() { 1103 1104 ; return 0; } 1105 EOF 1106 if { (eval echo configure:1107: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1107 rm -rf conftest* 1108 ac_cv_cxx_have_rtti=yes 1109 else 1110 echo "configure: failed program was:" >&5 1111 cat conftest.$ac_ext >&5 1112 rm -rf conftest* 1113 ac_cv_cxx_have_rtti=no 1114 fi 1115 rm -f conftest* 1116 1117 fi 1118 1119 echo "$ac_t""${ac_cv_cxx_have_rtti}" 1>&6 1120 if test "${ac_cv_cxx_have_rtti}" != yes; then 1121 CXXFLAGS=$temp_flags 1122 else 1123 CXX="${CXX} --no-rtti" 1124 fi 1125 1126 # check whether gcc accepts --no-exceptions 1127 echo $ac_n "checking whether gcc accepts --no-exceptions""... $ac_c" 1>&6 1128 echo "configure:1129: checking whether gcc accepts --no-exceptions" >&5 1129 CXXFLAGS="${CXXFLAGS} --no-exceptions" 1130 if eval "test \"`echo '$''{'ac_cv_cxx_have_exceptions'+set}'`\" = set"; then 1131 echo $ac_n "(cached) $ac_c" 1>&6 1132 else 1133 cat > conftest.$ac_ext <<EOF 1134 #line 1135 "configure" 1135 #include "confdefs.h" 1136 1137 int main() { 1138 1139 ; return 0; } 1140 EOF 1141 if { (eval echo configure:1142: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1142 rm -rf conftest* 1143 ac_cv_cxx_have_exceptions=yes 1144 else 1145 echo "configure: failed program was:" >&5 1146 cat conftest.$ac_ext >&5 1147 rm -rf conftest* 1148 ac_cv_cxx_have_exceptions=no 1149 fi 1150 rm -f conftest* 1151 1152 fi 1153 1154 echo "$ac_t""${ac_cv_cxx_have_exceptions}" 1>&6 1155 if test "${ac_cv_cxx_have_exceptions}" != yes; then 1156 CXXFLAGS=$temp_flags 1157 else 1158 CXX="${CXX} --no-exceptions" 1159 fi 1160 1161 CXXFLAGS=$temp_flags 1162 1090 1163 fi 1091 1164 … … 1094 1167 # 1095 1168 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 1096 echo "configure:1 097: checking how to run the C preprocessor" >&51169 echo "configure:1170: checking how to run the C preprocessor" >&5 1097 1170 # On Suns, sometimes $CPP names a directory. 1098 1171 if test -n "$CPP" && test -d "$CPP"; then … … 1109 1182 # not just through cpp. 1110 1183 cat > conftest.$ac_ext <<EOF 1111 #line 11 12"configure"1184 #line 1185 "configure" 1112 1185 #include "confdefs.h" 1113 1186 #include <assert.h> … … 1115 1188 EOF 1116 1189 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1117 { (eval echo configure:11 18: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1190 { (eval echo configure:1191: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1118 1191 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1119 1192 if test -z "$ac_err"; then … … 1126 1199 CPP="${CC-cc} -E -traditional-cpp" 1127 1200 cat > conftest.$ac_ext <<EOF 1128 #line 1 129"configure"1201 #line 1202 "configure" 1129 1202 #include "confdefs.h" 1130 1203 #include <assert.h> … … 1132 1205 EOF 1133 1206 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1134 { (eval echo configure:1 135: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1207 { (eval echo configure:1208: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1135 1208 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1136 1209 if test -z "$ac_err"; then … … 1143 1216 CPP="${CC-cc} -nologo -E" 1144 1217 cat > conftest.$ac_ext <<EOF 1145 #line 1 146"configure"1218 #line 1219 "configure" 1146 1219 #include "confdefs.h" 1147 1220 #include <assert.h> … … 1149 1222 EOF 1150 1223 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1151 { (eval echo configure:1 152: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1224 { (eval echo configure:1225: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1152 1225 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1153 1226 if test -z "$ac_err"; then … … 1174 1247 1175 1248 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6 1176 echo "configure:1 177: checking how to run the C++ preprocessor" >&51249 echo "configure:1250: checking how to run the C++ preprocessor" >&5 1177 1250 if test -z "$CXXCPP"; then 1178 1251 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then … … 1187 1260 CXXCPP="${CXX-g++} -E" 1188 1261 cat > conftest.$ac_ext <<EOF 1189 #line 1 190"configure"1262 #line 1263 "configure" 1190 1263 #include "confdefs.h" 1191 1264 #include <stdlib.h> 1192 1265 EOF 1193 1266 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1194 { (eval echo configure:1 195: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1267 { (eval echo configure:1268: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1195 1268 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1196 1269 if test -z "$ac_err"; then … … 1217 1290 1218 1291 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1219 echo "configure:12 20: checking whether ln -s works" >&51292 echo "configure:1293: checking whether ln -s works" >&5 1220 1293 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1221 1294 echo $ac_n "(cached) $ac_c" 1>&6 … … 1249 1322 # ./install, which can be erroneously created by make from ./install.sh. 1250 1323 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 1251 echo "configure:1 252: checking for a BSD compatible install" >&51324 echo "configure:1325: checking for a BSD compatible install" >&5 1252 1325 if test -z "$INSTALL"; then 1253 1326 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then … … 1304 1377 set dummy ranlib; ac_word=$2 1305 1378 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1306 echo "configure:13 07: checking for $ac_word" >&51379 echo "configure:1380: checking for $ac_word" >&5 1307 1380 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1308 1381 echo $ac_n "(cached) $ac_c" 1>&6 … … 1332 1405 1333 1406 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 1334 echo "configure:1 335: checking whether ${MAKE-make} sets \${MAKE}" >&51407 echo "configure:1408: checking whether ${MAKE-make} sets \${MAKE}" >&5 1335 1408 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 1336 1409 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 1361 1434 set dummy ar; ac_word=$2 1362 1435 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1363 echo "configure:1 364: checking for $ac_word" >&51436 echo "configure:1437: checking for $ac_word" >&5 1364 1437 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then 1365 1438 echo $ac_n "(cached) $ac_c" 1>&6 … … 1391 1464 set dummy m4; ac_word=$2 1392 1465 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1393 echo "configure:1 394: checking for $ac_word" >&51466 echo "configure:1467: checking for $ac_word" >&5 1394 1467 if eval "test \"`echo '$''{'ac_cv_prog_M4'+set}'`\" = set"; then 1395 1468 echo $ac_n "(cached) $ac_c" 1>&6 … … 1421 1494 set dummy bison; ac_word=$2 1422 1495 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1423 echo "configure:14 24: checking for $ac_word" >&51496 echo "configure:1497: checking for $ac_word" >&5 1424 1497 if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then 1425 1498 echo $ac_n "(cached) $ac_c" 1>&6 … … 1460 1533 set dummy mkinstalldirs; ac_word=$2 1461 1534 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1462 echo "configure:1 463: checking for $ac_word" >&51535 echo "configure:1536: checking for $ac_word" >&5 1463 1536 if eval "test \"`echo '$''{'ac_cv_path_FACTORY_MKINSTALLDIRS'+set}'`\" = set"; then 1464 1537 echo $ac_n "(cached) $ac_c" 1>&6 … … 1497 1570 set dummy makeheader; ac_word=$2 1498 1571 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1499 echo "configure:15 00: checking for $ac_word" >&51572 echo "configure:1573: checking for $ac_word" >&5 1500 1573 if eval "test \"`echo '$''{'ac_cv_path_FACTORY_MAKEHEADER'+set}'`\" = set"; then 1501 1574 echo $ac_n "(cached) $ac_c" 1>&6 … … 1536 1609 1537 1610 echo $ac_n "checking and generating explicit install paths""... $ac_c" 1>&6 1538 echo "configure:1 539: checking and generating explicit install paths" >&51611 echo "configure:1612: checking and generating explicit install paths" >&5 1539 1612 1540 1613 # generate Makefile … … 1576 1649 # 1577 1650 echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6 1578 echo "configure:1 579: checking for atof in -lm" >&51651 echo "configure:1652: checking for atof in -lm" >&5 1579 1652 ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'` 1580 1653 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1584 1657 LIBS="-lm $LIBS" 1585 1658 cat > conftest.$ac_ext <<EOF 1586 #line 1 587"configure"1659 #line 1660 "configure" 1587 1660 #include "confdefs.h" 1588 1661 /* Override any gcc2 internal prototype to avoid an error. */ … … 1595 1668 ; return 0; } 1596 1669 EOF 1597 if { (eval echo configure:1 598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1670 if { (eval echo configure:1671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1598 1671 rm -rf conftest* 1599 1672 eval "ac_cv_lib_$ac_lib_var=yes" … … 1626 1699 if test "x$gmp_in_installation" != xyes; then 1627 1700 echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6 1628 echo "configure:1 629: checking for main in -lgmp" >&51701 echo "configure:1702: checking for main in -lgmp" >&5 1629 1702 ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'` 1630 1703 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1634 1707 LIBS="-lgmp $LIBS" 1635 1708 cat > conftest.$ac_ext <<EOF 1636 #line 1 637"configure"1709 #line 1710 "configure" 1637 1710 #include "confdefs.h" 1638 1711 … … 1641 1714 ; return 0; } 1642 1715 EOF 1643 if { (eval echo configure:1 644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1716 if { (eval echo configure:1717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1644 1717 rm -rf conftest* 1645 1718 eval "ac_cv_lib_$ac_lib_var=yes" … … 1672 1745 LDFLAGS="-L$explicit_libdir $LDFLAGS" 1673 1746 echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6 1674 echo "configure:1 675: checking for main in -lgmp" >&51747 echo "configure:1748: checking for main in -lgmp" >&5 1675 1748 ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'` 1676 1749 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1680 1753 LIBS="-lgmp $LIBS" 1681 1754 cat > conftest.$ac_ext <<EOF 1682 #line 1 683"configure"1755 #line 1756 "configure" 1683 1756 #include "confdefs.h" 1684 1757 … … 1687 1760 ; return 0; } 1688 1761 EOF 1689 if { (eval echo configure:1 690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1762 if { (eval echo configure:1763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1690 1763 rm -rf conftest* 1691 1764 eval "ac_cv_lib_$ac_lib_var=yes" … … 1737 1810 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1738 1811 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1739 echo "configure:1 740: checking for $ac_hdr" >&51812 echo "configure:1813: checking for $ac_hdr" >&5 1740 1813 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1741 1814 echo $ac_n "(cached) $ac_c" 1>&6 1742 1815 else 1743 1816 cat > conftest.$ac_ext <<EOF 1744 #line 1 745"configure"1817 #line 1818 "configure" 1745 1818 #include "confdefs.h" 1746 1819 #include <$ac_hdr> 1747 1820 EOF 1748 1821 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1749 { (eval echo configure:1 750: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1822 { (eval echo configure:1823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1750 1823 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1751 1824 if test -z "$ac_err"; then … … 1778 1851 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1779 1852 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1780 echo "configure:1 781: checking for $ac_hdr" >&51853 echo "configure:1854: checking for $ac_hdr" >&5 1781 1854 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1782 1855 echo $ac_n "(cached) $ac_c" 1>&6 1783 1856 else 1784 1857 cat > conftest.$ac_ext <<EOF 1785 #line 1 786"configure"1858 #line 1859 "configure" 1786 1859 #include "confdefs.h" 1787 1860 #include <$ac_hdr> 1788 1861 EOF 1789 1862 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1790 { (eval echo configure:1 791: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1863 { (eval echo configure:1864: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1791 1864 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1792 1865 if test -z "$ac_err"; then … … 1826 1899 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1827 1900 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1828 echo "configure:1 829: checking for $ac_hdr" >&51901 echo "configure:1902: checking for $ac_hdr" >&5 1829 1902 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1830 1903 echo $ac_n "(cached) $ac_c" 1>&6 1831 1904 else 1832 1905 cat > conftest.$ac_ext <<EOF 1833 #line 1 834"configure"1906 #line 1907 "configure" 1834 1907 #include "confdefs.h" 1835 1908 #include <$ac_hdr> 1836 1909 EOF 1837 1910 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1838 { (eval echo configure:1 839: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1911 { (eval echo configure:1912: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1839 1912 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1840 1913 if test -z "$ac_err"; then … … 1869 1942 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1870 1943 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1871 echo "configure:1 872: checking for $ac_hdr" >&51944 echo "configure:1945: checking for $ac_hdr" >&5 1872 1945 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1873 1946 echo $ac_n "(cached) $ac_c" 1>&6 1874 1947 else 1875 1948 cat > conftest.$ac_ext <<EOF 1876 #line 1 877"configure"1949 #line 1950 "configure" 1877 1950 #include "confdefs.h" 1878 1951 #include <$ac_hdr> 1879 1952 EOF 1880 1953 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1881 { (eval echo configure:1 882: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1954 { (eval echo configure:1955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1882 1955 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1883 1956 if test -z "$ac_err"; then … … 1910 1983 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1911 1984 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1912 echo "configure:19 13: checking for $ac_hdr" >&51985 echo "configure:1986: checking for $ac_hdr" >&5 1913 1986 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1914 1987 echo $ac_n "(cached) $ac_c" 1>&6 1915 1988 else 1916 1989 cat > conftest.$ac_ext <<EOF 1917 #line 19 18"configure"1990 #line 1991 "configure" 1918 1991 #include "confdefs.h" 1919 1992 #include <$ac_hdr> 1920 1993 EOF 1921 1994 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1922 { (eval echo configure:19 23: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1995 { (eval echo configure:1996: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1923 1996 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1924 1997 if test -z "$ac_err"; then … … 1954 2027 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1955 2028 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1956 echo "configure: 1957: checking for $ac_hdr" >&52029 echo "configure:2030: checking for $ac_hdr" >&5 1957 2030 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1958 2031 echo $ac_n "(cached) $ac_c" 1>&6 1959 2032 else 1960 2033 cat > conftest.$ac_ext <<EOF 1961 #line 1962"configure"2034 #line 2035 "configure" 1962 2035 #include "confdefs.h" 1963 2036 #include <$ac_hdr> 1964 2037 EOF 1965 2038 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1966 { (eval echo configure: 1967: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2039 { (eval echo configure:2040: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1967 2040 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1968 2041 if test -z "$ac_err"; then … … 2000 2073 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2001 2074 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2002 echo "configure:20 03: checking for $ac_hdr" >&52075 echo "configure:2076: checking for $ac_hdr" >&5 2003 2076 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2004 2077 echo $ac_n "(cached) $ac_c" 1>&6 2005 2078 else 2006 2079 cat > conftest.$ac_ext <<EOF 2007 #line 20 08"configure"2080 #line 2081 "configure" 2008 2081 #include "confdefs.h" 2009 2082 #include <$ac_hdr> 2010 2083 EOF 2011 2084 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2012 { (eval echo configure:20 13: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2085 { (eval echo configure:2086: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2013 2086 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2014 2087 if test -z "$ac_err"; then … … 2044 2117 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2045 2118 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2046 echo "configure:2 047: checking for $ac_hdr" >&52119 echo "configure:2120: checking for $ac_hdr" >&5 2047 2120 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2048 2121 echo $ac_n "(cached) $ac_c" 1>&6 2049 2122 else 2050 2123 cat > conftest.$ac_ext <<EOF 2051 #line 2 052"configure"2124 #line 2125 "configure" 2052 2125 #include "confdefs.h" 2053 2126 #include <$ac_hdr> 2054 2127 EOF 2055 2128 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2056 { (eval echo configure:2 057: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2129 { (eval echo configure:2130: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2057 2130 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2058 2131 if test -z "$ac_err"; then … … 2110 2183 2111 2184 echo $ac_n "checking for working const""... $ac_c" 1>&6 2112 echo "configure:21 13: checking for working const" >&52185 echo "configure:2186: checking for working const" >&5 2113 2186 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 2114 2187 echo $ac_n "(cached) $ac_c" 1>&6 2115 2188 else 2116 2189 cat > conftest.$ac_ext <<EOF 2117 #line 21 18"configure"2190 #line 2191 "configure" 2118 2191 #include "confdefs.h" 2119 2192 … … 2164 2237 ; return 0; } 2165 2238 EOF 2166 if { (eval echo configure:2 167: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2239 if { (eval echo configure:2240: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2167 2240 rm -rf conftest* 2168 2241 ac_cv_c_const=yes … … 2185 2258 2186 2259 echo $ac_n "checking for inline""... $ac_c" 1>&6 2187 echo "configure:2 188: checking for inline" >&52260 echo "configure:2261: checking for inline" >&5 2188 2261 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 2189 2262 echo $ac_n "(cached) $ac_c" 1>&6 … … 2192 2265 for ac_kw in inline __inline__ __inline; do 2193 2266 cat > conftest.$ac_ext <<EOF 2194 #line 2 195"configure"2267 #line 2268 "configure" 2195 2268 #include "confdefs.h" 2196 2269 … … 2199 2272 ; return 0; } 2200 2273 EOF 2201 if { (eval echo configure:22 02: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2274 if { (eval echo configure:2275: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2202 2275 rm -rf conftest* 2203 2276 ac_cv_c_inline=$ac_kw; break … … 2227 2300 # arithmetic shift 2228 2301 echo $ac_n "checking whether your compiler does arithmetic shifts""... $ac_c" 1>&6 2229 echo "configure:2 230: checking whether your compiler does arithmetic shifts" >&52302 echo "configure:2303: checking whether your compiler does arithmetic shifts" >&5 2230 2303 if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then 2231 2304 echo $ac_n "(cached) $ac_c" 1>&6 … … 2235 2308 else 2236 2309 cat > conftest.$ac_ext <<EOF 2237 #line 2 238"configure"2310 #line 2311 "configure" 2238 2311 #include "confdefs.h" 2239 2312 int main() { if (-2 >> 1 == -1) exit(0); else exit(1); } 2240 2313 EOF 2241 if { (eval echo configure:2 242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2314 if { (eval echo configure:2315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2242 2315 then 2243 2316 ac_cv_shift=yes … … 2342 2415 2343 2416 echo $ac_n "checking whether to use omalloc""... $ac_c" 1>&6 2344 echo "configure:2 345: checking whether to use omalloc" >&52417 echo "configure:2418: checking whether to use omalloc" >&5 2345 2418 2346 2419 if test "$with_omalloc" = yes; then -
factory/configure.in
rb258984 r104fd23 1 1 dnl # emacs edit mode for this file is -*- sh -*- 2 dnl # $Id: configure.in,v 1.2 7 2000-09-04 14:02:45obachman Exp $2 dnl # $Id: configure.in,v 1.28 2000-12-12 12:35:13 obachman Exp $ 3 3 4 4 dnl # … … 13 13 # - initialisation. 14 14 # 15 AC_REVISION($Id: configure.in,v 1.2 7 2000-09-04 14:02:45obachman Exp $)15 AC_REVISION($Id: configure.in,v 1.28 2000-12-12 12:35:13 obachman Exp $) 16 16 AC_INIT(canonicalform.cc) 17 17 AC_CONFIG_HEADER(config.h) … … 149 149 (instead of the configure default \`-g -O')]) 150 150 fi 151 152 # check whether CXX accepts --no-rtti 153 AC_MSG_CHECKING(whether gcc accepts --no-rtti) 154 CXXFLAGS="${CXXFLAGS} --no-rtti" 155 AC_CACHE_VAL(ac_cv_cxx_have_rtti, 156 AC_TRY_COMPILE(,,ac_cv_cxx_have_rtti=yes,ac_cv_cxx_have_rtti=no) 157 ) 158 AC_MSG_RESULT(${ac_cv_cxx_have_rtti}) 159 if test "${ac_cv_cxx_have_rtti}" != yes; then 160 CXXFLAGS=$temp_flags 161 else 162 CXX="${CXX} --no-rtti" 163 fi 164 165 # check whether gcc accepts --no-exceptions 166 AC_MSG_CHECKING(whether gcc accepts --no-exceptions) 167 CXXFLAGS="${CXXFLAGS} --no-exceptions" 168 AC_CACHE_VAL(ac_cv_cxx_have_exceptions, 169 AC_TRY_COMPILE(,,ac_cv_cxx_have_exceptions=yes,ac_cv_cxx_have_exceptions=no) 170 ) 171 AC_MSG_RESULT(${ac_cv_cxx_have_exceptions}) 172 if test "${ac_cv_cxx_have_exceptions}" != yes; then 173 CXXFLAGS=$temp_flags 174 else 175 CXX="${CXX} --no-exceptions" 176 fi 177 178 CXXFLAGS=$temp_flags 179 151 180 fi 152 181 -
libfac/configure
rb258984 r104fd23 2 2 3 3 # Guess values for system-dependent variables and create Makefiles. 4 # Generated automatically using autoconf version 2.1 04 # Generated automatically using autoconf version 2.13 5 5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. 6 6 # … … 54 54 subdirs= 55 55 MFLAGS= MAKEFLAGS= 56 SHELL=${CONFIG_SHELL-/bin/sh} 57 # Maximum number of lines to put in a shell here document. 58 ac_max_here_lines=12 56 59 57 60 ac_prev= … … 335 338 336 339 -version | --version | --versio | --versi | --vers) 337 echo "configure generated by autoconf version 2.1 0"340 echo "configure generated by autoconf version 2.13" 338 341 exit 0 ;; 339 342 … … 437 440 438 441 # NLS nuisances. 439 # Only set LANG and LC_ALL to C if already set. 440 # These must not be set unconditionally because not all systems understand 441 # e.g. LANG=C (notably SCO). 442 # Only set these to C if already set. These must not be set unconditionally 443 # because not all systems understand e.g. LANG=C (notably SCO). 444 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! 445 # Non-C LC_CTYPE values break the ctype check. 446 if test "${LANG+set}" = set; then LANG=C; export LANG; fi 442 447 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi 443 if test "${LANG+set}" = set; then LANG=C; export LANG; fi 448 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi 449 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi 444 450 445 451 # confdefs.h avoids OS command line length limits that DEFS can exceed. … … 502 508 ac_cpp='$CPP $CPPFLAGS' 503 509 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 504 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 505 510 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 511 cross_compiling=$ac_cv_prog_cc_cross 512 513 ac_exeext= 514 ac_objext=o 506 515 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then 507 516 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. … … 607 616 ac_cpp='$CXXCPP $CPPFLAGS' 608 617 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 609 ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 618 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 619 cross_compiling=$ac_cv_prog_cxx_cross 610 620 611 for ac_prog in $CCC c++ g++ gcc CC cxx 621 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl 612 622 do 613 623 # Extract the first word of "$ac_prog", so it can be a program name with args. 614 624 set dummy $ac_prog; ac_word=$2 615 625 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 626 echo "configure:627: checking for $ac_word" >&5 616 627 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then 617 628 echo $ac_n "(cached) $ac_c" 1>&6 … … 620 631 ac_cv_prog_CXX="$CXX" # Let the user override the test. 621 632 else 622 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 623 for ac_dir in $PATH; do 633 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 634 ac_dummy="$PATH" 635 for ac_dir in $ac_dummy; do 624 636 test -z "$ac_dir" && ac_dir=. 625 637 if test -f $ac_dir/$ac_word; then … … 643 655 644 656 657 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 658 echo "configure:659: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 659 660 ac_ext=C 661 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 662 ac_cpp='$CXXCPP $CPPFLAGS' 663 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 664 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 665 cross_compiling=$ac_cv_prog_cxx_cross 666 667 cat > conftest.$ac_ext << EOF 668 669 #line 670 "configure" 670 #include "confdefs.h" 671 672 int main(){return(0);} 673 EOF 674 if { (eval echo configure:675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 675 ac_cv_prog_cxx_works=yes 676 # If we can't run a trivial program, we are probably using a cross compiler. 677 if (./conftest; exit) 2>/dev/null; then 678 ac_cv_prog_cxx_cross=no 679 else 680 ac_cv_prog_cxx_cross=yes 681 fi 682 else 683 echo "configure: failed program was:" >&5 684 cat conftest.$ac_ext >&5 685 ac_cv_prog_cxx_works=no 686 fi 687 rm -fr conftest* 688 ac_ext=C 689 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 690 ac_cpp='$CXXCPP $CPPFLAGS' 691 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 692 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 693 cross_compiling=$ac_cv_prog_cxx_cross 694 695 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6 696 if test $ac_cv_prog_cxx_works = no; then 697 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; } 698 fi 699 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 700 echo "configure:701: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 701 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 702 cross_compiling=$ac_cv_prog_cxx_cross 703 645 704 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 705 echo "configure:706: checking whether we are using GNU C++" >&5 646 706 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then 647 707 echo $ac_n "(cached) $ac_c" 1>&6 … … 652 712 #endif 653 713 EOF 654 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure: 655: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then714 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:715: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 655 715 ac_cv_prog_gxx=yes 656 716 else … … 660 720 661 721 echo "$ac_t""$ac_cv_prog_gxx" 1>&6 722 662 723 if test $ac_cv_prog_gxx = yes; then 663 724 GXX=yes 664 if test "${CXXFLAGS+set}" != set; then 665 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 666 if eval "test \"`echo '$''{'ac_cv_prog_gxx_g'+set}'`\" = set"; then 725 else 726 GXX= 727 fi 728 729 ac_test_CXXFLAGS="${CXXFLAGS+set}" 730 ac_save_CXXFLAGS="$CXXFLAGS" 731 CXXFLAGS= 732 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 733 echo "configure:734: checking whether ${CXX-g++} accepts -g" >&5 734 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then 667 735 echo $ac_n "(cached) $ac_c" 1>&6 668 736 else 669 737 echo 'void f(){}' > conftest.cc 670 738 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then 671 ac_cv_prog_ gxx_g=yes672 else 673 ac_cv_prog_ gxx_g=no739 ac_cv_prog_cxx_g=yes 740 else 741 ac_cv_prog_cxx_g=no 674 742 fi 675 743 rm -f conftest* … … 677 745 fi 678 746 679 echo "$ac_t""$ac_cv_prog_gxx_g" 1>&6 680 if test $ac_cv_prog_gxx_g = yes; then 681 CXXFLAGS="-g -O" 682 else 683 CXXFLAGS="-O" 684 fi 685 fi 686 else 687 GXX= 688 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g" 747 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6 748 if test "$ac_test_CXXFLAGS" = set; then 749 CXXFLAGS="$ac_save_CXXFLAGS" 750 elif test $ac_cv_prog_cxx_g = yes; then 751 if test "$GXX" = yes; then 752 CXXFLAGS="-g -O2" 753 else 754 CXXFLAGS="-g" 755 fi 756 else 757 if test "$GXX" = yes; then 758 CXXFLAGS="-O2" 759 else 760 CXXFLAGS= 761 fi 689 762 fi 690 763 691 764 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6 765 echo "configure:766: checking how to run the C++ preprocessor" >&5 692 766 if test -z "$CXXCPP"; then 693 767 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then … … 698 772 ac_cpp='$CXXCPP $CPPFLAGS' 699 773 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 700 ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 774 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 775 cross_compiling=$ac_cv_prog_cxx_cross 701 776 CXXCPP="${CXX-g++} -E" 702 777 cat > conftest.$ac_ext <<EOF 703 #line 7 04"configure"778 #line 779 "configure" 704 779 #include "confdefs.h" 705 780 #include <stdlib.h> 706 781 EOF 707 782 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 708 { (eval echo configure:7 09: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }709 ac_err=`grep -v '^ *+' conftest.out `783 { (eval echo configure:784: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 784 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 710 785 if test -z "$ac_err"; then 711 786 : 712 787 else 713 788 echo "$ac_err" >&5 789 echo "configure: failed program was:" >&5 790 cat conftest.$ac_ext >&5 714 791 rm -rf conftest* 715 792 CXXCPP=/lib/cpp … … 717 794 rm -f conftest* 718 795 ac_cv_prog_CXXCPP="$CXXCPP" 796 ac_ext=C 797 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 798 ac_cpp='$CXXCPP $CPPFLAGS' 799 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 800 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 801 cross_compiling=$ac_cv_prog_cxx_cross 719 802 fi 720 803 fi … … 724 807 725 808 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 726 set dummy ${MAKE-make}; ac_make=$2 809 echo "configure:810: checking whether ${MAKE-make} sets \${MAKE}" >&5 810 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 727 811 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then 728 812 echo $ac_n "(cached) $ac_c" 1>&6 … … 752 836 set dummy ranlib; ac_word=$2 753 837 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 838 echo "configure:839: checking for $ac_word" >&5 754 839 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 755 840 echo $ac_n "(cached) $ac_c" 1>&6 … … 758 843 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 759 844 else 760 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 761 for ac_dir in $PATH; do 845 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 846 ac_dummy="$PATH" 847 for ac_dir in $ac_dummy; do 762 848 test -z "$ac_dir" && ac_dir=. 763 849 if test -f $ac_dir/$ac_word; then … … 780 866 set dummy ar; ac_word=$2 781 867 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 868 echo "configure:869: checking for $ac_word" >&5 782 869 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then 783 870 echo $ac_n "(cached) $ac_c" 1>&6 … … 786 873 ac_cv_prog_AR="$AR" # Let the user override the test. 787 874 else 788 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 789 for ac_dir in $PATH; do 875 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 876 ac_dummy="$PATH" 877 for ac_dir in $ac_dummy; do 790 878 test -z "$ac_dir" && ac_dir=. 791 879 if test -f $ac_dir/$ac_word; then … … 809 897 810 898 811 ac_safe=`echo "factory.h" | tr './\055' '___'`899 ac_safe=`echo "factory.h" | sed 'y%./+-%__p_%'` 812 900 echo $ac_n "checking for factory.h""... $ac_c" 1>&6 901 echo "configure:902: checking for factory.h" >&5 813 902 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 814 903 echo $ac_n "(cached) $ac_c" 1>&6 815 904 else 816 905 cat > conftest.$ac_ext <<EOF 817 #line 818"configure"906 #line 907 "configure" 818 907 #include "confdefs.h" 819 908 #include <factory.h> 820 909 EOF 821 910 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 822 { (eval echo configure: 823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }823 ac_err=`grep -v '^ *+' conftest.out `911 { (eval echo configure:912: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 912 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 824 913 if test -z "$ac_err"; then 825 914 rm -rf conftest* … … 827 916 else 828 917 echo "$ac_err" >&5 918 echo "configure: failed program was:" >&5 919 cat conftest.$ac_ext >&5 829 920 rm -rf conftest* 830 921 eval "ac_cv_header_$ac_safe=no" … … 844 935 845 936 echo $ac_n "checking for working const""... $ac_c" 1>&6 937 echo "configure:938: checking for working const" >&5 846 938 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 847 939 echo $ac_n "(cached) $ac_c" 1>&6 848 940 else 849 941 cat > conftest.$ac_ext <<EOF 850 #line 851"configure"942 #line 943 "configure" 851 943 #include "confdefs.h" 852 944 853 int main() { return 0; } 854 int t() { 945 int main() { 855 946 856 947 /* Ultrix mips cc rejects this. */ … … 898 989 ; return 0; } 899 990 EOF 900 if { (eval echo configure:9 01: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then991 if { (eval echo configure:992: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 901 992 rm -rf conftest* 902 993 ac_cv_c_const=yes 903 994 else 995 echo "configure: failed program was:" >&5 996 cat conftest.$ac_ext >&5 904 997 rm -rf conftest* 905 998 ac_cv_c_const=no 906 999 fi 907 1000 rm -f conftest* 908 909 1001 fi 910 1002 … … 918 1010 919 1011 echo $ac_n "checking for inline""... $ac_c" 1>&6 1012 echo "configure:1013: checking for inline" >&5 920 1013 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 921 1014 echo $ac_n "(cached) $ac_c" 1>&6 … … 924 1017 for ac_kw in inline __inline__ __inline; do 925 1018 cat > conftest.$ac_ext <<EOF 926 #line 927"configure"1019 #line 1020 "configure" 927 1020 #include "confdefs.h" 928 1021 929 int main() { return 0; } 930 int t() { 1022 int main() { 931 1023 } $ac_kw foo() { 932 1024 ; return 0; } 933 1025 EOF 934 if { (eval echo configure: 935: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1026 if { (eval echo configure:1027: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 935 1027 rm -rf conftest* 936 1028 ac_cv_c_inline=$ac_kw; break 1029 else 1030 echo "configure: failed program was:" >&5 1031 cat conftest.$ac_ext >&5 937 1032 fi 938 1033 rm -f conftest* 939 940 1034 done 941 1035 … … 957 1051 958 1052 if test ${GXX} = yes; then 1053 1054 1055 # check whether CXX accepts --no-rtti 1056 echo $ac_n "checking whether gcc accepts --no-rtti""... $ac_c" 1>&6 1057 echo "configure:1058: checking whether gcc accepts --no-rtti" >&5 1058 CXXFLAGS="${CXXFLAGS} --no-rtti" 1059 if eval "test \"`echo '$''{'ac_cv_cxx_have_rtti'+set}'`\" = set"; then 1060 echo $ac_n "(cached) $ac_c" 1>&6 1061 else 1062 cat > conftest.$ac_ext <<EOF 1063 #line 1064 "configure" 1064 #include "confdefs.h" 1065 1066 int main() { 1067 1068 ; return 0; } 1069 EOF 1070 if { (eval echo configure:1071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1071 rm -rf conftest* 1072 ac_cv_cxx_have_rtti=yes 1073 else 1074 echo "configure: failed program was:" >&5 1075 cat conftest.$ac_ext >&5 1076 rm -rf conftest* 1077 ac_cv_cxx_have_rtti=no 1078 fi 1079 rm -f conftest* 1080 1081 fi 1082 1083 echo "$ac_t""${ac_cv_cxx_have_rtti}" 1>&6 1084 if test "${ac_cv_cxx_have_rtti}" != yes; then 1085 CXXFLAGS=$temp_flags 1086 else 1087 CXX="${CXX} --no-rtti" 1088 fi 1089 1090 # check whether gcc accepts --no-exceptions 1091 echo $ac_n "checking whether gcc accepts --no-exceptions""... $ac_c" 1>&6 1092 echo "configure:1093: checking whether gcc accepts --no-exceptions" >&5 1093 CXXFLAGS="${CXXFLAGS} --no-exceptions" 1094 if eval "test \"`echo '$''{'ac_cv_cxx_have_exceptions'+set}'`\" = set"; then 1095 echo $ac_n "(cached) $ac_c" 1>&6 1096 else 1097 cat > conftest.$ac_ext <<EOF 1098 #line 1099 "configure" 1099 #include "confdefs.h" 1100 1101 int main() { 1102 1103 ; return 0; } 1104 EOF 1105 if { (eval echo configure:1106: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1106 rm -rf conftest* 1107 ac_cv_cxx_have_exceptions=yes 1108 else 1109 echo "configure: failed program was:" >&5 1110 cat conftest.$ac_ext >&5 1111 rm -rf conftest* 1112 ac_cv_cxx_have_exceptions=no 1113 fi 1114 rm -f conftest* 1115 1116 fi 1117 1118 echo "$ac_t""${ac_cv_cxx_have_exceptions}" 1>&6 1119 if test "${ac_cv_cxx_have_exceptions}" != yes; then 1120 CXXFLAGS=$temp_flags 1121 else 1122 CXX="${CXX} --no-exceptions" 1123 fi 1124 1125 CXXFLAGS=$temp_flags 1126 959 1127 if test "$ac_cxxflags_set" = no; then 960 1128 if test "$with_debug" = yes; then … … 987 1155 # 988 1156 EOF 1157 # The following way of writing the cache mishandles newlines in values, 1158 # but we know of no workaround that is simple, portable, and efficient. 1159 # So, don't put newlines in cache variables' values. 989 1160 # Ultrix sh set writes to stderr and can't be redirected directly, 990 1161 # and sets the high bit in the cache file unless we assign to the vars. 991 1162 (set) 2>&1 | 992 sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \ 993 >> confcache 1163 case `(ac_space=' '; set | grep ac_space) 2>&1` in 1164 *ac_space=\ *) 1165 # `set' does not quote correctly, so add quotes (double-quote substitution 1166 # turns \\\\ into \\, and sed turns \\ into \). 1167 sed -n \ 1168 -e "s/'/'\\\\''/g" \ 1169 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" 1170 ;; 1171 *) 1172 # `set' quotes correctly as required by POSIX, so do not add quotes. 1173 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' 1174 ;; 1175 esac >> confcache 994 1176 if cmp -s $cache_file confcache; then 995 1177 : … … 1058 1240 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; 1059 1241 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) 1060 echo "$CONFIG_STATUS generated by autoconf version 2.1 0"1242 echo "$CONFIG_STATUS generated by autoconf version 2.13" 1061 1243 exit 0 ;; 1062 1244 -help | --help | --hel | --he | --h) … … 1077 1259 $ac_vpsub 1078 1260 $extrasub 1261 s%@SHELL@%$SHELL%g 1079 1262 s%@CFLAGS@%$CFLAGS%g 1080 1263 s%@CPPFLAGS@%$CPPFLAGS%g 1081 1264 s%@CXXFLAGS@%$CXXFLAGS%g 1265 s%@FFLAGS@%$FFLAGS%g 1082 1266 s%@DEFS@%$DEFS%g 1083 1267 s%@LDFLAGS@%$LDFLAGS%g … … 1117 1301 CEOF 1118 1302 EOF 1303 1304 cat >> $CONFIG_STATUS <<\EOF 1305 1306 # Split the substitutions into bite-sized pieces for seds with 1307 # small command number limits, like on Digital OSF/1 and HP-UX. 1308 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. 1309 ac_file=1 # Number of current file. 1310 ac_beg=1 # First line for current file. 1311 ac_end=$ac_max_sed_cmds # Line after last line for current file. 1312 ac_more_lines=: 1313 ac_sed_cmds="" 1314 while $ac_more_lines; do 1315 if test $ac_beg -gt 1; then 1316 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file 1317 else 1318 sed "${ac_end}q" conftest.subs > conftest.s$ac_file 1319 fi 1320 if test ! -s conftest.s$ac_file; then 1321 ac_more_lines=false 1322 rm -f conftest.s$ac_file 1323 else 1324 if test -z "$ac_sed_cmds"; then 1325 ac_sed_cmds="sed -f conftest.s$ac_file" 1326 else 1327 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" 1328 fi 1329 ac_file=`expr $ac_file + 1` 1330 ac_beg=$ac_end 1331 ac_end=`expr $ac_end + $ac_max_sed_cmds` 1332 fi 1333 done 1334 if test -z "$ac_sed_cmds"; then 1335 ac_sed_cmds=cat 1336 fi 1337 EOF 1338 1119 1339 cat >> $CONFIG_STATUS <<EOF 1120 1340 … … 1123 1343 cat >> $CONFIG_STATUS <<\EOF 1124 1344 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then 1125 # Support "outfile[:infile ]", defaulting infile="outfile.in".1345 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 1126 1346 case "$ac_file" in 1127 *:*) ac_file_in=`echo "$ac_file"|sed 's% .*:%%'`1347 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` 1128 1348 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 1129 1349 *) ac_file_in="${ac_file}.in" ;; 1130 1350 esac 1131 1351 1132 # Adjust relative srcdir, etc.for subdirectories.1352 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. 1133 1353 1134 1354 # Remove last slash and all that follows it. Not all systems have dirname. … … 1154 1374 esac 1155 1375 1376 1156 1377 echo creating "$ac_file" 1157 1378 rm -f "$ac_file" … … 1162 1383 *) ac_comsub= ;; 1163 1384 esac 1385 1386 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` 1164 1387 sed -e "$ac_comsub 1165 1388 s%@configure_input@%$configure_input%g 1166 1389 s%@srcdir@%$srcdir%g 1167 1390 s%@top_srcdir@%$top_srcdir%g 1168 " -f conftest.subs $ac_given_srcdir/$ac_file_in> $ac_file1391 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file 1169 1392 fi; done 1170 rm -f conftest.subs 1171 1172 1393 rm -f conftest.s* 1394 1395 EOF 1396 cat >> $CONFIG_STATUS <<EOF 1397 1398 EOF 1399 cat >> $CONFIG_STATUS <<\EOF 1173 1400 1174 1401 exit 0 -
libfac/configure.in
rb258984 r104fd23 130 130 dnl 131 131 if test ${GXX} = yes; then 132 133 134 # check whether CXX accepts --no-rtti 135 AC_MSG_CHECKING(whether gcc accepts --no-rtti) 136 CXXFLAGS="${CXXFLAGS} --no-rtti" 137 AC_CACHE_VAL(ac_cv_cxx_have_rtti, 138 AC_TRY_COMPILE(,,ac_cv_cxx_have_rtti=yes,ac_cv_cxx_have_rtti=no) 139 ) 140 AC_MSG_RESULT(${ac_cv_cxx_have_rtti}) 141 if test "${ac_cv_cxx_have_rtti}" != yes; then 142 CXXFLAGS=$temp_flags 143 else 144 CXX="${CXX} --no-rtti" 145 fi 146 147 # check whether gcc accepts --no-exceptions 148 AC_MSG_CHECKING(whether gcc accepts --no-exceptions) 149 CXXFLAGS="${CXXFLAGS} --no-exceptions" 150 AC_CACHE_VAL(ac_cv_cxx_have_exceptions, 151 AC_TRY_COMPILE(,,ac_cv_cxx_have_exceptions=yes,ac_cv_cxx_have_exceptions=no) 152 ) 153 AC_MSG_RESULT(${ac_cv_cxx_have_exceptions}) 154 if test "${ac_cv_cxx_have_exceptions}" != yes; then 155 CXXFLAGS=$temp_flags 156 else 157 CXX="${CXX} --no-exceptions" 158 fi 159 160 CXXFLAGS=$temp_flags 161 132 162 if test "$ac_cxxflags_set" = no; then 133 163 if test "$with_debug" = yes; then
Note: See TracChangeset
for help on using the changeset viewer.