Changeset ec989c in git for factory/configure


Ignore:
Timestamp:
Oct 24, 2002, 2:17:49 PM (22 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
e44bd88b22a2439b301aba30f2adc6bb930bbefc
Parents:
7724a3281f0baa9aa017ab10865fcac877d85684
Message:
* hannes: NTL stuff


git-svn-id: file:///usr/local/Singular/svn/trunk@6290 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/configure

    r7724a3 rec989c  
    2323ac_help="$ac_help
    2424  --with-Singular         build for use with computer algebra system Singular."
     25ac_help="$ac_help
     26  --with-NTL              build for use with NTL."
    2527ac_help="$ac_help
    2628  --enable-cf-inline      build Factory with \"configurable inline methods\"
     
    618620
    619621
     622# Check whether --with-NTL or --without-NTL was given.
     623if test "${with_NTL+set}" = set; then
     624  withval="$with_NTL"
     625  :
     626else
     627  with_NTL=yes
     628fi
     629
     630
    620631# Check whether --enable-cf-inline or --disable-cf-inline was given.
    621632if test "${enable_cf_inline+set}" = set; then
     
    714725set dummy gcc; ac_word=$2
    715726echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    716 echo "configure:717: checking for $ac_word" >&5
     727echo "configure:728: checking for $ac_word" >&5
    717728if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    718729  echo $ac_n "(cached) $ac_c" 1>&6
     
    744755set dummy cc; ac_word=$2
    745756echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    746 echo "configure:747: checking for $ac_word" >&5
     757echo "configure:758: checking for $ac_word" >&5
    747758if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    748759  echo $ac_n "(cached) $ac_c" 1>&6
     
    795806set dummy cl; ac_word=$2
    796807echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    797 echo "configure:798: checking for $ac_word" >&5
     808echo "configure:809: checking for $ac_word" >&5
    798809if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    799810  echo $ac_n "(cached) $ac_c" 1>&6
     
    827838
    828839echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    829 echo "configure:830: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     840echo "configure:841: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    830841
    831842ac_ext=c
     
    838849cat > conftest.$ac_ext << EOF
    839850
    840 #line 841 "configure"
     851#line 852 "configure"
    841852#include "confdefs.h"
    842853
    843854main(){return(0);}
    844855EOF
    845 if { (eval echo configure:846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     856if { (eval echo configure:857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    846857  ac_cv_prog_cc_works=yes
    847858  # If we can't run a trivial program, we are probably using a cross compiler.
     
    869880fi
    870881echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    871 echo "configure:872: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     882echo "configure:883: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    872883echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    873884cross_compiling=$ac_cv_prog_cc_cross
    874885
    875886echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    876 echo "configure:877: checking whether we are using GNU C" >&5
     887echo "configure:888: checking whether we are using GNU C" >&5
    877888if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    878889  echo $ac_n "(cached) $ac_c" 1>&6
     
    883894#endif
    884895EOF
    885 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:886: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     896if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:897: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    886897  ac_cv_prog_gcc=yes
    887898else
     
    902913CFLAGS=
    903914echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    904 echo "configure:905: checking whether ${CC-cc} accepts -g" >&5
     915echo "configure:916: checking whether ${CC-cc} accepts -g" >&5
    905916if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    906917  echo $ac_n "(cached) $ac_c" 1>&6
     
    939950set dummy $ac_prog; ac_word=$2
    940951echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    941 echo "configure:942: checking for $ac_word" >&5
     952echo "configure:953: checking for $ac_word" >&5
    942953if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
    943954  echo $ac_n "(cached) $ac_c" 1>&6
     
    971982
    972983echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    973 echo "configure:974: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
     984echo "configure:985: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
    974985
    975986ac_ext=C
     
    982993cat > conftest.$ac_ext << EOF
    983994
    984 #line 985 "configure"
     995#line 996 "configure"
    985996#include "confdefs.h"
    986997
    987998int main(){return(0);}
    988999EOF
    989 if { (eval echo configure:990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1000if { (eval echo configure:1001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    9901001  ac_cv_prog_cxx_works=yes
    9911002  # If we can't run a trivial program, we are probably using a cross compiler.
     
    10131024fi
    10141025echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    1015 echo "configure:1016: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
     1026echo "configure:1027: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
    10161027echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
    10171028cross_compiling=$ac_cv_prog_cxx_cross
    10181029
    10191030echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
    1020 echo "configure:1021: checking whether we are using GNU C++" >&5
     1031echo "configure:1032: checking whether we are using GNU C++" >&5
    10211032if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
    10221033  echo $ac_n "(cached) $ac_c" 1>&6
     
    10271038#endif
    10281039EOF
    1029 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1040if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1041: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    10301041  ac_cv_prog_gxx=yes
    10311042else
     
    10461057CXXFLAGS=
    10471058echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
    1048 echo "configure:1049: checking whether ${CXX-g++} accepts -g" >&5
     1059echo "configure:1060: checking whether ${CXX-g++} accepts -g" >&5
    10491060if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
    10501061  echo $ac_n "(cached) $ac_c" 1>&6
     
    10941105#
    10951106echo $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
     1107echo "configure:1108: checking how to run the C preprocessor" >&5
    10971108# On Suns, sometimes $CPP names a directory.
    10981109if test -n "$CPP" && test -d "$CPP"; then
     
    11091120  # not just through cpp.
    11101121  cat > conftest.$ac_ext <<EOF
    1111 #line 1112 "configure"
     1122#line 1123 "configure"
    11121123#include "confdefs.h"
    11131124#include <assert.h>
     
    11151126EOF
    11161127ac_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; }
     1128{ (eval echo configure:1129: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    11181129ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    11191130if test -z "$ac_err"; then
     
    11261137  CPP="${CC-cc} -E -traditional-cpp"
    11271138  cat > conftest.$ac_ext <<EOF
    1128 #line 1129 "configure"
     1139#line 1140 "configure"
    11291140#include "confdefs.h"
    11301141#include <assert.h>
     
    11321143EOF
    11331144ac_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; }
     1145{ (eval echo configure:1146: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    11351146ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    11361147if test -z "$ac_err"; then
     
    11431154  CPP="${CC-cc} -nologo -E"
    11441155  cat > conftest.$ac_ext <<EOF
    1145 #line 1146 "configure"
     1156#line 1157 "configure"
    11461157#include "confdefs.h"
    11471158#include <assert.h>
     
    11491160EOF
    11501161ac_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; }
     1162{ (eval echo configure:1163: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    11521163ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    11531164if test -z "$ac_err"; then
     
    11741185
    11751186echo $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
     1187echo "configure:1188: checking how to run the C++ preprocessor" >&5
    11771188if test -z "$CXXCPP"; then
    11781189if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
     
    11871198  CXXCPP="${CXX-g++} -E"
    11881199  cat > conftest.$ac_ext <<EOF
    1189 #line 1190 "configure"
     1200#line 1201 "configure"
    11901201#include "confdefs.h"
    11911202#include <stdlib.h>
    11921203EOF
    11931204ac_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; }
     1205{ (eval echo configure:1206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    11951206ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    11961207if test -z "$ac_err"; then
     
    12171228
    12181229echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
    1219 echo "configure:1220: checking whether ln -s works" >&5
     1230echo "configure:1231: checking whether ln -s works" >&5
    12201231if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
    12211232  echo $ac_n "(cached) $ac_c" 1>&6
     
    12491260# ./install, which can be erroneously created by make from ./install.sh.
    12501261echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    1251 echo "configure:1252: checking for a BSD compatible install" >&5
     1262echo "configure:1263: checking for a BSD compatible install" >&5
    12521263if test -z "$INSTALL"; then
    12531264if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     
    13041315set dummy ranlib; ac_word=$2
    13051316echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1306 echo "configure:1307: checking for $ac_word" >&5
     1317echo "configure:1318: checking for $ac_word" >&5
    13071318if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    13081319  echo $ac_n "(cached) $ac_c" 1>&6
     
    13321343
    13331344echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    1334 echo "configure:1335: checking whether ${MAKE-make} sets \${MAKE}" >&5
     1345echo "configure:1346: checking whether ${MAKE-make} sets \${MAKE}" >&5
    13351346set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    13361347if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    13611372set dummy ar; ac_word=$2
    13621373echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1363 echo "configure:1364: checking for $ac_word" >&5
     1374echo "configure:1375: checking for $ac_word" >&5
    13641375if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
    13651376  echo $ac_n "(cached) $ac_c" 1>&6
     
    13911402set dummy m4; ac_word=$2
    13921403echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1393 echo "configure:1394: checking for $ac_word" >&5
     1404echo "configure:1405: checking for $ac_word" >&5
    13941405if eval "test \"`echo '$''{'ac_cv_prog_M4'+set}'`\" = set"; then
    13951406  echo $ac_n "(cached) $ac_c" 1>&6
     
    14211432set dummy bison; ac_word=$2
    14221433echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1423 echo "configure:1424: checking for $ac_word" >&5
     1434echo "configure:1435: checking for $ac_word" >&5
    14241435if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then
    14251436  echo $ac_n "(cached) $ac_c" 1>&6
     
    14601471set dummy mkinstalldirs; ac_word=$2
    14611472echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1462 echo "configure:1463: checking for $ac_word" >&5
     1473echo "configure:1474: checking for $ac_word" >&5
    14631474if eval "test \"`echo '$''{'ac_cv_path_FACTORY_MKINSTALLDIRS'+set}'`\" = set"; then
    14641475  echo $ac_n "(cached) $ac_c" 1>&6
     
    14971508set dummy makeheader; ac_word=$2
    14981509echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1499 echo "configure:1500: checking for $ac_word" >&5
     1510echo "configure:1511: checking for $ac_word" >&5
    15001511if eval "test \"`echo '$''{'ac_cv_path_FACTORY_MAKEHEADER'+set}'`\" = set"; then
    15011512  echo $ac_n "(cached) $ac_c" 1>&6
     
    15361547
    15371548echo $ac_n "checking and generating explicit install paths""... $ac_c" 1>&6
    1538 echo "configure:1539: checking and generating explicit install paths" >&5
     1549echo "configure:1550: checking and generating explicit install paths" >&5
    15391550
    15401551# generate Makefile
     
    15761587#
    15771588echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6
    1578 echo "configure:1579: checking for atof in -lm" >&5
     1589echo "configure:1590: checking for atof in -lm" >&5
    15791590ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'`
    15801591if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    15841595LIBS="-lm  $LIBS"
    15851596cat > conftest.$ac_ext <<EOF
    1586 #line 1587 "configure"
     1597#line 1598 "configure"
    15871598#include "confdefs.h"
    15881599/* Override any gcc2 internal prototype to avoid an error.  */
     
    15951606; return 0; }
    15961607EOF
    1597 if { (eval echo configure:1598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1608if { (eval echo configure:1609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    15981609  rm -rf conftest*
    15991610  eval "ac_cv_lib_$ac_lib_var=yes"
     
    16261637if test "x$gmp_in_installation" != xyes; then
    16271638  echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6
    1628 echo "configure:1629: checking for main in -lgmp" >&5
     1639echo "configure:1640: checking for main in -lgmp" >&5
    16291640ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'`
    16301641if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    16341645LIBS="-lgmp  $LIBS"
    16351646cat > conftest.$ac_ext <<EOF
    1636 #line 1637 "configure"
     1647#line 1648 "configure"
    16371648#include "confdefs.h"
    16381649
     
    16411652; return 0; }
    16421653EOF
    1643 if { (eval echo configure:1644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1654if { (eval echo configure:1655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    16441655  rm -rf conftest*
    16451656  eval "ac_cv_lib_$ac_lib_var=yes"
     
    16721683      LDFLAGS="-L$explicit_libdir $LDFLAGS"
    16731684      echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6
    1674 echo "configure:1675: checking for main in -lgmp" >&5
     1685echo "configure:1686: checking for main in -lgmp" >&5
    16751686ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'`
    16761687if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    16801691LIBS="-lgmp  $LIBS"
    16811692cat > conftest.$ac_ext <<EOF
    1682 #line 1683 "configure"
     1693#line 1694 "configure"
    16831694#include "confdefs.h"
    16841695
     
    16871698; return 0; }
    16881699EOF
    1689 if { (eval echo configure:1690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1700if { (eval echo configure:1701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    16901701  rm -rf conftest*
    16911702  eval "ac_cv_lib_$ac_lib_var=yes"
     
    17371748ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    17381749echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1739 echo "configure:1740: checking for $ac_hdr" >&5
     1750echo "configure:1751: checking for $ac_hdr" >&5
    17401751if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    17411752  echo $ac_n "(cached) $ac_c" 1>&6
    17421753else
    17431754  cat > conftest.$ac_ext <<EOF
    1744 #line 1745 "configure"
     1755#line 1756 "configure"
    17451756#include "confdefs.h"
    17461757#include <$ac_hdr>
    17471758EOF
    17481759ac_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; }
     1760{ (eval echo configure:1761: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    17501761ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    17511762if test -z "$ac_err"; then
     
    17781789ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    17791790echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1780 echo "configure:1781: checking for $ac_hdr" >&5
     1791echo "configure:1792: checking for $ac_hdr" >&5
    17811792if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    17821793  echo $ac_n "(cached) $ac_c" 1>&6
    17831794else
    17841795  cat > conftest.$ac_ext <<EOF
    1785 #line 1786 "configure"
     1796#line 1797 "configure"
    17861797#include "confdefs.h"
    17871798#include <$ac_hdr>
    17881799EOF
    17891800ac_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; }
     1801{ (eval echo configure:1802: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    17911802ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    17921803if test -z "$ac_err"; then
     
    18261837ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    18271838echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1828 echo "configure:1829: checking for $ac_hdr" >&5
     1839echo "configure:1840: checking for $ac_hdr" >&5
    18291840if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    18301841  echo $ac_n "(cached) $ac_c" 1>&6
    18311842else
    18321843  cat > conftest.$ac_ext <<EOF
    1833 #line 1834 "configure"
     1844#line 1845 "configure"
    18341845#include "confdefs.h"
    18351846#include <$ac_hdr>
    18361847EOF
    18371848ac_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; }
     1849{ (eval echo configure:1850: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    18391850ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    18401851if test -z "$ac_err"; then
     
    18691880ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    18701881echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1871 echo "configure:1872: checking for $ac_hdr" >&5
     1882echo "configure:1883: checking for $ac_hdr" >&5
    18721883if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    18731884  echo $ac_n "(cached) $ac_c" 1>&6
    18741885else
    18751886  cat > conftest.$ac_ext <<EOF
    1876 #line 1877 "configure"
     1887#line 1888 "configure"
    18771888#include "confdefs.h"
    18781889#include <$ac_hdr>
    18791890EOF
    18801891ac_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; }
     1892{ (eval echo configure:1893: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    18821893ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    18831894if test -z "$ac_err"; then
     
    19101921ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    19111922echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1912 echo "configure:1913: checking for $ac_hdr" >&5
     1923echo "configure:1924: checking for $ac_hdr" >&5
    19131924if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    19141925  echo $ac_n "(cached) $ac_c" 1>&6
    19151926else
    19161927  cat > conftest.$ac_ext <<EOF
    1917 #line 1918 "configure"
     1928#line 1929 "configure"
    19181929#include "confdefs.h"
    19191930#include <$ac_hdr>
    19201931EOF
    19211932ac_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; }
     1933{ (eval echo configure:1934: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    19231934ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    19241935if test -z "$ac_err"; then
     
    19541965ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    19551966echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1956 echo "configure:1957: checking for $ac_hdr" >&5
     1967echo "configure:1968: checking for $ac_hdr" >&5
    19571968if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    19581969  echo $ac_n "(cached) $ac_c" 1>&6
    19591970else
    19601971  cat > conftest.$ac_ext <<EOF
    1961 #line 1962 "configure"
     1972#line 1973 "configure"
    19621973#include "confdefs.h"
    19631974#include <$ac_hdr>
    19641975EOF
    19651976ac_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; }
     1977{ (eval echo configure:1978: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    19671978ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    19681979if test -z "$ac_err"; then
     
    20002011ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    20012012echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2002 echo "configure:2003: checking for $ac_hdr" >&5
     2013echo "configure:2014: checking for $ac_hdr" >&5
    20032014if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    20042015  echo $ac_n "(cached) $ac_c" 1>&6
    20052016else
    20062017  cat > conftest.$ac_ext <<EOF
    2007 #line 2008 "configure"
     2018#line 2019 "configure"
    20082019#include "confdefs.h"
    20092020#include <$ac_hdr>
    20102021EOF
    20112022ac_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; }
     2023{ (eval echo configure:2024: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    20132024ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    20142025if test -z "$ac_err"; then
     
    20442055ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    20452056echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2046 echo "configure:2047: checking for $ac_hdr" >&5
     2057echo "configure:2058: checking for $ac_hdr" >&5
    20472058if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    20482059  echo $ac_n "(cached) $ac_c" 1>&6
    20492060else
    20502061  cat > conftest.$ac_ext <<EOF
    2051 #line 2052 "configure"
     2062#line 2063 "configure"
    20522063#include "confdefs.h"
    20532064#include <$ac_hdr>
    20542065EOF
    20552066ac_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; }
     2067{ (eval echo configure:2068: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    20572068ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    20582069if test -z "$ac_err"; then
     
    21102121
    21112122echo $ac_n "checking for working const""... $ac_c" 1>&6
    2112 echo "configure:2113: checking for working const" >&5
     2123echo "configure:2124: checking for working const" >&5
    21132124if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
    21142125  echo $ac_n "(cached) $ac_c" 1>&6
    21152126else
    21162127  cat > conftest.$ac_ext <<EOF
    2117 #line 2118 "configure"
     2128#line 2129 "configure"
    21182129#include "confdefs.h"
    21192130
     
    21642175; return 0; }
    21652176EOF
    2166 if { (eval echo configure:2167: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2177if { (eval echo configure:2178: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    21672178  rm -rf conftest*
    21682179  ac_cv_c_const=yes
     
    21852196
    21862197echo $ac_n "checking for inline""... $ac_c" 1>&6
    2187 echo "configure:2188: checking for inline" >&5
     2198echo "configure:2199: checking for inline" >&5
    21882199if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
    21892200  echo $ac_n "(cached) $ac_c" 1>&6
     
    21922203for ac_kw in inline __inline__ __inline; do
    21932204  cat > conftest.$ac_ext <<EOF
    2194 #line 2195 "configure"
     2205#line 2206 "configure"
    21952206#include "confdefs.h"
    21962207
     
    21992210; return 0; }
    22002211EOF
    2201 if { (eval echo configure:2202: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2212if { (eval echo configure:2213: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    22022213  rm -rf conftest*
    22032214  ac_cv_c_inline=$ac_kw; break
     
    22272238# arithmetic shift
    22282239echo $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
     2240echo "configure:2241: checking whether your compiler does arithmetic shifts" >&5
    22302241if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then
    22312242  echo $ac_n "(cached) $ac_c" 1>&6
     
    22352246else
    22362247  cat > conftest.$ac_ext <<EOF
    2237 #line 2238 "configure"
     2248#line 2249 "configure"
    22382249#include "confdefs.h"
    22392250 int main() { if (-2 >> 1 == -1) exit(0); else exit(1); }
    22402251EOF
    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
     2252if { (eval echo configure:2253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    22422253then
    22432254  ac_cv_shift=yes
     
    23212332# check whether CXX accepts --no-rtti
    23222333echo $ac_n "checking whether gcc accepts --no-rtti""... $ac_c" 1>&6
    2323 echo "configure:2324: checking whether gcc accepts --no-rtti" >&5
     2334echo "configure:2335: checking whether gcc accepts --no-rtti" >&5
    23242335tmp_flags=${CXXFLAGS}
    23252336CXXFLAGS="${CXXFLAGS} --no-rtti"
     
    23282339else
    23292340  cat > conftest.$ac_ext <<EOF
    2330 #line 2331 "configure"
     2341#line 2342 "configure"
    23312342#include "confdefs.h"
    23322343
     
    23352346; return 0; }
    23362347EOF
    2337 if { (eval echo configure:2338: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2348if { (eval echo configure:2349: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    23382349  rm -rf conftest*
    23392350  ac_cv_cxx_have_rtti=yes
     
    23552366
    23562367echo $ac_n "checking whether gcc accepts --no-exceptions""... $ac_c" 1>&6
    2357 echo "configure:2358: checking whether gcc accepts --no-exceptions" >&5
     2368echo "configure:2369: checking whether gcc accepts --no-exceptions" >&5
    23582369tmp_flags=${CXXFLAGS}
    23592370CXXFLAGS="${CXXFLAGS} --no-exceptions"
     
    23622373else
    23632374  cat > conftest.$ac_ext <<EOF
    2364 #line 2365 "configure"
     2375#line 2376 "configure"
    23652376#include "confdefs.h"
    23662377
     
    23692380; return 0; }
    23702381EOF
    2371 if { (eval echo configure:2372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2382if { (eval echo configure:2383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    23722383  rm -rf conftest*
    23732384  ac_cv_cxx_have_exceptions=yes
     
    24112422fi
    24122423
     2424# NTL
     2425if test "x$with_NTL" = xyes; then
     2426  cat >> confdefs.h <<\EOF
     2427#define HAVE_NTL 1
     2428EOF
     2429
     2430fi
     2431
    24132432# arithmetic shift
    24142433if test "x$ac_cv_shift" = xyes; then   
     
    24272446
    24282447echo $ac_n "checking whether to use omalloc""... $ac_c" 1>&6
    2429 echo "configure:2430: checking whether to use omalloc" >&5
     2448echo "configure:2449: checking whether to use omalloc" >&5
    24302449
    24312450if test "$with_omalloc" = yes; then
Note: See TracChangeset for help on using the changeset viewer.