Changeset 104fd23 in git


Ignore:
Timestamp:
Dec 12, 2000, 1:37:18 PM (22 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '00e2e9c41af3fde1273eb3633f4c0c7c3db2579d')
Children:
c8839774c1058397a14da4aad0dc89c93261c85a
Parents:
b2589847732c7342913d983111884aa9b6a193e9
Message:
* check for --no-rtti and --no-exception options to gcc


git-svn-id: file:///usr/local/Singular/svn/trunk@4872 2c84dea3-7e68-4137-9b89-c4e89433aadc
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • Singular/configure

    rb258984 r104fd23  
    12071207if test "${GXX}" = yes && test "${ac_cxx_set}" = no; then
    12081208  CXX=gcc
     1209temp_cflags=${CXXFLAGS}
     1210
     1211# check whether gcc accepts --no-rtti
     1212echo $ac_n "checking whether gcc accepts --no-rtti""... $ac_c" 1>&6
     1213echo "configure:1214: checking whether gcc accepts --no-rtti" >&5
     1214CXXFLAGS="${CXXFLAGS} --no-rtti"
     1215if eval "test \"`echo '$''{'ac_cv_cxx_have_rtti'+set}'`\" = set"; then
     1216  echo $ac_n "(cached) $ac_c" 1>&6
     1217else
     1218  cat > conftest.$ac_ext <<EOF
     1219#line 1220 "configure"
     1220#include "confdefs.h"
     1221
     1222int main() {
     1223
     1224; return 0; }
     1225EOF
     1226if { (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
     1229else
     1230  echo "configure: failed program was:" >&5
     1231  cat conftest.$ac_ext >&5
     1232  rm -rf conftest*
     1233  ac_cv_cxx_have_rtti=no
     1234fi
     1235rm -f conftest*
     1236
     1237fi
     1238
     1239echo "$ac_t""${ac_cv_cxx_have_rtti}" 1>&6
     1240if test "${ac_cv_cxx_have_rtti}" != yes; then
     1241CXXFLAGS=$temp_flags
     1242else
     1243CXX="${CXX} --no-rtti"
     1244fi
     1245
     1246# check whether gcc accepts --no-exceptions
     1247echo $ac_n "checking whether gcc accepts --no-exceptions""... $ac_c" 1>&6
     1248echo "configure:1249: checking whether gcc accepts --no-exceptions" >&5
     1249CXXFLAGS="${CXXFLAGS} --no-exceptions"
     1250if eval "test \"`echo '$''{'ac_cv_cxx_have_exceptions'+set}'`\" = set"; then
     1251  echo $ac_n "(cached) $ac_c" 1>&6
     1252else
     1253  cat > conftest.$ac_ext <<EOF
     1254#line 1255 "configure"
     1255#include "confdefs.h"
     1256
     1257int main() {
     1258
     1259; return 0; }
     1260EOF
     1261if { (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
     1264else
     1265  echo "configure: failed program was:" >&5
     1266  cat conftest.$ac_ext >&5
     1267  rm -rf conftest*
     1268  ac_cv_cxx_have_exceptions=no
     1269fi
     1270rm -f conftest*
     1271
     1272fi
     1273
     1274echo "$ac_t""${ac_cv_cxx_have_exceptions}" 1>&6
     1275if test "${ac_cv_cxx_have_exceptions}" != yes; then
     1276CXXFLAGS=$temp_flags
     1277else
     1278CXX="${CXX} --no-exceptions"
     1279fi
     1280
     1281CXXFLAGS=$temp_flags
     1282
    12091283fi
    12101284
    12111285# check whether the compiler accepts -pipe
    12121286echo $ac_n "checking whether compiler accepts -pipe""... $ac_c" 1>&6
    1213 echo "configure:1214: checking whether compiler accepts -pipe" >&5
     1287echo "configure:1288: checking whether compiler accepts -pipe" >&5
    12141288temp_cflags=${CFLAGS}
    12151289CFLAGS="${CFLAGS} -pipe"
     
    12181292else
    12191293  cat > conftest.$ac_ext <<EOF
    1220 #line 1221 "configure"
     1294#line 1295 "configure"
    12211295#include "confdefs.h"
    12221296
     
    12251299; return 0; }
    12261300EOF
    1227 if { (eval echo configure:1228: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1301if { (eval echo configure:1302: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    12281302  rm -rf conftest*
    12291303  ac_cv_cxx_have_pipe=yes
     
    12491323# Customize CFLAGS
    12501324echo $ac_n "checking whether _AIX is defined""... $ac_c" 1>&6
    1251 echo "configure:1252: checking whether _AIX is defined" >&5
     1325echo "configure:1326: checking whether _AIX is defined" >&5
    12521326if eval "test \"`echo '$''{'ac_cv_is_aix'+set}'`\" = set"; then
    12531327  echo $ac_n "(cached) $ac_c" 1>&6
    12541328else
    12551329  cat > conftest.$ac_ext <<EOF
    1256 #line 1257 "configure"
     1330#line 1331 "configure"
    12571331#include "confdefs.h"
    12581332#ifdef _AIX
     
    13051379
    13061380echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    1307 echo "configure:1308: checking whether ${MAKE-make} sets \${MAKE}" >&5
     1381echo "configure:1382: checking whether ${MAKE-make} sets \${MAKE}" >&5
    13081382set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    13091383if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    13831457if test "${with_lex+set}" != set; then
    13841458  echo $ac_n "checking for flex""... $ac_c" 1>&6
    1385 echo "configure:1386: checking for flex" >&5
     1459echo "configure:1460: checking for flex" >&5
    13861460    if eval "test \"`echo '$''{'ac_cv_prog_flex'+set}'`\" = set"; then
    13871461  echo $ac_n "(cached) $ac_c" 1>&6
     
    14141488set dummy $ac_prog; ac_word=$2
    14151489echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1416 echo "configure:1417: checking for $ac_word" >&5
     1490echo "configure:1491: checking for $ac_word" >&5
    14171491if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
    14181492  echo $ac_n "(cached) $ac_c" 1>&6
     
    14541528set dummy $ac_prog; ac_word=$2
    14551529echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1456 echo "configure:1457: checking for $ac_word" >&5
     1530echo "configure:1531: checking for $ac_word" >&5
    14571531if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then
    14581532  echo $ac_n "(cached) $ac_c" 1>&6
     
    14891563# ln -s
    14901564echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
    1491 echo "configure:1492: checking whether ln -s works" >&5
     1565echo "configure:1566: checking whether ln -s works" >&5
    14921566if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
    14931567  echo $ac_n "(cached) $ac_c" 1>&6
     
    15151589set dummy $ac_prog; ac_word=$2
    15161590echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1517 echo "configure:1518: checking for $ac_word" >&5
     1591echo "configure:1592: checking for $ac_word" >&5
    15181592if eval "test \"`echo '$''{'ac_cv_prog_PERL'+set}'`\" = set"; then
    15191593  echo $ac_n "(cached) $ac_c" 1>&6
     
    15471621# lib checks
    15481622echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6
    1549 echo "configure:1550: checking for atof in -lm" >&5
     1623echo "configure:1624: checking for atof in -lm" >&5
    15501624ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'`
    15511625if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    15551629LIBS="-lm  $LIBS"
    15561630cat > conftest.$ac_ext <<EOF
    1557 #line 1558 "configure"
     1631#line 1632 "configure"
    15581632#include "confdefs.h"
    15591633/* Override any gcc2 internal prototype to avoid an error.  */
     
    15661640; return 0; }
    15671641EOF
    1568 if { (eval echo configure:1569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1642if { (eval echo configure:1643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    15691643  rm -rf conftest*
    15701644  eval "ac_cv_lib_$ac_lib_var=yes"
     
    15961670LIBS=
    15971671echo $ac_n "checking for socket in -lbsd""... $ac_c" 1>&6
    1598 echo "configure:1599: checking for socket in -lbsd" >&5
     1672echo "configure:1673: checking for socket in -lbsd" >&5
    15991673ac_lib_var=`echo bsd'_'socket | sed 'y%./+-%__p_%'`
    16001674if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    16041678LIBS="-lbsd  $LIBS"
    16051679cat > conftest.$ac_ext <<EOF
    1606 #line 1607 "configure"
     1680#line 1681 "configure"
    16071681#include "confdefs.h"
    16081682/* Override any gcc2 internal prototype to avoid an error.  */
     
    16151689; return 0; }
    16161690EOF
    1617 if { (eval echo configure:1618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1691if { (eval echo configure:1692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    16181692  rm -rf conftest*
    16191693  eval "ac_cv_lib_$ac_lib_var=yes"
     
    16431717
    16441718echo $ac_n "checking for listen in -lsocket""... $ac_c" 1>&6
    1645 echo "configure:1646: checking for listen in -lsocket" >&5
     1719echo "configure:1720: checking for listen in -lsocket" >&5
    16461720ac_lib_var=`echo socket'_'listen | sed 'y%./+-%__p_%'`
    16471721if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    16511725LIBS="-lsocket  $LIBS"
    16521726cat > conftest.$ac_ext <<EOF
    1653 #line 1654 "configure"
     1727#line 1728 "configure"
    16541728#include "confdefs.h"
    16551729/* Override any gcc2 internal prototype to avoid an error.  */
     
    16621736; return 0; }
    16631737EOF
    1664 if { (eval echo configure:1665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1738if { (eval echo configure:1739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    16651739  rm -rf conftest*
    16661740  eval "ac_cv_lib_$ac_lib_var=yes"
     
    16901764
    16911765echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
    1692 echo "configure:1693: checking for gethostbyname in -lnsl" >&5
     1766echo "configure:1767: checking for gethostbyname in -lnsl" >&5
    16931767ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
    16941768if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    16981772LIBS="-lnsl  $LIBS"
    16991773cat > conftest.$ac_ext <<EOF
    1700 #line 1701 "configure"
     1774#line 1775 "configure"
    17011775#include "confdefs.h"
    17021776/* Override any gcc2 internal prototype to avoid an error.  */
     
    17091783; return 0; }
    17101784EOF
    1711 if { (eval echo configure:1712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1785if { (eval echo configure:1786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    17121786  rm -rf conftest*
    17131787  eval "ac_cv_lib_$ac_lib_var=yes"
     
    17371811
    17381812echo $ac_n "checking for index in -lucb""... $ac_c" 1>&6
    1739 echo "configure:1740: checking for index in -lucb" >&5
     1813echo "configure:1814: checking for index in -lucb" >&5
    17401814ac_lib_var=`echo ucb'_'index | sed 'y%./+-%__p_%'`
    17411815if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    17451819LIBS="-lucb  $LIBS"
    17461820cat > conftest.$ac_ext <<EOF
    1747 #line 1748 "configure"
     1821#line 1822 "configure"
    17481822#include "confdefs.h"
    17491823/* Override any gcc2 internal prototype to avoid an error.  */
     
    17561830; return 0; }
    17571831EOF
    1758 if { (eval echo configure:1759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1832if { (eval echo configure:1833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    17591833  rm -rf conftest*
    17601834  eval "ac_cv_lib_$ac_lib_var=yes"
     
    17901864        HPUX*)
    17911865          echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
    1792 echo "configure:1793: checking for shl_load in -ldld" >&5
     1866echo "configure:1867: checking for shl_load in -ldld" >&5
    17931867ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
    17941868if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    17981872LIBS="-ldld  $LIBS"
    17991873cat > conftest.$ac_ext <<EOF
    1800 #line 1801 "configure"
     1874#line 1875 "configure"
    18011875#include "confdefs.h"
    18021876/* Override any gcc2 internal prototype to avoid an error.  */
     
    18091883; return 0; }
    18101884EOF
    1811 if { (eval echo configure:1812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1885if { (eval echo configure:1886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    18121886  rm -rf conftest*
    18131887  eval "ac_cv_lib_$ac_lib_var=yes"
     
    18451919        *Linux*)
    18461920          echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
    1847 echo "configure:1848: checking for dlopen in -ldl" >&5
     1921echo "configure:1922: checking for dlopen in -ldl" >&5
    18481922ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
    18491923if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    18531927LIBS="-ldl  $LIBS"
    18541928cat > conftest.$ac_ext <<EOF
    1855 #line 1856 "configure"
     1929#line 1930 "configure"
    18561930#include "confdefs.h"
    18571931/* Override any gcc2 internal prototype to avoid an error.  */
     
    18641938; return 0; }
    18651939EOF
    1866 if { (eval echo configure:1867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1940if { (eval echo configure:1941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    18671941  rm -rf conftest*
    18681942  eval "ac_cv_lib_$ac_lib_var=yes"
     
    19061980# heder file checks
    19071981echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    1908 echo "configure:1909: checking for ANSI C header files" >&5
     1982echo "configure:1983: checking for ANSI C header files" >&5
    19091983if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    19101984  echo $ac_n "(cached) $ac_c" 1>&6
    19111985else
    19121986  cat > conftest.$ac_ext <<EOF
    1913 #line 1914 "configure"
     1987#line 1988 "configure"
    19141988#include "confdefs.h"
    19151989#include <stdlib.h>
     
    19191993EOF
    19201994ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1921 { (eval echo configure:1922: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1995{ (eval echo configure:1996: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    19221996ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    19231997if test -z "$ac_err"; then
     
    19362010  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    19372011cat > conftest.$ac_ext <<EOF
    1938 #line 1939 "configure"
     2012#line 2013 "configure"
    19392013#include "confdefs.h"
    19402014#include <string.h>
     
    19542028  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    19552029cat > conftest.$ac_ext <<EOF
    1956 #line 1957 "configure"
     2030#line 2031 "configure"
    19572031#include "confdefs.h"
    19582032#include <stdlib.h>
     
    19752049else
    19762050  cat > conftest.$ac_ext <<EOF
    1977 #line 1978 "configure"
     2051#line 2052 "configure"
    19782052#include "confdefs.h"
    19792053#include <ctype.h>
     
    19862060
    19872061EOF
    1988 if { (eval echo configure:1989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2062if { (eval echo configure:2063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    19892063then
    19902064  :
     
    20132087ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    20142088echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2015 echo "configure:2016: checking for $ac_hdr" >&5
     2089echo "configure:2090: checking for $ac_hdr" >&5
    20162090if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    20172091  echo $ac_n "(cached) $ac_c" 1>&6
    20182092else
    20192093  cat > conftest.$ac_ext <<EOF
    2020 #line 2021 "configure"
     2094#line 2095 "configure"
    20212095#include "confdefs.h"
    20222096#include <$ac_hdr>
    20232097EOF
    20242098ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2025 { (eval echo configure:2026: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2099{ (eval echo configure:2100: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    20262100ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    20272101if test -z "$ac_err"; then
     
    20552129ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    20562130echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2057 echo "configure:2058: checking for $ac_hdr" >&5
     2131echo "configure:2132: checking for $ac_hdr" >&5
    20582132if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    20592133  echo $ac_n "(cached) $ac_c" 1>&6
    20602134else
    20612135  cat > conftest.$ac_ext <<EOF
    2062 #line 2063 "configure"
     2136#line 2137 "configure"
    20632137#include "confdefs.h"
    20642138#include <$ac_hdr>
    20652139EOF
    20662140ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2067 { (eval echo configure:2068: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2141{ (eval echo configure:2142: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    20682142ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    20692143if test -z "$ac_err"; then
     
    20942168# typedefs, structures
    20952169echo $ac_n "checking for working const""... $ac_c" 1>&6
    2096 echo "configure:2097: checking for working const" >&5
     2170echo "configure:2171: checking for working const" >&5
    20972171if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
    20982172  echo $ac_n "(cached) $ac_c" 1>&6
    20992173else
    21002174  cat > conftest.$ac_ext <<EOF
    2101 #line 2102 "configure"
     2175#line 2176 "configure"
    21022176#include "confdefs.h"
    21032177
     
    21482222; return 0; }
    21492223EOF
    2150 if { (eval echo configure:2151: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2224if { (eval echo configure:2225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    21512225  rm -rf conftest*
    21522226  ac_cv_c_const=yes
     
    21692243
    21702244echo $ac_n "checking for inline""... $ac_c" 1>&6
    2171 echo "configure:2172: checking for inline" >&5
     2245echo "configure:2246: checking for inline" >&5
    21722246if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
    21732247  echo $ac_n "(cached) $ac_c" 1>&6
     
    21762250for ac_kw in inline __inline__ __inline; do
    21772251  cat > conftest.$ac_ext <<EOF
    2178 #line 2179 "configure"
     2252#line 2253 "configure"
    21792253#include "confdefs.h"
    21802254
     
    21832257; return 0; }
    21842258EOF
    2185 if { (eval echo configure:2186: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2259if { (eval echo configure:2260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    21862260  rm -rf conftest*
    21872261  ac_cv_c_inline=$ac_kw; break
     
    22092283
    22102284echo $ac_n "checking for size_t""... $ac_c" 1>&6
    2211 echo "configure:2212: checking for size_t" >&5
     2285echo "configure:2286: checking for size_t" >&5
    22122286if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
    22132287  echo $ac_n "(cached) $ac_c" 1>&6
    22142288else
    22152289  cat > conftest.$ac_ext <<EOF
    2216 #line 2217 "configure"
     2290#line 2291 "configure"
    22172291#include "confdefs.h"
    22182292#include <sys/types.h>
     
    22422316
    22432317echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
    2244 echo "configure:2245: checking whether time.h and sys/time.h may both be included" >&5
     2318echo "configure:2319: checking whether time.h and sys/time.h may both be included" >&5
    22452319if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
    22462320  echo $ac_n "(cached) $ac_c" 1>&6
    22472321else
    22482322  cat > conftest.$ac_ext <<EOF
    2249 #line 2250 "configure"
     2323#line 2324 "configure"
    22502324#include "confdefs.h"
    22512325#include <sys/types.h>
     
    22562330; return 0; }
    22572331EOF
    2258 if { (eval echo configure:2259: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2332if { (eval echo configure:2333: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    22592333  rm -rf conftest*
    22602334  ac_cv_header_time=yes
     
    22772351
    22782352echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
    2279 echo "configure:2280: checking whether struct tm is in sys/time.h or time.h" >&5
     2353echo "configure:2354: checking whether struct tm is in sys/time.h or time.h" >&5
    22802354if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
    22812355  echo $ac_n "(cached) $ac_c" 1>&6
    22822356else
    22832357  cat > conftest.$ac_ext <<EOF
    2284 #line 2285 "configure"
     2358#line 2359 "configure"
    22852359#include "confdefs.h"
    22862360#include <sys/types.h>
     
    22902364; return 0; }
    22912365EOF
    2292 if { (eval echo configure:2293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2366if { (eval echo configure:2367: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    22932367  rm -rf conftest*
    22942368  ac_cv_struct_tm=time.h
     
    23152389# for constant arguments.  Useless!
    23162390echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
    2317 echo "configure:2318: checking for working alloca.h" >&5
     2391echo "configure:2392: checking for working alloca.h" >&5
    23182392if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
    23192393  echo $ac_n "(cached) $ac_c" 1>&6
    23202394else
    23212395  cat > conftest.$ac_ext <<EOF
    2322 #line 2323 "configure"
     2396#line 2397 "configure"
    23232397#include "confdefs.h"
    23242398#include <alloca.h>
     
    23272401; return 0; }
    23282402EOF
    2329 if { (eval echo configure:2330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2403if { (eval echo configure:2404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    23302404  rm -rf conftest*
    23312405  ac_cv_header_alloca_h=yes
     
    23482422
    23492423echo $ac_n "checking for alloca""... $ac_c" 1>&6
    2350 echo "configure:2351: checking for alloca" >&5
     2424echo "configure:2425: checking for alloca" >&5
    23512425if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
    23522426  echo $ac_n "(cached) $ac_c" 1>&6
    23532427else
    23542428  cat > conftest.$ac_ext <<EOF
    2355 #line 2356 "configure"
     2429#line 2430 "configure"
    23562430#include "confdefs.h"
    23572431
     
    23812455; return 0; }
    23822456EOF
    2383 if { (eval echo configure:2384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2457if { (eval echo configure:2458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    23842458  rm -rf conftest*
    23852459  ac_cv_func_alloca_works=yes
     
    24132487
    24142488echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
    2415 echo "configure:2416: checking whether alloca needs Cray hooks" >&5
     2489echo "configure:2490: checking whether alloca needs Cray hooks" >&5
    24162490if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
    24172491  echo $ac_n "(cached) $ac_c" 1>&6
    24182492else
    24192493  cat > conftest.$ac_ext <<EOF
    2420 #line 2421 "configure"
     2494#line 2495 "configure"
    24212495#include "confdefs.h"
    24222496#if defined(CRAY) && ! defined(CRAY2)
     
    24432517for ac_func in _getb67 GETB67 getb67; do
    24442518  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2445 echo "configure:2446: checking for $ac_func" >&5
     2519echo "configure:2520: checking for $ac_func" >&5
    24462520if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    24472521  echo $ac_n "(cached) $ac_c" 1>&6
    24482522else
    24492523  cat > conftest.$ac_ext <<EOF
    2450 #line 2451 "configure"
     2524#line 2525 "configure"
    24512525#include "confdefs.h"
    24522526/* System header to define __stub macros and hopefully few prototypes,
     
    24712545; return 0; }
    24722546EOF
    2473 if { (eval echo configure:2474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2547if { (eval echo configure:2548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    24742548  rm -rf conftest*
    24752549  eval "ac_cv_func_$ac_func=yes"
     
    24982572
    24992573echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
    2500 echo "configure:2501: checking stack direction for C alloca" >&5
     2574echo "configure:2575: checking stack direction for C alloca" >&5
    25012575if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
    25022576  echo $ac_n "(cached) $ac_c" 1>&6
     
    25062580else
    25072581  cat > conftest.$ac_ext <<EOF
    2508 #line 2509 "configure"
     2582#line 2583 "configure"
    25092583#include "confdefs.h"
    25102584find_stack_direction ()
     
    25252599}
    25262600EOF
    2527 if { (eval echo configure:2528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2601if { (eval echo configure:2602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    25282602then
    25292603  ac_cv_c_stack_direction=1
     
    25482622if test $ac_cv_prog_gcc = yes; then
    25492623    echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
    2550 echo "configure:2551: checking whether ${CC-cc} needs -traditional" >&5
     2624echo "configure:2625: checking whether ${CC-cc} needs -traditional" >&5
    25512625if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
    25522626  echo $ac_n "(cached) $ac_c" 1>&6
     
    25542628    ac_pattern="Autoconf.*'x'"
    25552629  cat > conftest.$ac_ext <<EOF
    2556 #line 2557 "configure"
     2630#line 2631 "configure"
    25572631#include "confdefs.h"
    25582632#include <sgtty.h>
     
    25722646  if test $ac_cv_prog_gcc_traditional = no; then
    25732647    cat > conftest.$ac_ext <<EOF
    2574 #line 2575 "configure"
     2648#line 2649 "configure"
    25752649#include "confdefs.h"
    25762650#include <termio.h>
     
    25972671ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    25982672echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2599 echo "configure:2600: checking for $ac_hdr" >&5
     2673echo "configure:2674: checking for $ac_hdr" >&5
    26002674if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    26012675  echo $ac_n "(cached) $ac_c" 1>&6
    26022676else
    26032677  cat > conftest.$ac_ext <<EOF
    2604 #line 2605 "configure"
     2678#line 2679 "configure"
    26052679#include "confdefs.h"
    26062680#include <$ac_hdr>
    26072681EOF
    26082682ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2609 { (eval echo configure:2610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2683{ (eval echo configure:2684: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    26102684ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    26112685if test -z "$ac_err"; then
     
    26362710do
    26372711echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2638 echo "configure:2639: checking for $ac_func" >&5
     2712echo "configure:2713: checking for $ac_func" >&5
    26392713if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    26402714  echo $ac_n "(cached) $ac_c" 1>&6
    26412715else
    26422716  cat > conftest.$ac_ext <<EOF
    2643 #line 2644 "configure"
     2717#line 2718 "configure"
    26442718#include "confdefs.h"
    26452719/* System header to define __stub macros and hopefully few prototypes,
     
    26642738; return 0; }
    26652739EOF
    2666 if { (eval echo configure:2667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2740if { (eval echo configure:2741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    26672741  rm -rf conftest*
    26682742  eval "ac_cv_func_$ac_func=yes"
     
    26892763
    26902764echo $ac_n "checking for working mmap""... $ac_c" 1>&6
    2691 echo "configure:2692: checking for working mmap" >&5
     2765echo "configure:2766: checking for working mmap" >&5
    26922766if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
    26932767  echo $ac_n "(cached) $ac_c" 1>&6
     
    26972771else
    26982772  cat > conftest.$ac_ext <<EOF
    2699 #line 2700 "configure"
     2773#line 2774 "configure"
    27002774#include "confdefs.h"
    27012775
     
    28372911
    28382912EOF
    2839 if { (eval echo configure:2840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2913if { (eval echo configure:2914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    28402914then
    28412915  ac_cv_func_mmap_fixed_mapped=yes
     
    28602934
    28612935echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
    2862 echo "configure:2863: checking return type of signal handlers" >&5
     2936echo "configure:2937: checking return type of signal handlers" >&5
    28632937if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
    28642938  echo $ac_n "(cached) $ac_c" 1>&6
    28652939else
    28662940  cat > conftest.$ac_ext <<EOF
    2867 #line 2868 "configure"
     2941#line 2942 "configure"
    28682942#include "confdefs.h"
    28692943#include <sys/types.h>
     
    28822956; return 0; }
    28832957EOF
    2884 if { (eval echo configure:2885: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2958if { (eval echo configure:2959: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    28852959  rm -rf conftest*
    28862960  ac_cv_type_signal=void
     
    29012975
    29022976echo $ac_n "checking for vprintf""... $ac_c" 1>&6
    2903 echo "configure:2904: checking for vprintf" >&5
     2977echo "configure:2978: checking for vprintf" >&5
    29042978if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
    29052979  echo $ac_n "(cached) $ac_c" 1>&6
    29062980else
    29072981  cat > conftest.$ac_ext <<EOF
    2908 #line 2909 "configure"
     2982#line 2983 "configure"
    29092983#include "confdefs.h"
    29102984/* System header to define __stub macros and hopefully few prototypes,
     
    29293003; return 0; }
    29303004EOF
    2931 if { (eval echo configure:2932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3005if { (eval echo configure:3006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    29323006  rm -rf conftest*
    29333007  eval "ac_cv_func_vprintf=yes"
     
    29533027if test "$ac_cv_func_vprintf" != yes; then
    29543028echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
    2955 echo "configure:2956: checking for _doprnt" >&5
     3029echo "configure:3030: checking for _doprnt" >&5
    29563030if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
    29573031  echo $ac_n "(cached) $ac_c" 1>&6
    29583032else
    29593033  cat > conftest.$ac_ext <<EOF
    2960 #line 2961 "configure"
     3034#line 3035 "configure"
    29613035#include "confdefs.h"
    29623036/* System header to define __stub macros and hopefully few prototypes,
     
    29813055; return 0; }
    29823056EOF
    2983 if { (eval echo configure:2984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3057if { (eval echo configure:3058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    29843058  rm -rf conftest*
    29853059  eval "ac_cv_func__doprnt=yes"
     
    30083082do
    30093083echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3010 echo "configure:3011: checking for $ac_func" >&5
     3084echo "configure:3085: checking for $ac_func" >&5
    30113085if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    30123086  echo $ac_n "(cached) $ac_c" 1>&6
    30133087else
    30143088  cat > conftest.$ac_ext <<EOF
    3015 #line 3016 "configure"
     3089#line 3090 "configure"
    30163090#include "confdefs.h"
    30173091/* System header to define __stub macros and hopefully few prototypes,
     
    30363110; return 0; }
    30373111EOF
    3038 if { (eval echo configure:3039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3112if { (eval echo configure:3113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    30393113  rm -rf conftest*
    30403114  eval "ac_cv_func_$ac_func=yes"
     
    30643138# arithmetic shifts
    30653139echo $ac_n "checking whether your machine has correct arithmetic shifts""... $ac_c" 1>&6
    3066 echo "configure:3067: checking whether your machine has correct arithmetic shifts" >&5
     3140echo "configure:3141: checking whether your machine has correct arithmetic shifts" >&5
    30673141if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then
    30683142  echo $ac_n "(cached) $ac_c" 1>&6
     
    30773151else
    30783152  cat > conftest.$ac_ext <<EOF
    3079 #line 3080 "configure"
     3153#line 3154 "configure"
    30803154#include "confdefs.h"
    30813155 int main() { if (-2 >> 1 == -1) exit(0); else exit(1); }
    30823156EOF
    3083 if { (eval echo configure:3084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3157if { (eval echo configure:3158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    30843158then
    30853159  ac_cv_shift=yes
     
    31063180# check for a peculiar constructor initialization
    31073181echo $ac_n "checking whether explicit C++ constructor calls are allowed""... $ac_c" 1>&6
    3108 echo "configure:3109: checking whether explicit C++ constructor calls are allowed" >&5
     3182echo "configure:3183: checking whether explicit C++ constructor calls are allowed" >&5
    31093183
    31103184ac_ext=C
     
    31193193else
    31203194  cat > conftest.$ac_ext <<EOF
    3121 #line 3122 "configure"
     3195#line 3196 "configure"
    31223196#include "confdefs.h"
    31233197
     
    31373211; return 0; }
    31383212EOF
    3139 if { (eval echo configure:3140: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3213if { (eval echo configure:3214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    31403214  rm -rf conftest*
    31413215  ac_cv_explicit_const=yes
     
    31663240# sprintf returns number of printed chars
    31673241echo $ac_n "checking whether vsprintf returns number of printed chars""... $ac_c" 1>&6
    3168 echo "configure:3169: checking whether vsprintf returns number of printed chars" >&5
     3242echo "configure:3243: checking whether vsprintf returns number of printed chars" >&5
    31693243if eval "test \"`echo '$''{'ac_cv_returns_n_of_chars'+set}'`\" = set"; then
    31703244  echo $ac_n "(cached) $ac_c" 1>&6
     
    31743248else
    31753249  cat > conftest.$ac_ext <<EOF
    3176 #line 3177 "configure"
     3250#line 3251 "configure"
    31773251#include "confdefs.h"
    31783252#include <stdio.h>
    31793253 main() { char *str=(char*)malloc(20); if (((int) sprintf(str,"123456789")) == 9) exit(0); else exit(1); }
    31803254EOF
    3181 if { (eval echo configure:3182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3255if { (eval echo configure:3256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    31823256then
    31833257  ac_cv_returns_n_of_chars=yes
     
    32053279# determine ALIGN_8
    32063280echo $ac_n "checking size of char""... $ac_c" 1>&6
    3207 echo "configure:3208: checking size of char" >&5
     3281echo "configure:3282: checking size of char" >&5
    32083282if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
    32093283  echo $ac_n "(cached) $ac_c" 1>&6
     
    32133287else
    32143288  cat > conftest.$ac_ext <<EOF
    3215 #line 3216 "configure"
     3289#line 3290 "configure"
    32163290#include "confdefs.h"
    32173291#include <stdio.h>
     
    32243298}
    32253299EOF
    3226 if { (eval echo configure:3227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3300if { (eval echo configure:3301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    32273301then
    32283302  ac_cv_sizeof_char=`cat conftestval`
     
    32443318
    32453319echo $ac_n "checking size of short""... $ac_c" 1>&6
    3246 echo "configure:3247: checking size of short" >&5
     3320echo "configure:3321: checking size of short" >&5
    32473321if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
    32483322  echo $ac_n "(cached) $ac_c" 1>&6
     
    32523326else
    32533327  cat > conftest.$ac_ext <<EOF
    3254 #line 3255 "configure"
     3328#line 3329 "configure"
    32553329#include "confdefs.h"
    32563330#include <stdio.h>
     
    32633337}
    32643338EOF
    3265 if { (eval echo configure:3266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3339if { (eval echo configure:3340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    32663340then
    32673341  ac_cv_sizeof_short=`cat conftestval`
     
    32833357
    32843358echo $ac_n "checking size of int""... $ac_c" 1>&6
    3285 echo "configure:3286: checking size of int" >&5
     3359echo "configure:3360: checking size of int" >&5
    32863360if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
    32873361  echo $ac_n "(cached) $ac_c" 1>&6
     
    32913365else
    32923366  cat > conftest.$ac_ext <<EOF
    3293 #line 3294 "configure"
     3367#line 3368 "configure"
    32943368#include "confdefs.h"
    32953369#include <stdio.h>
     
    33023376}
    33033377EOF
    3304 if { (eval echo configure:3305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3378if { (eval echo configure:3379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    33053379then
    33063380  ac_cv_sizeof_int=`cat conftestval`
     
    33223396
    33233397echo $ac_n "checking size of long""... $ac_c" 1>&6
    3324 echo "configure:3325: checking size of long" >&5
     3398echo "configure:3399: checking size of long" >&5
    33253399if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
    33263400  echo $ac_n "(cached) $ac_c" 1>&6
     
    33303404else
    33313405  cat > conftest.$ac_ext <<EOF
    3332 #line 3333 "configure"
     3406#line 3407 "configure"
    33333407#include "confdefs.h"
    33343408#include <stdio.h>
     
    33413415}
    33423416EOF
    3343 if { (eval echo configure:3344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3417if { (eval echo configure:3418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    33443418then
    33453419  ac_cv_sizeof_long=`cat conftestval`
     
    33613435
    33623436echo $ac_n "checking size of void*""... $ac_c" 1>&6
    3363 echo "configure:3364: checking size of void*" >&5
     3437echo "configure:3438: checking size of void*" >&5
    33643438if eval "test \"`echo '$''{'ac_cv_sizeof_voidp'+set}'`\" = set"; then
    33653439  echo $ac_n "(cached) $ac_c" 1>&6
     
    33693443else
    33703444  cat > conftest.$ac_ext <<EOF
    3371 #line 3372 "configure"
     3445#line 3446 "configure"
    33723446#include "confdefs.h"
    33733447#include <stdio.h>
     
    33803454}
    33813455EOF
    3382 if { (eval echo configure:3383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3456if { (eval echo configure:3457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    33833457then
    33843458  ac_cv_sizeof_voidp=`cat conftestval`
     
    34003474
    34013475echo $ac_n "checking size of double""... $ac_c" 1>&6
    3402 echo "configure:3403: checking size of double" >&5
     3476echo "configure:3477: checking size of double" >&5
    34033477if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then
    34043478  echo $ac_n "(cached) $ac_c" 1>&6
     
    34083482else
    34093483  cat > conftest.$ac_ext <<EOF
    3410 #line 3411 "configure"
     3484#line 3485 "configure"
    34113485#include "confdefs.h"
    34123486#include <stdio.h>
     
    34193493}
    34203494EOF
    3421 if { (eval echo configure:3422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3495if { (eval echo configure:3496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    34223496then
    34233497  ac_cv_sizeof_double=`cat conftestval`
     
    34393513
    34403514echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
    3441 echo "configure:3442: checking whether byte ordering is bigendian" >&5
     3515echo "configure:3516: checking whether byte ordering is bigendian" >&5
    34423516if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
    34433517  echo $ac_n "(cached) $ac_c" 1>&6
     
    34463520# See if sys/param.h defines the BYTE_ORDER macro.
    34473521cat > conftest.$ac_ext <<EOF
    3448 #line 3449 "configure"
     3522#line 3523 "configure"
    34493523#include "confdefs.h"
    34503524#include <sys/types.h>
     
    34573531; return 0; }
    34583532EOF
    3459 if { (eval echo configure:3460: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3533if { (eval echo configure:3534: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    34603534  rm -rf conftest*
    34613535  # It does; now see whether it defined to BIG_ENDIAN or not.
    34623536cat > conftest.$ac_ext <<EOF
    3463 #line 3464 "configure"
     3537#line 3538 "configure"
    34643538#include "confdefs.h"
    34653539#include <sys/types.h>
     
    34723546; return 0; }
    34733547EOF
    3474 if { (eval echo configure:3475: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3548if { (eval echo configure:3549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    34753549  rm -rf conftest*
    34763550  ac_cv_c_bigendian=yes
     
    34923566else
    34933567  cat > conftest.$ac_ext <<EOF
    3494 #line 3495 "configure"
     3568#line 3569 "configure"
    34953569#include "confdefs.h"
    34963570main () {
     
    35053579}
    35063580EOF
    3507 if { (eval echo configure:3508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3581if { (eval echo configure:3582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    35083582then
    35093583  ac_cv_c_bigendian=no
     
    36233697
    36243698echo $ac_n "checking whether to use dynamic linking""... $ac_c" 1>&6
    3625 echo "configure:3626: checking whether to use dynamic linking" >&5
     3699echo "configure:3700: checking whether to use dynamic linking" >&5
    36263700if test "$with_dl" != no && test "$ac_lib_dl" = yes; then
    36273701  cat >> confdefs.h <<\EOF
     
    36363710
    36373711echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6
    3638 echo "configure:3639: checking for tgetent in -lncurses" >&5
     3712echo "configure:3713: checking for tgetent in -lncurses" >&5
    36393713ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
    36403714if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    36443718LIBS="-lncurses  $LIBS"
    36453719cat > conftest.$ac_ext <<EOF
    3646 #line 3647 "configure"
     3720#line 3721 "configure"
    36473721#include "confdefs.h"
    36483722/* Override any gcc2 internal prototype to avoid an error.  */
     
    36553729; return 0; }
    36563730EOF
    3657 if { (eval echo configure:3658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3731if { (eval echo configure:3732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    36583732  rm -rf conftest*
    36593733  eval "ac_cv_lib_$ac_lib_var=yes"
     
    36823756\
    36833757 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
    3684 echo "configure:3685: checking for tgetent in -lcurses" >&5
     3758echo "configure:3759: checking for tgetent in -lcurses" >&5
    36853759ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
    36863760if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    36903764LIBS="-lcurses  $LIBS"
    36913765cat > conftest.$ac_ext <<EOF
    3692 #line 3693 "configure"
     3766#line 3767 "configure"
    36933767#include "confdefs.h"
    36943768/* Override any gcc2 internal prototype to avoid an error.  */
     
    37013775; return 0; }
    37023776EOF
    3703 if { (eval echo configure:3704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3777if { (eval echo configure:3778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    37043778  rm -rf conftest*
    37053779  eval "ac_cv_lib_$ac_lib_var=yes"
     
    37283802\
    37293803  echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
    3730 echo "configure:3731: checking for tgetent in -ltermcap" >&5
     3804echo "configure:3805: checking for tgetent in -ltermcap" >&5
    37313805ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
    37323806if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    37363810LIBS="-ltermcap  $LIBS"
    37373811cat > conftest.$ac_ext <<EOF
    3738 #line 3739 "configure"
     3812#line 3813 "configure"
    37393813#include "confdefs.h"
    37403814/* Override any gcc2 internal prototype to avoid an error.  */
     
    37473821; return 0; }
    37483822EOF
    3749 if { (eval echo configure:3750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3823if { (eval echo configure:3824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    37503824  rm -rf conftest*
    37513825  eval "ac_cv_lib_$ac_lib_var=yes"
     
    37963870
    37973871   echo $ac_n "checking for rl_abort in -lreadline""... $ac_c" 1>&6
    3798 echo "configure:3799: checking for rl_abort in -lreadline" >&5
     3872echo "configure:3873: checking for rl_abort in -lreadline" >&5
    37993873ac_lib_var=`echo readline'_'rl_abort | sed 'y%./+-%__p_%'`
    38003874if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    38043878LIBS="-lreadline  $LIBS"
    38053879cat > conftest.$ac_ext <<EOF
    3806 #line 3807 "configure"
     3880#line 3881 "configure"
    38073881#include "confdefs.h"
    38083882/* Override any gcc2 internal prototype to avoid an error.  */
     
    38183892; return 0; }
    38193893EOF
    3820 if { (eval echo configure:3821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3894if { (eval echo configure:3895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    38213895  rm -rf conftest*
    38223896  eval "ac_cv_lib_$ac_lib_var=yes"
     
    38463920
    38473921   echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
    3848 echo "configure:3849: checking how to run the C++ preprocessor" >&5
     3922echo "configure:3923: checking how to run the C++ preprocessor" >&5
    38493923if test -z "$CXXCPP"; then
    38503924if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
     
    38593933  CXXCPP="${CXX-g++} -E"
    38603934  cat > conftest.$ac_ext <<EOF
    3861 #line 3862 "configure"
     3935#line 3936 "configure"
    38623936#include "confdefs.h"
    38633937#include <stdlib.h>
    38643938EOF
    38653939ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3866 { (eval echo configure:3867: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3940{ (eval echo configure:3941: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    38673941ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    38683942if test -z "$ac_err"; then
     
    38923966ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    38933967echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    3894 echo "configure:3895: checking for $ac_hdr" >&5
     3968echo "configure:3969: checking for $ac_hdr" >&5
    38953969if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    38963970  echo $ac_n "(cached) $ac_c" 1>&6
    38973971else
    38983972  cat > conftest.$ac_ext <<EOF
    3899 #line 3900 "configure"
     3973#line 3974 "configure"
    39003974#include "confdefs.h"
    39013975#include <$ac_hdr>
    39023976EOF
    39033977ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3904 { (eval echo configure:3905: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3978{ (eval echo configure:3979: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    39053979ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    39063980if test -z "$ac_err"; then
     
    39314005      test "$ac_cv_header_readline_readline_h" = yes; then
    39324006     echo $ac_n "checking whether readline.h is ok""... $ac_c" 1>&6
    3933 echo "configure:3934: checking whether readline.h is ok" >&5
     4007echo "configure:4008: checking whether readline.h is ok" >&5
    39344008     if eval "test \"`echo '$''{'ac_cv_header_readline_readline_h_ok'+set}'`\" = set"; then
    39354009  echo $ac_n "(cached) $ac_c" 1>&6
    39364010else
    39374011  cat > conftest.$ac_ext <<EOF
    3938 #line 3939 "configure"
     4012#line 4013 "configure"
    39394013#include "confdefs.h"
    39404014#include<unistd.h>
     
    39614035; return 0; }
    39624036EOF
    3963 if { (eval echo configure:3964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4037if { (eval echo configure:4038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    39644038  rm -rf conftest*
    39654039  ac_cv_header_readline_readline_h_ok="yes"
     
    39774051#not ok -- try once more with explicitly declaring everything
    39784052      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" >&5
     4053echo "configure:4054: checking whether or not we nevertheless can use readline" >&5
    39804054      if eval "test \"`echo '$''{'ac_cv_have_readline'+set}'`\" = set"; then
    39814055  echo $ac_n "(cached) $ac_c" 1>&6
    39824056else
    39834057  cat > conftest.$ac_ext <<EOF
    3984 #line 3985 "configure"
     4058#line 4059 "configure"
    39854059#include "confdefs.h"
    39864060#include <stdio.h>
     
    40164090; return 0; }
    40174091EOF
    4018 if { (eval echo configure:4019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4092if { (eval echo configure:4093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    40194093  rm -rf conftest*
    40204094  ac_cv_have_readline="yes"
     
    40554129
    40564130echo $ac_n "checking which readline to use""... $ac_c" 1>&6
    4057 echo "configure:4058: checking which readline to use" >&5
     4131echo "configure:4132: checking which readline to use" >&5
    40584132if test "$ac_cv_with_readline" = dynamic; then
    40594133  echo "$ac_t""dynamic" 1>&6
     
    40734147# gmp, smallgmp, MP, MPT, factory, libfac
    40744148echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6
    4075 echo "configure:4076: checking for main in -lgmp" >&5
     4149echo "configure:4150: checking for main in -lgmp" >&5
    40764150ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'`
    40774151if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    40814155LIBS="-lgmp  $LIBS"
    40824156cat > conftest.$ac_ext <<EOF
    4083 #line 4084 "configure"
     4157#line 4158 "configure"
    40844158#include "confdefs.h"
    40854159
     
    40884162; return 0; }
    40894163EOF
    4090 if { (eval echo configure:4091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4164if { (eval echo configure:4165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    40914165  rm -rf conftest*
    40924166  eval "ac_cv_lib_$ac_lib_var=yes"
     
    41194193fi
    41204194echo $ac_n "checking for main in -lsmallgmp""... $ac_c" 1>&6
    4121 echo "configure:4122: checking for main in -lsmallgmp" >&5
     4195echo "configure:4196: checking for main in -lsmallgmp" >&5
    41224196ac_lib_var=`echo smallgmp'_'main | sed 'y%./+-%__p_%'`
    41234197if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    41274201LIBS="-lsmallgmp  $LIBS"
    41284202cat > conftest.$ac_ext <<EOF
    4129 #line 4130 "configure"
     4203#line 4204 "configure"
    41304204#include "confdefs.h"
    41314205
     
    41344208; return 0; }
    41354209EOF
    4136 if { (eval echo configure:4137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4210if { (eval echo configure:4211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    41374211  rm -rf conftest*
    41384212  eval "ac_cv_lib_$ac_lib_var=yes"
     
    41634237SAVE_LIBS=$LIBS
    41644238echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6
    4165 echo "configure:4166: checking for IMP_PutGmpInt in -lMP" >&5
     4239echo "configure:4240: checking for IMP_PutGmpInt in -lMP" >&5
    41664240ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'`
    41674241if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    41714245LIBS="-lMP $MP_LIBS $LIBS"
    41724246cat > conftest.$ac_ext <<EOF
    4173 #line 4174 "configure"
     4247#line 4248 "configure"
    41744248#include "confdefs.h"
    41754249/* Override any gcc2 internal prototype to avoid an error.  */
     
    41824256; return 0; }
    41834257EOF
    4184 if { (eval echo configure:4185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4258if { (eval echo configure:4259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    41854259  rm -rf conftest*
    41864260  eval "ac_cv_lib_$ac_lib_var=yes"
     
    42104284
    42114285echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6
    4212 echo "configure:4213: checking for MPT_GetTree in -lMPT" >&5
     4286echo "configure:4287: checking for MPT_GetTree in -lMPT" >&5
    42134287ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'`
    42144288if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    42184292LIBS="-lMPT $MP_LIBS $LIBS"
    42194293cat > conftest.$ac_ext <<EOF
    4220 #line 4221 "configure"
     4294#line 4295 "configure"
    42214295#include "confdefs.h"
    42224296/* Override any gcc2 internal prototype to avoid an error.  */
     
    42294303; return 0; }
    42304304EOF
    4231 if { (eval echo configure:4232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4305if { (eval echo configure:4306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    42324306  rm -rf conftest*
    42334307  eval "ac_cv_lib_$ac_lib_var=yes"
     
    42584332LIBS=$SAVE_LIBS
    42594333echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6
    4260 echo "configure:4261: checking for atof in -lsingcf" >&5
     4334echo "configure:4335: checking for atof in -lsingcf" >&5
    42614335ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'`
    42624336if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    42664340LIBS="-lsingcf  $LIBS"
    42674341cat > conftest.$ac_ext <<EOF
    4268 #line 4269 "configure"
     4342#line 4343 "configure"
    42694343#include "confdefs.h"
    42704344/* Override any gcc2 internal prototype to avoid an error.  */
     
    42774351; return 0; }
    42784352EOF
    4279 if { (eval echo configure:4280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4353if { (eval echo configure:4354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    42804354  rm -rf conftest*
    42814355  eval "ac_cv_lib_$ac_lib_var=yes"
     
    43054379
    43064380echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6
    4307 echo "configure:4308: checking for atof in -lsingfac" >&5
     4381echo "configure:4382: checking for atof in -lsingfac" >&5
    43084382ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'`
    43094383if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    43134387LIBS="-lsingfac  $LIBS"
    43144388cat > conftest.$ac_ext <<EOF
    4315 #line 4316 "configure"
     4389#line 4390 "configure"
    43164390#include "confdefs.h"
    43174391/* Override any gcc2 internal prototype to avoid an error.  */
     
    43244398; return 0; }
    43254399EOF
    4326 if { (eval echo configure:4327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4400if { (eval echo configure:4401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    43274401  rm -rf conftest*
    43284402  eval "ac_cv_lib_$ac_lib_var=yes"
     
    43524426
    43534427echo $ac_n "checking for omTestAddr in -lomalloc""... $ac_c" 1>&6
    4354 echo "configure:4355: checking for omTestAddr in -lomalloc" >&5
     4428echo "configure:4429: checking for omTestAddr in -lomalloc" >&5
    43554429ac_lib_var=`echo omalloc'_'omTestAddr | sed 'y%./+-%__p_%'`
    43564430if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    43604434LIBS="-lomalloc  $LIBS"
    43614435cat > conftest.$ac_ext <<EOF
    4362 #line 4363 "configure"
     4436#line 4437 "configure"
    43634437#include "confdefs.h"
    43644438/* Override any gcc2 internal prototype to avoid an error.  */
     
    43714445; return 0; }
    43724446EOF
    4373 if { (eval echo configure:4374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4447if { (eval echo configure:4448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    43744448  rm -rf conftest*
    43754449  eval "ac_cv_lib_$ac_lib_var=yes"
     
    43994473
    44004474echo $ac_n "checking for main in -lomalloc_ndebug""... $ac_c" 1>&6
    4401 echo "configure:4402: checking for main in -lomalloc_ndebug" >&5
     4475echo "configure:4476: checking for main in -lomalloc_ndebug" >&5
    44024476ac_lib_var=`echo omalloc_ndebug'_'main | sed 'y%./+-%__p_%'`
    44034477if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    44074481LIBS="-lomalloc_ndebug  $LIBS"
    44084482cat > conftest.$ac_ext <<EOF
    4409 #line 4410 "configure"
     4483#line 4484 "configure"
    44104484#include "confdefs.h"
    44114485
     
    44144488; return 0; }
    44154489EOF
    4416 if { (eval echo configure:4417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4490if { (eval echo configure:4491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    44174491  rm -rf conftest*
    44184492  eval "ac_cv_lib_$ac_lib_var=yes"
     
    44464520ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    44474521echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    4448 echo "configure:4449: checking for $ac_hdr" >&5
     4522echo "configure:4523: checking for $ac_hdr" >&5
    44494523if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    44504524  echo $ac_n "(cached) $ac_c" 1>&6
    44514525else
    44524526  cat > conftest.$ac_ext <<EOF
    4453 #line 4454 "configure"
     4527#line 4528 "configure"
    44544528#include "confdefs.h"
    44554529#include <$ac_hdr>
    44564530EOF
    44574531ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4458 { (eval echo configure:4459: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4532{ (eval echo configure:4533: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    44594533ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    44604534if test -z "$ac_err"; then
     
    45254599
    45264600echo $ac_n "checking which apint package to use""... $ac_c" 1>&6
    4527 echo "configure:4528: checking which apint package to use" >&5
     4601echo "configure:4602: checking which apint package to use" >&5
    45284602if test "${with_apint}" != gmp && test "${with_apint}" != smallgmp; then
    45294603  if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then
     
    45674641#
    45684642echo $ac_n "checking whether to have MP""... $ac_c" 1>&6
    4569 echo "configure:4570: checking whether to have MP" >&5
     4643echo "configure:4644: checking whether to have MP" >&5
    45704644if test "${with_MP}" != yes && test "${with_MP}" != no; then
    45714645  if (test "${will_have_gmp}" = yes) && \
     
    46024676
    46034677echo $ac_n "checking whether to have factory""... $ac_c" 1>&6
    4604 echo "configure:4605: checking whether to have factory" >&5
     4678echo "configure:4679: checking whether to have factory" >&5
    46054679if test "${with_factory}" != yes && test "${with_factory}" != no; then
    46064680  if test "$ac_factory_ok" =  yes || test "$enable_factory" = yes; then
     
    46334707
    46344708echo $ac_n "checking whether to have libfac""... $ac_c" 1>&6
    4635 echo "configure:4636: checking whether to have libfac" >&5
     4709echo "configure:4710: checking whether to have libfac" >&5
    46364710if test "${with_libfac}" != yes && test "${with_libfac}" != no; then
    46374711  if (test "${will_have_factory}" = yes) && \
     
    46674741
    46684742echo $ac_n "checking whether to have dbm links""... $ac_c" 1>&6
    4669 echo "configure:4670: checking whether to have dbm links" >&5
     4743echo "configure:4744: checking whether to have dbm links" >&5
    46704744if test "$with_dbm" != no; then
    46714745  cat >> confdefs.h <<\EOF
     
    46794753
    46804754echo $ac_n "checking whether to have namespaces""... $ac_c" 1>&6
    4681 echo "configure:4682: checking whether to have namespaces" >&5
     4755echo "configure:4756: checking whether to have namespaces" >&5
    46824756if test "$with_namespaces" != yes; then
    46834757  echo "$ac_t""no" 1>&6
     
    46914765
    46924766echo $ac_n "checking whether to have dynamic modules""... $ac_c" 1>&6
    4693 echo "configure:4694: checking whether to have dynamic modules" >&5
     4767echo "configure:4768: checking whether to have dynamic modules" >&5
    46944768if test "$with_dynamic_modules" != yes || test "$ac_have_dl" != yes; then
    46954769  echo "$ac_t""no" 1>&6
     
    47034777
    47044778echo $ac_n "checking whether to have dynamic kernel""... $ac_c" 1>&6
    4705 echo "configure:4706: checking whether to have dynamic kernel" >&5
     4779echo "configure:4780: checking whether to have dynamic kernel" >&5
    47064780if test "$with_dynamic_kernel" != no && test "$ac_lib_dl" = yes; then
    47074781  DL_KERNEL=1
     
    47114785
    47124786echo $ac_n "checking whether to have Plural""... $ac_c" 1>&6
    4713 echo "configure:4714: checking whether to have Plural" >&5
     4787echo "configure:4788: checking whether to have Plural" >&5
    47144788if test "$with_plural" != yes; then
    47154789  echo "$ac_t""no" 1>&6
  • Singular/configure.in

    rb258984 r104fd23  
    9696if test "${GXX}" = yes && test "${ac_cxx_set}" = no; then
    9797  CXX=gcc
     98temp_cflags=${CXXFLAGS}
     99
     100# check whether gcc accepts --no-rtti
     101AC_MSG_CHECKING(whether gcc accepts --no-rtti)
     102CXXFLAGS="${CXXFLAGS} --no-rtti"
     103AC_CACHE_VAL(ac_cv_cxx_have_rtti,
     104AC_TRY_COMPILE(,,ac_cv_cxx_have_rtti=yes,ac_cv_cxx_have_rtti=no)
     105)
     106AC_MSG_RESULT(${ac_cv_cxx_have_rtti})
     107if test "${ac_cv_cxx_have_rtti}" != yes; then
     108CXXFLAGS=$temp_flags
     109else
     110CXX="${CXX} --no-rtti"
     111fi
     112
     113# check whether gcc accepts --no-exceptions
     114AC_MSG_CHECKING(whether gcc accepts --no-exceptions)
     115CXXFLAGS="${CXXFLAGS} --no-exceptions"
     116AC_CACHE_VAL(ac_cv_cxx_have_exceptions,
     117AC_TRY_COMPILE(,,ac_cv_cxx_have_exceptions=yes,ac_cv_cxx_have_exceptions=no)
     118)
     119AC_MSG_RESULT(${ac_cv_cxx_have_exceptions})
     120if test "${ac_cv_cxx_have_exceptions}" != yes; then
     121CXXFLAGS=$temp_flags
     122else
     123CXX="${CXX} --no-exceptions"
     124fi
     125
     126CXXFLAGS=$temp_flags
     127
    98128fi
    99129
  • factory/configure

    rb258984 r104fd23  
    10881088                    (instead of the configure default \`-g -O')" 1>&2
    10891089  fi
     1090
     1091# check whether CXX accepts --no-rtti
     1092echo $ac_n "checking whether gcc accepts --no-rtti""... $ac_c" 1>&6
     1093echo "configure:1094: checking whether gcc accepts --no-rtti" >&5
     1094CXXFLAGS="${CXXFLAGS} --no-rtti"
     1095if eval "test \"`echo '$''{'ac_cv_cxx_have_rtti'+set}'`\" = set"; then
     1096  echo $ac_n "(cached) $ac_c" 1>&6
     1097else
     1098  cat > conftest.$ac_ext <<EOF
     1099#line 1100 "configure"
     1100#include "confdefs.h"
     1101
     1102int main() {
     1103
     1104; return 0; }
     1105EOF
     1106if { (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
     1109else
     1110  echo "configure: failed program was:" >&5
     1111  cat conftest.$ac_ext >&5
     1112  rm -rf conftest*
     1113  ac_cv_cxx_have_rtti=no
     1114fi
     1115rm -f conftest*
     1116
     1117fi
     1118
     1119echo "$ac_t""${ac_cv_cxx_have_rtti}" 1>&6
     1120if test "${ac_cv_cxx_have_rtti}" != yes; then
     1121CXXFLAGS=$temp_flags
     1122else
     1123CXX="${CXX} --no-rtti"
     1124fi
     1125
     1126# check whether gcc accepts --no-exceptions
     1127echo $ac_n "checking whether gcc accepts --no-exceptions""... $ac_c" 1>&6
     1128echo "configure:1129: checking whether gcc accepts --no-exceptions" >&5
     1129CXXFLAGS="${CXXFLAGS} --no-exceptions"
     1130if eval "test \"`echo '$''{'ac_cv_cxx_have_exceptions'+set}'`\" = set"; then
     1131  echo $ac_n "(cached) $ac_c" 1>&6
     1132else
     1133  cat > conftest.$ac_ext <<EOF
     1134#line 1135 "configure"
     1135#include "confdefs.h"
     1136
     1137int main() {
     1138
     1139; return 0; }
     1140EOF
     1141if { (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
     1144else
     1145  echo "configure: failed program was:" >&5
     1146  cat conftest.$ac_ext >&5
     1147  rm -rf conftest*
     1148  ac_cv_cxx_have_exceptions=no
     1149fi
     1150rm -f conftest*
     1151
     1152fi
     1153
     1154echo "$ac_t""${ac_cv_cxx_have_exceptions}" 1>&6
     1155if test "${ac_cv_cxx_have_exceptions}" != yes; then
     1156CXXFLAGS=$temp_flags
     1157else
     1158CXX="${CXX} --no-exceptions"
     1159fi
     1160
     1161CXXFLAGS=$temp_flags
     1162 
    10901163fi
    10911164
     
    10941167#
    10951168echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    1096 echo "configure:1097: checking how to run the C preprocessor" >&5
     1169echo "configure:1170: checking how to run the C preprocessor" >&5
    10971170# On Suns, sometimes $CPP names a directory.
    10981171if test -n "$CPP" && test -d "$CPP"; then
     
    11091182  # not just through cpp.
    11101183  cat > conftest.$ac_ext <<EOF
    1111 #line 1112 "configure"
     1184#line 1185 "configure"
    11121185#include "confdefs.h"
    11131186#include <assert.h>
     
    11151188EOF
    11161189ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1117 { (eval echo configure:1118: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1190{ (eval echo configure:1191: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    11181191ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    11191192if test -z "$ac_err"; then
     
    11261199  CPP="${CC-cc} -E -traditional-cpp"
    11271200  cat > conftest.$ac_ext <<EOF
    1128 #line 1129 "configure"
     1201#line 1202 "configure"
    11291202#include "confdefs.h"
    11301203#include <assert.h>
     
    11321205EOF
    11331206ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1134 { (eval echo configure:1135: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1207{ (eval echo configure:1208: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    11351208ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    11361209if test -z "$ac_err"; then
     
    11431216  CPP="${CC-cc} -nologo -E"
    11441217  cat > conftest.$ac_ext <<EOF
    1145 #line 1146 "configure"
     1218#line 1219 "configure"
    11461219#include "confdefs.h"
    11471220#include <assert.h>
     
    11491222EOF
    11501223ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1151 { (eval echo configure:1152: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1224{ (eval echo configure:1225: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    11521225ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    11531226if test -z "$ac_err"; then
     
    11741247
    11751248echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
    1176 echo "configure:1177: checking how to run the C++ preprocessor" >&5
     1249echo "configure:1250: checking how to run the C++ preprocessor" >&5
    11771250if test -z "$CXXCPP"; then
    11781251if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
     
    11871260  CXXCPP="${CXX-g++} -E"
    11881261  cat > conftest.$ac_ext <<EOF
    1189 #line 1190 "configure"
     1262#line 1263 "configure"
    11901263#include "confdefs.h"
    11911264#include <stdlib.h>
    11921265EOF
    11931266ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1194 { (eval echo configure:1195: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1267{ (eval echo configure:1268: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    11951268ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    11961269if test -z "$ac_err"; then
     
    12171290
    12181291echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
    1219 echo "configure:1220: checking whether ln -s works" >&5
     1292echo "configure:1293: checking whether ln -s works" >&5
    12201293if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
    12211294  echo $ac_n "(cached) $ac_c" 1>&6
     
    12491322# ./install, which can be erroneously created by make from ./install.sh.
    12501323echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    1251 echo "configure:1252: checking for a BSD compatible install" >&5
     1324echo "configure:1325: checking for a BSD compatible install" >&5
    12521325if test -z "$INSTALL"; then
    12531326if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     
    13041377set dummy ranlib; ac_word=$2
    13051378echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1306 echo "configure:1307: checking for $ac_word" >&5
     1379echo "configure:1380: checking for $ac_word" >&5
    13071380if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    13081381  echo $ac_n "(cached) $ac_c" 1>&6
     
    13321405
    13331406echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    1334 echo "configure:1335: checking whether ${MAKE-make} sets \${MAKE}" >&5
     1407echo "configure:1408: checking whether ${MAKE-make} sets \${MAKE}" >&5
    13351408set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    13361409if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    13611434set dummy ar; ac_word=$2
    13621435echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1363 echo "configure:1364: checking for $ac_word" >&5
     1436echo "configure:1437: checking for $ac_word" >&5
    13641437if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
    13651438  echo $ac_n "(cached) $ac_c" 1>&6
     
    13911464set dummy m4; ac_word=$2
    13921465echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1393 echo "configure:1394: checking for $ac_word" >&5
     1466echo "configure:1467: checking for $ac_word" >&5
    13941467if eval "test \"`echo '$''{'ac_cv_prog_M4'+set}'`\" = set"; then
    13951468  echo $ac_n "(cached) $ac_c" 1>&6
     
    14211494set dummy bison; ac_word=$2
    14221495echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1423 echo "configure:1424: checking for $ac_word" >&5
     1496echo "configure:1497: checking for $ac_word" >&5
    14241497if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then
    14251498  echo $ac_n "(cached) $ac_c" 1>&6
     
    14601533set dummy mkinstalldirs; ac_word=$2
    14611534echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1462 echo "configure:1463: checking for $ac_word" >&5
     1535echo "configure:1536: checking for $ac_word" >&5
    14631536if eval "test \"`echo '$''{'ac_cv_path_FACTORY_MKINSTALLDIRS'+set}'`\" = set"; then
    14641537  echo $ac_n "(cached) $ac_c" 1>&6
     
    14971570set dummy makeheader; ac_word=$2
    14981571echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1499 echo "configure:1500: checking for $ac_word" >&5
     1572echo "configure:1573: checking for $ac_word" >&5
    15001573if eval "test \"`echo '$''{'ac_cv_path_FACTORY_MAKEHEADER'+set}'`\" = set"; then
    15011574  echo $ac_n "(cached) $ac_c" 1>&6
     
    15361609
    15371610echo $ac_n "checking and generating explicit install paths""... $ac_c" 1>&6
    1538 echo "configure:1539: checking and generating explicit install paths" >&5
     1611echo "configure:1612: checking and generating explicit install paths" >&5
    15391612
    15401613# generate Makefile
     
    15761649#
    15771650echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6
    1578 echo "configure:1579: checking for atof in -lm" >&5
     1651echo "configure:1652: checking for atof in -lm" >&5
    15791652ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'`
    15801653if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    15841657LIBS="-lm  $LIBS"
    15851658cat > conftest.$ac_ext <<EOF
    1586 #line 1587 "configure"
     1659#line 1660 "configure"
    15871660#include "confdefs.h"
    15881661/* Override any gcc2 internal prototype to avoid an error.  */
     
    15951668; return 0; }
    15961669EOF
    1597 if { (eval echo configure:1598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1670if { (eval echo configure:1671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    15981671  rm -rf conftest*
    15991672  eval "ac_cv_lib_$ac_lib_var=yes"
     
    16261699if test "x$gmp_in_installation" != xyes; then
    16271700  echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6
    1628 echo "configure:1629: checking for main in -lgmp" >&5
     1701echo "configure:1702: checking for main in -lgmp" >&5
    16291702ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'`
    16301703if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    16341707LIBS="-lgmp  $LIBS"
    16351708cat > conftest.$ac_ext <<EOF
    1636 #line 1637 "configure"
     1709#line 1710 "configure"
    16371710#include "confdefs.h"
    16381711
     
    16411714; return 0; }
    16421715EOF
    1643 if { (eval echo configure:1644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1716if { (eval echo configure:1717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    16441717  rm -rf conftest*
    16451718  eval "ac_cv_lib_$ac_lib_var=yes"
     
    16721745      LDFLAGS="-L$explicit_libdir $LDFLAGS"
    16731746      echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6
    1674 echo "configure:1675: checking for main in -lgmp" >&5
     1747echo "configure:1748: checking for main in -lgmp" >&5
    16751748ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'`
    16761749if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    16801753LIBS="-lgmp  $LIBS"
    16811754cat > conftest.$ac_ext <<EOF
    1682 #line 1683 "configure"
     1755#line 1756 "configure"
    16831756#include "confdefs.h"
    16841757
     
    16871760; return 0; }
    16881761EOF
    1689 if { (eval echo configure:1690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1762if { (eval echo configure:1763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    16901763  rm -rf conftest*
    16911764  eval "ac_cv_lib_$ac_lib_var=yes"
     
    17371810ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    17381811echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1739 echo "configure:1740: checking for $ac_hdr" >&5
     1812echo "configure:1813: checking for $ac_hdr" >&5
    17401813if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    17411814  echo $ac_n "(cached) $ac_c" 1>&6
    17421815else
    17431816  cat > conftest.$ac_ext <<EOF
    1744 #line 1745 "configure"
     1817#line 1818 "configure"
    17451818#include "confdefs.h"
    17461819#include <$ac_hdr>
    17471820EOF
    17481821ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1749 { (eval echo configure:1750: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1822{ (eval echo configure:1823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    17501823ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    17511824if test -z "$ac_err"; then
     
    17781851ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    17791852echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1780 echo "configure:1781: checking for $ac_hdr" >&5
     1853echo "configure:1854: checking for $ac_hdr" >&5
    17811854if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    17821855  echo $ac_n "(cached) $ac_c" 1>&6
    17831856else
    17841857  cat > conftest.$ac_ext <<EOF
    1785 #line 1786 "configure"
     1858#line 1859 "configure"
    17861859#include "confdefs.h"
    17871860#include <$ac_hdr>
    17881861EOF
    17891862ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1790 { (eval echo configure:1791: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1863{ (eval echo configure:1864: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    17911864ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    17921865if test -z "$ac_err"; then
     
    18261899ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    18271900echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1828 echo "configure:1829: checking for $ac_hdr" >&5
     1901echo "configure:1902: checking for $ac_hdr" >&5
    18291902if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    18301903  echo $ac_n "(cached) $ac_c" 1>&6
    18311904else
    18321905  cat > conftest.$ac_ext <<EOF
    1833 #line 1834 "configure"
     1906#line 1907 "configure"
    18341907#include "confdefs.h"
    18351908#include <$ac_hdr>
    18361909EOF
    18371910ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1838 { (eval echo configure:1839: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1911{ (eval echo configure:1912: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    18391912ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    18401913if test -z "$ac_err"; then
     
    18691942ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    18701943echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1871 echo "configure:1872: checking for $ac_hdr" >&5
     1944echo "configure:1945: checking for $ac_hdr" >&5
    18721945if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    18731946  echo $ac_n "(cached) $ac_c" 1>&6
    18741947else
    18751948  cat > conftest.$ac_ext <<EOF
    1876 #line 1877 "configure"
     1949#line 1950 "configure"
    18771950#include "confdefs.h"
    18781951#include <$ac_hdr>
    18791952EOF
    18801953ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1881 { (eval echo configure:1882: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1954{ (eval echo configure:1955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    18821955ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    18831956if test -z "$ac_err"; then
     
    19101983ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    19111984echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1912 echo "configure:1913: checking for $ac_hdr" >&5
     1985echo "configure:1986: checking for $ac_hdr" >&5
    19131986if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    19141987  echo $ac_n "(cached) $ac_c" 1>&6
    19151988else
    19161989  cat > conftest.$ac_ext <<EOF
    1917 #line 1918 "configure"
     1990#line 1991 "configure"
    19181991#include "confdefs.h"
    19191992#include <$ac_hdr>
    19201993EOF
    19211994ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1922 { (eval echo configure:1923: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1995{ (eval echo configure:1996: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    19231996ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    19241997if test -z "$ac_err"; then
     
    19542027ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    19552028echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1956 echo "configure:1957: checking for $ac_hdr" >&5
     2029echo "configure:2030: checking for $ac_hdr" >&5
    19572030if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    19582031  echo $ac_n "(cached) $ac_c" 1>&6
    19592032else
    19602033  cat > conftest.$ac_ext <<EOF
    1961 #line 1962 "configure"
     2034#line 2035 "configure"
    19622035#include "confdefs.h"
    19632036#include <$ac_hdr>
    19642037EOF
    19652038ac_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; }
    19672040ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    19682041if test -z "$ac_err"; then
     
    20002073ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    20012074echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2002 echo "configure:2003: checking for $ac_hdr" >&5
     2075echo "configure:2076: checking for $ac_hdr" >&5
    20032076if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    20042077  echo $ac_n "(cached) $ac_c" 1>&6
    20052078else
    20062079  cat > conftest.$ac_ext <<EOF
    2007 #line 2008 "configure"
     2080#line 2081 "configure"
    20082081#include "confdefs.h"
    20092082#include <$ac_hdr>
    20102083EOF
    20112084ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2012 { (eval echo configure:2013: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2085{ (eval echo configure:2086: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    20132086ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    20142087if test -z "$ac_err"; then
     
    20442117ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    20452118echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2046 echo "configure:2047: checking for $ac_hdr" >&5
     2119echo "configure:2120: checking for $ac_hdr" >&5
    20472120if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    20482121  echo $ac_n "(cached) $ac_c" 1>&6
    20492122else
    20502123  cat > conftest.$ac_ext <<EOF
    2051 #line 2052 "configure"
     2124#line 2125 "configure"
    20522125#include "confdefs.h"
    20532126#include <$ac_hdr>
    20542127EOF
    20552128ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2056 { (eval echo configure:2057: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2129{ (eval echo configure:2130: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    20572130ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    20582131if test -z "$ac_err"; then
     
    21102183
    21112184echo $ac_n "checking for working const""... $ac_c" 1>&6
    2112 echo "configure:2113: checking for working const" >&5
     2185echo "configure:2186: checking for working const" >&5
    21132186if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
    21142187  echo $ac_n "(cached) $ac_c" 1>&6
    21152188else
    21162189  cat > conftest.$ac_ext <<EOF
    2117 #line 2118 "configure"
     2190#line 2191 "configure"
    21182191#include "confdefs.h"
    21192192
     
    21642237; return 0; }
    21652238EOF
    2166 if { (eval echo configure:2167: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2239if { (eval echo configure:2240: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    21672240  rm -rf conftest*
    21682241  ac_cv_c_const=yes
     
    21852258
    21862259echo $ac_n "checking for inline""... $ac_c" 1>&6
    2187 echo "configure:2188: checking for inline" >&5
     2260echo "configure:2261: checking for inline" >&5
    21882261if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
    21892262  echo $ac_n "(cached) $ac_c" 1>&6
     
    21922265for ac_kw in inline __inline__ __inline; do
    21932266  cat > conftest.$ac_ext <<EOF
    2194 #line 2195 "configure"
     2267#line 2268 "configure"
    21952268#include "confdefs.h"
    21962269
     
    21992272; return 0; }
    22002273EOF
    2201 if { (eval echo configure:2202: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2274if { (eval echo configure:2275: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    22022275  rm -rf conftest*
    22032276  ac_cv_c_inline=$ac_kw; break
     
    22272300# arithmetic shift
    22282301echo $ac_n "checking whether your compiler does arithmetic shifts""... $ac_c" 1>&6
    2229 echo "configure:2230: checking whether your compiler does arithmetic shifts" >&5
     2302echo "configure:2303: checking whether your compiler does arithmetic shifts" >&5
    22302303if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then
    22312304  echo $ac_n "(cached) $ac_c" 1>&6
     
    22352308else
    22362309  cat > conftest.$ac_ext <<EOF
    2237 #line 2238 "configure"
     2310#line 2311 "configure"
    22382311#include "confdefs.h"
    22392312 int main() { if (-2 >> 1 == -1) exit(0); else exit(1); }
    22402313EOF
    2241 if { (eval echo configure:2242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2314if { (eval echo configure:2315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    22422315then
    22432316  ac_cv_shift=yes
     
    23422415
    23432416echo $ac_n "checking whether to use omalloc""... $ac_c" 1>&6
    2344 echo "configure:2345: checking whether to use omalloc" >&5
     2417echo "configure:2418: checking whether to use omalloc" >&5
    23452418
    23462419if test "$with_omalloc" = yes; then
  • factory/configure.in

    rb258984 r104fd23  
    11dnl # emacs edit mode for this file is -*- sh -*-
    2 dnl # $Id: configure.in,v 1.27 2000-09-04 14:02:45 obachman Exp $
     2dnl # $Id: configure.in,v 1.28 2000-12-12 12:35:13 obachman Exp $
    33
    44dnl #
     
    1313# - initialisation.
    1414#
    15 AC_REVISION($Id: configure.in,v 1.27 2000-09-04 14:02:45 obachman Exp $)
     15AC_REVISION($Id: configure.in,v 1.28 2000-12-12 12:35:13 obachman Exp $)
    1616AC_INIT(canonicalform.cc)
    1717AC_CONFIG_HEADER(config.h)
     
    149149                    (instead of the configure default \`-g -O')])
    150150  fi
     151
     152# check whether CXX accepts --no-rtti
     153AC_MSG_CHECKING(whether gcc accepts --no-rtti)
     154CXXFLAGS="${CXXFLAGS} --no-rtti"
     155AC_CACHE_VAL(ac_cv_cxx_have_rtti,
     156AC_TRY_COMPILE(,,ac_cv_cxx_have_rtti=yes,ac_cv_cxx_have_rtti=no)
     157)
     158AC_MSG_RESULT(${ac_cv_cxx_have_rtti})
     159if test "${ac_cv_cxx_have_rtti}" != yes; then
     160CXXFLAGS=$temp_flags
     161else
     162CXX="${CXX} --no-rtti"
     163fi
     164
     165# check whether gcc accepts --no-exceptions
     166AC_MSG_CHECKING(whether gcc accepts --no-exceptions)
     167CXXFLAGS="${CXXFLAGS} --no-exceptions"
     168AC_CACHE_VAL(ac_cv_cxx_have_exceptions,
     169AC_TRY_COMPILE(,,ac_cv_cxx_have_exceptions=yes,ac_cv_cxx_have_exceptions=no)
     170)
     171AC_MSG_RESULT(${ac_cv_cxx_have_exceptions})
     172if test "${ac_cv_cxx_have_exceptions}" != yes; then
     173CXXFLAGS=$temp_flags
     174else
     175CXX="${CXX} --no-exceptions"
     176fi
     177
     178CXXFLAGS=$temp_flags
     179 
    151180fi
    152181
  • libfac/configure

    rb258984 r104fd23  
    22
    33# Guess values for system-dependent variables and create Makefiles.
    4 # Generated automatically using autoconf version 2.10
     4# Generated automatically using autoconf version 2.13
    55# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
    66#
     
    5454subdirs=
    5555MFLAGS= MAKEFLAGS=
     56SHELL=${CONFIG_SHELL-/bin/sh}
     57# Maximum number of lines to put in a shell here document.
     58ac_max_here_lines=12
    5659
    5760ac_prev=
     
    335338
    336339  -version | --version | --versio | --versi | --vers)
    337     echo "configure generated by autoconf version 2.10"
     340    echo "configure generated by autoconf version 2.13"
    338341    exit 0 ;;
    339342
     
    437440
    438441# 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.
     446if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
    442447if 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
     448if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
     449if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
    444450
    445451# confdefs.h avoids OS command line length limits that DEFS can exceed.
     
    502508ac_cpp='$CPP $CPPFLAGS'
    503509ac_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 
     510ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     511cross_compiling=$ac_cv_prog_cc_cross
     512
     513ac_exeext=
     514ac_objext=o
    506515if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
    507516  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
     
    607616ac_cpp='$CXXCPP $CPPFLAGS'
    608617ac_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'
     618ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     619cross_compiling=$ac_cv_prog_cxx_cross
    610620 
    611 for ac_prog in $CCC c++ g++ gcc CC cxx
     621for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
    612622do
    613623# Extract the first word of "$ac_prog", so it can be a program name with args.
    614624set dummy $ac_prog; ac_word=$2
    615625echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     626echo "configure:627: checking for $ac_word" >&5
    616627if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
    617628  echo $ac_n "(cached) $ac_c" 1>&6
     
    620631  ac_cv_prog_CXX="$CXX" # Let the user override the test.
    621632else
    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
    624636    test -z "$ac_dir" && ac_dir=.
    625637    if test -f $ac_dir/$ac_word; then
     
    643655
    644656
     657echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
     658echo "configure:659: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
     659
     660ac_ext=C
     661# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     662ac_cpp='$CXXCPP $CPPFLAGS'
     663ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     664ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     665cross_compiling=$ac_cv_prog_cxx_cross
     666
     667cat > conftest.$ac_ext << EOF
     668
     669#line 670 "configure"
     670#include "confdefs.h"
     671
     672int main(){return(0);}
     673EOF
     674if { (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
     682else
     683  echo "configure: failed program was:" >&5
     684  cat conftest.$ac_ext >&5
     685  ac_cv_prog_cxx_works=no
     686fi
     687rm -fr conftest*
     688ac_ext=C
     689# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     690ac_cpp='$CXXCPP $CPPFLAGS'
     691ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     692ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     693cross_compiling=$ac_cv_prog_cxx_cross
     694
     695echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
     696if 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; }
     698fi
     699echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
     700echo "configure:701: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
     701echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
     702cross_compiling=$ac_cv_prog_cxx_cross
     703
    645704echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
     705echo "configure:706: checking whether we are using GNU C++" >&5
    646706if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
    647707  echo $ac_n "(cached) $ac_c" 1>&6
     
    652712#endif
    653713EOF
    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; then
     714if { 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
    655715  ac_cv_prog_gxx=yes
    656716else
     
    660720
    661721echo "$ac_t""$ac_cv_prog_gxx" 1>&6
     722
    662723if test $ac_cv_prog_gxx = yes; then
    663724  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
     725else
     726  GXX=
     727fi
     728
     729ac_test_CXXFLAGS="${CXXFLAGS+set}"
     730ac_save_CXXFLAGS="$CXXFLAGS"
     731CXXFLAGS=
     732echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
     733echo "configure:734: checking whether ${CXX-g++} accepts -g" >&5
     734if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
    667735  echo $ac_n "(cached) $ac_c" 1>&6
    668736else
    669737  echo 'void f(){}' > conftest.cc
    670738if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
    671   ac_cv_prog_gxx_g=yes
    672 else
    673   ac_cv_prog_gxx_g=no
     739  ac_cv_prog_cxx_g=yes
     740else
     741  ac_cv_prog_cxx_g=no
    674742fi
    675743rm -f conftest*
     
    677745fi
    678746
    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"
     747echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
     748if test "$ac_test_CXXFLAGS" = set; then
     749  CXXFLAGS="$ac_save_CXXFLAGS"
     750elif 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
     756else
     757  if test "$GXX" = yes; then
     758    CXXFLAGS="-O2"
     759  else
     760    CXXFLAGS=
     761  fi
    689762fi
    690763
    691764echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
     765echo "configure:766: checking how to run the C++ preprocessor" >&5
    692766if test -z "$CXXCPP"; then
    693767if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
     
    698772ac_cpp='$CXXCPP $CPPFLAGS'
    699773ac_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'
     774ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     775cross_compiling=$ac_cv_prog_cxx_cross
    701776  CXXCPP="${CXX-g++} -E"
    702777  cat > conftest.$ac_ext <<EOF
    703 #line 704 "configure"
     778#line 779 "configure"
    704779#include "confdefs.h"
    705780#include <stdlib.h>
    706781EOF
    707782ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    708 { (eval echo configure:709: \"$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; }
     784ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    710785if test -z "$ac_err"; then
    711786  :
    712787else
    713788  echo "$ac_err" >&5
     789  echo "configure: failed program was:" >&5
     790  cat conftest.$ac_ext >&5
    714791  rm -rf conftest*
    715792  CXXCPP=/lib/cpp
     
    717794rm -f conftest*
    718795  ac_cv_prog_CXXCPP="$CXXCPP"
     796ac_ext=C
     797# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     798ac_cpp='$CXXCPP $CPPFLAGS'
     799ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     800ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     801cross_compiling=$ac_cv_prog_cxx_cross
    719802fi
    720803fi
     
    724807
    725808echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    726 set dummy ${MAKE-make}; ac_make=$2
     809echo "configure:810: checking whether ${MAKE-make} sets \${MAKE}" >&5
     810set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    727811if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
    728812  echo $ac_n "(cached) $ac_c" 1>&6
     
    752836set dummy ranlib; ac_word=$2
    753837echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     838echo "configure:839: checking for $ac_word" >&5
    754839if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    755840  echo $ac_n "(cached) $ac_c" 1>&6
     
    758843  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
    759844else
    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
    762848    test -z "$ac_dir" && ac_dir=.
    763849    if test -f $ac_dir/$ac_word; then
     
    780866set dummy ar; ac_word=$2
    781867echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     868echo "configure:869: checking for $ac_word" >&5
    782869if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
    783870  echo $ac_n "(cached) $ac_c" 1>&6
     
    786873  ac_cv_prog_AR="$AR" # Let the user override the test.
    787874else
    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
    790878    test -z "$ac_dir" && ac_dir=.
    791879    if test -f $ac_dir/$ac_word; then
     
    809897
    810898
    811 ac_safe=`echo "factory.h" | tr './\055' '___'`
     899ac_safe=`echo "factory.h" | sed 'y%./+-%__p_%'`
    812900echo $ac_n "checking for factory.h""... $ac_c" 1>&6
     901echo "configure:902: checking for factory.h" >&5
    813902if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    814903  echo $ac_n "(cached) $ac_c" 1>&6
    815904else
    816905  cat > conftest.$ac_ext <<EOF
    817 #line 818 "configure"
     906#line 907 "configure"
    818907#include "confdefs.h"
    819908#include <factory.h>
    820909EOF
    821910ac_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; }
     912ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    824913if test -z "$ac_err"; then
    825914  rm -rf conftest*
     
    827916else
    828917  echo "$ac_err" >&5
     918  echo "configure: failed program was:" >&5
     919  cat conftest.$ac_ext >&5
    829920  rm -rf conftest*
    830921  eval "ac_cv_header_$ac_safe=no"
     
    844935
    845936echo $ac_n "checking for working const""... $ac_c" 1>&6
     937echo "configure:938: checking for working const" >&5
    846938if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
    847939  echo $ac_n "(cached) $ac_c" 1>&6
    848940else
    849941  cat > conftest.$ac_ext <<EOF
    850 #line 851 "configure"
     942#line 943 "configure"
    851943#include "confdefs.h"
    852944
    853 int main() { return 0; }
    854 int t() {
     945int main() {
    855946
    856947/* Ultrix mips cc rejects this.  */
     
    898989; return 0; }
    899990EOF
    900 if { (eval echo configure:901: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     991if { (eval echo configure:992: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    901992  rm -rf conftest*
    902993  ac_cv_c_const=yes
    903994else
     995  echo "configure: failed program was:" >&5
     996  cat conftest.$ac_ext >&5
    904997  rm -rf conftest*
    905998  ac_cv_c_const=no
    906999fi
    9071000rm -f conftest*
    908 
    9091001fi
    9101002
     
    9181010
    9191011echo $ac_n "checking for inline""... $ac_c" 1>&6
     1012echo "configure:1013: checking for inline" >&5
    9201013if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
    9211014  echo $ac_n "(cached) $ac_c" 1>&6
     
    9241017for ac_kw in inline __inline__ __inline; do
    9251018  cat > conftest.$ac_ext <<EOF
    926 #line 927 "configure"
     1019#line 1020 "configure"
    9271020#include "confdefs.h"
    9281021
    929 int main() { return 0; }
    930 int t() {
     1022int main() {
    9311023} $ac_kw foo() {
    9321024; return 0; }
    9331025EOF
    934 if { (eval echo configure:935: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1026if { (eval echo configure:1027: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    9351027  rm -rf conftest*
    9361028  ac_cv_c_inline=$ac_kw; break
     1029else
     1030  echo "configure: failed program was:" >&5
     1031  cat conftest.$ac_ext >&5
    9371032fi
    9381033rm -f conftest*
    939 
    9401034done
    9411035
     
    9571051
    9581052if test ${GXX} = yes; then
     1053
     1054
     1055# check whether CXX accepts --no-rtti
     1056echo $ac_n "checking whether gcc accepts --no-rtti""... $ac_c" 1>&6
     1057echo "configure:1058: checking whether gcc accepts --no-rtti" >&5
     1058CXXFLAGS="${CXXFLAGS} --no-rtti"
     1059if eval "test \"`echo '$''{'ac_cv_cxx_have_rtti'+set}'`\" = set"; then
     1060  echo $ac_n "(cached) $ac_c" 1>&6
     1061else
     1062  cat > conftest.$ac_ext <<EOF
     1063#line 1064 "configure"
     1064#include "confdefs.h"
     1065
     1066int main() {
     1067
     1068; return 0; }
     1069EOF
     1070if { (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
     1073else
     1074  echo "configure: failed program was:" >&5
     1075  cat conftest.$ac_ext >&5
     1076  rm -rf conftest*
     1077  ac_cv_cxx_have_rtti=no
     1078fi
     1079rm -f conftest*
     1080
     1081fi
     1082
     1083echo "$ac_t""${ac_cv_cxx_have_rtti}" 1>&6
     1084if test "${ac_cv_cxx_have_rtti}" != yes; then
     1085CXXFLAGS=$temp_flags
     1086else
     1087CXX="${CXX} --no-rtti"
     1088fi
     1089
     1090# check whether gcc accepts --no-exceptions
     1091echo $ac_n "checking whether gcc accepts --no-exceptions""... $ac_c" 1>&6
     1092echo "configure:1093: checking whether gcc accepts --no-exceptions" >&5
     1093CXXFLAGS="${CXXFLAGS} --no-exceptions"
     1094if eval "test \"`echo '$''{'ac_cv_cxx_have_exceptions'+set}'`\" = set"; then
     1095  echo $ac_n "(cached) $ac_c" 1>&6
     1096else
     1097  cat > conftest.$ac_ext <<EOF
     1098#line 1099 "configure"
     1099#include "confdefs.h"
     1100
     1101int main() {
     1102
     1103; return 0; }
     1104EOF
     1105if { (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
     1108else
     1109  echo "configure: failed program was:" >&5
     1110  cat conftest.$ac_ext >&5
     1111  rm -rf conftest*
     1112  ac_cv_cxx_have_exceptions=no
     1113fi
     1114rm -f conftest*
     1115
     1116fi
     1117
     1118echo "$ac_t""${ac_cv_cxx_have_exceptions}" 1>&6
     1119if test "${ac_cv_cxx_have_exceptions}" != yes; then
     1120CXXFLAGS=$temp_flags
     1121else
     1122CXX="${CXX} --no-exceptions"
     1123fi
     1124
     1125CXXFLAGS=$temp_flags
     1126
    9591127  if test "$ac_cxxflags_set" = no; then
    9601128    if test "$with_debug" = yes; then
     
    9871155#
    9881156EOF
     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.
    9891160# Ultrix sh set writes to stderr and can't be redirected directly,
    9901161# and sets the high bit in the cache file unless we assign to the vars.
    9911162(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
    9941176if cmp -s $cache_file confcache; then
    9951177  :
     
    10581240    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
    10591241  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
    1060     echo "$CONFIG_STATUS generated by autoconf version 2.10"
     1242    echo "$CONFIG_STATUS generated by autoconf version 2.13"
    10611243    exit 0 ;;
    10621244  -help | --help | --hel | --he | --h)
     
    10771259$ac_vpsub
    10781260$extrasub
     1261s%@SHELL@%$SHELL%g
    10791262s%@CFLAGS@%$CFLAGS%g
    10801263s%@CPPFLAGS@%$CPPFLAGS%g
    10811264s%@CXXFLAGS@%$CXXFLAGS%g
     1265s%@FFLAGS@%$FFLAGS%g
    10821266s%@DEFS@%$DEFS%g
    10831267s%@LDFLAGS@%$LDFLAGS%g
     
    11171301CEOF
    11181302EOF
     1303
     1304cat >> $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.
     1308ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
     1309ac_file=1 # Number of current file.
     1310ac_beg=1 # First line for current file.
     1311ac_end=$ac_max_sed_cmds # Line after last line for current file.
     1312ac_more_lines=:
     1313ac_sed_cmds=""
     1314while $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
     1333done
     1334if test -z "$ac_sed_cmds"; then
     1335  ac_sed_cmds=cat
     1336fi
     1337EOF
     1338
    11191339cat >> $CONFIG_STATUS <<EOF
    11201340
     
    11231343cat >> $CONFIG_STATUS <<\EOF
    11241344for 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".
    11261346  case "$ac_file" in
    1127   *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
     1347  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
    11281348       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
    11291349  *) ac_file_in="${ac_file}.in" ;;
    11301350  esac
    11311351
    1132   # Adjust relative srcdir, etc. for subdirectories.
     1352  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
    11331353
    11341354  # Remove last slash and all that follows it.  Not all systems have dirname.
     
    11541374  esac
    11551375
     1376
    11561377  echo creating "$ac_file"
    11571378  rm -f "$ac_file"
     
    11621383  *) ac_comsub= ;;
    11631384  esac
     1385
     1386  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
    11641387  sed -e "$ac_comsub
    11651388s%@configure_input@%$configure_input%g
    11661389s%@srcdir@%$srcdir%g
    11671390s%@top_srcdir@%$top_srcdir%g
    1168 " -f conftest.subs $ac_given_srcdir/$ac_file_in > $ac_file
     1391" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
    11691392fi; done
    1170 rm -f conftest.subs
    1171 
    1172 
     1393rm -f conftest.s*
     1394
     1395EOF
     1396cat >> $CONFIG_STATUS <<EOF
     1397
     1398EOF
     1399cat >> $CONFIG_STATUS <<\EOF
    11731400
    11741401exit 0
  • libfac/configure.in

    rb258984 r104fd23  
    130130dnl
    131131if test ${GXX} = yes; then
     132
     133
     134# check whether CXX accepts --no-rtti
     135AC_MSG_CHECKING(whether gcc accepts --no-rtti)
     136CXXFLAGS="${CXXFLAGS} --no-rtti"
     137AC_CACHE_VAL(ac_cv_cxx_have_rtti,
     138AC_TRY_COMPILE(,,ac_cv_cxx_have_rtti=yes,ac_cv_cxx_have_rtti=no)
     139)
     140AC_MSG_RESULT(${ac_cv_cxx_have_rtti})
     141if test "${ac_cv_cxx_have_rtti}" != yes; then
     142CXXFLAGS=$temp_flags
     143else
     144CXX="${CXX} --no-rtti"
     145fi
     146
     147# check whether gcc accepts --no-exceptions
     148AC_MSG_CHECKING(whether gcc accepts --no-exceptions)
     149CXXFLAGS="${CXXFLAGS} --no-exceptions"
     150AC_CACHE_VAL(ac_cv_cxx_have_exceptions,
     151AC_TRY_COMPILE(,,ac_cv_cxx_have_exceptions=yes,ac_cv_cxx_have_exceptions=no)
     152)
     153AC_MSG_RESULT(${ac_cv_cxx_have_exceptions})
     154if test "${ac_cv_cxx_have_exceptions}" != yes; then
     155CXXFLAGS=$temp_flags
     156else
     157CXX="${CXX} --no-exceptions"
     158fi
     159
     160CXXFLAGS=$temp_flags
     161
    132162  if test "$ac_cxxflags_set" = no; then
    133163    if test "$with_debug" = yes; then
Note: See TracChangeset for help on using the changeset viewer.