Changeset 002517 in git


Ignore:
Timestamp:
Jun 29, 2006, 2:35:00 PM (18 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
2921f58f2dca4a15d99f58e2cdc4cb8478a41894
Parents:
578ac04876c2ef508ad16a645cb18cd9c46287da
Message:
*hannes: CXXFLAGS


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

Legend:

Unmodified
Added
Removed
  • Singular/configure

    r578ac0 r002517  
    12311231    CXX=g++
    12321232  fi
    1233   temp_flags=${CXXFLAGS}
     1233  temp_flags="${CXXFLAGS}"
    12341234 
    12351235  ac_ext=C
     
    12701270  echo "$ac_t""${ac_cv_cxx_have_rtti}" 1>&6
    12711271  if test "${ac_cv_cxx_have_rtti}" != yes; then
    1272   CXXFLAGS=$temp_flags
     1272    CXXFLAGS="$temp_flags"
    12731273  else
    1274   CXXFLAGS="${temp_flags} --no-rtti"
     1274    CXXFLAGS="${temp_flags} --no-rtti"
     1275    temp_flags="${CXXFLAGS}"
    12751276  fi
    12761277
    12771278# check whether gcc accepts --no-exceptions
    12781279  echo $ac_n "checking whether gcc accepts --no-exceptions""... $ac_c" 1>&6
    1279 echo "configure:1280: checking whether gcc accepts --no-exceptions" >&5
     1280echo "configure:1281: checking whether gcc accepts --no-exceptions" >&5
    12801281  CXXFLAGS="${CXXFLAGS} --no-exceptions"
    12811282  if eval "test \"`echo '$''{'ac_cv_cxx_have_exceptions'+set}'`\" = set"; then
     
    12831284else
    12841285  cat > conftest.$ac_ext <<EOF
    1285 #line 1286 "configure"
     1286#line 1287 "configure"
    12861287#include "confdefs.h"
    12871288
     
    12901291; return 0; }
    12911292EOF
    1292 if { (eval echo configure:1293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1293if { (eval echo configure:1294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    12931294  rm -rf conftest*
    12941295  ac_cv_cxx_have_exceptions=yes
     
    13051306  echo "$ac_t""${ac_cv_cxx_have_exceptions}" 1>&6
    13061307  if test "${ac_cv_cxx_have_exceptions}" != yes; then
    1307   CXXFLAGS=$temp_flags
     1308    CXXFLAGS="$temp_flags"
    13081309  else
    1309   CXXFLAGS="${temp_flags} --no-exceptions"
     1310    CXXFLAGS="${temp_flags} --no-exceptions"
     1311    temp_flags="${CXXFLAGS}"
    13101312  fi
    13111313
     
    13171319cross_compiling=$ac_cv_prog_cc_cross
    13181320
    1319   CXXFLAGS=$temp_flags
     1321  CXXFLAGS="$temp_flags"
    13201322  #here is broking something
    13211323  #uncommented breaks CXXFLAGS variable set
     
    13271329then
    13281330  echo $ac_n "checking whether compiler accepts -pipe""... $ac_c" 1>&6
    1329 echo "configure:1330: checking whether compiler accepts -pipe" >&5
    1330   temp_cflags=${CFLAGS}
     1331echo "configure:1332: checking whether compiler accepts -pipe" >&5
     1332  temp_cflags="${CFLAGS}"
    13311333  CFLAGS="${CFLAGS} -pipe"
    13321334  if eval "test \"`echo '$''{'ac_cv_cxx_have_pipe'+set}'`\" = set"; then
     
    13341336else
    13351337  cat > conftest.$ac_ext <<EOF
    1336 #line 1337 "configure"
     1338#line 1339 "configure"
    13371339#include "confdefs.h"
    13381340
     
    13411343; return 0; }
    13421344EOF
    1343 if { (eval echo configure:1344: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1345if { (eval echo configure:1346: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    13441346  rm -rf conftest*
    13451347  ac_cv_cxx_have_pipe=yes
     
    13681370# Customize CFLAGS
    13691371echo $ac_n "checking whether _AIX is defined""... $ac_c" 1>&6
    1370 echo "configure:1371: checking whether _AIX is defined" >&5
     1372echo "configure:1373: checking whether _AIX is defined" >&5
    13711373if eval "test \"`echo '$''{'ac_cv_is_aix'+set}'`\" = set"; then
    13721374  echo $ac_n "(cached) $ac_c" 1>&6
    13731375else
    13741376  cat > conftest.$ac_ext <<EOF
    1375 #line 1376 "configure"
     1377#line 1378 "configure"
    13761378#include "confdefs.h"
    13771379#ifdef _AIX
     
    14021404  if test "$ac_cxxflags_set" = no; then
    14031405    CXXFLAGS="-O3 -w -fomit-frame-pointer"
     1406  fi
     1407  temp_flags="${CXXFLAGS}"
     1408  if test "${ac_cv_cxx_have_rtti}" = yes; then
     1409    CXXFLAGS="${temp_flags} --no-rtti"
     1410  fi
     1411  temp_flags="${CXXFLAGS}"
     1412  if test "${ac_cv_cxx_have_exceptions}" = yes; then
     1413    CXXFLAGS="${temp_flags} --no-exceptions"
    14041414  fi
    14051415  CXXTEMPLFLAGS="-fno-implicit-templates"
     
    14241434
    14251435echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    1426 echo "configure:1427: checking whether ${MAKE-make} sets \${MAKE}" >&5
     1436echo "configure:1437: checking whether ${MAKE-make} sets \${MAKE}" >&5
    14271437set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    14281438if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    15071517if test "${with_lex+set}" != set; then
    15081518  echo $ac_n "checking for flex""... $ac_c" 1>&6
    1509 echo "configure:1510: checking for flex" >&5
     1519echo "configure:1520: checking for flex" >&5
    15101520    cmd="egrep [2-9]\.[5-9]"
    15111521    if eval "test \"`echo '$''{'ac_cv_prog_flex'+set}'`\" = set"; then
     
    15391549set dummy $ac_prog; ac_word=$2
    15401550echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1541 echo "configure:1542: checking for $ac_word" >&5
     1551echo "configure:1552: checking for $ac_word" >&5
    15421552if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
    15431553  echo $ac_n "(cached) $ac_c" 1>&6
     
    15791589set dummy $ac_prog; ac_word=$2
    15801590echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1581 echo "configure:1582: checking for $ac_word" >&5
     1591echo "configure:1592: checking for $ac_word" >&5
    15821592if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then
    15831593  echo $ac_n "(cached) $ac_c" 1>&6
     
    16141624# ln -s
    16151625echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
    1616 echo "configure:1617: checking whether ln -s works" >&5
     1626echo "configure:1627: checking whether ln -s works" >&5
    16171627if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
    16181628  echo $ac_n "(cached) $ac_c" 1>&6
     
    16401650set dummy $ac_prog; ac_word=$2
    16411651echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1642 echo "configure:1643: checking for $ac_word" >&5
     1652echo "configure:1653: checking for $ac_word" >&5
    16431653if eval "test \"`echo '$''{'ac_cv_prog_PERL'+set}'`\" = set"; then
    16441654  echo $ac_n "(cached) $ac_c" 1>&6
     
    16751685if test "$ac_cv_singuname" != ix86-Win; then
    16761686echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6
    1677 echo "configure:1678: checking for atof in -lm" >&5
     1687echo "configure:1688: checking for atof in -lm" >&5
    16781688ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'`
    16791689if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    16831693LIBS="-lm  $LIBS"
    16841694cat > conftest.$ac_ext <<EOF
    1685 #line 1686 "configure"
     1695#line 1696 "configure"
    16861696#include "confdefs.h"
    16871697/* Override any gcc2 internal prototype to avoid an error.  */
     
    16941704; return 0; }
    16951705EOF
    1696 if { (eval echo configure:1697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1706if { (eval echo configure:1707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    16971707  rm -rf conftest*
    16981708  eval "ac_cv_lib_$ac_lib_var=yes"
     
    17231733fi
    17241734echo $ac_n "checking for  in -lnsl""... $ac_c" 1>&6
    1725 echo "configure:1726: checking for  in -lnsl" >&5
     1735echo "configure:1736: checking for  in -lnsl" >&5
    17261736ac_lib_var=`echo nsl'_' | sed 'y%./+-%__p_%'`
    17271737if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    17311741LIBS="-lnsl  $LIBS"
    17321742cat > conftest.$ac_ext <<EOF
    1733 #line 1734 "configure"
     1743#line 1744 "configure"
    17341744#include "confdefs.h"
    17351745/* Override any gcc2 internal prototype to avoid an error.  */
     
    17421752; return 0; }
    17431753EOF
    1744 if { (eval echo configure:1745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1754if { (eval echo configure:1755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    17451755  rm -rf conftest*
    17461756  eval "ac_cv_lib_$ac_lib_var=yes"
     
    17701780
    17711781echo $ac_n "checking for  in -lsocket""... $ac_c" 1>&6
    1772 echo "configure:1773: checking for  in -lsocket" >&5
     1782echo "configure:1783: checking for  in -lsocket" >&5
    17731783ac_lib_var=`echo socket'_' | sed 'y%./+-%__p_%'`
    17741784if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    17781788LIBS="-lsocket  $LIBS"
    17791789cat > conftest.$ac_ext <<EOF
    1780 #line 1781 "configure"
     1790#line 1791 "configure"
    17811791#include "confdefs.h"
    17821792/* Override any gcc2 internal prototype to avoid an error.  */
     
    17891799; return 0; }
    17901800EOF
    1791 if { (eval echo configure:1792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1801if { (eval echo configure:1802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    17921802  rm -rf conftest*
    17931803  eval "ac_cv_lib_$ac_lib_var=yes"
     
    18201830
    18211831echo $ac_n "checking for setenv in -lbsd""... $ac_c" 1>&6
    1822 echo "configure:1823: checking for setenv in -lbsd" >&5
     1832echo "configure:1833: checking for setenv in -lbsd" >&5
    18231833ac_lib_var=`echo bsd'_'setenv | sed 'y%./+-%__p_%'`
    18241834if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    18281838LIBS="-lbsd  $LIBS"
    18291839cat > conftest.$ac_ext <<EOF
    1830 #line 1831 "configure"
     1840#line 1841 "configure"
    18311841#include "confdefs.h"
    18321842/* Override any gcc2 internal prototype to avoid an error.  */
     
    18391849; return 0; }
    18401850EOF
    1841 if { (eval echo configure:1842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1851if { (eval echo configure:1852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    18421852  rm -rf conftest*
    18431853  eval "ac_cv_lib_$ac_lib_var=yes"
     
    18671877
    18681878echo $ac_n "checking for listen in -lsocket""... $ac_c" 1>&6
    1869 echo "configure:1870: checking for listen in -lsocket" >&5
     1879echo "configure:1880: checking for listen in -lsocket" >&5
    18701880ac_lib_var=`echo socket'_'listen | sed 'y%./+-%__p_%'`
    18711881if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    18751885LIBS="-lsocket  $LIBS"
    18761886cat > conftest.$ac_ext <<EOF
    1877 #line 1878 "configure"
     1887#line 1888 "configure"
    18781888#include "confdefs.h"
    18791889/* Override any gcc2 internal prototype to avoid an error.  */
     
    18861896; return 0; }
    18871897EOF
    1888 if { (eval echo configure:1889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1898if { (eval echo configure:1899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    18891899  rm -rf conftest*
    18901900  eval "ac_cv_lib_$ac_lib_var=yes"
     
    19141924
    19151925echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
    1916 echo "configure:1917: checking for gethostbyname in -lnsl" >&5
     1926echo "configure:1927: checking for gethostbyname in -lnsl" >&5
    19171927ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
    19181928if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    19221932LIBS="-lnsl  $LIBS"
    19231933cat > conftest.$ac_ext <<EOF
    1924 #line 1925 "configure"
     1934#line 1935 "configure"
    19251935#include "confdefs.h"
    19261936/* Override any gcc2 internal prototype to avoid an error.  */
     
    19331943; return 0; }
    19341944EOF
    1935 if { (eval echo configure:1936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1945if { (eval echo configure:1946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    19361946  rm -rf conftest*
    19371947  eval "ac_cv_lib_$ac_lib_var=yes"
     
    19651975        HPUX*)
    19661976          echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
    1967 echo "configure:1968: checking for shl_load in -ldld" >&5
     1977echo "configure:1978: checking for shl_load in -ldld" >&5
    19681978ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
    19691979if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    19731983LIBS="-ldld  $LIBS"
    19741984cat > conftest.$ac_ext <<EOF
    1975 #line 1976 "configure"
     1985#line 1986 "configure"
    19761986#include "confdefs.h"
    19771987/* Override any gcc2 internal prototype to avoid an error.  */
     
    19841994; return 0; }
    19851995EOF
    1986 if { (eval echo configure:1987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1996if { (eval echo configure:1997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    19871997  rm -rf conftest*
    19881998  eval "ac_cv_lib_$ac_lib_var=yes"
     
    20212031        *Linux*)
    20222032          echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
    2023 echo "configure:2024: checking for dlopen in -ldl" >&5
     2033echo "configure:2034: checking for dlopen in -ldl" >&5
    20242034ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
    20252035if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    20292039LIBS="-ldl  $LIBS"
    20302040cat > conftest.$ac_ext <<EOF
    2031 #line 2032 "configure"
     2041#line 2042 "configure"
    20322042#include "confdefs.h"
    20332043/* Override any gcc2 internal prototype to avoid an error.  */
     
    20402050; return 0; }
    20412051EOF
    2042 if { (eval echo configure:2043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2052if { (eval echo configure:2053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    20432053  rm -rf conftest*
    20442054  eval "ac_cv_lib_$ac_lib_var=yes"
     
    20842094        SunOS-5)
    20852095          echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
    2086 echo "configure:2087: checking for dlopen in -ldl" >&5
     2096echo "configure:2097: checking for dlopen in -ldl" >&5
    20872097ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
    20882098if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    20922102LIBS="-ldl  $LIBS"
    20932103cat > conftest.$ac_ext <<EOF
    2094 #line 2095 "configure"
     2104#line 2105 "configure"
    20952105#include "confdefs.h"
    20962106/* Override any gcc2 internal prototype to avoid an error.  */
     
    21032113; return 0; }
    21042114EOF
    2105 if { (eval echo configure:2106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2115if { (eval echo configure:2116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    21062116  rm -rf conftest*
    21072117  eval "ac_cv_lib_$ac_lib_var=yes"
     
    21412151        ppcMac-darwin)
    21422152          echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
    2143 echo "configure:2144: checking for dlopen in -ldl" >&5
     2153echo "configure:2154: checking for dlopen in -ldl" >&5
    21442154ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
    21452155if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    21492159LIBS="-ldl  $LIBS"
    21502160cat > conftest.$ac_ext <<EOF
    2151 #line 2152 "configure"
     2161#line 2162 "configure"
    21522162#include "confdefs.h"
    21532163/* Override any gcc2 internal prototype to avoid an error.  */
     
    21602170; return 0; }
    21612171EOF
    2162 if { (eval echo configure:2163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2172if { (eval echo configure:2173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    21632173  rm -rf conftest*
    21642174  eval "ac_cv_lib_$ac_lib_var=yes"
     
    21972207        i386Mac-darwin)
    21982208          echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
    2199 echo "configure:2200: checking for dlopen in -ldl" >&5
     2209echo "configure:2210: checking for dlopen in -ldl" >&5
    22002210ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
    22012211if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    22052215LIBS="-ldl  $LIBS"
    22062216cat > conftest.$ac_ext <<EOF
    2207 #line 2208 "configure"
     2217#line 2218 "configure"
    22082218#include "confdefs.h"
    22092219/* Override any gcc2 internal prototype to avoid an error.  */
     
    22162226; return 0; }
    22172227EOF
    2218 if { (eval echo configure:2219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2228if { (eval echo configure:2229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    22192229  rm -rf conftest*
    22202230  eval "ac_cv_lib_$ac_lib_var=yes"
     
    22532263        ix86-freebsd)
    22542264          echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6
    2255 echo "configure:2256: checking for dlopen in -lc" >&5
     2265echo "configure:2266: checking for dlopen in -lc" >&5
    22562266ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'`
    22572267if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    22612271LIBS="-lc  $LIBS"
    22622272cat > conftest.$ac_ext <<EOF
    2263 #line 2264 "configure"
     2273#line 2274 "configure"
    22642274#include "confdefs.h"
    22652275/* Override any gcc2 internal prototype to avoid an error.  */
     
    22722282; return 0; }
    22732283EOF
    2274 if { (eval echo configure:2275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2284if { (eval echo configure:2285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    22752285  rm -rf conftest*
    22762286  eval "ac_cv_lib_$ac_lib_var=yes"
     
    23172327# heder file checks
    23182328echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    2319 echo "configure:2320: checking for ANSI C header files" >&5
     2329echo "configure:2330: checking for ANSI C header files" >&5
    23202330if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    23212331  echo $ac_n "(cached) $ac_c" 1>&6
    23222332else
    23232333  cat > conftest.$ac_ext <<EOF
    2324 #line 2325 "configure"
     2334#line 2335 "configure"
    23252335#include "confdefs.h"
    23262336#include <stdlib.h>
     
    23302340EOF
    23312341ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2332 { (eval echo configure:2333: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2342{ (eval echo configure:2343: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    23332343ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    23342344if test -z "$ac_err"; then
     
    23472357  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    23482358cat > conftest.$ac_ext <<EOF
    2349 #line 2350 "configure"
     2359#line 2360 "configure"
    23502360#include "confdefs.h"
    23512361#include <string.h>
     
    23652375  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    23662376cat > conftest.$ac_ext <<EOF
    2367 #line 2368 "configure"
     2377#line 2378 "configure"
    23682378#include "confdefs.h"
    23692379#include <stdlib.h>
     
    23862396else
    23872397  cat > conftest.$ac_ext <<EOF
    2388 #line 2389 "configure"
     2398#line 2399 "configure"
    23892399#include "confdefs.h"
    23902400#include <ctype.h>
     
    23972407
    23982408EOF
    2399 if { (eval echo configure:2400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2409if { (eval echo configure:2410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    24002410then
    24012411  :
     
    24242434ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    24252435echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2426 echo "configure:2427: checking for $ac_hdr" >&5
     2436echo "configure:2437: checking for $ac_hdr" >&5
    24272437if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    24282438  echo $ac_n "(cached) $ac_c" 1>&6
    24292439else
    24302440  cat > conftest.$ac_ext <<EOF
    2431 #line 2432 "configure"
     2441#line 2442 "configure"
    24322442#include "confdefs.h"
    24332443#include <$ac_hdr>
    24342444EOF
    24352445ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2436 { (eval echo configure:2437: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2446{ (eval echo configure:2447: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    24372447ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    24382448if test -z "$ac_err"; then
     
    24682478ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    24692479echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2470 echo "configure:2471: checking for $ac_hdr" >&5
     2480echo "configure:2481: checking for $ac_hdr" >&5
    24712481if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    24722482  echo $ac_n "(cached) $ac_c" 1>&6
    24732483else
    24742484  cat > conftest.$ac_ext <<EOF
    2475 #line 2476 "configure"
     2485#line 2486 "configure"
    24762486#include "confdefs.h"
    24772487#include <$ac_hdr>
    24782488EOF
    24792489ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2480 { (eval echo configure:2481: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2490{ (eval echo configure:2491: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    24812491ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    24822492if test -z "$ac_err"; then
     
    25072517# typedefs, structures
    25082518echo $ac_n "checking for working const""... $ac_c" 1>&6
    2509 echo "configure:2510: checking for working const" >&5
     2519echo "configure:2520: checking for working const" >&5
    25102520if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
    25112521  echo $ac_n "(cached) $ac_c" 1>&6
    25122522else
    25132523  cat > conftest.$ac_ext <<EOF
    2514 #line 2515 "configure"
     2524#line 2525 "configure"
    25152525#include "confdefs.h"
    25162526
     
    25612571; return 0; }
    25622572EOF
    2563 if { (eval echo configure:2564: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2573if { (eval echo configure:2574: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    25642574  rm -rf conftest*
    25652575  ac_cv_c_const=yes
     
    25822592
    25832593echo $ac_n "checking for inline""... $ac_c" 1>&6
    2584 echo "configure:2585: checking for inline" >&5
     2594echo "configure:2595: checking for inline" >&5
    25852595if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
    25862596  echo $ac_n "(cached) $ac_c" 1>&6
     
    25892599for ac_kw in inline __inline__ __inline; do
    25902600  cat > conftest.$ac_ext <<EOF
    2591 #line 2592 "configure"
     2601#line 2602 "configure"
    25922602#include "confdefs.h"
    25932603
     
    25962606; return 0; }
    25972607EOF
    2598 if { (eval echo configure:2599: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2608if { (eval echo configure:2609: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    25992609  rm -rf conftest*
    26002610  ac_cv_c_inline=$ac_kw; break
     
    26222632
    26232633echo $ac_n "checking for size_t""... $ac_c" 1>&6
    2624 echo "configure:2625: checking for size_t" >&5
     2634echo "configure:2635: checking for size_t" >&5
    26252635if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
    26262636  echo $ac_n "(cached) $ac_c" 1>&6
    26272637else
    26282638  cat > conftest.$ac_ext <<EOF
    2629 #line 2630 "configure"
     2639#line 2640 "configure"
    26302640#include "confdefs.h"
    26312641#include <sys/types.h>
     
    26552665
    26562666echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
    2657 echo "configure:2658: checking whether struct tm is in sys/time.h or time.h" >&5
     2667echo "configure:2668: checking whether struct tm is in sys/time.h or time.h" >&5
    26582668if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
    26592669  echo $ac_n "(cached) $ac_c" 1>&6
    26602670else
    26612671  cat > conftest.$ac_ext <<EOF
    2662 #line 2663 "configure"
     2672#line 2673 "configure"
    26632673#include "confdefs.h"
    26642674#include <sys/types.h>
     
    26682678; return 0; }
    26692679EOF
    2670 if { (eval echo configure:2671: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2680if { (eval echo configure:2681: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    26712681  rm -rf conftest*
    26722682  ac_cv_struct_tm=time.h
     
    26892699
    26902700echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
    2691 echo "configure:2692: checking whether time.h and sys/time.h may both be included" >&5
     2701echo "configure:2702: checking whether time.h and sys/time.h may both be included" >&5
    26922702if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
    26932703  echo $ac_n "(cached) $ac_c" 1>&6
    26942704else
    26952705  cat > conftest.$ac_ext <<EOF
    2696 #line 2697 "configure"
     2706#line 2707 "configure"
    26972707#include "confdefs.h"
    26982708#include <sys/types.h>
     
    27032713; return 0; }
    27042714EOF
    2705 if { (eval echo configure:2706: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2715if { (eval echo configure:2716: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    27062716  rm -rf conftest*
    27072717  ac_cv_header_time=yes
     
    27282738# for constant arguments.  Useless!
    27292739echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
    2730 echo "configure:2731: checking for working alloca.h" >&5
     2740echo "configure:2741: checking for working alloca.h" >&5
    27312741if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
    27322742  echo $ac_n "(cached) $ac_c" 1>&6
    27332743else
    27342744  cat > conftest.$ac_ext <<EOF
    2735 #line 2736 "configure"
     2745#line 2746 "configure"
    27362746#include "confdefs.h"
    27372747#include <alloca.h>
     
    27402750; return 0; }
    27412751EOF
    2742 if { (eval echo configure:2743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2752if { (eval echo configure:2753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    27432753  rm -rf conftest*
    27442754  ac_cv_header_alloca_h=yes
     
    27612771
    27622772echo $ac_n "checking for alloca""... $ac_c" 1>&6
    2763 echo "configure:2764: checking for alloca" >&5
     2773echo "configure:2774: checking for alloca" >&5
    27642774if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
    27652775  echo $ac_n "(cached) $ac_c" 1>&6
    27662776else
    27672777  cat > conftest.$ac_ext <<EOF
    2768 #line 2769 "configure"
     2778#line 2779 "configure"
    27692779#include "confdefs.h"
    27702780
     
    27942804; return 0; }
    27952805EOF
    2796 if { (eval echo configure:2797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2806if { (eval echo configure:2807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    27972807  rm -rf conftest*
    27982808  ac_cv_func_alloca_works=yes
     
    28262836
    28272837echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
    2828 echo "configure:2829: checking whether alloca needs Cray hooks" >&5
     2838echo "configure:2839: checking whether alloca needs Cray hooks" >&5
    28292839if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
    28302840  echo $ac_n "(cached) $ac_c" 1>&6
    28312841else
    28322842  cat > conftest.$ac_ext <<EOF
    2833 #line 2834 "configure"
     2843#line 2844 "configure"
    28342844#include "confdefs.h"
    28352845#if defined(CRAY) && ! defined(CRAY2)
     
    28562866for ac_func in _getb67 GETB67 getb67; do
    28572867  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2858 echo "configure:2859: checking for $ac_func" >&5
     2868echo "configure:2869: checking for $ac_func" >&5
    28592869if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    28602870  echo $ac_n "(cached) $ac_c" 1>&6
    28612871else
    28622872  cat > conftest.$ac_ext <<EOF
    2863 #line 2864 "configure"
     2873#line 2874 "configure"
    28642874#include "confdefs.h"
    28652875/* System header to define __stub macros and hopefully few prototypes,
     
    28842894; return 0; }
    28852895EOF
    2886 if { (eval echo configure:2887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2896if { (eval echo configure:2897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    28872897  rm -rf conftest*
    28882898  eval "ac_cv_func_$ac_func=yes"
     
    29112921
    29122922echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
    2913 echo "configure:2914: checking stack direction for C alloca" >&5
     2923echo "configure:2924: checking stack direction for C alloca" >&5
    29142924if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
    29152925  echo $ac_n "(cached) $ac_c" 1>&6
     
    29192929else
    29202930  cat > conftest.$ac_ext <<EOF
    2921 #line 2922 "configure"
     2931#line 2932 "configure"
    29222932#include "confdefs.h"
    29232933find_stack_direction ()
     
    29382948}
    29392949EOF
    2940 if { (eval echo configure:2941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2950if { (eval echo configure:2951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    29412951then
    29422952  ac_cv_c_stack_direction=1
     
    29612971if test $ac_cv_prog_gcc = yes; then
    29622972    echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
    2963 echo "configure:2964: checking whether ${CC-cc} needs -traditional" >&5
     2973echo "configure:2974: checking whether ${CC-cc} needs -traditional" >&5
    29642974if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
    29652975  echo $ac_n "(cached) $ac_c" 1>&6
     
    29672977    ac_pattern="Autoconf.*'x'"
    29682978  cat > conftest.$ac_ext <<EOF
    2969 #line 2970 "configure"
     2979#line 2980 "configure"
    29702980#include "confdefs.h"
    29712981#include <sgtty.h>
     
    29852995  if test $ac_cv_prog_gcc_traditional = no; then
    29862996    cat > conftest.$ac_ext <<EOF
    2987 #line 2988 "configure"
     2997#line 2998 "configure"
    29882998#include "confdefs.h"
    29892999#include <termio.h>
     
    30103020ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    30113021echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    3012 echo "configure:3013: checking for $ac_hdr" >&5
     3022echo "configure:3023: checking for $ac_hdr" >&5
    30133023if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    30143024  echo $ac_n "(cached) $ac_c" 1>&6
    30153025else
    30163026  cat > conftest.$ac_ext <<EOF
    3017 #line 3018 "configure"
     3027#line 3028 "configure"
    30183028#include "confdefs.h"
    30193029#include <$ac_hdr>
    30203030EOF
    30213031ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3022 { (eval echo configure:3023: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3032{ (eval echo configure:3033: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    30233033ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    30243034if test -z "$ac_err"; then
     
    30493059do
    30503060echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3051 echo "configure:3052: checking for $ac_func" >&5
     3061echo "configure:3062: checking for $ac_func" >&5
    30523062if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    30533063  echo $ac_n "(cached) $ac_c" 1>&6
    30543064else
    30553065  cat > conftest.$ac_ext <<EOF
    3056 #line 3057 "configure"
     3066#line 3067 "configure"
    30573067#include "confdefs.h"
    30583068/* System header to define __stub macros and hopefully few prototypes,
     
    30773087; return 0; }
    30783088EOF
    3079 if { (eval echo configure:3080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3089if { (eval echo configure:3090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    30803090  rm -rf conftest*
    30813091  eval "ac_cv_func_$ac_func=yes"
     
    31023112
    31033113echo $ac_n "checking for working mmap""... $ac_c" 1>&6
    3104 echo "configure:3105: checking for working mmap" >&5
     3114echo "configure:3115: checking for working mmap" >&5
    31053115if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
    31063116  echo $ac_n "(cached) $ac_c" 1>&6
     
    31103120else
    31113121  cat > conftest.$ac_ext <<EOF
    3112 #line 3113 "configure"
     3122#line 3123 "configure"
    31133123#include "confdefs.h"
    31143124
     
    32503260
    32513261EOF
    3252 if { (eval echo configure:3253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3262if { (eval echo configure:3263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    32533263then
    32543264  ac_cv_func_mmap_fixed_mapped=yes
     
    32733283
    32743284echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
    3275 echo "configure:3276: checking return type of signal handlers" >&5
     3285echo "configure:3286: checking return type of signal handlers" >&5
    32763286if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
    32773287  echo $ac_n "(cached) $ac_c" 1>&6
    32783288else
    32793289  cat > conftest.$ac_ext <<EOF
    3280 #line 3281 "configure"
     3290#line 3291 "configure"
    32813291#include "confdefs.h"
    32823292#include <sys/types.h>
     
    32953305; return 0; }
    32963306EOF
    3297 if { (eval echo configure:3298: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3307if { (eval echo configure:3308: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    32983308  rm -rf conftest*
    32993309  ac_cv_type_signal=void
     
    33143324
    33153325echo $ac_n "checking for vprintf""... $ac_c" 1>&6
    3316 echo "configure:3317: checking for vprintf" >&5
     3326echo "configure:3327: checking for vprintf" >&5
    33173327if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
    33183328  echo $ac_n "(cached) $ac_c" 1>&6
    33193329else
    33203330  cat > conftest.$ac_ext <<EOF
    3321 #line 3322 "configure"
     3331#line 3332 "configure"
    33223332#include "confdefs.h"
    33233333/* System header to define __stub macros and hopefully few prototypes,
     
    33423352; return 0; }
    33433353EOF
    3344 if { (eval echo configure:3345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3354if { (eval echo configure:3355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    33453355  rm -rf conftest*
    33463356  eval "ac_cv_func_vprintf=yes"
     
    33663376if test "$ac_cv_func_vprintf" != yes; then
    33673377echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
    3368 echo "configure:3369: checking for _doprnt" >&5
     3378echo "configure:3379: checking for _doprnt" >&5
    33693379if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
    33703380  echo $ac_n "(cached) $ac_c" 1>&6
    33713381else
    33723382  cat > conftest.$ac_ext <<EOF
    3373 #line 3374 "configure"
     3383#line 3384 "configure"
    33743384#include "confdefs.h"
    33753385/* System header to define __stub macros and hopefully few prototypes,
     
    33943404; return 0; }
    33953405EOF
    3396 if { (eval echo configure:3397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3406if { (eval echo configure:3407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    33973407  rm -rf conftest*
    33983408  eval "ac_cv_func__doprnt=yes"
     
    34203430
    34213431echo $ac_n "checking for library containing setenv""... $ac_c" 1>&6
    3422 echo "configure:3423: checking for library containing setenv" >&5
     3432echo "configure:3433: checking for library containing setenv" >&5
    34233433if eval "test \"`echo '$''{'ac_cv_search_setenv'+set}'`\" = set"; then
    34243434  echo $ac_n "(cached) $ac_c" 1>&6
     
    34273437ac_cv_search_setenv="no"
    34283438cat > conftest.$ac_ext <<EOF
    3429 #line 3430 "configure"
     3439#line 3440 "configure"
    34303440#include "confdefs.h"
    34313441/* Override any gcc2 internal prototype to avoid an error.  */
     
    34383448; return 0; }
    34393449EOF
    3440 if { (eval echo configure:3441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3450if { (eval echo configure:3451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    34413451  rm -rf conftest*
    34423452  ac_cv_search_setenv="none required"
     
    34493459LIBS="-l$i  $ac_func_search_save_LIBS"
    34503460cat > conftest.$ac_ext <<EOF
    3451 #line 3452 "configure"
     3461#line 3462 "configure"
    34523462#include "confdefs.h"
    34533463/* Override any gcc2 internal prototype to avoid an error.  */
     
    34603470; return 0; }
    34613471EOF
    3462 if { (eval echo configure:3463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3472if { (eval echo configure:3473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    34633473  rm -rf conftest*
    34643474  ac_cv_search_setenv="-l$i"
     
    34843494do
    34853495echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3486 echo "configure:3487: checking for $ac_func" >&5
     3496echo "configure:3497: checking for $ac_func" >&5
    34873497if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    34883498  echo $ac_n "(cached) $ac_c" 1>&6
    34893499else
    34903500  cat > conftest.$ac_ext <<EOF
    3491 #line 3492 "configure"
     3501#line 3502 "configure"
    34923502#include "confdefs.h"
    34933503/* System header to define __stub macros and hopefully few prototypes,
     
    35123522; return 0; }
    35133523EOF
    3514 if { (eval echo configure:3515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3524if { (eval echo configure:3525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    35153525  rm -rf conftest*
    35163526  eval "ac_cv_func_$ac_func=yes"
     
    35413551# arithmetic shifts
    35423552echo $ac_n "checking whether your machine has correct arithmetic shifts""... $ac_c" 1>&6
    3543 echo "configure:3544: checking whether your machine has correct arithmetic shifts" >&5
     3553echo "configure:3554: checking whether your machine has correct arithmetic shifts" >&5
    35443554if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then
    35453555  echo $ac_n "(cached) $ac_c" 1>&6
     
    35543564else
    35553565  cat > conftest.$ac_ext <<EOF
    3556 #line 3557 "configure"
     3566#line 3567 "configure"
    35573567#include "confdefs.h"
    35583568 int main() { if (-2 >> 1 == -1) return(0); else return(1); }
    35593569EOF
    3560 if { (eval echo configure:3561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3570if { (eval echo configure:3571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    35613571then
    35623572  ac_cv_shift=yes
     
    35833593# check for a peculiar constructor initialization
    35843594echo $ac_n "checking whether explicit C++ constructor calls are allowed""... $ac_c" 1>&6
    3585 echo "configure:3586: checking whether explicit C++ constructor calls are allowed" >&5
     3595echo "configure:3596: checking whether explicit C++ constructor calls are allowed" >&5
    35863596
    35873597ac_ext=C
     
    35963606else
    35973607  cat > conftest.$ac_ext <<EOF
    3598 #line 3599 "configure"
     3608#line 3609 "configure"
    35993609#include "confdefs.h"
    36003610
     
    36143624; return 0; }
    36153625EOF
    3616 if { (eval echo configure:3617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3626if { (eval echo configure:3627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    36173627  rm -rf conftest*
    36183628  ac_cv_explicit_const=yes
     
    36433653# sprintf returns number of printed chars
    36443654echo $ac_n "checking whether vsprintf returns number of printed chars""... $ac_c" 1>&6
    3645 echo "configure:3646: checking whether vsprintf returns number of printed chars" >&5
     3655echo "configure:3656: checking whether vsprintf returns number of printed chars" >&5
    36463656if eval "test \"`echo '$''{'ac_cv_returns_n_of_chars'+set}'`\" = set"; then
    36473657  echo $ac_n "(cached) $ac_c" 1>&6
     
    36513661else
    36523662  cat > conftest.$ac_ext <<EOF
    3653 #line 3654 "configure"
     3663#line 3664 "configure"
    36543664#include "confdefs.h"
    36553665#include <stdio.h>
    36563666 main() { char *str=(char*)malloc(20); if (((int) sprintf(str,"123456789")) == 9) exit(0); else exit(1); }
    36573667EOF
    3658 if { (eval echo configure:3659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3668if { (eval echo configure:3669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    36593669then
    36603670  ac_cv_returns_n_of_chars=yes
     
    36823692# determine ALIGN_8
    36833693echo $ac_n "checking size of char""... $ac_c" 1>&6
    3684 echo "configure:3685: checking size of char" >&5
     3694echo "configure:3695: checking size of char" >&5
    36853695if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
    36863696  echo $ac_n "(cached) $ac_c" 1>&6
     
    36903700else
    36913701  cat > conftest.$ac_ext <<EOF
    3692 #line 3693 "configure"
     3702#line 3703 "configure"
    36933703#include "confdefs.h"
    36943704#include <stdio.h>
     
    37013711}
    37023712EOF
    3703 if { (eval echo configure:3704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3713if { (eval echo configure:3714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    37043714then
    37053715  ac_cv_sizeof_char=`cat conftestval`
     
    37213731
    37223732echo $ac_n "checking size of short""... $ac_c" 1>&6
    3723 echo "configure:3724: checking size of short" >&5
     3733echo "configure:3734: checking size of short" >&5
    37243734if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
    37253735  echo $ac_n "(cached) $ac_c" 1>&6
     
    37293739else
    37303740  cat > conftest.$ac_ext <<EOF
    3731 #line 3732 "configure"
     3741#line 3742 "configure"
    37323742#include "confdefs.h"
    37333743#include <stdio.h>
     
    37403750}
    37413751EOF
    3742 if { (eval echo configure:3743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3752if { (eval echo configure:3753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    37433753then
    37443754  ac_cv_sizeof_short=`cat conftestval`
     
    37603770
    37613771echo $ac_n "checking size of int""... $ac_c" 1>&6
    3762 echo "configure:3763: checking size of int" >&5
     3772echo "configure:3773: checking size of int" >&5
    37633773if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
    37643774  echo $ac_n "(cached) $ac_c" 1>&6
     
    37683778else
    37693779  cat > conftest.$ac_ext <<EOF
    3770 #line 3771 "configure"
     3780#line 3781 "configure"
    37713781#include "confdefs.h"
    37723782#include <stdio.h>
     
    37793789}
    37803790EOF
    3781 if { (eval echo configure:3782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3791if { (eval echo configure:3792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    37823792then
    37833793  ac_cv_sizeof_int=`cat conftestval`
     
    37993809
    38003810echo $ac_n "checking size of long""... $ac_c" 1>&6
    3801 echo "configure:3802: checking size of long" >&5
     3811echo "configure:3812: checking size of long" >&5
    38023812if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
    38033813  echo $ac_n "(cached) $ac_c" 1>&6
     
    38073817else
    38083818  cat > conftest.$ac_ext <<EOF
    3809 #line 3810 "configure"
     3819#line 3820 "configure"
    38103820#include "confdefs.h"
    38113821#include <stdio.h>
     
    38183828}
    38193829EOF
    3820 if { (eval echo configure:3821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3830if { (eval echo configure:3831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    38213831then
    38223832  ac_cv_sizeof_long=`cat conftestval`
     
    38383848
    38393849echo $ac_n "checking size of void*""... $ac_c" 1>&6
    3840 echo "configure:3841: checking size of void*" >&5
     3850echo "configure:3851: checking size of void*" >&5
    38413851if eval "test \"`echo '$''{'ac_cv_sizeof_voidp'+set}'`\" = set"; then
    38423852  echo $ac_n "(cached) $ac_c" 1>&6
     
    38463856else
    38473857  cat > conftest.$ac_ext <<EOF
    3848 #line 3849 "configure"
     3858#line 3859 "configure"
    38493859#include "confdefs.h"
    38503860#include <stdio.h>
     
    38573867}
    38583868EOF
    3859 if { (eval echo configure:3860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3869if { (eval echo configure:3870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    38603870then
    38613871  ac_cv_sizeof_voidp=`cat conftestval`
     
    38773887
    38783888echo $ac_n "checking size of double""... $ac_c" 1>&6
    3879 echo "configure:3880: checking size of double" >&5
     3889echo "configure:3890: checking size of double" >&5
    38803890if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then
    38813891  echo $ac_n "(cached) $ac_c" 1>&6
     
    38853895else
    38863896  cat > conftest.$ac_ext <<EOF
    3887 #line 3888 "configure"
     3897#line 3898 "configure"
    38883898#include "confdefs.h"
    38893899#include <stdio.h>
     
    38963906}
    38973907EOF
    3898 if { (eval echo configure:3899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3908if { (eval echo configure:3909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    38993909then
    39003910  ac_cv_sizeof_double=`cat conftestval`
     
    39163926
    39173927echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
    3918 echo "configure:3919: checking whether byte ordering is bigendian" >&5
     3928echo "configure:3929: checking whether byte ordering is bigendian" >&5
    39193929if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
    39203930  echo $ac_n "(cached) $ac_c" 1>&6
     
    39233933# See if sys/param.h defines the BYTE_ORDER macro.
    39243934cat > conftest.$ac_ext <<EOF
    3925 #line 3926 "configure"
     3935#line 3936 "configure"
    39263936#include "confdefs.h"
    39273937#include <sys/types.h>
     
    39343944; return 0; }
    39353945EOF
    3936 if { (eval echo configure:3937: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3946if { (eval echo configure:3947: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    39373947  rm -rf conftest*
    39383948  # It does; now see whether it defined to BIG_ENDIAN or not.
    39393949cat > conftest.$ac_ext <<EOF
    3940 #line 3941 "configure"
     3950#line 3951 "configure"
    39413951#include "confdefs.h"
    39423952#include <sys/types.h>
     
    39493959; return 0; }
    39503960EOF
    3951 if { (eval echo configure:3952: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3961if { (eval echo configure:3962: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    39523962  rm -rf conftest*
    39533963  ac_cv_c_bigendian=yes
     
    39693979else
    39703980  cat > conftest.$ac_ext <<EOF
    3971 #line 3972 "configure"
     3981#line 3982 "configure"
    39723982#include "confdefs.h"
    39733983main () {
     
    39823992}
    39833993EOF
    3984 if { (eval echo configure:3985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3994if { (eval echo configure:3995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    39853995then
    39863996  ac_cv_c_bigendian=no
     
    41124122
    41134123echo $ac_n "checking whether to use dynamic linking""... $ac_c" 1>&6
    4114 echo "configure:4115: checking whether to use dynamic linking" >&5
     4124echo "configure:4125: checking whether to use dynamic linking" >&5
    41154125if test "$with_dl" != no && test "$ac_lib_dl" = yes; then
    41164126  cat >> confdefs.h <<\EOF
     
    41254135
    41264136echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6
    4127 echo "configure:4128: checking for tgetent in -lncurses" >&5
     4137echo "configure:4138: checking for tgetent in -lncurses" >&5
    41284138ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
    41294139if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    41334143LIBS="-lncurses  $LIBS"
    41344144cat > conftest.$ac_ext <<EOF
    4135 #line 4136 "configure"
     4145#line 4146 "configure"
    41364146#include "confdefs.h"
    41374147/* Override any gcc2 internal prototype to avoid an error.  */
     
    41444154; return 0; }
    41454155EOF
    4146 if { (eval echo configure:4147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4156if { (eval echo configure:4157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    41474157  rm -rf conftest*
    41484158  eval "ac_cv_lib_$ac_lib_var=yes"
     
    41714181\
    41724182 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
    4173 echo "configure:4174: checking for tgetent in -lcurses" >&5
     4183echo "configure:4184: checking for tgetent in -lcurses" >&5
    41744184ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
    41754185if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    41794189LIBS="-lcurses  $LIBS"
    41804190cat > conftest.$ac_ext <<EOF
    4181 #line 4182 "configure"
     4191#line 4192 "configure"
    41824192#include "confdefs.h"
    41834193/* Override any gcc2 internal prototype to avoid an error.  */
     
    41904200; return 0; }
    41914201EOF
    4192 if { (eval echo configure:4193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4202if { (eval echo configure:4203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    41934203  rm -rf conftest*
    41944204  eval "ac_cv_lib_$ac_lib_var=yes"
     
    42174227\
    42184228  echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
    4219 echo "configure:4220: checking for tgetent in -ltermcap" >&5
     4229echo "configure:4230: checking for tgetent in -ltermcap" >&5
    42204230ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
    42214231if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    42254235LIBS="-ltermcap  $LIBS"
    42264236cat > conftest.$ac_ext <<EOF
    4227 #line 4228 "configure"
     4237#line 4238 "configure"
    42284238#include "confdefs.h"
    42294239/* Override any gcc2 internal prototype to avoid an error.  */
     
    42364246; return 0; }
    42374247EOF
    4238 if { (eval echo configure:4239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4248if { (eval echo configure:4249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    42394249  rm -rf conftest*
    42404250  eval "ac_cv_lib_$ac_lib_var=yes"
     
    42854295
    42864296   echo $ac_n "checking for rl_abort in -lreadline""... $ac_c" 1>&6
    4287 echo "configure:4288: checking for rl_abort in -lreadline" >&5
     4297echo "configure:4298: checking for rl_abort in -lreadline" >&5
    42884298ac_lib_var=`echo readline'_'rl_abort | sed 'y%./+-%__p_%'`
    42894299if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    42934303LIBS="-lreadline  $LIBS"
    42944304cat > conftest.$ac_ext <<EOF
    4295 #line 4296 "configure"
     4305#line 4306 "configure"
    42964306#include "confdefs.h"
    42974307/* Override any gcc2 internal prototype to avoid an error.  */
     
    43074317; return 0; }
    43084318EOF
    4309 if { (eval echo configure:4310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4319if { (eval echo configure:4320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    43104320  rm -rf conftest*
    43114321  eval "ac_cv_lib_$ac_lib_var=yes"
     
    43354345
    43364346   echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
    4337 echo "configure:4338: checking how to run the C++ preprocessor" >&5
     4347echo "configure:4348: checking how to run the C++ preprocessor" >&5
    43384348if test -z "$CXXCPP"; then
    43394349if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
     
    43484358  CXXCPP="${CXX-g++} -E"
    43494359  cat > conftest.$ac_ext <<EOF
    4350 #line 4351 "configure"
     4360#line 4361 "configure"
    43514361#include "confdefs.h"
    43524362#include <stdlib.h>
    43534363EOF
    43544364ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4355 { (eval echo configure:4356: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4365{ (eval echo configure:4366: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    43564366ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    43574367if test -z "$ac_err"; then
     
    43814391ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    43824392echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    4383 echo "configure:4384: checking for $ac_hdr" >&5
     4393echo "configure:4394: checking for $ac_hdr" >&5
    43844394if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    43854395  echo $ac_n "(cached) $ac_c" 1>&6
    43864396else
    43874397  cat > conftest.$ac_ext <<EOF
    4388 #line 4389 "configure"
     4398#line 4399 "configure"
    43894399#include "confdefs.h"
    43904400#include <$ac_hdr>
    43914401EOF
    43924402ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4393 { (eval echo configure:4394: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4403{ (eval echo configure:4404: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    43944404ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    43954405if test -z "$ac_err"; then
     
    44204430      test "$ac_cv_header_readline_readline_h" = yes; then
    44214431     echo $ac_n "checking whether readline.h is ok""... $ac_c" 1>&6
    4422 echo "configure:4423: checking whether readline.h is ok" >&5
     4432echo "configure:4433: checking whether readline.h is ok" >&5
    44234433     if eval "test \"`echo '$''{'ac_cv_header_readline_readline_h_ok'+set}'`\" = set"; then
    44244434  echo $ac_n "(cached) $ac_c" 1>&6
    44254435else
    44264436  cat > conftest.$ac_ext <<EOF
    4427 #line 4428 "configure"
     4437#line 4438 "configure"
    44284438#include "confdefs.h"
    44294439#include<unistd.h>
     
    44384448; return 0; }
    44394449EOF
    4440 if { (eval echo configure:4441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4450if { (eval echo configure:4451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    44414451  rm -rf conftest*
    44424452  ac_cv_header_readline_readline_h_ok="yes"
     
    44544464#not ok -- try once more with explicitly declaring everything
    44554465      echo $ac_n "checking whether or not we nevertheless can use readline""... $ac_c" 1>&6
    4456 echo "configure:4457: checking whether or not we nevertheless can use readline" >&5
     4466echo "configure:4467: checking whether or not we nevertheless can use readline" >&5
    44574467      if eval "test \"`echo '$''{'ac_cv_have_readline'+set}'`\" = set"; then
    44584468  echo $ac_n "(cached) $ac_c" 1>&6
    44594469else
    44604470  cat > conftest.$ac_ext <<EOF
    4461 #line 4462 "configure"
     4471#line 4472 "configure"
    44624472#include "confdefs.h"
    44634473#include <stdio.h>
     
    44934503; return 0; }
    44944504EOF
    4495 if { (eval echo configure:4496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4505if { (eval echo configure:4506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    44964506  rm -rf conftest*
    44974507  ac_cv_have_readline="yes"
     
    45324542
    45334543echo $ac_n "checking which readline to use""... $ac_c" 1>&6
    4534 echo "configure:4535: checking which readline to use" >&5
     4544echo "configure:4545: checking which readline to use" >&5
    45354545if test "$ac_cv_with_readline" = dynamic; then
    45364546  echo "$ac_t""dynamic" 1>&6
     
    45524562# gmp, MP, MPT, factory, libfac
    45534563echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6
    4554 echo "configure:4555: checking for main in -lgmp" >&5
     4564echo "configure:4565: checking for main in -lgmp" >&5
    45554565ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'`
    45564566if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    45604570LIBS="-lgmp  $LIBS"
    45614571cat > conftest.$ac_ext <<EOF
    4562 #line 4563 "configure"
     4572#line 4573 "configure"
    45634573#include "confdefs.h"
    45644574
     
    45674577; return 0; }
    45684578EOF
    4569 if { (eval echo configure:4570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4579if { (eval echo configure:4580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    45704580  rm -rf conftest*
    45714581  eval "ac_cv_lib_$ac_lib_var=yes"
     
    45964606SAVE_LIBS=$LIBS
    45974607echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6
    4598 echo "configure:4599: checking for IMP_PutGmpInt in -lMP" >&5
     4608echo "configure:4609: checking for IMP_PutGmpInt in -lMP" >&5
    45994609ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'`
    46004610if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    46044614LIBS="-lMP $MP_LIBS $LIBS"
    46054615cat > conftest.$ac_ext <<EOF
    4606 #line 4607 "configure"
     4616#line 4617 "configure"
    46074617#include "confdefs.h"
    46084618/* Override any gcc2 internal prototype to avoid an error.  */
     
    46154625; return 0; }
    46164626EOF
    4617 if { (eval echo configure:4618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4627if { (eval echo configure:4628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    46184628  rm -rf conftest*
    46194629  eval "ac_cv_lib_$ac_lib_var=yes"
     
    46434653
    46444654echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6
    4645 echo "configure:4646: checking for MPT_GetTree in -lMPT" >&5
     4655echo "configure:4656: checking for MPT_GetTree in -lMPT" >&5
    46464656ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'`
    46474657if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    46514661LIBS="-lMPT $MP_LIBS $LIBS"
    46524662cat > conftest.$ac_ext <<EOF
    4653 #line 4654 "configure"
     4663#line 4664 "configure"
    46544664#include "confdefs.h"
    46554665/* Override any gcc2 internal prototype to avoid an error.  */
     
    46624672; return 0; }
    46634673EOF
    4664 if { (eval echo configure:4665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4674if { (eval echo configure:4675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    46654675  rm -rf conftest*
    46664676  eval "ac_cv_lib_$ac_lib_var=yes"
     
    46914701LIBS=$SAVE_LIBS
    46924702echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6
    4693 echo "configure:4694: checking for atof in -lsingcf" >&5
     4703echo "configure:4704: checking for atof in -lsingcf" >&5
    46944704ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'`
    46954705if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    46994709LIBS="-lsingcf  $LIBS"
    47004710cat > conftest.$ac_ext <<EOF
    4701 #line 4702 "configure"
     4711#line 4712 "configure"
    47024712#include "confdefs.h"
    47034713/* Override any gcc2 internal prototype to avoid an error.  */
     
    47104720; return 0; }
    47114721EOF
    4712 if { (eval echo configure:4713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4722if { (eval echo configure:4723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    47134723  rm -rf conftest*
    47144724  eval "ac_cv_lib_$ac_lib_var=yes"
     
    47384748
    47394749echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6
    4740 echo "configure:4741: checking for atof in -lsingfac" >&5
     4750echo "configure:4751: checking for atof in -lsingfac" >&5
    47414751ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'`
    47424752if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    47464756LIBS="-lsingfac  $LIBS"
    47474757cat > conftest.$ac_ext <<EOF
    4748 #line 4749 "configure"
     4758#line 4759 "configure"
    47494759#include "confdefs.h"
    47504760/* Override any gcc2 internal prototype to avoid an error.  */
     
    47574767; return 0; }
    47584768EOF
    4759 if { (eval echo configure:4760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4769if { (eval echo configure:4770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    47604770  rm -rf conftest*
    47614771  eval "ac_cv_lib_$ac_lib_var=yes"
     
    47854795
    47864796echo $ac_n "checking for omTestAddr in -lomalloc""... $ac_c" 1>&6
    4787 echo "configure:4788: checking for omTestAddr in -lomalloc" >&5
     4797echo "configure:4798: checking for omTestAddr in -lomalloc" >&5
    47884798ac_lib_var=`echo omalloc'_'omTestAddr | sed 'y%./+-%__p_%'`
    47894799if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    47934803LIBS="-lomalloc  $LIBS"
    47944804cat > conftest.$ac_ext <<EOF
    4795 #line 4796 "configure"
     4805#line 4806 "configure"
    47964806#include "confdefs.h"
    47974807/* Override any gcc2 internal prototype to avoid an error.  */
     
    48044814; return 0; }
    48054815EOF
    4806 if { (eval echo configure:4807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4816if { (eval echo configure:4817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    48074817  rm -rf conftest*
    48084818  eval "ac_cv_lib_$ac_lib_var=yes"
     
    48324842
    48334843echo $ac_n "checking for main in -lomalloc_ndebug""... $ac_c" 1>&6
    4834 echo "configure:4835: checking for main in -lomalloc_ndebug" >&5
     4844echo "configure:4845: checking for main in -lomalloc_ndebug" >&5
    48354845ac_lib_var=`echo omalloc_ndebug'_'main | sed 'y%./+-%__p_%'`
    48364846if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    48404850LIBS="-lomalloc_ndebug  $LIBS"
    48414851cat > conftest.$ac_ext <<EOF
    4842 #line 4843 "configure"
     4852#line 4853 "configure"
    48434853#include "confdefs.h"
    48444854
     
    48474857; return 0; }
    48484858EOF
    4849 if { (eval echo configure:4850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4859if { (eval echo configure:4860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    48504860  rm -rf conftest*
    48514861  eval "ac_cv_lib_$ac_lib_var=yes"
     
    48754885
    48764886echo $ac_n "checking for main in -lntl""... $ac_c" 1>&6
    4877 echo "configure:4878: checking for main in -lntl" >&5
     4887echo "configure:4888: checking for main in -lntl" >&5
    48784888ac_lib_var=`echo ntl'_'main | sed 'y%./+-%__p_%'`
    48794889if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    48834893LIBS="-lntl  $LIBS"
    48844894cat > conftest.$ac_ext <<EOF
    4885 #line 4886 "configure"
     4895#line 4896 "configure"
    48864896#include "confdefs.h"
    48874897
     
    48904900; return 0; }
    48914901EOF
    4892 if { (eval echo configure:4893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4902if { (eval echo configure:4903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    48934903  rm -rf conftest*
    48944904  eval "ac_cv_lib_$ac_lib_var=yes"
     
    49234933ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    49244934echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    4925 echo "configure:4926: checking for $ac_hdr" >&5
     4935echo "configure:4936: checking for $ac_hdr" >&5
    49264936if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    49274937  echo $ac_n "(cached) $ac_c" 1>&6
    49284938else
    49294939  cat > conftest.$ac_ext <<EOF
    4930 #line 4931 "configure"
     4940#line 4941 "configure"
    49314941#include "confdefs.h"
    49324942#include <$ac_hdr>
    49334943EOF
    49344944ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4935 { (eval echo configure:4936: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4945{ (eval echo configure:4946: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    49364946ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    49374947if test -z "$ac_err"; then
     
    49724982ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    49734983echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    4974 echo "configure:4975: checking for $ac_hdr" >&5
     4984echo "configure:4985: checking for $ac_hdr" >&5
    49754985if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    49764986  echo $ac_n "(cached) $ac_c" 1>&6
    49774987else
    49784988  cat > conftest.$ac_ext <<EOF
    4979 #line 4980 "configure"
     4989#line 4990 "configure"
    49804990#include "confdefs.h"
    49814991#include <$ac_hdr>
    49824992EOF
    49834993ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4984 { (eval echo configure:4985: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4994{ (eval echo configure:4995: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    49854995ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    49864996if test -z "$ac_err"; then
     
    50555065
    50565066echo $ac_n "checking which apint package to use""... $ac_c" 1>&6
    5057 echo "configure:5058: checking which apint package to use" >&5
     5067echo "configure:5068: checking which apint package to use" >&5
    50585068if test "${with_apint}" != gmp; then
    50595069  if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then
     
    50785088#
    50795089echo $ac_n "checking whether to have MP""... $ac_c" 1>&6
    5080 echo "configure:5081: checking whether to have MP" >&5
     5090echo "configure:5091: checking whether to have MP" >&5
    50815091if test "${with_MP}" != yes && test "${with_MP}" != no; then
    50825092  if (test "${will_have_gmp}" = yes) && \
     
    51135123
    51145124echo $ac_n "checking whether to have NTL""... $ac_c" 1>&6
    5115 echo "configure:5116: checking whether to have NTL" >&5
     5125echo "configure:5126: checking whether to have NTL" >&5
    51165126if test "${with_NTL}" = yes ; then
    51175127  echo "$ac_t""yes" 1>&6
     
    51225132
    51235133echo $ac_n "checking whether to have factory""... $ac_c" 1>&6
    5124 echo "configure:5125: checking whether to have factory" >&5
     5134echo "configure:5135: checking whether to have factory" >&5
    51255135if test "${with_factory}" != yes && test "${with_factory}" != no; then
    51265136  if test "$ac_factory_ok" =  yes || test "$enable_factory" = yes; then
     
    51535163
    51545164echo $ac_n "checking whether to have libfac""... $ac_c" 1>&6
    5155 echo "configure:5156: checking whether to have libfac" >&5
     5165echo "configure:5166: checking whether to have libfac" >&5
    51565166if test "${with_libfac}" != yes && test "${with_libfac}" != no; then
    51575167  if (test "${will_have_factory}" = yes) && \
     
    51955205
    51965206echo $ac_n "checking whether to have dbm links""... $ac_c" 1>&6
    5197 echo "configure:5198: checking whether to have dbm links" >&5
     5207echo "configure:5208: checking whether to have dbm links" >&5
    51985208if test "$with_dbm" != no; then
    51995209  cat >> confdefs.h <<\EOF
     
    52075217
    52085218echo $ac_n "checking whether to have namespaces""... $ac_c" 1>&6
    5209 echo "configure:5210: checking whether to have namespaces" >&5
     5219echo "configure:5220: checking whether to have namespaces" >&5
    52105220if test "$with_namespaces" != no; then
    52115221  echo "$ac_t""yes" 1>&6
     
    52195229
    52205230echo $ac_n "checking whether to have dynamic modules""... $ac_c" 1>&6
    5221 echo "configure:5222: checking whether to have dynamic modules" >&5
     5231echo "configure:5232: checking whether to have dynamic modules" >&5
    52225232if test "$with_dynamic_modules" = no || test "$ac_have_dl" != yes; then
    52235233  echo "$ac_t""no" 1>&6
     
    52315241
    52325242echo $ac_n "checking whether to have dynamic kernel""... $ac_c" 1>&6
    5233 echo "configure:5234: checking whether to have dynamic kernel" >&5
     5243echo "configure:5244: checking whether to have dynamic kernel" >&5
    52345244if test "$with_dynamic_kernel" != no && test "$ac_lib_dl" = yes; then
    52355245  DL_KERNEL=1
     
    52415251
    52425252echo $ac_n "checking whether to have Plural""... $ac_c" 1>&6
    5243 echo "configure:5244: checking whether to have Plural" >&5
     5253echo "configure:5254: checking whether to have Plural" >&5
    52445254if test "$with_Plural" != yes && test "$enable_Plural" != yes; then
    52455255  echo "$ac_t""no" 1>&6
  • Singular/configure.in

    r578ac0 r002517  
    113113    CXX=g++
    114114  fi
    115   temp_flags=${CXXFLAGS}
     115  temp_flags="${CXXFLAGS}"
    116116  AC_LANG_SAVE
    117117  AC_LANG_CPLUSPLUS
     
    124124  AC_MSG_RESULT(${ac_cv_cxx_have_rtti})
    125125  if test "${ac_cv_cxx_have_rtti}" != yes; then
    126   CXXFLAGS=$temp_flags
    127   else
    128   CXXFLAGS="${temp_flags} --no-rtti"
     126    CXXFLAGS="$temp_flags"
     127  else
     128    CXXFLAGS="${temp_flags} --no-rtti"
     129    temp_flags="${CXXFLAGS}"
    129130  fi
    130131
     
    137138  AC_MSG_RESULT(${ac_cv_cxx_have_exceptions})
    138139  if test "${ac_cv_cxx_have_exceptions}" != yes; then
    139   CXXFLAGS=$temp_flags
    140   else
    141   CXXFLAGS="${temp_flags} --no-exceptions"
     140    CXXFLAGS="$temp_flags"
     141  else
     142    CXXFLAGS="${temp_flags} --no-exceptions"
     143    temp_flags="${CXXFLAGS}"
    142144  fi
    143145
    144146  AC_LANG_RESTORE
    145   CXXFLAGS=$temp_flags
     147  CXXFLAGS="$temp_flags"
    146148  #here is broking something
    147149  #uncommented breaks CXXFLAGS variable set
     
    153155then
    154156  AC_MSG_CHECKING(whether compiler accepts -pipe)
    155   temp_cflags=${CFLAGS}
     157  temp_cflags="${CFLAGS}"
    156158  CFLAGS="${CFLAGS} -pipe"
    157159  AC_CACHE_VAL(ac_cv_cxx_have_pipe,
     
    188190  if test "$ac_cxxflags_set" = no; then
    189191    CXXFLAGS="-O3 -w -fomit-frame-pointer"
     192  fi
     193  temp_flags="${CXXFLAGS}"
     194  if test "${ac_cv_cxx_have_rtti}" = yes; then
     195    CXXFLAGS="${temp_flags} --no-rtti"
     196  fi
     197  temp_flags="${CXXFLAGS}"
     198  if test "${ac_cv_cxx_have_exceptions}" = yes; then
     199    CXXFLAGS="${temp_flags} --no-exceptions"
    190200  fi
    191201  CXXTEMPLFLAGS="-fno-implicit-templates"
Note: See TracChangeset for help on using the changeset viewer.