Changeset 907274 in git


Ignore:
Timestamp:
Apr 1, 1999, 10:37:02 AM (24 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
Children:
69a9545fbd087159a4c37f2ece16874e05f78de2
Parents:
5f89ebcfc3931375fa6e2ad6e495331a4064a4e3
Message:
* added -DSING_UNAME flag to DEFS of compilation
  where SING_UNAME=`echo $SINGUNAME | tr '-' '_'
  i.e., now ix86_Linux is defiend as preprocessor symbol, if SINGUNAME
  == ix86-Linux, and so on


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

Legend:

Unmodified
Added
Removed
  • Singular/Makefile.in

    r5f89eb r907274  
    1212SINGULAR_VERSION        = @SINGULAR_VERSION@
    1313SINGULAR                = @SINGULAR@
    14 SINGUNAME               = @SINGUNAME@
     14SINGUNAME               = @SINGUNAME@ 
    1515
    1616##
     
    4949CXXTEMPLFLAGS   = @CXXTEMPLFLAGS@
    5050CPPFLAGS        = -I${srcdir} @CPPFLAGS@
    51 DEFS            = @DEFS@ -DNDEBUG
     51DEFS            = -DNDEBUG -D@SING_UNAME@
    5252LDFLAGS         = @LDFLAGS@
    5353LD_DYN_FLAGS    = @LD_DYN_FLAGS@
     
    185185
    186186mmtables.inc: mmtables.c mmprivate.h mod2.h
    187         ${CXX} ${CXXFLAGS}  ${CPPFLAGS} ${DEFS} \
     187        ${CXX} ${CXXFLAGS}  ${CPPFLAGS}\
    188188               -DGENERATE_INDEX_TABLE -DHAVE_INDEX_TABLE mmtables.c -o mmtables
    189189        ./mmtables > mmtables.inc
     
    326326CXXFLAGSG       = -g -Wall -Wno-unused ${PIPE}
    327327CXXTEMPLFLAGSG  = -fno-implicit-templates
    328 DEFSG           = @DEFS@
     328DEFSG           = -D@SING_UNAME@
    329329
    330330##
     
    392392CXXFLAGSP       = -pg -O3 ${PIPE}
    393393CXXTEMPLFLAGSP  = -fno-implicit-templates
    394 DEFSP           = @DEFS@ -DNDEBUG -DDO_PROFILE
     394DEFSP           = -DNDEBUG -DDO_PROFILE -D@SING_UNAME@
    395395LDFLAGSP        = -static @LDFLAGS@
    396396
     
    398398CXXFLAGSB       = -g -O3 ${PIPE}
    399399CXXTEMPLFLAGSB  = -fno-implicit-templates
    400 DEFSB           = @DEFS@ -DNDEBUG
     400DEFSB           = -DNDEBUG -D@SING_UNAME@
    401401LDFLAGSB        = -static @LDFLAGS@
    402402# bprof object  file to link with
  • Singular/configure

    r5f89eb r907274  
    586586
    587587
     588SING_UNAME=`echo $SINGUNAME | tr '-' '_' `
     589
     590
    588591# stupid Win programs do not like dots in their pathnames
    589592VERSION_SEP="-"
     
    641644set dummy gcc; ac_word=$2
    642645echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    643 echo "configure:644: checking for $ac_word" >&5
     646echo "configure:647: checking for $ac_word" >&5
    644647if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    645648  echo $ac_n "(cached) $ac_c" 1>&6
     
    670673set dummy cc; ac_word=$2
    671674echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    672 echo "configure:673: checking for $ac_word" >&5
     675echo "configure:676: checking for $ac_word" >&5
    673676if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    674677  echo $ac_n "(cached) $ac_c" 1>&6
     
    718721
    719722echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    720 echo "configure:721: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     723echo "configure:724: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    721724
    722725ac_ext=c
     
    728731
    729732cat > conftest.$ac_ext <<EOF
    730 #line 731 "configure"
     733#line 734 "configure"
    731734#include "confdefs.h"
    732735main(){return(0);}
    733736EOF
    734 if { (eval echo configure:735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     737if { (eval echo configure:738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    735738  ac_cv_prog_cc_works=yes
    736739  # If we can't run a trivial program, we are probably using a cross compiler.
     
    752755fi
    753756echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    754 echo "configure:755: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     757echo "configure:758: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    755758echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    756759cross_compiling=$ac_cv_prog_cc_cross
    757760
    758761echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    759 echo "configure:760: checking whether we are using GNU C" >&5
     762echo "configure:763: checking whether we are using GNU C" >&5
    760763if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    761764  echo $ac_n "(cached) $ac_c" 1>&6
     
    766769#endif
    767770EOF
    768 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:769: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     771if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:772: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    769772  ac_cv_prog_gcc=yes
    770773else
     
    781784  CFLAGS=
    782785  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    783 echo "configure:784: checking whether ${CC-cc} accepts -g" >&5
     786echo "configure:787: checking whether ${CC-cc} accepts -g" >&5
    784787if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    785788  echo $ac_n "(cached) $ac_c" 1>&6
     
    809812
    810813echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    811 echo "configure:812: checking how to run the C preprocessor" >&5
     814echo "configure:815: checking how to run the C preprocessor" >&5
    812815# On Suns, sometimes $CPP names a directory.
    813816if test -n "$CPP" && test -d "$CPP"; then
     
    824827  # not just through cpp.
    825828  cat > conftest.$ac_ext <<EOF
    826 #line 827 "configure"
     829#line 830 "configure"
    827830#include "confdefs.h"
    828831#include <assert.h>
     
    830833EOF
    831834ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    832 { (eval echo configure:833: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     835{ (eval echo configure:836: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    833836ac_err=`grep -v '^ *+' conftest.out`
    834837if test -z "$ac_err"; then
     
    841844  CPP="${CC-cc} -E -traditional-cpp"
    842845  cat > conftest.$ac_ext <<EOF
    843 #line 844 "configure"
     846#line 847 "configure"
    844847#include "confdefs.h"
    845848#include <assert.h>
     
    847850EOF
    848851ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    849 { (eval echo configure:850: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     852{ (eval echo configure:853: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    850853ac_err=`grep -v '^ *+' conftest.out`
    851854if test -z "$ac_err"; then
     
    874877set dummy $ac_prog; ac_word=$2
    875878echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    876 echo "configure:877: checking for $ac_word" >&5
     879echo "configure:880: checking for $ac_word" >&5
    877880if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
    878881  echo $ac_n "(cached) $ac_c" 1>&6
     
    905908
    906909echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    907 echo "configure:908: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
     910echo "configure:911: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
    908911
    909912ac_ext=C
     
    915918
    916919cat > conftest.$ac_ext <<EOF
    917 #line 918 "configure"
     920#line 921 "configure"
    918921#include "confdefs.h"
    919922main(){return(0);}
    920923EOF
    921 if { (eval echo configure:922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     924if { (eval echo configure:925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    922925  ac_cv_prog_cxx_works=yes
    923926  # If we can't run a trivial program, we are probably using a cross compiler.
     
    945948fi
    946949echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    947 echo "configure:948: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
     950echo "configure:951: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
    948951echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
    949952cross_compiling=$ac_cv_prog_cxx_cross
    950953
    951954echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
    952 echo "configure:953: checking whether we are using GNU C++" >&5
     955echo "configure:956: checking whether we are using GNU C++" >&5
    953956if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
    954957  echo $ac_n "(cached) $ac_c" 1>&6
     
    959962#endif
    960963EOF
    961 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:962: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     964if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:965: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    962965  ac_cv_prog_gxx=yes
    963966else
     
    974977  CXXFLAGS=
    975978  echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
    976 echo "configure:977: checking whether ${CXX-g++} accepts -g" >&5
     979echo "configure:980: checking whether ${CXX-g++} accepts -g" >&5
    977980if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
    978981  echo $ac_n "(cached) $ac_c" 1>&6
     
    10021005
    10031006echo $ac_n "checking for AIX""... $ac_c" 1>&6
    1004 echo "configure:1005: checking for AIX" >&5
     1007echo "configure:1008: checking for AIX" >&5
    10051008cat > conftest.$ac_ext <<EOF
    1006 #line 1007 "configure"
     1009#line 1010 "configure"
    10071010#include "confdefs.h"
    10081011#ifdef _AIX
     
    10341037# check whether the compiler accepts -pipe
    10351038echo $ac_n "checking whether compiler accepts -pipe""... $ac_c" 1>&6
    1036 echo "configure:1037: checking whether compiler accepts -pipe" >&5
     1039echo "configure:1040: checking whether compiler accepts -pipe" >&5
    10371040temp_cflags=${CFLAGS}
    10381041CFLAGS="${CFLAGS} -pipe"
     
    10411044else
    10421045  cat > conftest.$ac_ext <<EOF
    1043 #line 1044 "configure"
     1046#line 1047 "configure"
    10441047#include "confdefs.h"
    10451048
     
    10481051; return 0; }
    10491052EOF
    1050 if { (eval echo configure:1051: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1053if { (eval echo configure:1054: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    10511054  rm -rf conftest*
    10521055  ac_cv_cxx_have_pipe=yes
     
    10721075# Customize CFLAGS
    10731076echo $ac_n "checking whether _AIX is defined""... $ac_c" 1>&6
    1074 echo "configure:1075: checking whether _AIX is defined" >&5
     1077echo "configure:1078: checking whether _AIX is defined" >&5
    10751078if eval "test \"`echo '$''{'ac_cv_is_aix'+set}'`\" = set"; then
    10761079  echo $ac_n "(cached) $ac_c" 1>&6
    10771080else
    10781081  cat > conftest.$ac_ext <<EOF
    1079 #line 1080 "configure"
     1082#line 1083 "configure"
    10801083#include "confdefs.h"
    10811084#ifdef _AIX
     
    11281131
    11291132echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    1130 echo "configure:1131: checking whether ${MAKE-make} sets \${MAKE}" >&5
     1133echo "configure:1134: checking whether ${MAKE-make} sets \${MAKE}" >&5
    11311134set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    11321135if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    12011204if test "${with_lex+set}" != set; then
    12021205  echo $ac_n "checking for flex""... $ac_c" 1>&6
    1203 echo "configure:1204: checking for flex" >&5
     1206echo "configure:1207: checking for flex" >&5
    12041207    if eval "test \"`echo '$''{'ac_cv_prog_flex'+set}'`\" = set"; then
    12051208  echo $ac_n "(cached) $ac_c" 1>&6
     
    12321235set dummy $ac_prog; ac_word=$2
    12331236echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1234 echo "configure:1235: checking for $ac_word" >&5
     1237echo "configure:1238: checking for $ac_word" >&5
    12351238if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
    12361239  echo $ac_n "(cached) $ac_c" 1>&6
     
    12681271if test "${with_perl5+set}" != set; then
    12691272  echo $ac_n "checking for perl5""... $ac_c" 1>&6
    1270 echo "configure:1271: checking for perl5" >&5
     1273echo "configure:1274: checking for perl5" >&5
    12711274    if eval "test \"`echo '$''{'ac_cv_prog_perl5'+set}'`\" = set"; then
    12721275  echo $ac_n "(cached) $ac_c" 1>&6
     
    13051308set dummy $ac_prog; ac_word=$2
    13061309echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1307 echo "configure:1308: checking for $ac_word" >&5
     1310echo "configure:1311: checking for $ac_word" >&5
    13081311if eval "test \"`echo '$''{'ac_cv_prog_PERL5'+set}'`\" = set"; then
    13091312  echo $ac_n "(cached) $ac_c" 1>&6
     
    13441347set dummy $ac_prog; ac_word=$2
    13451348echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1346 echo "configure:1347: checking for $ac_word" >&5
     1349echo "configure:1350: checking for $ac_word" >&5
    13471350if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then
    13481351  echo $ac_n "(cached) $ac_c" 1>&6
     
    13821385set dummy $ac_prog; ac_word=$2
    13831386echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1384 echo "configure:1385: checking for $ac_word" >&5
     1387echo "configure:1388: checking for $ac_word" >&5
    13851388if eval "test \"`echo '$''{'ac_cv_prog_INFO'+set}'`\" = set"; then
    13861389  echo $ac_n "(cached) $ac_c" 1>&6
     
    14261429set dummy $ac_prog; ac_word=$2
    14271430echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1428 echo "configure:1429: checking for $ac_word" >&5
     1431echo "configure:1432: checking for $ac_word" >&5
    14291432if eval "test \"`echo '$''{'ac_cv_prog_INFO'+set}'`\" = set"; then
    14301433  echo $ac_n "(cached) $ac_c" 1>&6
     
    14661469# ln -s 
    14671470echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
    1468 echo "configure:1469: checking whether ln -s works" >&5
     1471echo "configure:1472: checking whether ln -s works" >&5
    14691472if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
    14701473  echo $ac_n "(cached) $ac_c" 1>&6
     
    14891492# lib checks
    14901493echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6
    1491 echo "configure:1492: checking for atof in -lm" >&5
     1494echo "configure:1495: checking for atof in -lm" >&5
    14921495ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'`
    14931496if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    14971500LIBS="-lm  $LIBS"
    14981501cat > conftest.$ac_ext <<EOF
    1499 #line 1500 "configure"
     1502#line 1503 "configure"
    15001503#include "confdefs.h"
    15011504/* Override any gcc2 internal prototype to avoid an error.  */
     
    15081511; return 0; }
    15091512EOF
    1510 if { (eval echo configure:1511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1513if { (eval echo configure:1514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    15111514  rm -rf conftest*
    15121515  eval "ac_cv_lib_$ac_lib_var=yes"
     
    15361539
    15371540echo $ac_n "checking for socket in -lbsd""... $ac_c" 1>&6
    1538 echo "configure:1539: checking for socket in -lbsd" >&5
     1541echo "configure:1542: checking for socket in -lbsd" >&5
    15391542ac_lib_var=`echo bsd'_'socket | sed 'y%./+-%__p_%'`
    15401543if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    15441547LIBS="-lbsd  $LIBS"
    15451548cat > conftest.$ac_ext <<EOF
    1546 #line 1547 "configure"
     1549#line 1550 "configure"
    15471550#include "confdefs.h"
    15481551/* Override any gcc2 internal prototype to avoid an error.  */
     
    15551558; return 0; }
    15561559EOF
    1557 if { (eval echo configure:1558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1560if { (eval echo configure:1561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    15581561  rm -rf conftest*
    15591562  eval "ac_cv_lib_$ac_lib_var=yes"
     
    15831586
    15841587echo $ac_n "checking for listen in -lsocket""... $ac_c" 1>&6
    1585 echo "configure:1586: checking for listen in -lsocket" >&5
     1588echo "configure:1589: checking for listen in -lsocket" >&5
    15861589ac_lib_var=`echo socket'_'listen | sed 'y%./+-%__p_%'`
    15871590if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    15911594LIBS="-lsocket  $LIBS"
    15921595cat > conftest.$ac_ext <<EOF
    1593 #line 1594 "configure"
     1596#line 1597 "configure"
    15941597#include "confdefs.h"
    15951598/* Override any gcc2 internal prototype to avoid an error.  */
     
    16021605; return 0; }
    16031606EOF
    1604 if { (eval echo configure:1605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1607if { (eval echo configure:1608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    16051608  rm -rf conftest*
    16061609  eval "ac_cv_lib_$ac_lib_var=yes"
     
    16301633
    16311634echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
    1632 echo "configure:1633: checking for gethostbyname in -lnsl" >&5
     1635echo "configure:1636: checking for gethostbyname in -lnsl" >&5
    16331636ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
    16341637if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    16381641LIBS="-lnsl  $LIBS"
    16391642cat > conftest.$ac_ext <<EOF
    1640 #line 1641 "configure"
     1643#line 1644 "configure"
    16411644#include "confdefs.h"
    16421645/* Override any gcc2 internal prototype to avoid an error.  */
     
    16491652; return 0; }
    16501653EOF
    1651 if { (eval echo configure:1652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1654if { (eval echo configure:1655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    16521655  rm -rf conftest*
    16531656  eval "ac_cv_lib_$ac_lib_var=yes"
     
    16771680
    16781681echo $ac_n "checking for index in -lucb""... $ac_c" 1>&6
    1679 echo "configure:1680: checking for index in -lucb" >&5
     1682echo "configure:1683: checking for index in -lucb" >&5
    16801683ac_lib_var=`echo ucb'_'index | sed 'y%./+-%__p_%'`
    16811684if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    16851688LIBS="-lucb  $LIBS"
    16861689cat > conftest.$ac_ext <<EOF
    1687 #line 1688 "configure"
     1690#line 1691 "configure"
    16881691#include "confdefs.h"
    16891692/* Override any gcc2 internal prototype to avoid an error.  */
     
    16961699; return 0; }
    16971700EOF
    1698 if { (eval echo configure:1699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1701if { (eval echo configure:1702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    16991702  rm -rf conftest*
    17001703  eval "ac_cv_lib_$ac_lib_var=yes"
     
    17261729# heder file checks
    17271730echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    1728 echo "configure:1729: checking for ANSI C header files" >&5
     1731echo "configure:1732: checking for ANSI C header files" >&5
    17291732if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    17301733  echo $ac_n "(cached) $ac_c" 1>&6
    17311734else
    17321735  cat > conftest.$ac_ext <<EOF
    1733 #line 1734 "configure"
     1736#line 1737 "configure"
    17341737#include "confdefs.h"
    17351738#include <stdlib.h>
     
    17391742EOF
    17401743ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1741 { (eval echo configure:1742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1744{ (eval echo configure:1745: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    17421745ac_err=`grep -v '^ *+' conftest.out`
    17431746if test -z "$ac_err"; then
     
    17561759  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    17571760cat > conftest.$ac_ext <<EOF
    1758 #line 1759 "configure"
     1761#line 1762 "configure"
    17591762#include "confdefs.h"
    17601763#include <string.h>
     
    17741777  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    17751778cat > conftest.$ac_ext <<EOF
    1776 #line 1777 "configure"
     1779#line 1780 "configure"
    17771780#include "confdefs.h"
    17781781#include <stdlib.h>
     
    17951798else
    17961799  cat > conftest.$ac_ext <<EOF
    1797 #line 1798 "configure"
     1800#line 1801 "configure"
    17981801#include "confdefs.h"
    17991802#include <ctype.h>
     
    18061809
    18071810EOF
    1808 if { (eval echo configure:1809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     1811if { (eval echo configure:1812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
    18091812then
    18101813  :
     
    18331836ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    18341837echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1835 echo "configure:1836: checking for $ac_hdr" >&5
     1838echo "configure:1839: checking for $ac_hdr" >&5
    18361839if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    18371840  echo $ac_n "(cached) $ac_c" 1>&6
    18381841else
    18391842  cat > conftest.$ac_ext <<EOF
    1840 #line 1841 "configure"
     1843#line 1844 "configure"
    18411844#include "confdefs.h"
    18421845#include <$ac_hdr>
    18431846EOF
    18441847ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1845 { (eval echo configure:1846: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1848{ (eval echo configure:1849: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    18461849ac_err=`grep -v '^ *+' conftest.out`
    18471850if test -z "$ac_err"; then
     
    18751878ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    18761879echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1877 echo "configure:1878: checking for $ac_hdr" >&5
     1880echo "configure:1881: checking for $ac_hdr" >&5
    18781881if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    18791882  echo $ac_n "(cached) $ac_c" 1>&6
    18801883else
    18811884  cat > conftest.$ac_ext <<EOF
    1882 #line 1883 "configure"
     1885#line 1886 "configure"
    18831886#include "confdefs.h"
    18841887#include <$ac_hdr>
    18851888EOF
    18861889ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1887 { (eval echo configure:1888: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1890{ (eval echo configure:1891: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    18881891ac_err=`grep -v '^ *+' conftest.out`
    18891892if test -z "$ac_err"; then
     
    19141917# typedefs, structures
    19151918echo $ac_n "checking for working const""... $ac_c" 1>&6
    1916 echo "configure:1917: checking for working const" >&5
     1919echo "configure:1920: checking for working const" >&5
    19171920if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
    19181921  echo $ac_n "(cached) $ac_c" 1>&6
    19191922else
    19201923  cat > conftest.$ac_ext <<EOF
    1921 #line 1922 "configure"
     1924#line 1925 "configure"
    19221925#include "confdefs.h"
    19231926
     
    19681971; return 0; }
    19691972EOF
    1970 if { (eval echo configure:1971: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1973if { (eval echo configure:1974: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    19711974  rm -rf conftest*
    19721975  ac_cv_c_const=yes
     
    19891992
    19901993echo $ac_n "checking for inline""... $ac_c" 1>&6
    1991 echo "configure:1992: checking for inline" >&5
     1994echo "configure:1995: checking for inline" >&5
    19921995if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
    19931996  echo $ac_n "(cached) $ac_c" 1>&6
     
    19961999for ac_kw in inline __inline__ __inline; do
    19972000  cat > conftest.$ac_ext <<EOF
    1998 #line 1999 "configure"
     2001#line 2002 "configure"
    19992002#include "confdefs.h"
    20002003
     
    20032006; return 0; }
    20042007EOF
    2005 if { (eval echo configure:2006: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2008if { (eval echo configure:2009: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    20062009  rm -rf conftest*
    20072010  ac_cv_c_inline=$ac_kw; break
     
    20292032
    20302033echo $ac_n "checking for size_t""... $ac_c" 1>&6
    2031 echo "configure:2032: checking for size_t" >&5
     2034echo "configure:2035: checking for size_t" >&5
    20322035if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
    20332036  echo $ac_n "(cached) $ac_c" 1>&6
    20342037else
    20352038  cat > conftest.$ac_ext <<EOF
    2036 #line 2037 "configure"
     2039#line 2040 "configure"
    20372040#include "confdefs.h"
    20382041#include <sys/types.h>
     
    20622065
    20632066echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
    2064 echo "configure:2065: checking whether time.h and sys/time.h may both be included" >&5
     2067echo "configure:2068: checking whether time.h and sys/time.h may both be included" >&5
    20652068if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
    20662069  echo $ac_n "(cached) $ac_c" 1>&6
    20672070else
    20682071  cat > conftest.$ac_ext <<EOF
    2069 #line 2070 "configure"
     2072#line 2073 "configure"
    20702073#include "confdefs.h"
    20712074#include <sys/types.h>
     
    20762079; return 0; }
    20772080EOF
    2078 if { (eval echo configure:2079: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2081if { (eval echo configure:2082: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    20792082  rm -rf conftest*
    20802083  ac_cv_header_time=yes
     
    20972100
    20982101echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
    2099 echo "configure:2100: checking whether struct tm is in sys/time.h or time.h" >&5
     2102echo "configure:2103: checking whether struct tm is in sys/time.h or time.h" >&5
    21002103if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
    21012104  echo $ac_n "(cached) $ac_c" 1>&6
    21022105else
    21032106  cat > conftest.$ac_ext <<EOF
    2104 #line 2105 "configure"
     2107#line 2108 "configure"
    21052108#include "confdefs.h"
    21062109#include <sys/types.h>
     
    21102113; return 0; }
    21112114EOF
    2112 if { (eval echo configure:2113: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2115if { (eval echo configure:2116: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    21132116  rm -rf conftest*
    21142117  ac_cv_struct_tm=time.h
     
    21352138# for constant arguments.  Useless!
    21362139echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
    2137 echo "configure:2138: checking for working alloca.h" >&5
     2140echo "configure:2141: checking for working alloca.h" >&5
    21382141if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
    21392142  echo $ac_n "(cached) $ac_c" 1>&6
    21402143else
    21412144  cat > conftest.$ac_ext <<EOF
    2142 #line 2143 "configure"
     2145#line 2146 "configure"
    21432146#include "confdefs.h"
    21442147#include <alloca.h>
     
    21472150; return 0; }
    21482151EOF
    2149 if { (eval echo configure:2150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     2152if { (eval echo configure:2153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    21502153  rm -rf conftest*
    21512154  ac_cv_header_alloca_h=yes
     
    21682171
    21692172echo $ac_n "checking for alloca""... $ac_c" 1>&6
    2170 echo "configure:2171: checking for alloca" >&5
     2173echo "configure:2174: checking for alloca" >&5
    21712174if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
    21722175  echo $ac_n "(cached) $ac_c" 1>&6
    21732176else
    21742177  cat > conftest.$ac_ext <<EOF
    2175 #line 2176 "configure"
     2178#line 2179 "configure"
    21762179#include "confdefs.h"
    21772180
     
    21962199; return 0; }
    21972200EOF
    2198 if { (eval echo configure:2199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     2201if { (eval echo configure:2202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    21992202  rm -rf conftest*
    22002203  ac_cv_func_alloca_works=yes
     
    22282231
    22292232echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
    2230 echo "configure:2231: checking whether alloca needs Cray hooks" >&5
     2233echo "configure:2234: checking whether alloca needs Cray hooks" >&5
    22312234if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
    22322235  echo $ac_n "(cached) $ac_c" 1>&6
    22332236else
    22342237  cat > conftest.$ac_ext <<EOF
    2235 #line 2236 "configure"
     2238#line 2239 "configure"
    22362239#include "confdefs.h"
    22372240#if defined(CRAY) && ! defined(CRAY2)
     
    22582261for ac_func in _getb67 GETB67 getb67; do
    22592262  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2260 echo "configure:2261: checking for $ac_func" >&5
     2263echo "configure:2264: checking for $ac_func" >&5
    22612264if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    22622265  echo $ac_n "(cached) $ac_c" 1>&6
    22632266else
    22642267  cat > conftest.$ac_ext <<EOF
    2265 #line 2266 "configure"
     2268#line 2269 "configure"
    22662269#include "confdefs.h"
    22672270/* System header to define __stub macros and hopefully few prototypes,
     
    22862289; return 0; }
    22872290EOF
    2288 if { (eval echo configure:2289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     2291if { (eval echo configure:2292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    22892292  rm -rf conftest*
    22902293  eval "ac_cv_func_$ac_func=yes"
     
    23132316
    23142317echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
    2315 echo "configure:2316: checking stack direction for C alloca" >&5
     2318echo "configure:2319: checking stack direction for C alloca" >&5
    23162319if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
    23172320  echo $ac_n "(cached) $ac_c" 1>&6
     
    23212324else
    23222325  cat > conftest.$ac_ext <<EOF
    2323 #line 2324 "configure"
     2326#line 2327 "configure"
    23242327#include "confdefs.h"
    23252328find_stack_direction ()
     
    23402343}
    23412344EOF
    2342 if { (eval echo configure:2343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     2345if { (eval echo configure:2346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
    23432346then
    23442347  ac_cv_c_stack_direction=1
     
    23632366if test $ac_cv_prog_gcc = yes; then
    23642367    echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
    2365 echo "configure:2366: checking whether ${CC-cc} needs -traditional" >&5
     2368echo "configure:2369: checking whether ${CC-cc} needs -traditional" >&5
    23662369if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
    23672370  echo $ac_n "(cached) $ac_c" 1>&6
     
    23692372    ac_pattern="Autoconf.*'x'"
    23702373  cat > conftest.$ac_ext <<EOF
    2371 #line 2372 "configure"
     2374#line 2375 "configure"
    23722375#include "confdefs.h"
    23732376#include <sgtty.h>
     
    23872390  if test $ac_cv_prog_gcc_traditional = no; then
    23882391    cat > conftest.$ac_ext <<EOF
    2389 #line 2390 "configure"
     2392#line 2393 "configure"
    23902393#include "confdefs.h"
    23912394#include <termio.h>
     
    24122415ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    24132416echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2414 echo "configure:2415: checking for $ac_hdr" >&5
     2417echo "configure:2418: checking for $ac_hdr" >&5
    24152418if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    24162419  echo $ac_n "(cached) $ac_c" 1>&6
    24172420else
    24182421  cat > conftest.$ac_ext <<EOF
    2419 #line 2420 "configure"
     2422#line 2423 "configure"
    24202423#include "confdefs.h"
    24212424#include <$ac_hdr>
    24222425EOF
    24232426ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2424 { (eval echo configure:2425: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2427{ (eval echo configure:2428: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    24252428ac_err=`grep -v '^ *+' conftest.out`
    24262429if test -z "$ac_err"; then
     
    24512454do
    24522455echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2453 echo "configure:2454: checking for $ac_func" >&5
     2456echo "configure:2457: checking for $ac_func" >&5
    24542457if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    24552458  echo $ac_n "(cached) $ac_c" 1>&6
    24562459else
    24572460  cat > conftest.$ac_ext <<EOF
    2458 #line 2459 "configure"
     2461#line 2462 "configure"
    24592462#include "confdefs.h"
    24602463/* System header to define __stub macros and hopefully few prototypes,
     
    24792482; return 0; }
    24802483EOF
    2481 if { (eval echo configure:2482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     2484if { (eval echo configure:2485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    24822485  rm -rf conftest*
    24832486  eval "ac_cv_func_$ac_func=yes"
     
    25042507
    25052508echo $ac_n "checking for working mmap""... $ac_c" 1>&6
    2506 echo "configure:2507: checking for working mmap" >&5
     2509echo "configure:2510: checking for working mmap" >&5
    25072510if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
    25082511  echo $ac_n "(cached) $ac_c" 1>&6
     
    25122515else
    25132516  cat > conftest.$ac_ext <<EOF
    2514 #line 2515 "configure"
     2517#line 2518 "configure"
    25152518#include "confdefs.h"
    25162519
     
    26522655
    26532656EOF
    2654 if { (eval echo configure:2655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     2657if { (eval echo configure:2658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
    26552658then
    26562659  ac_cv_func_mmap_fixed_mapped=yes
     
    26752678
    26762679echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
    2677 echo "configure:2678: checking return type of signal handlers" >&5
     2680echo "configure:2681: checking return type of signal handlers" >&5
    26782681if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
    26792682  echo $ac_n "(cached) $ac_c" 1>&6
    26802683else
    26812684  cat > conftest.$ac_ext <<EOF
    2682 #line 2683 "configure"
     2685#line 2686 "configure"
    26832686#include "confdefs.h"
    26842687#include <sys/types.h>
     
    26972700; return 0; }
    26982701EOF
    2699 if { (eval echo configure:2700: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2702if { (eval echo configure:2703: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    27002703  rm -rf conftest*
    27012704  ac_cv_type_signal=void
     
    27162719
    27172720echo $ac_n "checking for vprintf""... $ac_c" 1>&6
    2718 echo "configure:2719: checking for vprintf" >&5
     2721echo "configure:2722: checking for vprintf" >&5
    27192722if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
    27202723  echo $ac_n "(cached) $ac_c" 1>&6
    27212724else
    27222725  cat > conftest.$ac_ext <<EOF
    2723 #line 2724 "configure"
     2726#line 2727 "configure"
    27242727#include "confdefs.h"
    27252728/* System header to define __stub macros and hopefully few prototypes,
     
    27442747; return 0; }
    27452748EOF
    2746 if { (eval echo configure:2747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     2749if { (eval echo configure:2750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    27472750  rm -rf conftest*
    27482751  eval "ac_cv_func_vprintf=yes"
     
    27682771if test "$ac_cv_func_vprintf" != yes; then
    27692772echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
    2770 echo "configure:2771: checking for _doprnt" >&5
     2773echo "configure:2774: checking for _doprnt" >&5
    27712774if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
    27722775  echo $ac_n "(cached) $ac_c" 1>&6
    27732776else
    27742777  cat > conftest.$ac_ext <<EOF
    2775 #line 2776 "configure"
     2778#line 2779 "configure"
    27762779#include "confdefs.h"
    27772780/* System header to define __stub macros and hopefully few prototypes,
     
    27962799; return 0; }
    27972800EOF
    2798 if { (eval echo configure:2799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     2801if { (eval echo configure:2802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    27992802  rm -rf conftest*
    28002803  eval "ac_cv_func__doprnt=yes"
     
    28232826do
    28242827echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2825 echo "configure:2826: checking for $ac_func" >&5
     2828echo "configure:2829: checking for $ac_func" >&5
    28262829if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    28272830  echo $ac_n "(cached) $ac_c" 1>&6
    28282831else
    28292832  cat > conftest.$ac_ext <<EOF
    2830 #line 2831 "configure"
     2833#line 2834 "configure"
    28312834#include "confdefs.h"
    28322835/* System header to define __stub macros and hopefully few prototypes,
     
    28512854; return 0; }
    28522855EOF
    2853 if { (eval echo configure:2854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     2856if { (eval echo configure:2857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    28542857  rm -rf conftest*
    28552858  eval "ac_cv_func_$ac_func=yes"
     
    28792882# arithmetic shifts
    28802883echo $ac_n "checking whether your machine has correct arithmetic shifts""... $ac_c" 1>&6
    2881 echo "configure:2882: checking whether your machine has correct arithmetic shifts" >&5
     2884echo "configure:2885: checking whether your machine has correct arithmetic shifts" >&5
    28822885if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then
    28832886  echo $ac_n "(cached) $ac_c" 1>&6
     
    28922895else
    28932896  cat > conftest.$ac_ext <<EOF
    2894 #line 2895 "configure"
     2897#line 2898 "configure"
    28952898#include "confdefs.h"
    28962899 int main() { if (-2 >> 1 == -1) exit(0); else exit(1); }
    28972900EOF
    2898 if { (eval echo configure:2899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     2901if { (eval echo configure:2902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
    28992902then
    29002903  ac_cv_shift=yes
     
    29212924# check for a peculiar constructor initialization
    29222925echo $ac_n "checking whether explicit C++ constructor calls are allowed""... $ac_c" 1>&6
    2923 echo "configure:2924: checking whether explicit C++ constructor calls are allowed" >&5
     2926echo "configure:2927: checking whether explicit C++ constructor calls are allowed" >&5
    29242927
    29252928ac_ext=C
     
    29342937else
    29352938  cat > conftest.$ac_ext <<EOF
    2936 #line 2937 "configure"
     2939#line 2940 "configure"
    29372940#include "confdefs.h"
    29382941
     
    29522955; return 0; }
    29532956EOF
    2954 if { (eval echo configure:2955: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2957if { (eval echo configure:2958: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    29552958  rm -rf conftest*
    29562959  ac_cv_explicit_const=yes
     
    29812984# sprintf returns number of printed chars
    29822985echo $ac_n "checking whether vsprintf returns number of printed chars""... $ac_c" 1>&6
    2983 echo "configure:2984: checking whether vsprintf returns number of printed chars" >&5
     2986echo "configure:2987: checking whether vsprintf returns number of printed chars" >&5
    29842987if eval "test \"`echo '$''{'ac_cv_returns_n_of_chars'+set}'`\" = set"; then
    29852988  echo $ac_n "(cached) $ac_c" 1>&6
     
    29892992else
    29902993  cat > conftest.$ac_ext <<EOF
    2991 #line 2992 "configure"
     2994#line 2995 "configure"
    29922995#include "confdefs.h"
    29932996#include <stdio.h>
    29942997 main() { char *str=(char*)malloc(20); if (((int) sprintf(str,"123456789")) == 9) exit(0); else exit(1); }
    29952998EOF
    2996 if { (eval echo configure:2997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     2999if { (eval echo configure:3000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
    29973000then
    29983001  ac_cv_returns_n_of_chars=yes
     
    30203023# determine ALIGN_8
    30213024echo $ac_n "checking size of char""... $ac_c" 1>&6
    3022 echo "configure:3023: checking size of char" >&5
     3025echo "configure:3026: checking size of char" >&5
    30233026if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
    30243027  echo $ac_n "(cached) $ac_c" 1>&6
     
    30283031else
    30293032  cat > conftest.$ac_ext <<EOF
    3030 #line 3031 "configure"
     3033#line 3034 "configure"
    30313034#include "confdefs.h"
    30323035#include <stdio.h>
     
    30393042}
    30403043EOF
    3041 if { (eval echo configure:3042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3044if { (eval echo configure:3045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
    30423045then
    30433046  ac_cv_sizeof_char=`cat conftestval`
     
    30593062
    30603063echo $ac_n "checking size of short""... $ac_c" 1>&6
    3061 echo "configure:3062: checking size of short" >&5
     3064echo "configure:3065: checking size of short" >&5
    30623065if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
    30633066  echo $ac_n "(cached) $ac_c" 1>&6
     
    30673070else
    30683071  cat > conftest.$ac_ext <<EOF
    3069 #line 3070 "configure"
     3072#line 3073 "configure"
    30703073#include "confdefs.h"
    30713074#include <stdio.h>
     
    30783081}
    30793082EOF
    3080 if { (eval echo configure:3081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3083if { (eval echo configure:3084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
    30813084then
    30823085  ac_cv_sizeof_short=`cat conftestval`
     
    30983101
    30993102echo $ac_n "checking size of int""... $ac_c" 1>&6
    3100 echo "configure:3101: checking size of int" >&5
     3103echo "configure:3104: checking size of int" >&5
    31013104if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
    31023105  echo $ac_n "(cached) $ac_c" 1>&6
     
    31063109else
    31073110  cat > conftest.$ac_ext <<EOF
    3108 #line 3109 "configure"
     3111#line 3112 "configure"
    31093112#include "confdefs.h"
    31103113#include <stdio.h>
     
    31173120}
    31183121EOF
    3119 if { (eval echo configure:3120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3122if { (eval echo configure:3123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
    31203123then
    31213124  ac_cv_sizeof_int=`cat conftestval`
     
    31373140
    31383141echo $ac_n "checking size of long""... $ac_c" 1>&6
    3139 echo "configure:3140: checking size of long" >&5
     3142echo "configure:3143: checking size of long" >&5
    31403143if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
    31413144  echo $ac_n "(cached) $ac_c" 1>&6
     
    31453148else
    31463149  cat > conftest.$ac_ext <<EOF
    3147 #line 3148 "configure"
     3150#line 3151 "configure"
    31483151#include "confdefs.h"
    31493152#include <stdio.h>
     
    31563159}
    31573160EOF
    3158 if { (eval echo configure:3159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3161if { (eval echo configure:3162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
    31593162then
    31603163  ac_cv_sizeof_long=`cat conftestval`
     
    31763179
    31773180echo $ac_n "checking size of void*""... $ac_c" 1>&6
    3178 echo "configure:3179: checking size of void*" >&5
     3181echo "configure:3182: checking size of void*" >&5
    31793182if eval "test \"`echo '$''{'ac_cv_sizeof_voidp'+set}'`\" = set"; then
    31803183  echo $ac_n "(cached) $ac_c" 1>&6
     
    31843187else
    31853188  cat > conftest.$ac_ext <<EOF
    3186 #line 3187 "configure"
     3189#line 3190 "configure"
    31873190#include "confdefs.h"
    31883191#include <stdio.h>
     
    31953198}
    31963199EOF
    3197 if { (eval echo configure:3198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3200if { (eval echo configure:3201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
    31983201then
    31993202  ac_cv_sizeof_voidp=`cat conftestval`
     
    32153218
    32163219echo $ac_n "checking size of double""... $ac_c" 1>&6
    3217 echo "configure:3218: checking size of double" >&5
     3220echo "configure:3221: checking size of double" >&5
    32183221if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then
    32193222  echo $ac_n "(cached) $ac_c" 1>&6
     
    32233226else
    32243227  cat > conftest.$ac_ext <<EOF
    3225 #line 3226 "configure"
     3228#line 3229 "configure"
    32263229#include "confdefs.h"
    32273230#include <stdio.h>
     
    32343237}
    32353238EOF
    3236 if { (eval echo configure:3237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3239if { (eval echo configure:3240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
    32373240then
    32383241  ac_cv_sizeof_double=`cat conftestval`
     
    32543257
    32553258echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
    3256 echo "configure:3257: checking whether byte ordering is bigendian" >&5
     3259echo "configure:3260: checking whether byte ordering is bigendian" >&5
    32573260if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
    32583261  echo $ac_n "(cached) $ac_c" 1>&6
     
    32613264# See if sys/param.h defines the BYTE_ORDER macro.
    32623265cat > conftest.$ac_ext <<EOF
    3263 #line 3264 "configure"
     3266#line 3267 "configure"
    32643267#include "confdefs.h"
    32653268#include <sys/types.h>
     
    32723275; return 0; }
    32733276EOF
    3274 if { (eval echo configure:3275: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3277if { (eval echo configure:3278: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    32753278  rm -rf conftest*
    32763279  # It does; now see whether it defined to BIG_ENDIAN or not.
    32773280cat > conftest.$ac_ext <<EOF
    3278 #line 3279 "configure"
     3281#line 3282 "configure"
    32793282#include "confdefs.h"
    32803283#include <sys/types.h>
     
    32873290; return 0; }
    32883291EOF
    3289 if { (eval echo configure:3290: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3292if { (eval echo configure:3293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    32903293  rm -rf conftest*
    32913294  ac_cv_c_bigendian=yes
     
    33073310else
    33083311  cat > conftest.$ac_ext <<EOF
    3309 #line 3310 "configure"
     3312#line 3313 "configure"
    33103313#include "confdefs.h"
    33113314main () {
     
    33203323}
    33213324EOF
    3322 if { (eval echo configure:3323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3325if { (eval echo configure:3326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
    33233326then
    33243327  ac_cv_c_bigendian=no
     
    33573360
    33583361echo $ac_n "checking size of system page""... $ac_c" 1>&6
    3359 echo "configure:3360: checking size of system page" >&5
     3362echo "configure:3363: checking size of system page" >&5
    33603363if eval "test \"`echo '$''{'ac_cv_pagesize'+set}'`\" = set"; then
    33613364  echo $ac_n "(cached) $ac_c" 1>&6
     
    33653368else
    33663369  cat > conftest.$ac_ext <<EOF
    3367 #line 3368 "configure"
     3370#line 3371 "configure"
    33683371#include "confdefs.h"
    33693372#include <stdio.h>
     
    33793382}
    33803383EOF
    3381 if { (eval echo configure:3382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3384if { (eval echo configure:3385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
    33823385then
    33833386  ac_cv_pagesize=`cat conftestval`
     
    34033406
    34043407echo $ac_n "checking for page aligned valloc""... $ac_c" 1>&6
    3405 echo "configure:3406: checking for page aligned valloc" >&5
     3408echo "configure:3409: checking for page aligned valloc" >&5
    34063409if eval "test \"`echo '$''{'ac_cv_have_page_alignment'+set}'`\" = set"; then
    34073410  echo $ac_n "(cached) $ac_c" 1>&6
     
    34493452else
    34503453  cat > conftest.$ac_ext <<EOF
    3451 #line 3452 "configure"
     3454#line 3455 "configure"
    34523455#include "confdefs.h"
    34533456
     
    34563459
    34573460EOF
    3458 if { (eval echo configure:3459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3461if { (eval echo configure:3462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
    34593462then
    34603463  ac_cv_have_page_alignment="ac_cv_usable_pagesize="`cat  conftestval`
     
    34733476else
    34743477  cat > conftest.$ac_ext <<EOF
    3475 #line 3476 "configure"
     3478#line 3479 "configure"
    34763479#include "confdefs.h"
    34773480
     
    34803483
    34813484EOF
    3482 if { (eval echo configure:3483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3485if { (eval echo configure:3486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
    34833486then
    34843487  ac_cv_have_page_alignment="ac_cv_usable_pagesize="`cat  conftestval`
     
    35003503else
    35013504  cat > conftest.$ac_ext <<EOF
    3502 #line 3503 "configure"
     3505#line 3506 "configure"
    35033506#include "confdefs.h"
    35043507
     
    35093512
    35103513EOF
    3511 if { (eval echo configure:3512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3514if { (eval echo configure:3515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
    35123515then
    35133516  ac_cv_have_page_alignment="ac_cv_have_gmalloc=yes; ac_cv_usable_pagesize="`cat  conftestval`
     
    35263529else
    35273530  cat > conftest.$ac_ext <<EOF
    3528 #line 3529 "configure"
     3531#line 3532 "configure"
    35293532#include "confdefs.h"
    35303533
     
    35353538
    35363539EOF
    3537 if { (eval echo configure:3538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3540if { (eval echo configure:3541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
    35383541then
    35393542  ac_cv_have_page_alignment="ac_cv_have_gmalloc=yes; ac_cv_usable_pagesize="`cat  conftestval`
     
    36763679if test "$with_readline" != no; then
    36773680  echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6
    3678 echo "configure:3679: checking for tgetent in -lncurses" >&5
     3681echo "configure:3682: checking for tgetent in -lncurses" >&5
    36793682ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
    36803683if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    36843687LIBS="-lncurses  $LIBS"
    36853688cat > conftest.$ac_ext <<EOF
    3686 #line 3687 "configure"
     3689#line 3690 "configure"
    36873690#include "confdefs.h"
    36883691/* Override any gcc2 internal prototype to avoid an error.  */
     
    36953698; return 0; }
    36963699EOF
    3697 if { (eval echo configure:3698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     3700if { (eval echo configure:3701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    36983701  rm -rf conftest*
    36993702  eval "ac_cv_lib_$ac_lib_var=yes"
     
    37223725\
    37233726   echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
    3724 echo "configure:3725: checking for tgetent in -lcurses" >&5
     3727echo "configure:3728: checking for tgetent in -lcurses" >&5
    37253728ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
    37263729if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    37303733LIBS="-lcurses  $LIBS"
    37313734cat > conftest.$ac_ext <<EOF
    3732 #line 3733 "configure"
     3735#line 3736 "configure"
    37333736#include "confdefs.h"
    37343737/* Override any gcc2 internal prototype to avoid an error.  */
     
    37413744; return 0; }
    37423745EOF
    3743 if { (eval echo configure:3744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     3746if { (eval echo configure:3747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    37443747  rm -rf conftest*
    37453748  eval "ac_cv_lib_$ac_lib_var=yes"
     
    37683771\
    37693772   echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
    3770 echo "configure:3771: checking for tgetent in -ltermcap" >&5
     3773echo "configure:3774: checking for tgetent in -ltermcap" >&5
    37713774ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
    37723775if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    37763779LIBS="-ltermcap  $LIBS"
    37773780cat > conftest.$ac_ext <<EOF
    3778 #line 3779 "configure"
     3781#line 3782 "configure"
    37793782#include "confdefs.h"
    37803783/* Override any gcc2 internal prototype to avoid an error.  */
     
    37873790; return 0; }
    37883791EOF
    3789 if { (eval echo configure:3790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     3792if { (eval echo configure:3793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    37903793  rm -rf conftest*
    37913794  eval "ac_cv_lib_$ac_lib_var=yes"
     
    38193822
    38203823   echo $ac_n "checking for rl_abort in -lreadline""... $ac_c" 1>&6
    3821 echo "configure:3822: checking for rl_abort in -lreadline" >&5
     3824echo "configure:3825: checking for rl_abort in -lreadline" >&5
    38223825ac_lib_var=`echo readline'_'rl_abort | sed 'y%./+-%__p_%'`
    38233826if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    38273830LIBS="-lreadline  $LIBS"
    38283831cat > conftest.$ac_ext <<EOF
    3829 #line 3830 "configure"
     3832#line 3833 "configure"
    38303833#include "confdefs.h"
    38313834/* Override any gcc2 internal prototype to avoid an error.  */
     
    38383841; return 0; }
    38393842EOF
    3840 if { (eval echo configure:3841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     3843if { (eval echo configure:3844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    38413844  rm -rf conftest*
    38423845  eval "ac_cv_lib_$ac_lib_var=yes"
     
    38693872ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    38703873echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    3871 echo "configure:3872: checking for $ac_hdr" >&5
     3874echo "configure:3875: checking for $ac_hdr" >&5
    38723875if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    38733876  echo $ac_n "(cached) $ac_c" 1>&6
    38743877else
    38753878  cat > conftest.$ac_ext <<EOF
    3876 #line 3877 "configure"
     3879#line 3880 "configure"
    38773880#include "confdefs.h"
    38783881#include <$ac_hdr>
    38793882EOF
    38803883ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3881 { (eval echo configure:3882: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3884{ (eval echo configure:3885: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    38823885ac_err=`grep -v '^ *+' conftest.out`
    38833886if test -z "$ac_err"; then
     
    39083911      test "$ac_cv_header_readline_readline_h" = yes; then
    39093912     echo $ac_n "checking whether readline.h is ok""... $ac_c" 1>&6
    3910 echo "configure:3911: checking whether readline.h is ok" >&5
     3913echo "configure:3914: checking whether readline.h is ok" >&5
    39113914     if eval "test \"`echo '$''{'ac_cv_header_readline_readline_h_ok'+set}'`\" = set"; then
    39123915  echo $ac_n "(cached) $ac_c" 1>&6
    39133916else
    39143917  cat > conftest.$ac_ext <<EOF
    3915 #line 3916 "configure"
     3918#line 3919 "configure"
    39163919#include "confdefs.h"
    39173920#include<unistd.h>
     
    39383941; return 0; }
    39393942EOF
    3940 if { (eval echo configure:3941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     3943if { (eval echo configure:3944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    39413944  rm -rf conftest*
    39423945  ac_cv_header_readline_readline_h_ok="yes"
     
    39543957#not ok -- try once more with explicitly declaring everything
    39553958      echo $ac_n "checking whether or not we nevertheless can use readline""... $ac_c" 1>&6
    3956 echo "configure:3957: checking whether or not we nevertheless can use readline" >&5
     3959echo "configure:3960: checking whether or not we nevertheless can use readline" >&5
    39573960      if eval "test \"`echo '$''{'ac_cv_have_readline'+set}'`\" = set"; then
    39583961  echo $ac_n "(cached) $ac_c" 1>&6
    39593962else
    39603963  cat > conftest.$ac_ext <<EOF
    3961 #line 3962 "configure"
     3964#line 3965 "configure"
    39623965#include "confdefs.h"
    39633966#include <stdio.h>
     
    39893992; return 0; }
    39903993EOF
    3991 if { (eval echo configure:3992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     3994if { (eval echo configure:3995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    39923995  rm -rf conftest*
    39933996  ac_cv_have_readline="yes"
     
    40354038if test "$with_dl" = yes; then
    40364039  echo $ac_n "checking for dl_init in -ldl""... $ac_c" 1>&6
    4037 echo "configure:4038: checking for dl_init in -ldl" >&5
     4040echo "configure:4041: checking for dl_init in -ldl" >&5
    40384041ac_lib_var=`echo dl'_'dl_init | sed 'y%./+-%__p_%'`
    40394042if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    40434046LIBS="-ldl  $LIBS"
    40444047cat > conftest.$ac_ext <<EOF
    4045 #line 4046 "configure"
     4048#line 4049 "configure"
    40464049#include "confdefs.h"
    40474050/* Override any gcc2 internal prototype to avoid an error.  */
     
    40544057; return 0; }
    40554058EOF
    4056 if { (eval echo configure:4057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     4059if { (eval echo configure:4060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    40574060  rm -rf conftest*
    40584061  eval "ac_cv_lib_$ac_lib_var=yes"
     
    40814084# gmp, smallgmp, MP, MPT, factory, libfac
    40824085echo $ac_n "checking for mpq_init in -lgmp""... $ac_c" 1>&6
    4083 echo "configure:4084: checking for mpq_init in -lgmp" >&5
     4086echo "configure:4087: checking for mpq_init in -lgmp" >&5
    40844087ac_lib_var=`echo gmp'_'mpq_init | sed 'y%./+-%__p_%'`
    40854088if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    40894092LIBS="-lgmp  $LIBS"
    40904093cat > conftest.$ac_ext <<EOF
    4091 #line 4092 "configure"
     4094#line 4095 "configure"
    40924095#include "confdefs.h"
    40934096/* Override any gcc2 internal prototype to avoid an error.  */
     
    41004103; return 0; }
    41014104EOF
    4102 if { (eval echo configure:4103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     4105if { (eval echo configure:4106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    41034106  rm -rf conftest*
    41044107  eval "ac_cv_lib_$ac_lib_var=yes"
     
    41314134fi
    41324135echo $ac_n "checking for mpz_init in -lsmallgmp""... $ac_c" 1>&6
    4133 echo "configure:4134: checking for mpz_init in -lsmallgmp" >&5
     4136echo "configure:4137: checking for mpz_init in -lsmallgmp" >&5
    41344137ac_lib_var=`echo smallgmp'_'mpz_init | sed 'y%./+-%__p_%'`
    41354138if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    41394142LIBS="-lsmallgmp  $LIBS"
    41404143cat > conftest.$ac_ext <<EOF
    4141 #line 4142 "configure"
     4144#line 4145 "configure"
    41424145#include "confdefs.h"
    41434146/* Override any gcc2 internal prototype to avoid an error.  */
     
    41504153; return 0; }
    41514154EOF
    4152 if { (eval echo configure:4153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     4155if { (eval echo configure:4156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    41534156  rm -rf conftest*
    41544157  eval "ac_cv_lib_$ac_lib_var=yes"
     
    41784181
    41794182echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6
    4180 echo "configure:4181: checking for IMP_PutGmpInt in -lMP" >&5
     4183echo "configure:4184: checking for IMP_PutGmpInt in -lMP" >&5
    41814184ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'`
    41824185if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    41864189LIBS="-lMP  $LIBS"
    41874190cat > conftest.$ac_ext <<EOF
    4188 #line 4189 "configure"
     4191#line 4192 "configure"
    41894192#include "confdefs.h"
    41904193/* Override any gcc2 internal prototype to avoid an error.  */
     
    41974200; return 0; }
    41984201EOF
    4199 if { (eval echo configure:4200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     4202if { (eval echo configure:4203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    42004203  rm -rf conftest*
    42014204  eval "ac_cv_lib_$ac_lib_var=yes"
     
    42254228
    42264229echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6
    4227 echo "configure:4228: checking for MPT_GetTree in -lMPT" >&5
     4230echo "configure:4231: checking for MPT_GetTree in -lMPT" >&5
    42284231ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'`
    42294232if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    42334236LIBS="-lMPT  $LIBS"
    42344237cat > conftest.$ac_ext <<EOF
    4235 #line 4236 "configure"
     4238#line 4239 "configure"
    42364239#include "confdefs.h"
    42374240/* Override any gcc2 internal prototype to avoid an error.  */
     
    42444247; return 0; }
    42454248EOF
    4246 if { (eval echo configure:4247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     4249if { (eval echo configure:4250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    42474250  rm -rf conftest*
    42484251  eval "ac_cv_lib_$ac_lib_var=yes"
     
    42724275
    42734276echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6
    4274 echo "configure:4275: checking for atof in -lsingcf" >&5
     4277echo "configure:4278: checking for atof in -lsingcf" >&5
    42754278ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'`
    42764279if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    42804283LIBS="-lsingcf  $LIBS"
    42814284cat > conftest.$ac_ext <<EOF
    4282 #line 4283 "configure"
     4285#line 4286 "configure"
    42834286#include "confdefs.h"
    42844287/* Override any gcc2 internal prototype to avoid an error.  */
     
    42914294; return 0; }
    42924295EOF
    4293 if { (eval echo configure:4294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     4296if { (eval echo configure:4297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    42944297  rm -rf conftest*
    42954298  eval "ac_cv_lib_$ac_lib_var=yes"
     
    43194322
    43204323echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6
    4321 echo "configure:4322: checking for atof in -lsingfac" >&5
     4324echo "configure:4325: checking for atof in -lsingfac" >&5
    43224325ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'`
    43234326if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    43274330LIBS="-lsingfac  $LIBS"
    43284331cat > conftest.$ac_ext <<EOF
    4329 #line 4330 "configure"
     4332#line 4333 "configure"
    43304333#include "confdefs.h"
    43314334/* Override any gcc2 internal prototype to avoid an error.  */
     
    43384341; return 0; }
    43394342EOF
    4340 if { (eval echo configure:4341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     4343if { (eval echo configure:4344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    43414344  rm -rf conftest*
    43424345  eval "ac_cv_lib_$ac_lib_var=yes"
     
    43704373ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    43714374echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    4372 echo "configure:4373: checking for $ac_hdr" >&5
     4375echo "configure:4376: checking for $ac_hdr" >&5
    43734376if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    43744377  echo $ac_n "(cached) $ac_c" 1>&6
    43754378else
    43764379  cat > conftest.$ac_ext <<EOF
    4377 #line 4378 "configure"
     4380#line 4381 "configure"
    43784381#include "confdefs.h"
    43794382#include <$ac_hdr>
    43804383EOF
    43814384ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4382 { (eval echo configure:4383: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4385{ (eval echo configure:4386: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    43834386ac_err=`grep -v '^ *+' conftest.out`
    43844387if test -z "$ac_err"; then
     
    44374440# evaluate results
    44384441echo $ac_n "checking which apint package to use""... $ac_c" 1>&6
    4439 echo "configure:4440: checking which apint package to use" >&5
     4442echo "configure:4443: checking which apint package to use" >&5
    44404443if test "${with_apint}" != gmp && test "${with_apint}" != smallgmp; then
    44414444  if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then
     
    44784481
    44794482echo $ac_n "checking whether to have MP""... $ac_c" 1>&6
    4480 echo "configure:4481: checking whether to have MP" >&5
     4483echo "configure:4484: checking whether to have MP" >&5
    44814484if test "${with_MP}" != yes && test "${with_MP}" != no; then
    44824485  if (test "${will_have_gmp}" = yes) && \
     
    45094512
    45104513echo $ac_n "checking whether to have factory""... $ac_c" 1>&6
    4511 echo "configure:4512: checking whether to have factory" >&5
     4514echo "configure:4515: checking whether to have factory" >&5
    45124515if test "${with_factory}" != yes && test "${with_factory}" != no; then
    45134516  if test "$ac_factory_ok" =  yes || test "$enable_factory" = yes; then
     
    45404543     
    45414544echo $ac_n "checking whether to have libfac""... $ac_c" 1>&6
    4542 echo "configure:4543: checking whether to have libfac" >&5
     4545echo "configure:4546: checking whether to have libfac" >&5
    45434546if test "${with_libfac}" != yes && test "${with_libfac}" != no; then
    45444547  if (test "${will_have_factory}" = yes) && \
     
    45724575
    45734576echo $ac_n "checking whether to have dbm links""... $ac_c" 1>&6
    4574 echo "configure:4575: checking whether to have dbm links" >&5
     4577echo "configure:4578: checking whether to have dbm links" >&5
    45754578if test "$with_dbm" != no; then
    45764579  cat >> confdefs.h <<\EOF
     
    45844587
    45854588echo $ac_n "checking whether to have namespaces""... $ac_c" 1>&6
    4586 echo "configure:4587: checking whether to have namespaces" >&5
     4589echo "configure:4590: checking whether to have namespaces" >&5
    45874590if test "$with_namespaces" != yes; then
    45884591  echo "$ac_t""no" 1>&6
     
    45964599
    45974600echo $ac_n "checking whether to have dynamic loading""... $ac_c" 1>&6
    4598 echo "configure:4599: checking whether to have dynamic loading" >&5
     4601echo "configure:4602: checking whether to have dynamic loading" >&5
    45994602if test "$with_dl" != yes; then
    46004603  echo "$ac_t""no" 1>&6
     
    46094612        HPUX-9)
    46104613          echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
    4611 echo "configure:4612: checking for shl_load in -ldld" >&5
     4614echo "configure:4615: checking for shl_load in -ldld" >&5
    46124615ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
    46134616if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    46174620LIBS="-ldld  $LIBS"
    46184621cat > conftest.$ac_ext <<EOF
    4619 #line 4620 "configure"
     4622#line 4623 "configure"
    46204623#include "confdefs.h"
    46214624/* Override any gcc2 internal prototype to avoid an error.  */
     
    46284631; return 0; }
    46294632EOF
    4630 if { (eval echo configure:4631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     4633if { (eval echo configure:4634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    46314634  rm -rf conftest*
    46324635  eval "ac_cv_lib_$ac_lib_var=yes"
     
    46604663        HPUX-10)
    46614664          echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
    4662 echo "configure:4663: checking for shl_load in -ldld" >&5
     4665echo "configure:4666: checking for shl_load in -ldld" >&5
    46634666ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
    46644667if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    46684671LIBS="-ldld  $LIBS"
    46694672cat > conftest.$ac_ext <<EOF
    4670 #line 4671 "configure"
     4673#line 4674 "configure"
    46714674#include "confdefs.h"
    46724675/* Override any gcc2 internal prototype to avoid an error.  */
     
    46794682; return 0; }
    46804683EOF
    4681 if { (eval echo configure:4682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     4684if { (eval echo configure:4685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    46824685  rm -rf conftest*
    46834686  eval "ac_cv_lib_$ac_lib_var=yes"
     
    47184721
    47194722echo $ac_n "checking which exponent type to use""... $ac_c" 1>&6
    4720 echo "configure:4721: checking which exponent type to use" >&5
     4723echo "configure:4724: checking which exponent type to use" >&5
    47214724if test "$with_exp_type" = "char"; then
    47224725  echo "$ac_t""char" 1>&6
     
    48844887s%@mandir@%$mandir%g
    48854888s%@SINGUNAME@%$SINGUNAME%g
     4889s%@SING_UNAME@%$SING_UNAME%g
    48864890s%@SINGULAR_VERSION@%$SINGULAR_VERSION%g
    48874891s%@CC@%$CC%g
  • Singular/configure.in

    r5f89eb r907274  
    2929SINGUNAME=$ac_cv_singuname
    3030AC_SUBST(SINGUNAME)
     31
     32SING_UNAME=`echo $SINGUNAME | tr '-' '_' `
     33AC_SUBST(SING_UNAME)
    3134
    3235# stupid Win programs do not like dots in their pathnames
Note: See TracChangeset for help on using the changeset viewer.