Changeset d3ff79 in git


Ignore:
Timestamp:
Dec 14, 2000, 3:28:41 PM (23 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
fc7220b72bec3a340d6b517195679845a8252d8f
Parents:
f5f439847c47b2f6f43fda0c9876a65c1d36cc57
Message:
--no-rtti stuff


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

Legend:

Unmodified
Added
Removed
  • factory/configure

    rf5f439 rd3ff79  
    10921092echo $ac_n "checking whether gcc accepts --no-rtti""... $ac_c" 1>&6
    10931093echo "configure:1094: checking whether gcc accepts --no-rtti" >&5
     1094tmp_flags=${CXXFLAGS}
    10941095CXXFLAGS="${CXXFLAGS} --no-rtti"
     1096
     1097ac_ext=C
     1098# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     1099ac_cpp='$CXXCPP $CPPFLAGS'
     1100ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     1101ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     1102cross_compiling=$ac_cv_prog_cxx_cross
     1103
    10951104if eval "test \"`echo '$''{'ac_cv_cxx_have_rtti'+set}'`\" = set"; then
    10961105  echo $ac_n "(cached) $ac_c" 1>&6
    10971106else
    10981107  cat > conftest.$ac_ext <<EOF
    1099 #line 1100 "configure"
     1108#line 1109 "configure"
    11001109#include "confdefs.h"
    11011110
     
    11041113; return 0; }
    11051114EOF
    1106 if { (eval echo configure:1107: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1115if { (eval echo configure:1116: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    11071116  rm -rf conftest*
    11081117  ac_cv_cxx_have_rtti=yes
     
    11261135# check whether gcc accepts --no-exceptions
    11271136echo $ac_n "checking whether gcc accepts --no-exceptions""... $ac_c" 1>&6
    1128 echo "configure:1129: checking whether gcc accepts --no-exceptions" >&5
     1137echo "configure:1138: checking whether gcc accepts --no-exceptions" >&5
    11291138CXXFLAGS="${CXXFLAGS} --no-exceptions"
    11301139if eval "test \"`echo '$''{'ac_cv_cxx_have_exceptions'+set}'`\" = set"; then
     
    11321141else
    11331142  cat > conftest.$ac_ext <<EOF
    1134 #line 1135 "configure"
     1143#line 1144 "configure"
    11351144#include "confdefs.h"
    11361145
     
    11391148; return 0; }
    11401149EOF
    1141 if { (eval echo configure:1142: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1150if { (eval echo configure:1151: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    11421151  rm -rf conftest*
    11431152  ac_cv_cxx_have_exceptions=yes
     
    11591168fi
    11601169
     1170ac_ext=c
     1171# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     1172ac_cpp='$CPP $CPPFLAGS'
     1173ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     1174ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     1175cross_compiling=$ac_cv_prog_cc_cross
     1176
    11611177CXXFLAGS=$temp_flags
    11621178 
     
    11671183#
    11681184echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    1169 echo "configure:1170: checking how to run the C preprocessor" >&5
     1185echo "configure:1186: checking how to run the C preprocessor" >&5
    11701186# On Suns, sometimes $CPP names a directory.
    11711187if test -n "$CPP" && test -d "$CPP"; then
     
    11821198  # not just through cpp.
    11831199  cat > conftest.$ac_ext <<EOF
    1184 #line 1185 "configure"
     1200#line 1201 "configure"
    11851201#include "confdefs.h"
    11861202#include <assert.h>
     
    11881204EOF
    11891205ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1190 { (eval echo configure:1191: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1206{ (eval echo configure:1207: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    11911207ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    11921208if test -z "$ac_err"; then
     
    11991215  CPP="${CC-cc} -E -traditional-cpp"
    12001216  cat > conftest.$ac_ext <<EOF
    1201 #line 1202 "configure"
     1217#line 1218 "configure"
    12021218#include "confdefs.h"
    12031219#include <assert.h>
     
    12051221EOF
    12061222ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1207 { (eval echo configure:1208: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1223{ (eval echo configure:1224: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    12081224ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    12091225if test -z "$ac_err"; then
     
    12161232  CPP="${CC-cc} -nologo -E"
    12171233  cat > conftest.$ac_ext <<EOF
    1218 #line 1219 "configure"
     1234#line 1235 "configure"
    12191235#include "confdefs.h"
    12201236#include <assert.h>
     
    12221238EOF
    12231239ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1224 { (eval echo configure:1225: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1240{ (eval echo configure:1241: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    12251241ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    12261242if test -z "$ac_err"; then
     
    12471263
    12481264echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
    1249 echo "configure:1250: checking how to run the C++ preprocessor" >&5
     1265echo "configure:1266: checking how to run the C++ preprocessor" >&5
    12501266if test -z "$CXXCPP"; then
    12511267if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
     
    12601276  CXXCPP="${CXX-g++} -E"
    12611277  cat > conftest.$ac_ext <<EOF
    1262 #line 1263 "configure"
     1278#line 1279 "configure"
    12631279#include "confdefs.h"
    12641280#include <stdlib.h>
    12651281EOF
    12661282ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1267 { (eval echo configure:1268: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1283{ (eval echo configure:1284: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    12681284ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    12691285if test -z "$ac_err"; then
     
    12901306
    12911307echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
    1292 echo "configure:1293: checking whether ln -s works" >&5
     1308echo "configure:1309: checking whether ln -s works" >&5
    12931309if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
    12941310  echo $ac_n "(cached) $ac_c" 1>&6
     
    13221338# ./install, which can be erroneously created by make from ./install.sh.
    13231339echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    1324 echo "configure:1325: checking for a BSD compatible install" >&5
     1340echo "configure:1341: checking for a BSD compatible install" >&5
    13251341if test -z "$INSTALL"; then
    13261342if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     
    13771393set dummy ranlib; ac_word=$2
    13781394echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1379 echo "configure:1380: checking for $ac_word" >&5
     1395echo "configure:1396: checking for $ac_word" >&5
    13801396if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    13811397  echo $ac_n "(cached) $ac_c" 1>&6
     
    14051421
    14061422echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    1407 echo "configure:1408: checking whether ${MAKE-make} sets \${MAKE}" >&5
     1423echo "configure:1424: checking whether ${MAKE-make} sets \${MAKE}" >&5
    14081424set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    14091425if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    14341450set dummy ar; ac_word=$2
    14351451echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1436 echo "configure:1437: checking for $ac_word" >&5
     1452echo "configure:1453: checking for $ac_word" >&5
    14371453if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
    14381454  echo $ac_n "(cached) $ac_c" 1>&6
     
    14641480set dummy m4; ac_word=$2
    14651481echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1466 echo "configure:1467: checking for $ac_word" >&5
     1482echo "configure:1483: checking for $ac_word" >&5
    14671483if eval "test \"`echo '$''{'ac_cv_prog_M4'+set}'`\" = set"; then
    14681484  echo $ac_n "(cached) $ac_c" 1>&6
     
    14941510set dummy bison; ac_word=$2
    14951511echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1496 echo "configure:1497: checking for $ac_word" >&5
     1512echo "configure:1513: checking for $ac_word" >&5
    14971513if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then
    14981514  echo $ac_n "(cached) $ac_c" 1>&6
     
    15331549set dummy mkinstalldirs; ac_word=$2
    15341550echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1535 echo "configure:1536: checking for $ac_word" >&5
     1551echo "configure:1552: checking for $ac_word" >&5
    15361552if eval "test \"`echo '$''{'ac_cv_path_FACTORY_MKINSTALLDIRS'+set}'`\" = set"; then
    15371553  echo $ac_n "(cached) $ac_c" 1>&6
     
    15701586set dummy makeheader; ac_word=$2
    15711587echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1572 echo "configure:1573: checking for $ac_word" >&5
     1588echo "configure:1589: checking for $ac_word" >&5
    15731589if eval "test \"`echo '$''{'ac_cv_path_FACTORY_MAKEHEADER'+set}'`\" = set"; then
    15741590  echo $ac_n "(cached) $ac_c" 1>&6
     
    16091625
    16101626echo $ac_n "checking and generating explicit install paths""... $ac_c" 1>&6
    1611 echo "configure:1612: checking and generating explicit install paths" >&5
     1627echo "configure:1628: checking and generating explicit install paths" >&5
    16121628
    16131629# generate Makefile
     
    16491665#
    16501666echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6
    1651 echo "configure:1652: checking for atof in -lm" >&5
     1667echo "configure:1668: checking for atof in -lm" >&5
    16521668ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'`
    16531669if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    16571673LIBS="-lm  $LIBS"
    16581674cat > conftest.$ac_ext <<EOF
    1659 #line 1660 "configure"
     1675#line 1676 "configure"
    16601676#include "confdefs.h"
    16611677/* Override any gcc2 internal prototype to avoid an error.  */
     
    16681684; return 0; }
    16691685EOF
    1670 if { (eval echo configure:1671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1686if { (eval echo configure:1687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    16711687  rm -rf conftest*
    16721688  eval "ac_cv_lib_$ac_lib_var=yes"
     
    16991715if test "x$gmp_in_installation" != xyes; then
    17001716  echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6
    1701 echo "configure:1702: checking for main in -lgmp" >&5
     1717echo "configure:1718: checking for main in -lgmp" >&5
    17021718ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'`
    17031719if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    17071723LIBS="-lgmp  $LIBS"
    17081724cat > conftest.$ac_ext <<EOF
    1709 #line 1710 "configure"
     1725#line 1726 "configure"
    17101726#include "confdefs.h"
    17111727
     
    17141730; return 0; }
    17151731EOF
    1716 if { (eval echo configure:1717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1732if { (eval echo configure:1733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    17171733  rm -rf conftest*
    17181734  eval "ac_cv_lib_$ac_lib_var=yes"
     
    17451761      LDFLAGS="-L$explicit_libdir $LDFLAGS"
    17461762      echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6
    1747 echo "configure:1748: checking for main in -lgmp" >&5
     1763echo "configure:1764: checking for main in -lgmp" >&5
    17481764ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'`
    17491765if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    17531769LIBS="-lgmp  $LIBS"
    17541770cat > conftest.$ac_ext <<EOF
    1755 #line 1756 "configure"
     1771#line 1772 "configure"
    17561772#include "confdefs.h"
    17571773
     
    17601776; return 0; }
    17611777EOF
    1762 if { (eval echo configure:1763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1778if { (eval echo configure:1779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    17631779  rm -rf conftest*
    17641780  eval "ac_cv_lib_$ac_lib_var=yes"
     
    18101826ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    18111827echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1812 echo "configure:1813: checking for $ac_hdr" >&5
     1828echo "configure:1829: checking for $ac_hdr" >&5
    18131829if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    18141830  echo $ac_n "(cached) $ac_c" 1>&6
    18151831else
    18161832  cat > conftest.$ac_ext <<EOF
    1817 #line 1818 "configure"
     1833#line 1834 "configure"
    18181834#include "confdefs.h"
    18191835#include <$ac_hdr>
    18201836EOF
    18211837ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1822 { (eval echo configure:1823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1838{ (eval echo configure:1839: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    18231839ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    18241840if test -z "$ac_err"; then
     
    18511867ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    18521868echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1853 echo "configure:1854: checking for $ac_hdr" >&5
     1869echo "configure:1870: checking for $ac_hdr" >&5
    18541870if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    18551871  echo $ac_n "(cached) $ac_c" 1>&6
    18561872else
    18571873  cat > conftest.$ac_ext <<EOF
    1858 #line 1859 "configure"
     1874#line 1875 "configure"
    18591875#include "confdefs.h"
    18601876#include <$ac_hdr>
    18611877EOF
    18621878ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1863 { (eval echo configure:1864: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1879{ (eval echo configure:1880: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    18641880ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    18651881if test -z "$ac_err"; then
     
    18991915ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    19001916echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1901 echo "configure:1902: checking for $ac_hdr" >&5
     1917echo "configure:1918: checking for $ac_hdr" >&5
    19021918if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    19031919  echo $ac_n "(cached) $ac_c" 1>&6
    19041920else
    19051921  cat > conftest.$ac_ext <<EOF
    1906 #line 1907 "configure"
     1922#line 1923 "configure"
    19071923#include "confdefs.h"
    19081924#include <$ac_hdr>
    19091925EOF
    19101926ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1911 { (eval echo configure:1912: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1927{ (eval echo configure:1928: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    19121928ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    19131929if test -z "$ac_err"; then
     
    19421958ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    19431959echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1944 echo "configure:1945: checking for $ac_hdr" >&5
     1960echo "configure:1961: checking for $ac_hdr" >&5
    19451961if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    19461962  echo $ac_n "(cached) $ac_c" 1>&6
    19471963else
    19481964  cat > conftest.$ac_ext <<EOF
    1949 #line 1950 "configure"
     1965#line 1966 "configure"
    19501966#include "confdefs.h"
    19511967#include <$ac_hdr>
    19521968EOF
    19531969ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1954 { (eval echo configure:1955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1970{ (eval echo configure:1971: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    19551971ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    19561972if test -z "$ac_err"; then
     
    19831999ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    19842000echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1985 echo "configure:1986: checking for $ac_hdr" >&5
     2001echo "configure:2002: checking for $ac_hdr" >&5
    19862002if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    19872003  echo $ac_n "(cached) $ac_c" 1>&6
    19882004else
    19892005  cat > conftest.$ac_ext <<EOF
    1990 #line 1991 "configure"
     2006#line 2007 "configure"
    19912007#include "confdefs.h"
    19922008#include <$ac_hdr>
    19932009EOF
    19942010ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1995 { (eval echo configure:1996: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2011{ (eval echo configure:2012: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    19962012ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    19972013if test -z "$ac_err"; then
     
    20272043ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    20282044echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2029 echo "configure:2030: checking for $ac_hdr" >&5
     2045echo "configure:2046: checking for $ac_hdr" >&5
    20302046if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    20312047  echo $ac_n "(cached) $ac_c" 1>&6
    20322048else
    20332049  cat > conftest.$ac_ext <<EOF
    2034 #line 2035 "configure"
     2050#line 2051 "configure"
    20352051#include "confdefs.h"
    20362052#include <$ac_hdr>
    20372053EOF
    20382054ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2039 { (eval echo configure:2040: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2055{ (eval echo configure:2056: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    20402056ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    20412057if test -z "$ac_err"; then
     
    20732089ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    20742090echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2075 echo "configure:2076: checking for $ac_hdr" >&5
     2091echo "configure:2092: checking for $ac_hdr" >&5
    20762092if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    20772093  echo $ac_n "(cached) $ac_c" 1>&6
    20782094else
    20792095  cat > conftest.$ac_ext <<EOF
    2080 #line 2081 "configure"
     2096#line 2097 "configure"
    20812097#include "confdefs.h"
    20822098#include <$ac_hdr>
    20832099EOF
    20842100ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2085 { (eval echo configure:2086: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2101{ (eval echo configure:2102: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    20862102ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    20872103if test -z "$ac_err"; then
     
    21172133ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    21182134echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2119 echo "configure:2120: checking for $ac_hdr" >&5
     2135echo "configure:2136: checking for $ac_hdr" >&5
    21202136if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    21212137  echo $ac_n "(cached) $ac_c" 1>&6
    21222138else
    21232139  cat > conftest.$ac_ext <<EOF
    2124 #line 2125 "configure"
     2140#line 2141 "configure"
    21252141#include "confdefs.h"
    21262142#include <$ac_hdr>
    21272143EOF
    21282144ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2129 { (eval echo configure:2130: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2145{ (eval echo configure:2146: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    21302146ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    21312147if test -z "$ac_err"; then
     
    21832199
    21842200echo $ac_n "checking for working const""... $ac_c" 1>&6
    2185 echo "configure:2186: checking for working const" >&5
     2201echo "configure:2202: checking for working const" >&5
    21862202if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
    21872203  echo $ac_n "(cached) $ac_c" 1>&6
    21882204else
    21892205  cat > conftest.$ac_ext <<EOF
    2190 #line 2191 "configure"
     2206#line 2207 "configure"
    21912207#include "confdefs.h"
    21922208
     
    22372253; return 0; }
    22382254EOF
    2239 if { (eval echo configure:2240: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2255if { (eval echo configure:2256: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    22402256  rm -rf conftest*
    22412257  ac_cv_c_const=yes
     
    22582274
    22592275echo $ac_n "checking for inline""... $ac_c" 1>&6
    2260 echo "configure:2261: checking for inline" >&5
     2276echo "configure:2277: checking for inline" >&5
    22612277if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
    22622278  echo $ac_n "(cached) $ac_c" 1>&6
     
    22652281for ac_kw in inline __inline__ __inline; do
    22662282  cat > conftest.$ac_ext <<EOF
    2267 #line 2268 "configure"
     2283#line 2284 "configure"
    22682284#include "confdefs.h"
    22692285
     
    22722288; return 0; }
    22732289EOF
    2274 if { (eval echo configure:2275: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2290if { (eval echo configure:2291: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    22752291  rm -rf conftest*
    22762292  ac_cv_c_inline=$ac_kw; break
     
    23002316# arithmetic shift
    23012317echo $ac_n "checking whether your compiler does arithmetic shifts""... $ac_c" 1>&6
    2302 echo "configure:2303: checking whether your compiler does arithmetic shifts" >&5
     2318echo "configure:2319: checking whether your compiler does arithmetic shifts" >&5
    23032319if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then
    23042320  echo $ac_n "(cached) $ac_c" 1>&6
     
    23082324else
    23092325  cat > conftest.$ac_ext <<EOF
    2310 #line 2311 "configure"
     2326#line 2327 "configure"
    23112327#include "confdefs.h"
    23122328 int main() { if (-2 >> 1 == -1) exit(0); else exit(1); }
    23132329EOF
    2314 if { (eval echo configure:2315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2330if { (eval echo configure:2331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    23152331then
    23162332  ac_cv_shift=yes
     
    24152431
    24162432echo $ac_n "checking whether to use omalloc""... $ac_c" 1>&6
    2417 echo "configure:2418: checking whether to use omalloc" >&5
     2433echo "configure:2434: checking whether to use omalloc" >&5
    24182434
    24192435if test "$with_omalloc" = yes; then
  • factory/configure.in

    rf5f439 rd3ff79  
    11dnl # emacs edit mode for this file is -*- sh -*-
    2 dnl # $Id: configure.in,v 1.28 2000-12-12 12:35:13 obachman Exp $
     2dnl # $Id: configure.in,v 1.29 2000-12-14 14:28:38 obachman Exp $
    33
    44dnl #
     
    1313# - initialisation.
    1414#
    15 AC_REVISION($Id: configure.in,v 1.28 2000-12-12 12:35:13 obachman Exp $)
     15AC_REVISION($Id: configure.in,v 1.29 2000-12-14 14:28:38 obachman Exp $)
    1616AC_INIT(canonicalform.cc)
    1717AC_CONFIG_HEADER(config.h)
     
    152152# check whether CXX accepts --no-rtti
    153153AC_MSG_CHECKING(whether gcc accepts --no-rtti)
     154tmp_flags=${CXXFLAGS}
    154155CXXFLAGS="${CXXFLAGS} --no-rtti"
     156AC_LANG_SAVE
     157AC_LANG_CPLUSPLUS
    155158AC_CACHE_VAL(ac_cv_cxx_have_rtti,
    156159AC_TRY_COMPILE(,,ac_cv_cxx_have_rtti=yes,ac_cv_cxx_have_rtti=no)
     
    176179fi
    177180
     181AC_LANG_RESTORE
    178182CXXFLAGS=$temp_flags
    179183 
  • libfac/configure

    rf5f439 rd3ff79  
    10521052if test ${GXX} = yes; then
    10531053
    1054 
    10551054# check whether CXX accepts --no-rtti
    10561055echo $ac_n "checking whether gcc accepts --no-rtti""... $ac_c" 1>&6
    1057 echo "configure:1058: checking whether gcc accepts --no-rtti" >&5
     1056echo "configure:1057: checking whether gcc accepts --no-rtti" >&5
     1057tmp_flags=${CXXFLAGS}
    10581058CXXFLAGS="${CXXFLAGS} --no-rtti"
     1059
     1060ac_ext=C
     1061# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     1062ac_cpp='$CXXCPP $CPPFLAGS'
     1063ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     1064ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     1065cross_compiling=$ac_cv_prog_cxx_cross
     1066
    10591067if eval "test \"`echo '$''{'ac_cv_cxx_have_rtti'+set}'`\" = set"; then
    10601068  echo $ac_n "(cached) $ac_c" 1>&6
    10611069else
    10621070  cat > conftest.$ac_ext <<EOF
    1063 #line 1064 "configure"
     1071#line 1072 "configure"
    10641072#include "confdefs.h"
    10651073
     
    10681076; return 0; }
    10691077EOF
    1070 if { (eval echo configure:1071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1078if { (eval echo configure:1079: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    10711079  rm -rf conftest*
    10721080  ac_cv_cxx_have_rtti=yes
     
    10901098# check whether gcc accepts --no-exceptions
    10911099echo $ac_n "checking whether gcc accepts --no-exceptions""... $ac_c" 1>&6
    1092 echo "configure:1093: checking whether gcc accepts --no-exceptions" >&5
     1100echo "configure:1101: checking whether gcc accepts --no-exceptions" >&5
    10931101CXXFLAGS="${CXXFLAGS} --no-exceptions"
    10941102if eval "test \"`echo '$''{'ac_cv_cxx_have_exceptions'+set}'`\" = set"; then
     
    10961104else
    10971105  cat > conftest.$ac_ext <<EOF
    1098 #line 1099 "configure"
     1106#line 1107 "configure"
    10991107#include "confdefs.h"
    11001108
     
    11031111; return 0; }
    11041112EOF
    1105 if { (eval echo configure:1106: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1113if { (eval echo configure:1114: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    11061114  rm -rf conftest*
    11071115  ac_cv_cxx_have_exceptions=yes
     
    11231131fi
    11241132
     1133ac_ext=C
     1134# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     1135ac_cpp='$CXXCPP $CPPFLAGS'
     1136ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     1137ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     1138cross_compiling=$ac_cv_prog_cxx_cross
     1139
    11251140CXXFLAGS=$temp_flags
     1141 
     1142fi
    11261143
    11271144  if test "$ac_cxxflags_set" = no; then
  • libfac/configure.in

    rf5f439 rd3ff79  
    131131if test ${GXX} = yes; then
    132132
    133 
    134133# check whether CXX accepts --no-rtti
    135134AC_MSG_CHECKING(whether gcc accepts --no-rtti)
     135tmp_flags=${CXXFLAGS}
    136136CXXFLAGS="${CXXFLAGS} --no-rtti"
     137AC_LANG_SAVE
     138AC_LANG_CPLUSPLUS
    137139AC_CACHE_VAL(ac_cv_cxx_have_rtti,
    138140AC_TRY_COMPILE(,,ac_cv_cxx_have_rtti=yes,ac_cv_cxx_have_rtti=no)
     
    158160fi
    159161
     162AC_LANG_RESTORE
    160163CXXFLAGS=$temp_flags
     164 
     165fi
    161166
    162167  if test "$ac_cxxflags_set" = no; then
Note: See TracChangeset for help on using the changeset viewer.