Changeset fc7220 in git
- Timestamp:
- Dec 14, 2000, 4:38:01 PM (22 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '00e2e9c41af3fde1273eb3633f4c0c7c3db2579d')
- Children:
- a4339e513f9e2270276ddd39b30c2d2d3275cc6d
- Parents:
- d3ff792fa6d578c0dc08b8f171167fdf828adb12
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/configure
rd3ff79 rfc7220 1088 1088 (instead of the configure default \`-g -O')" 1>&2 1089 1089 fi 1090 1091 # check whether CXX accepts --no-rtti1092 echo $ac_n "checking whether gcc accepts --no-rtti""... $ac_c" 1>&61093 echo "configure:1094: checking whether gcc accepts --no-rtti" >&51094 tmp_flags=${CXXFLAGS}1095 CXXFLAGS="${CXXFLAGS} --no-rtti"1096 1097 ac_ext=C1098 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.1099 ac_cpp='$CXXCPP $CPPFLAGS'1100 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'1101 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'1102 cross_compiling=$ac_cv_prog_cxx_cross1103 1104 if eval "test \"`echo '$''{'ac_cv_cxx_have_rtti'+set}'`\" = set"; then1105 echo $ac_n "(cached) $ac_c" 1>&61106 else1107 cat > conftest.$ac_ext <<EOF1108 #line 1109 "configure"1109 #include "confdefs.h"1110 1111 int main() {1112 1113 ; return 0; }1114 EOF1115 if { (eval echo configure:1116: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1116 rm -rf conftest*1117 ac_cv_cxx_have_rtti=yes1118 else1119 echo "configure: failed program was:" >&51120 cat conftest.$ac_ext >&51121 rm -rf conftest*1122 ac_cv_cxx_have_rtti=no1123 fi1124 rm -f conftest*1125 1126 fi1127 1128 echo "$ac_t""${ac_cv_cxx_have_rtti}" 1>&61129 if test "${ac_cv_cxx_have_rtti}" != yes; then1130 CXXFLAGS=$temp_flags1131 else1132 CXX="${CXX} --no-rtti"1133 fi1134 1135 # check whether gcc accepts --no-exceptions1136 echo $ac_n "checking whether gcc accepts --no-exceptions""... $ac_c" 1>&61137 echo "configure:1138: checking whether gcc accepts --no-exceptions" >&51138 CXXFLAGS="${CXXFLAGS} --no-exceptions"1139 if eval "test \"`echo '$''{'ac_cv_cxx_have_exceptions'+set}'`\" = set"; then1140 echo $ac_n "(cached) $ac_c" 1>&61141 else1142 cat > conftest.$ac_ext <<EOF1143 #line 1144 "configure"1144 #include "confdefs.h"1145 1146 int main() {1147 1148 ; return 0; }1149 EOF1150 if { (eval echo configure:1151: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1151 rm -rf conftest*1152 ac_cv_cxx_have_exceptions=yes1153 else1154 echo "configure: failed program was:" >&51155 cat conftest.$ac_ext >&51156 rm -rf conftest*1157 ac_cv_cxx_have_exceptions=no1158 fi1159 rm -f conftest*1160 1161 fi1162 1163 echo "$ac_t""${ac_cv_cxx_have_exceptions}" 1>&61164 if test "${ac_cv_cxx_have_exceptions}" != yes; then1165 CXXFLAGS=$temp_flags1166 else1167 CXX="${CXX} --no-exceptions"1168 fi1169 1170 ac_ext=c1171 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.1172 ac_cpp='$CPP $CPPFLAGS'1173 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'1174 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'1175 cross_compiling=$ac_cv_prog_cc_cross1176 1177 CXXFLAGS=$temp_flags1178 1179 1090 fi 1180 1091 … … 1183 1094 # 1184 1095 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 1185 echo "configure:1 186: checking how to run the C preprocessor" >&51096 echo "configure:1097: checking how to run the C preprocessor" >&5 1186 1097 # On Suns, sometimes $CPP names a directory. 1187 1098 if test -n "$CPP" && test -d "$CPP"; then … … 1198 1109 # not just through cpp. 1199 1110 cat > conftest.$ac_ext <<EOF 1200 #line 1 201"configure"1111 #line 1112 "configure" 1201 1112 #include "confdefs.h" 1202 1113 #include <assert.h> … … 1204 1115 EOF 1205 1116 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1206 { (eval echo configure:1 207: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1117 { (eval echo configure:1118: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1207 1118 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1208 1119 if test -z "$ac_err"; then … … 1215 1126 CPP="${CC-cc} -E -traditional-cpp" 1216 1127 cat > conftest.$ac_ext <<EOF 1217 #line 1 218"configure"1128 #line 1129 "configure" 1218 1129 #include "confdefs.h" 1219 1130 #include <assert.h> … … 1221 1132 EOF 1222 1133 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1223 { (eval echo configure:1 224: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1134 { (eval echo configure:1135: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1224 1135 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1225 1136 if test -z "$ac_err"; then … … 1232 1143 CPP="${CC-cc} -nologo -E" 1233 1144 cat > conftest.$ac_ext <<EOF 1234 #line 1 235"configure"1145 #line 1146 "configure" 1235 1146 #include "confdefs.h" 1236 1147 #include <assert.h> … … 1238 1149 EOF 1239 1150 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1240 { (eval echo configure:1 241: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1151 { (eval echo configure:1152: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1241 1152 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1242 1153 if test -z "$ac_err"; then … … 1263 1174 1264 1175 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6 1265 echo "configure:1 266: checking how to run the C++ preprocessor" >&51176 echo "configure:1177: checking how to run the C++ preprocessor" >&5 1266 1177 if test -z "$CXXCPP"; then 1267 1178 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then … … 1276 1187 CXXCPP="${CXX-g++} -E" 1277 1188 cat > conftest.$ac_ext <<EOF 1278 #line 1 279"configure"1189 #line 1190 "configure" 1279 1190 #include "confdefs.h" 1280 1191 #include <stdlib.h> 1281 1192 EOF 1282 1193 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1283 { (eval echo configure:1 284: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1194 { (eval echo configure:1195: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1284 1195 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1285 1196 if test -z "$ac_err"; then … … 1306 1217 1307 1218 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1308 echo "configure:1 309: checking whether ln -s works" >&51219 echo "configure:1220: checking whether ln -s works" >&5 1309 1220 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1310 1221 echo $ac_n "(cached) $ac_c" 1>&6 … … 1338 1249 # ./install, which can be erroneously created by make from ./install.sh. 1339 1250 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 1340 echo "configure:1 341: checking for a BSD compatible install" >&51251 echo "configure:1252: checking for a BSD compatible install" >&5 1341 1252 if test -z "$INSTALL"; then 1342 1253 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then … … 1393 1304 set dummy ranlib; ac_word=$2 1394 1305 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1395 echo "configure:13 96: checking for $ac_word" >&51306 echo "configure:1307: checking for $ac_word" >&5 1396 1307 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1397 1308 echo $ac_n "(cached) $ac_c" 1>&6 … … 1421 1332 1422 1333 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 1423 echo "configure:1 424: checking whether ${MAKE-make} sets \${MAKE}" >&51334 echo "configure:1335: checking whether ${MAKE-make} sets \${MAKE}" >&5 1424 1335 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 1425 1336 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 1450 1361 set dummy ar; ac_word=$2 1451 1362 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1452 echo "configure:1 453: checking for $ac_word" >&51363 echo "configure:1364: checking for $ac_word" >&5 1453 1364 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then 1454 1365 echo $ac_n "(cached) $ac_c" 1>&6 … … 1480 1391 set dummy m4; ac_word=$2 1481 1392 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1482 echo "configure:1 483: checking for $ac_word" >&51393 echo "configure:1394: checking for $ac_word" >&5 1483 1394 if eval "test \"`echo '$''{'ac_cv_prog_M4'+set}'`\" = set"; then 1484 1395 echo $ac_n "(cached) $ac_c" 1>&6 … … 1510 1421 set dummy bison; ac_word=$2 1511 1422 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1512 echo "configure:1 513: checking for $ac_word" >&51423 echo "configure:1424: checking for $ac_word" >&5 1513 1424 if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then 1514 1425 echo $ac_n "(cached) $ac_c" 1>&6 … … 1549 1460 set dummy mkinstalldirs; ac_word=$2 1550 1461 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1551 echo "configure:1 552: checking for $ac_word" >&51462 echo "configure:1463: checking for $ac_word" >&5 1552 1463 if eval "test \"`echo '$''{'ac_cv_path_FACTORY_MKINSTALLDIRS'+set}'`\" = set"; then 1553 1464 echo $ac_n "(cached) $ac_c" 1>&6 … … 1586 1497 set dummy makeheader; ac_word=$2 1587 1498 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1588 echo "configure:15 89: checking for $ac_word" >&51499 echo "configure:1500: checking for $ac_word" >&5 1589 1500 if eval "test \"`echo '$''{'ac_cv_path_FACTORY_MAKEHEADER'+set}'`\" = set"; then 1590 1501 echo $ac_n "(cached) $ac_c" 1>&6 … … 1625 1536 1626 1537 echo $ac_n "checking and generating explicit install paths""... $ac_c" 1>&6 1627 echo "configure:1 628: checking and generating explicit install paths" >&51538 echo "configure:1539: checking and generating explicit install paths" >&5 1628 1539 1629 1540 # generate Makefile … … 1665 1576 # 1666 1577 echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6 1667 echo "configure:1 668: checking for atof in -lm" >&51578 echo "configure:1579: checking for atof in -lm" >&5 1668 1579 ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'` 1669 1580 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1673 1584 LIBS="-lm $LIBS" 1674 1585 cat > conftest.$ac_ext <<EOF 1675 #line 1 676"configure"1586 #line 1587 "configure" 1676 1587 #include "confdefs.h" 1677 1588 /* Override any gcc2 internal prototype to avoid an error. */ … … 1684 1595 ; return 0; } 1685 1596 EOF 1686 if { (eval echo configure:1 687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1597 if { (eval echo configure:1598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1687 1598 rm -rf conftest* 1688 1599 eval "ac_cv_lib_$ac_lib_var=yes" … … 1715 1626 if test "x$gmp_in_installation" != xyes; then 1716 1627 echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6 1717 echo "configure:1 718: checking for main in -lgmp" >&51628 echo "configure:1629: checking for main in -lgmp" >&5 1718 1629 ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'` 1719 1630 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1723 1634 LIBS="-lgmp $LIBS" 1724 1635 cat > conftest.$ac_ext <<EOF 1725 #line 1 726"configure"1636 #line 1637 "configure" 1726 1637 #include "confdefs.h" 1727 1638 … … 1730 1641 ; return 0; } 1731 1642 EOF 1732 if { (eval echo configure:1 733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1643 if { (eval echo configure:1644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1733 1644 rm -rf conftest* 1734 1645 eval "ac_cv_lib_$ac_lib_var=yes" … … 1761 1672 LDFLAGS="-L$explicit_libdir $LDFLAGS" 1762 1673 echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6 1763 echo "configure:1 764: checking for main in -lgmp" >&51674 echo "configure:1675: checking for main in -lgmp" >&5 1764 1675 ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'` 1765 1676 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1769 1680 LIBS="-lgmp $LIBS" 1770 1681 cat > conftest.$ac_ext <<EOF 1771 #line 1 772"configure"1682 #line 1683 "configure" 1772 1683 #include "confdefs.h" 1773 1684 … … 1776 1687 ; return 0; } 1777 1688 EOF 1778 if { (eval echo configure:1 779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1689 if { (eval echo configure:1690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1779 1690 rm -rf conftest* 1780 1691 eval "ac_cv_lib_$ac_lib_var=yes" … … 1826 1737 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1827 1738 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1828 echo "configure:1 829: checking for $ac_hdr" >&51739 echo "configure:1740: checking for $ac_hdr" >&5 1829 1740 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1830 1741 echo $ac_n "(cached) $ac_c" 1>&6 1831 1742 else 1832 1743 cat > conftest.$ac_ext <<EOF 1833 #line 1 834"configure"1744 #line 1745 "configure" 1834 1745 #include "confdefs.h" 1835 1746 #include <$ac_hdr> 1836 1747 EOF 1837 1748 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; }1749 { (eval echo configure:1750: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1839 1750 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1840 1751 if test -z "$ac_err"; then … … 1867 1778 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1868 1779 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1869 echo "configure:1 870: checking for $ac_hdr" >&51780 echo "configure:1781: checking for $ac_hdr" >&5 1870 1781 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1871 1782 echo $ac_n "(cached) $ac_c" 1>&6 1872 1783 else 1873 1784 cat > conftest.$ac_ext <<EOF 1874 #line 1 875"configure"1785 #line 1786 "configure" 1875 1786 #include "confdefs.h" 1876 1787 #include <$ac_hdr> 1877 1788 EOF 1878 1789 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1879 { (eval echo configure:1 880: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1790 { (eval echo configure:1791: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1880 1791 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1881 1792 if test -z "$ac_err"; then … … 1915 1826 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1916 1827 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1917 echo "configure:1 918: checking for $ac_hdr" >&51828 echo "configure:1829: checking for $ac_hdr" >&5 1918 1829 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1919 1830 echo $ac_n "(cached) $ac_c" 1>&6 1920 1831 else 1921 1832 cat > conftest.$ac_ext <<EOF 1922 #line 1 923"configure"1833 #line 1834 "configure" 1923 1834 #include "confdefs.h" 1924 1835 #include <$ac_hdr> 1925 1836 EOF 1926 1837 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1927 { (eval echo configure:1 928: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1838 { (eval echo configure:1839: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1928 1839 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1929 1840 if test -z "$ac_err"; then … … 1958 1869 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1959 1870 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1960 echo "configure:1 961: checking for $ac_hdr" >&51871 echo "configure:1872: checking for $ac_hdr" >&5 1961 1872 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1962 1873 echo $ac_n "(cached) $ac_c" 1>&6 1963 1874 else 1964 1875 cat > conftest.$ac_ext <<EOF 1965 #line 1 966"configure"1876 #line 1877 "configure" 1966 1877 #include "confdefs.h" 1967 1878 #include <$ac_hdr> 1968 1879 EOF 1969 1880 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1970 { (eval echo configure:1 971: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1881 { (eval echo configure:1882: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1971 1882 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1972 1883 if test -z "$ac_err"; then … … 1999 1910 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2000 1911 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2001 echo "configure: 2002: checking for $ac_hdr" >&51912 echo "configure:1913: checking for $ac_hdr" >&5 2002 1913 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2003 1914 echo $ac_n "(cached) $ac_c" 1>&6 2004 1915 else 2005 1916 cat > conftest.$ac_ext <<EOF 2006 #line 2007"configure"1917 #line 1918 "configure" 2007 1918 #include "confdefs.h" 2008 1919 #include <$ac_hdr> 2009 1920 EOF 2010 1921 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2011 { (eval echo configure: 2012: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1922 { (eval echo configure:1923: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2012 1923 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2013 1924 if test -z "$ac_err"; then … … 2043 1954 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2044 1955 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2045 echo "configure: 2046: checking for $ac_hdr" >&51956 echo "configure:1957: checking for $ac_hdr" >&5 2046 1957 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2047 1958 echo $ac_n "(cached) $ac_c" 1>&6 2048 1959 else 2049 1960 cat > conftest.$ac_ext <<EOF 2050 #line 2051"configure"1961 #line 1962 "configure" 2051 1962 #include "confdefs.h" 2052 1963 #include <$ac_hdr> 2053 1964 EOF 2054 1965 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2055 { (eval echo configure: 2056: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1966 { (eval echo configure:1967: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2056 1967 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2057 1968 if test -z "$ac_err"; then … … 2089 2000 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2090 2001 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2091 echo "configure:20 92: checking for $ac_hdr" >&52002 echo "configure:2003: checking for $ac_hdr" >&5 2092 2003 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2093 2004 echo $ac_n "(cached) $ac_c" 1>&6 2094 2005 else 2095 2006 cat > conftest.$ac_ext <<EOF 2096 #line 20 97"configure"2007 #line 2008 "configure" 2097 2008 #include "confdefs.h" 2098 2009 #include <$ac_hdr> 2099 2010 EOF 2100 2011 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2101 { (eval echo configure:2 102: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2012 { (eval echo configure:2013: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2102 2013 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2103 2014 if test -z "$ac_err"; then … … 2133 2044 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2134 2045 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2135 echo "configure:2 136: checking for $ac_hdr" >&52046 echo "configure:2047: checking for $ac_hdr" >&5 2136 2047 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2137 2048 echo $ac_n "(cached) $ac_c" 1>&6 2138 2049 else 2139 2050 cat > conftest.$ac_ext <<EOF 2140 #line 2 141"configure"2051 #line 2052 "configure" 2141 2052 #include "confdefs.h" 2142 2053 #include <$ac_hdr> 2143 2054 EOF 2144 2055 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2145 { (eval echo configure:2 146: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2056 { (eval echo configure:2057: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2146 2057 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2147 2058 if test -z "$ac_err"; then … … 2199 2110 2200 2111 echo $ac_n "checking for working const""... $ac_c" 1>&6 2201 echo "configure:2 202: checking for working const" >&52112 echo "configure:2113: checking for working const" >&5 2202 2113 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 2203 2114 echo $ac_n "(cached) $ac_c" 1>&6 2204 2115 else 2205 2116 cat > conftest.$ac_ext <<EOF 2206 #line 2 207"configure"2117 #line 2118 "configure" 2207 2118 #include "confdefs.h" 2208 2119 … … 2253 2164 ; return 0; } 2254 2165 EOF 2255 if { (eval echo configure:2 256: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2166 if { (eval echo configure:2167: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2256 2167 rm -rf conftest* 2257 2168 ac_cv_c_const=yes … … 2274 2185 2275 2186 echo $ac_n "checking for inline""... $ac_c" 1>&6 2276 echo "configure:2 277: checking for inline" >&52187 echo "configure:2188: checking for inline" >&5 2277 2188 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 2278 2189 echo $ac_n "(cached) $ac_c" 1>&6 … … 2281 2192 for ac_kw in inline __inline__ __inline; do 2282 2193 cat > conftest.$ac_ext <<EOF 2283 #line 2 284"configure"2194 #line 2195 "configure" 2284 2195 #include "confdefs.h" 2285 2196 … … 2288 2199 ; return 0; } 2289 2200 EOF 2290 if { (eval echo configure:22 91: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2201 if { (eval echo configure:2202: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2291 2202 rm -rf conftest* 2292 2203 ac_cv_c_inline=$ac_kw; break … … 2316 2227 # arithmetic shift 2317 2228 echo $ac_n "checking whether your compiler does arithmetic shifts""... $ac_c" 1>&6 2318 echo "configure:2 319: checking whether your compiler does arithmetic shifts" >&52229 echo "configure:2230: checking whether your compiler does arithmetic shifts" >&5 2319 2230 if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then 2320 2231 echo $ac_n "(cached) $ac_c" 1>&6 … … 2324 2235 else 2325 2236 cat > conftest.$ac_ext <<EOF 2326 #line 2 327"configure"2237 #line 2238 "configure" 2327 2238 #include "confdefs.h" 2328 2239 int main() { if (-2 >> 1 == -1) exit(0); else exit(1); } 2329 2240 EOF 2330 if { (eval echo configure:2 331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2241 if { (eval echo configure:2242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2331 2242 then 2332 2243 ac_cv_shift=yes … … 2399 2310 if test "x$GXX" = xyes && test "x$cxxflags_expl_set" = xno; then 2400 2311 CXXFLAGS="-O2 -fomit-frame-pointer" 2312 2313 2314 ac_ext=C 2315 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 2316 ac_cpp='$CXXCPP $CPPFLAGS' 2317 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 2318 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 2319 cross_compiling=$ac_cv_prog_cxx_cross 2320 2321 # check whether CXX accepts --no-rtti 2322 echo $ac_n "checking whether gcc accepts --no-rtti""... $ac_c" 1>&6 2323 echo "configure:2324: checking whether gcc accepts --no-rtti" >&5 2324 tmp_flags=${CXXFLAGS} 2325 CXXFLAGS="${CXXFLAGS} --no-rtti" 2326 if eval "test \"`echo '$''{'ac_cv_cxx_have_rtti'+set}'`\" = set"; then 2327 echo $ac_n "(cached) $ac_c" 1>&6 2328 else 2329 cat > conftest.$ac_ext <<EOF 2330 #line 2331 "configure" 2331 #include "confdefs.h" 2332 2333 int main() { 2334 2335 ; return 0; } 2336 EOF 2337 if { (eval echo configure:2338: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2338 rm -rf conftest* 2339 ac_cv_cxx_have_rtti=yes 2340 else 2341 echo "configure: failed program was:" >&5 2342 cat conftest.$ac_ext >&5 2343 rm -rf conftest* 2344 ac_cv_cxx_have_rtti=no 2345 fi 2346 rm -f conftest* 2347 2348 fi 2349 2350 echo "$ac_t""${ac_cv_cxx_have_rtti}" 1>&6 2351 CXXFLAGS=$tmp_flags 2352 if test "${ac_cv_cxx_have_rtti}" = yes; then 2353 CXXFLAGS="$CXXFLAGS --no-rtti" 2354 fi 2355 2356 echo $ac_n "checking whether gcc accepts --no-exceptions""... $ac_c" 1>&6 2357 echo "configure:2358: checking whether gcc accepts --no-exceptions" >&5 2358 tmp_flags=${CXXFLAGS} 2359 CXXFLAGS="${CXXFLAGS} --no-exceptions" 2360 if eval "test \"`echo '$''{'ac_cv_cxx_have_exceptions'+set}'`\" = set"; then 2361 echo $ac_n "(cached) $ac_c" 1>&6 2362 else 2363 cat > conftest.$ac_ext <<EOF 2364 #line 2365 "configure" 2365 #include "confdefs.h" 2366 2367 int main() { 2368 2369 ; return 0; } 2370 EOF 2371 if { (eval echo configure:2372: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2372 rm -rf conftest* 2373 ac_cv_cxx_have_exceptions=yes 2374 else 2375 echo "configure: failed program was:" >&5 2376 cat conftest.$ac_ext >&5 2377 rm -rf conftest* 2378 ac_cv_cxx_have_exceptions=no 2379 fi 2380 rm -f conftest* 2381 2382 fi 2383 2384 echo "$ac_t""${ac_cv_cxx_have_exceptions}" 1>&6 2385 CXXFLAGS=$tmp_flags 2386 if test "${ac_cv_cxx_have_exceptions}" = yes; then 2387 CXXFLAGS="$CXXFLAGS --no-exceptions" 2388 fi 2389 ac_ext=c 2390 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 2391 ac_cpp='$CPP $CPPFLAGS' 2392 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 2393 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 2394 cross_compiling=$ac_cv_prog_cc_cross 2395 2396 2401 2397 fi 2402 2398 … … 2431 2427 2432 2428 echo $ac_n "checking whether to use omalloc""... $ac_c" 1>&6 2433 echo "configure:243 4: checking whether to use omalloc" >&52429 echo "configure:2430: checking whether to use omalloc" >&5 2434 2430 2435 2431 if test "$with_omalloc" = yes; then -
factory/configure.in
rd3ff79 rfc7220 1 1 dnl # emacs edit mode for this file is -*- sh -*- 2 dnl # $Id: configure.in,v 1. 29 2000-12-14 14:28:38obachman Exp $2 dnl # $Id: configure.in,v 1.30 2000-12-14 15:37:57 obachman Exp $ 3 3 4 4 dnl # … … 13 13 # - initialisation. 14 14 # 15 AC_REVISION($Id: configure.in,v 1. 29 2000-12-14 14:28:38obachman Exp $)15 AC_REVISION($Id: configure.in,v 1.30 2000-12-14 15:37:57 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-rtti153 AC_MSG_CHECKING(whether gcc accepts --no-rtti)154 tmp_flags=${CXXFLAGS}155 CXXFLAGS="${CXXFLAGS} --no-rtti"156 AC_LANG_SAVE157 AC_LANG_CPLUSPLUS158 AC_CACHE_VAL(ac_cv_cxx_have_rtti,159 AC_TRY_COMPILE(,,ac_cv_cxx_have_rtti=yes,ac_cv_cxx_have_rtti=no)160 )161 AC_MSG_RESULT(${ac_cv_cxx_have_rtti})162 if test "${ac_cv_cxx_have_rtti}" != yes; then163 CXXFLAGS=$temp_flags164 else165 CXX="${CXX} --no-rtti"166 fi167 168 # check whether gcc accepts --no-exceptions169 AC_MSG_CHECKING(whether gcc accepts --no-exceptions)170 CXXFLAGS="${CXXFLAGS} --no-exceptions"171 AC_CACHE_VAL(ac_cv_cxx_have_exceptions,172 AC_TRY_COMPILE(,,ac_cv_cxx_have_exceptions=yes,ac_cv_cxx_have_exceptions=no)173 )174 AC_MSG_RESULT(${ac_cv_cxx_have_exceptions})175 if test "${ac_cv_cxx_have_exceptions}" != yes; then176 CXXFLAGS=$temp_flags177 else178 CXX="${CXX} --no-exceptions"179 fi180 181 AC_LANG_RESTORE182 CXXFLAGS=$temp_flags183 184 151 fi 185 152 … … 398 365 if test "x$GXX" = xyes && test "x$cxxflags_expl_set" = xno; then 399 366 CXXFLAGS="-O2 -fomit-frame-pointer" 367 368 AC_LANG_SAVE 369 AC_LANG_CPLUSPLUS 370 # check whether CXX accepts --no-rtti 371 AC_MSG_CHECKING(whether gcc accepts --no-rtti) 372 tmp_flags=${CXXFLAGS} 373 CXXFLAGS="${CXXFLAGS} --no-rtti" 374 AC_CACHE_VAL(ac_cv_cxx_have_rtti, 375 AC_TRY_COMPILE(,,ac_cv_cxx_have_rtti=yes,ac_cv_cxx_have_rtti=no) 376 ) 377 AC_MSG_RESULT(${ac_cv_cxx_have_rtti}) 378 CXXFLAGS=$tmp_flags 379 if test "${ac_cv_cxx_have_rtti}" = yes; then 380 CXXFLAGS="$CXXFLAGS --no-rtti" 381 fi 382 383 AC_MSG_CHECKING(whether gcc accepts --no-exceptions) 384 tmp_flags=${CXXFLAGS} 385 CXXFLAGS="${CXXFLAGS} --no-exceptions" 386 AC_CACHE_VAL(ac_cv_cxx_have_exceptions, 387 AC_TRY_COMPILE(,,ac_cv_cxx_have_exceptions=yes,ac_cv_cxx_have_exceptions=no) 388 ) 389 AC_MSG_RESULT(${ac_cv_cxx_have_exceptions}) 390 CXXFLAGS=$tmp_flags 391 if test "${ac_cv_cxx_have_exceptions}" = yes; then 392 CXXFLAGS="$CXXFLAGS --no-exceptions" 393 fi 394 AC_LANG_RESTORE 395 400 396 fi 401 397 -
libfac/configure
rd3ff79 rfc7220 1052 1052 if test ${GXX} = yes; then 1053 1053 1054 if test "$ac_cxxflags_set" = no; then 1055 if test "$with_debug" = yes; then 1056 CXXFLAGS="-O -g" 1057 else 1058 CXXFLAGS="-O3 " 1059 fi 1054 1060 # check whether CXX accepts --no-rtti 1055 echo $ac_n "checking whether gcc accepts --no-rtti""... $ac_c" 1>&61056 echo "configure:1057: checking whether gcc accepts --no-rtti" >&51057 tmp_flags=${CXXFLAGS}1058 CXXFLAGS="${CXXFLAGS} --no-rtti"1059 1061 1060 1062 ac_ext=C … … 1065 1067 cross_compiling=$ac_cv_prog_cxx_cross 1066 1068 1069 echo $ac_n "checking whether gcc accepts --no-rtti""... $ac_c" 1>&6 1070 echo "configure:1071: checking whether gcc accepts --no-rtti" >&5 1071 tmp_flags=${CXXFLAGS} 1072 CXXFLAGS="${CXXFLAGS} --no-rtti" 1067 1073 if eval "test \"`echo '$''{'ac_cv_cxx_have_rtti'+set}'`\" = set"; then 1068 1074 echo $ac_n "(cached) $ac_c" 1>&6 1069 1075 else 1070 1076 cat > conftest.$ac_ext <<EOF 1071 #line 107 2"configure"1077 #line 1078 "configure" 1072 1078 #include "confdefs.h" 1073 1079 … … 1076 1082 ; return 0; } 1077 1083 EOF 1078 if { (eval echo configure:10 79: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1084 if { (eval echo configure:1085: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1079 1085 rm -rf conftest* 1080 1086 ac_cv_cxx_have_rtti=yes … … 1090 1096 1091 1097 echo "$ac_t""${ac_cv_cxx_have_rtti}" 1>&6 1092 if test "${ac_cv_cxx_have_rtti}" != yes; then 1093 CXXFLAGS=$temp_flags 1094 else 1095 CXX="${CXX} --no-rtti" 1096 fi 1097 1098 # check whether gcc accepts --no-exceptions 1098 CXXFLAGS=$tmp_flags 1099 if test "${ac_cv_cxx_have_rtti}" = yes; then 1100 CXXFLAGS="$CXXFLAGS --no-rtti" 1101 fi 1102 1099 1103 echo $ac_n "checking whether gcc accepts --no-exceptions""... $ac_c" 1>&6 1100 echo "configure:1101: checking whether gcc accepts --no-exceptions" >&5 1104 echo "configure:1105: checking whether gcc accepts --no-exceptions" >&5 1105 tmp_flags=${CXXFLAGS} 1101 1106 CXXFLAGS="${CXXFLAGS} --no-exceptions" 1102 1107 if eval "test \"`echo '$''{'ac_cv_cxx_have_exceptions'+set}'`\" = set"; then … … 1104 1109 else 1105 1110 cat > conftest.$ac_ext <<EOF 1106 #line 11 07"configure"1111 #line 1112 "configure" 1107 1112 #include "confdefs.h" 1108 1113 … … 1111 1116 ; return 0; } 1112 1117 EOF 1113 if { (eval echo configure:111 4: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1118 if { (eval echo configure:1119: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1114 1119 rm -rf conftest* 1115 1120 ac_cv_cxx_have_exceptions=yes … … 1125 1130 1126 1131 echo "$ac_t""${ac_cv_cxx_have_exceptions}" 1>&6 1127 if test "${ac_cv_cxx_have_exceptions}" != yes; then 1128 CXXFLAGS=$temp_flags 1129 else 1130 CXX="${CXX} --no-exceptions" 1131 fi 1132 CXXFLAGS=$tmp_flags 1133 if test "${ac_cv_cxx_have_exceptions}" = yes; then 1134 CXXFLAGS="$CXXFLAGS --no-exceptions" 1135 fi 1136 1132 1137 1133 1138 ac_ext=C … … 1138 1143 cross_compiling=$ac_cv_prog_cxx_cross 1139 1144 1140 CXXFLAGS=$temp_flags 1141 1142 fi 1143 1144 if test "$ac_cxxflags_set" = no; then 1145 if test "$with_debug" = yes; then 1146 CXXFLAGS="-O -g" 1147 else 1148 CXXFLAGS="-O3 " 1149 fi 1145 1150 1146 fi 1151 1147 CXXTEMPLFLAGS="-fno-implicit-templates" 1148 1149 1152 1150 else 1153 1151 CXXTEMPFLAGS="" -
libfac/configure.in
rd3ff79 rfc7220 131 131 if test ${GXX} = yes; then 132 132 133 # check whether CXX accepts --no-rtti134 AC_MSG_CHECKING(whether gcc accepts --no-rtti)135 tmp_flags=${CXXFLAGS}136 CXXFLAGS="${CXXFLAGS} --no-rtti"137 AC_LANG_SAVE138 AC_LANG_CPLUSPLUS139 AC_CACHE_VAL(ac_cv_cxx_have_rtti,140 AC_TRY_COMPILE(,,ac_cv_cxx_have_rtti=yes,ac_cv_cxx_have_rtti=no)141 )142 AC_MSG_RESULT(${ac_cv_cxx_have_rtti})143 if test "${ac_cv_cxx_have_rtti}" != yes; then144 CXXFLAGS=$temp_flags145 else146 CXX="${CXX} --no-rtti"147 fi148 149 # check whether gcc accepts --no-exceptions150 AC_MSG_CHECKING(whether gcc accepts --no-exceptions)151 CXXFLAGS="${CXXFLAGS} --no-exceptions"152 AC_CACHE_VAL(ac_cv_cxx_have_exceptions,153 AC_TRY_COMPILE(,,ac_cv_cxx_have_exceptions=yes,ac_cv_cxx_have_exceptions=no)154 )155 AC_MSG_RESULT(${ac_cv_cxx_have_exceptions})156 if test "${ac_cv_cxx_have_exceptions}" != yes; then157 CXXFLAGS=$temp_flags158 else159 CXX="${CXX} --no-exceptions"160 fi161 162 AC_LANG_RESTORE163 CXXFLAGS=$temp_flags164 165 fi166 167 133 if test "$ac_cxxflags_set" = no; then 168 134 if test "$with_debug" = yes; then … … 171 137 CXXFLAGS="-O3 " 172 138 fi 139 # check whether CXX accepts --no-rtti 140 AC_LANG_SAVE 141 AC_LANG_CPLUSPLUS 142 AC_MSG_CHECKING(whether gcc accepts --no-rtti) 143 tmp_flags=${CXXFLAGS} 144 CXXFLAGS="${CXXFLAGS} --no-rtti" 145 AC_CACHE_VAL(ac_cv_cxx_have_rtti, 146 AC_TRY_COMPILE(,,ac_cv_cxx_have_rtti=yes,ac_cv_cxx_have_rtti=no) 147 ) 148 AC_MSG_RESULT(${ac_cv_cxx_have_rtti}) 149 CXXFLAGS=$tmp_flags 150 if test "${ac_cv_cxx_have_rtti}" = yes; then 151 CXXFLAGS="$CXXFLAGS --no-rtti" 152 fi 153 154 AC_MSG_CHECKING(whether gcc accepts --no-exceptions) 155 tmp_flags=${CXXFLAGS} 156 CXXFLAGS="${CXXFLAGS} --no-exceptions" 157 AC_CACHE_VAL(ac_cv_cxx_have_exceptions, 158 AC_TRY_COMPILE(,,ac_cv_cxx_have_exceptions=yes,ac_cv_cxx_have_exceptions=no) 159 ) 160 AC_MSG_RESULT(${ac_cv_cxx_have_exceptions}) 161 CXXFLAGS=$tmp_flags 162 if test "${ac_cv_cxx_have_exceptions}" = yes; then 163 CXXFLAGS="$CXXFLAGS --no-exceptions" 164 fi 165 166 167 AC_LANG_RESTORE 168 173 169 fi 174 170 CXXTEMPLFLAGS="-fno-implicit-templates" 171 172 175 173 else 176 174 CXXTEMPFLAGS=""
Note: See TracChangeset
for help on using the changeset viewer.