Changeset 592359 in git


Ignore:
Timestamp:
Jun 10, 2008, 5:34:20 PM (16 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
7afec583fbdb5a9d6bf075c89b37fc319f87cd99
Parents:
9cc956cb1583d986cb6b00e086b21632d6b337cc
Message:
*hannes: SI_CPU_*


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

Legend:

Unmodified
Added
Removed
  • Singular/configure

    r9cc956 r592359  
    564564
    565565
     566echo $ac_n "checking CPU for singular""... $ac_c" 1>&6
     567echo "configure:568: checking CPU for singular" >&5
     568ac_cv_singcpuname=`uname -p`
     569if test "$ac_cv_ac_cv_singcpuname" = sparc; then
     570  cat >> confdefs.h <<\EOF
     571#define SI_CPU_SPARC 1
     572EOF
     573
     574fi
    566575echo $ac_n "checking uname for singular""... $ac_c" 1>&6
    567 echo "configure:568: checking uname for singular" >&5
     576echo "configure:577: checking uname for singular" >&5
    568577if eval "test \"`echo '$''{'ac_cv_singuname'+set}'`\" = set"; then
    569578  echo $ac_n "(cached) $ac_c" 1>&6
     
    597606if test "$ac_cv_singuname" = ix86-Win; then
    598607  EXEC_EXT=".exe"
    599 fi
    600 
     608  cat >> confdefs.h <<\EOF
     609#define SI_CPU_I386 1
     610EOF
     611
     612fi
     613
     614if test "$ac_cv_singuname" = x86_64-Linux; then
     615  cat >> confdefs.h <<\EOF
     616#define SI_CPU_X86_64 1
     617EOF
     618
     619fi
     620if test "$ac_cv_singuname" = IA64-Linux; then
     621  cat >> confdefs.h <<\EOF
     622#define SI_CPU_IA64 1
     623EOF
     624
     625fi
     626if test "$ac_cv_singuname" = ppc-Linux; then
     627  cat >> confdefs.h <<\EOF
     628#define SI_CPU_PPC 1
     629EOF
     630
     631fi
     632if test "$ac_cv_singuname" = ppcMac-darwin; then
     633  cat >> confdefs.h <<\EOF
     634#define SI_CPU_PPC 1
     635EOF
     636
     637fi
    601638
    602639SING_UNAME=`echo $SINGUNAME | tr '-' '_' `
     
    662699set dummy gcc; ac_word=$2
    663700echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    664 echo "configure:665: checking for $ac_word" >&5
     701echo "configure:702: checking for $ac_word" >&5
    665702if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    666703  echo $ac_n "(cached) $ac_c" 1>&6
     
    692729set dummy cc; ac_word=$2
    693730echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    694 echo "configure:695: checking for $ac_word" >&5
     731echo "configure:732: checking for $ac_word" >&5
    695732if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    696733  echo $ac_n "(cached) $ac_c" 1>&6
     
    743780set dummy cl; ac_word=$2
    744781echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    745 echo "configure:746: checking for $ac_word" >&5
     782echo "configure:783: checking for $ac_word" >&5
    746783if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    747784  echo $ac_n "(cached) $ac_c" 1>&6
     
    775812
    776813echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    777 echo "configure:778: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     814echo "configure:815: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    778815
    779816ac_ext=c
     
    786823cat > conftest.$ac_ext << EOF
    787824
    788 #line 789 "configure"
     825#line 826 "configure"
    789826#include "confdefs.h"
    790827
    791828main(){return(0);}
    792829EOF
    793 if { (eval echo configure:794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     830if { (eval echo configure:831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    794831  ac_cv_prog_cc_works=yes
    795832  # If we can't run a trivial program, we are probably using a cross compiler.
     
    817854fi
    818855echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    819 echo "configure:820: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     856echo "configure:857: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    820857echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    821858cross_compiling=$ac_cv_prog_cc_cross
    822859
    823860echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    824 echo "configure:825: checking whether we are using GNU C" >&5
     861echo "configure:862: checking whether we are using GNU C" >&5
    825862if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    826863  echo $ac_n "(cached) $ac_c" 1>&6
     
    831868#endif
    832869EOF
    833 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:834: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     870if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    834871  ac_cv_prog_gcc=yes
    835872else
     
    850887CFLAGS=
    851888echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    852 echo "configure:853: checking whether ${CC-cc} accepts -g" >&5
     889echo "configure:890: checking whether ${CC-cc} accepts -g" >&5
    853890if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    854891  echo $ac_n "(cached) $ac_c" 1>&6
     
    882919
    883920echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    884 echo "configure:885: checking how to run the C preprocessor" >&5
     921echo "configure:922: checking how to run the C preprocessor" >&5
    885922# On Suns, sometimes $CPP names a directory.
    886923if test -n "$CPP" && test -d "$CPP"; then
     
    897934  # not just through cpp.
    898935  cat > conftest.$ac_ext <<EOF
    899 #line 900 "configure"
     936#line 937 "configure"
    900937#include "confdefs.h"
    901938#include <assert.h>
     
    903940EOF
    904941ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    905 { (eval echo configure:906: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     942{ (eval echo configure:943: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    906943ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    907944if test -z "$ac_err"; then
     
    914951  CPP="${CC-cc} -E -traditional-cpp"
    915952  cat > conftest.$ac_ext <<EOF
    916 #line 917 "configure"
     953#line 954 "configure"
    917954#include "confdefs.h"
    918955#include <assert.h>
     
    920957EOF
    921958ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    922 { (eval echo configure:923: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     959{ (eval echo configure:960: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    923960ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    924961if test -z "$ac_err"; then
     
    931968  CPP="${CC-cc} -nologo -E"
    932969  cat > conftest.$ac_ext <<EOF
    933 #line 934 "configure"
     970#line 971 "configure"
    934971#include "confdefs.h"
    935972#include <assert.h>
     
    937974EOF
    938975ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    939 { (eval echo configure:940: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     976{ (eval echo configure:977: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    940977ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    941978if test -z "$ac_err"; then
     
    9661003set dummy $ac_prog; ac_word=$2
    9671004echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    968 echo "configure:969: checking for $ac_word" >&5
     1005echo "configure:1006: checking for $ac_word" >&5
    9691006if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
    9701007  echo $ac_n "(cached) $ac_c" 1>&6
     
    9981035
    9991036echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    1000 echo "configure:1001: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
     1037echo "configure:1038: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
    10011038
    10021039ac_ext=C
     
    10091046cat > conftest.$ac_ext << EOF
    10101047
    1011 #line 1012 "configure"
     1048#line 1049 "configure"
    10121049#include "confdefs.h"
    10131050
    10141051int main(){return(0);}
    10151052EOF
    1016 if { (eval echo configure:1017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1053if { (eval echo configure:1054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    10171054  ac_cv_prog_cxx_works=yes
    10181055  # If we can't run a trivial program, we are probably using a cross compiler.
     
    10401077fi
    10411078echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    1042 echo "configure:1043: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
     1079echo "configure:1080: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
    10431080echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
    10441081cross_compiling=$ac_cv_prog_cxx_cross
    10451082
    10461083echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
    1047 echo "configure:1048: checking whether we are using GNU C++" >&5
     1084echo "configure:1085: checking whether we are using GNU C++" >&5
    10481085if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
    10491086  echo $ac_n "(cached) $ac_c" 1>&6
     
    10541091#endif
    10551092EOF
    1056 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1057: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1093if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1094: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    10571094  ac_cv_prog_gxx=yes
    10581095else
     
    10731110CXXFLAGS=
    10741111echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
    1075 echo "configure:1076: checking whether ${CXX-g++} accepts -g" >&5
     1112echo "configure:1113: checking whether ${CXX-g++} accepts -g" >&5
    10761113if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
    10771114  echo $ac_n "(cached) $ac_c" 1>&6
     
    11351172# ./install, which can be erroneously created by make from ./install.sh.
    11361173echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    1137 echo "configure:1138: checking for a BSD compatible install" >&5
     1174echo "configure:1175: checking for a BSD compatible install" >&5
    11381175if test -z "$INSTALL"; then
    11391176if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     
    11881225
    11891226echo $ac_n "checking for AIX""... $ac_c" 1>&6
    1190 echo "configure:1191: checking for AIX" >&5
     1227echo "configure:1228: checking for AIX" >&5
    11911228cat > conftest.$ac_ext <<EOF
    1192 #line 1193 "configure"
     1229#line 1230 "configure"
    11931230#include "confdefs.h"
    11941231#ifdef _AIX
     
    12161253#                       other:       CC=cc   CXX=c++
    12171254echo $ac_n "checking gcc version""... $ac_c" 1>&6
    1218 echo "configure:1219: checking gcc version" >&5
     1255echo "configure:1256: checking gcc version" >&5
    12191256if eval "test \"`echo '$''{'ac_cv_c_cpp'+set}'`\" = set"; then
    12201257  echo $ac_n "(cached) $ac_c" 1>&6
     
    12481285  # check whether gcc accepts --no-rtti
    12491286  echo $ac_n "checking whether gcc accepts --no-rtti""... $ac_c" 1>&6
    1250 echo "configure:1251: checking whether gcc accepts --no-rtti" >&5
     1287echo "configure:1288: checking whether gcc accepts --no-rtti" >&5
    12511288  CXXFLAGS="${CXXFLAGS} --no-rtti"
    12521289  if eval "test \"`echo '$''{'ac_cv_cxx_have_rtti'+set}'`\" = set"; then
     
    12541291else
    12551292  cat > conftest.$ac_ext <<EOF
    1256 #line 1257 "configure"
     1293#line 1294 "configure"
    12571294#include "confdefs.h"
    12581295
     
    12611298; return 0; }
    12621299EOF
    1263 if { (eval echo configure:1264: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1300if { (eval echo configure:1301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    12641301  rm -rf conftest*
    12651302  ac_cv_cxx_have_rtti=yes
     
    12841321# check whether gcc accepts --no-exceptions
    12851322  echo $ac_n "checking whether gcc accepts --no-exceptions""... $ac_c" 1>&6
    1286 echo "configure:1287: checking whether gcc accepts --no-exceptions" >&5
     1323echo "configure:1324: checking whether gcc accepts --no-exceptions" >&5
    12871324  CXXFLAGS="${CXXFLAGS} --no-exceptions"
    12881325  if eval "test \"`echo '$''{'ac_cv_cxx_have_exceptions'+set}'`\" = set"; then
     
    12901327else
    12911328  cat > conftest.$ac_ext <<EOF
    1292 #line 1293 "configure"
     1329#line 1330 "configure"
    12931330#include "confdefs.h"
    12941331
     
    12971334; return 0; }
    12981335EOF
    1299 if { (eval echo configure:1300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1336if { (eval echo configure:1337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    13001337  rm -rf conftest*
    13011338  ac_cv_cxx_have_exceptions=yes
     
    13351372then
    13361373  echo $ac_n "checking whether compiler accepts -pipe""... $ac_c" 1>&6
    1337 echo "configure:1338: checking whether compiler accepts -pipe" >&5
     1374echo "configure:1375: checking whether compiler accepts -pipe" >&5
    13381375  temp_cflags="${CFLAGS}"
    13391376  CFLAGS="${CFLAGS} -pipe"
     
    13421379else
    13431380  cat > conftest.$ac_ext <<EOF
    1344 #line 1345 "configure"
     1381#line 1382 "configure"
    13451382#include "confdefs.h"
    13461383
     
    13491386; return 0; }
    13501387EOF
    1351 if { (eval echo configure:1352: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1388if { (eval echo configure:1389: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    13521389  rm -rf conftest*
    13531390  ac_cv_cxx_have_pipe=yes
     
    13761413# Customize CFLAGS
    13771414echo $ac_n "checking whether _AIX is defined""... $ac_c" 1>&6
    1378 echo "configure:1379: checking whether _AIX is defined" >&5
     1415echo "configure:1416: checking whether _AIX is defined" >&5
    13791416if eval "test \"`echo '$''{'ac_cv_is_aix'+set}'`\" = set"; then
    13801417  echo $ac_n "(cached) $ac_c" 1>&6
    13811418else
    13821419  cat > conftest.$ac_ext <<EOF
    1383 #line 1384 "configure"
     1420#line 1421 "configure"
    13841421#include "confdefs.h"
    13851422#ifdef _AIX
     
    14401477
    14411478echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    1442 echo "configure:1443: checking whether ${MAKE-make} sets \${MAKE}" >&5
     1479echo "configure:1480: checking whether ${MAKE-make} sets \${MAKE}" >&5
    14431480set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    14441481if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    15231560if test "${with_lex+set}" != set; then
    15241561  echo $ac_n "checking for flex""... $ac_c" 1>&6
    1525 echo "configure:1526: checking for flex" >&5
     1562echo "configure:1563: checking for flex" >&5
    15261563    cmd="egrep [2-9]\.[5-9]"
    15271564    if eval "test \"`echo '$''{'ac_cv_prog_flex'+set}'`\" = set"; then
     
    15551592set dummy $ac_prog; ac_word=$2
    15561593echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1557 echo "configure:1558: checking for $ac_word" >&5
     1594echo "configure:1595: checking for $ac_word" >&5
    15581595if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
    15591596  echo $ac_n "(cached) $ac_c" 1>&6
     
    15951632set dummy $ac_prog; ac_word=$2
    15961633echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1597 echo "configure:1598: checking for $ac_word" >&5
     1634echo "configure:1635: checking for $ac_word" >&5
    15981635if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then
    15991636  echo $ac_n "(cached) $ac_c" 1>&6
     
    16301667# ln -s
    16311668echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
    1632 echo "configure:1633: checking whether ln -s works" >&5
     1669echo "configure:1670: checking whether ln -s works" >&5
    16331670if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
    16341671  echo $ac_n "(cached) $ac_c" 1>&6
     
    16561693set dummy $ac_prog; ac_word=$2
    16571694echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1658 echo "configure:1659: checking for $ac_word" >&5
     1695echo "configure:1696: checking for $ac_word" >&5
    16591696if eval "test \"`echo '$''{'ac_cv_prog_PERL'+set}'`\" = set"; then
    16601697  echo $ac_n "(cached) $ac_c" 1>&6
     
    16911728if test "$ac_cv_singuname" != ix86-Win; then
    16921729echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6
    1693 echo "configure:1694: checking for atof in -lm" >&5
     1730echo "configure:1731: checking for atof in -lm" >&5
    16941731ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'`
    16951732if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    16991736LIBS="-lm  $LIBS"
    17001737cat > conftest.$ac_ext <<EOF
    1701 #line 1702 "configure"
     1738#line 1739 "configure"
    17021739#include "confdefs.h"
    17031740/* Override any gcc2 internal prototype to avoid an error.  */
     
    17101747; return 0; }
    17111748EOF
    1712 if { (eval echo configure:1713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1749if { (eval echo configure:1750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    17131750  rm -rf conftest*
    17141751  eval "ac_cv_lib_$ac_lib_var=yes"
     
    17391776fi
    17401777echo $ac_n "checking for  in -lnsl""... $ac_c" 1>&6
    1741 echo "configure:1742: checking for  in -lnsl" >&5
     1778echo "configure:1779: checking for  in -lnsl" >&5
    17421779ac_lib_var=`echo nsl'_' | sed 'y%./+-%__p_%'`
    17431780if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    17471784LIBS="-lnsl  $LIBS"
    17481785cat > conftest.$ac_ext <<EOF
    1749 #line 1750 "configure"
     1786#line 1787 "configure"
    17501787#include "confdefs.h"
    17511788/* Override any gcc2 internal prototype to avoid an error.  */
     
    17581795; return 0; }
    17591796EOF
    1760 if { (eval echo configure:1761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1797if { (eval echo configure:1798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    17611798  rm -rf conftest*
    17621799  eval "ac_cv_lib_$ac_lib_var=yes"
     
    17861823
    17871824echo $ac_n "checking for  in -lsocket""... $ac_c" 1>&6
    1788 echo "configure:1789: checking for  in -lsocket" >&5
     1825echo "configure:1826: checking for  in -lsocket" >&5
    17891826ac_lib_var=`echo socket'_' | sed 'y%./+-%__p_%'`
    17901827if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    17941831LIBS="-lsocket  $LIBS"
    17951832cat > conftest.$ac_ext <<EOF
    1796 #line 1797 "configure"
     1833#line 1834 "configure"
    17971834#include "confdefs.h"
    17981835/* Override any gcc2 internal prototype to avoid an error.  */
     
    18051842; return 0; }
    18061843EOF
    1807 if { (eval echo configure:1808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1844if { (eval echo configure:1845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    18081845  rm -rf conftest*
    18091846  eval "ac_cv_lib_$ac_lib_var=yes"
     
    18361873
    18371874echo $ac_n "checking for setenv in -lbsd""... $ac_c" 1>&6
    1838 echo "configure:1839: checking for setenv in -lbsd" >&5
     1875echo "configure:1876: checking for setenv in -lbsd" >&5
    18391876ac_lib_var=`echo bsd'_'setenv | sed 'y%./+-%__p_%'`
    18401877if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    18441881LIBS="-lbsd  $LIBS"
    18451882cat > conftest.$ac_ext <<EOF
    1846 #line 1847 "configure"
     1883#line 1884 "configure"
    18471884#include "confdefs.h"
    18481885/* Override any gcc2 internal prototype to avoid an error.  */
     
    18551892; return 0; }
    18561893EOF
    1857 if { (eval echo configure:1858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1894if { (eval echo configure:1895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    18581895  rm -rf conftest*
    18591896  eval "ac_cv_lib_$ac_lib_var=yes"
     
    18831920
    18841921echo $ac_n "checking for listen in -lsocket""... $ac_c" 1>&6
    1885 echo "configure:1886: checking for listen in -lsocket" >&5
     1922echo "configure:1923: checking for listen in -lsocket" >&5
    18861923ac_lib_var=`echo socket'_'listen | sed 'y%./+-%__p_%'`
    18871924if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    18911928LIBS="-lsocket  $LIBS"
    18921929cat > conftest.$ac_ext <<EOF
    1893 #line 1894 "configure"
     1930#line 1931 "configure"
    18941931#include "confdefs.h"
    18951932/* Override any gcc2 internal prototype to avoid an error.  */
     
    19021939; return 0; }
    19031940EOF
    1904 if { (eval echo configure:1905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1941if { (eval echo configure:1942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    19051942  rm -rf conftest*
    19061943  eval "ac_cv_lib_$ac_lib_var=yes"
     
    19301967
    19311968echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
    1932 echo "configure:1933: checking for gethostbyname in -lnsl" >&5
     1969echo "configure:1970: checking for gethostbyname in -lnsl" >&5
    19331970ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
    19341971if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    19381975LIBS="-lnsl  $LIBS"
    19391976cat > conftest.$ac_ext <<EOF
    1940 #line 1941 "configure"
     1977#line 1978 "configure"
    19411978#include "confdefs.h"
    19421979/* Override any gcc2 internal prototype to avoid an error.  */
     
    19491986; return 0; }
    19501987EOF
    1951 if { (eval echo configure:1952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1988if { (eval echo configure:1989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    19521989  rm -rf conftest*
    19531990  eval "ac_cv_lib_$ac_lib_var=yes"
     
    19812018        HPUX*)
    19822019          echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
    1983 echo "configure:1984: checking for shl_load in -ldld" >&5
     2020echo "configure:2021: checking for shl_load in -ldld" >&5
    19842021ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
    19852022if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    19892026LIBS="-ldld  $LIBS"
    19902027cat > conftest.$ac_ext <<EOF
    1991 #line 1992 "configure"
     2028#line 2029 "configure"
    19922029#include "confdefs.h"
    19932030/* Override any gcc2 internal prototype to avoid an error.  */
     
    20002037; return 0; }
    20012038EOF
    2002 if { (eval echo configure:2003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2039if { (eval echo configure:2040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    20032040  rm -rf conftest*
    20042041  eval "ac_cv_lib_$ac_lib_var=yes"
     
    20372074        *Linux*)
    20382075          echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
    2039 echo "configure:2040: checking for dlopen in -ldl" >&5
     2076echo "configure:2077: checking for dlopen in -ldl" >&5
    20402077ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
    20412078if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    20452082LIBS="-ldl  $LIBS"
    20462083cat > conftest.$ac_ext <<EOF
    2047 #line 2048 "configure"
     2084#line 2085 "configure"
    20482085#include "confdefs.h"
    20492086/* Override any gcc2 internal prototype to avoid an error.  */
     
    20562093; return 0; }
    20572094EOF
    2058 if { (eval echo configure:2059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2095if { (eval echo configure:2096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    20592096  rm -rf conftest*
    20602097  eval "ac_cv_lib_$ac_lib_var=yes"
     
    21002137        SunOS-5)
    21012138          echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
    2102 echo "configure:2103: checking for dlopen in -ldl" >&5
     2139echo "configure:2140: checking for dlopen in -ldl" >&5
    21032140ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
    21042141if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    21082145LIBS="-ldl  $LIBS"
    21092146cat > conftest.$ac_ext <<EOF
    2110 #line 2111 "configure"
     2147#line 2148 "configure"
    21112148#include "confdefs.h"
    21122149/* Override any gcc2 internal prototype to avoid an error.  */
     
    21192156; return 0; }
    21202157EOF
    2121 if { (eval echo configure:2122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2158if { (eval echo configure:2159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    21222159  rm -rf conftest*
    21232160  eval "ac_cv_lib_$ac_lib_var=yes"
     
    21572194        ppcMac-darwin)
    21582195          echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
    2159 echo "configure:2160: checking for dlopen in -ldl" >&5
     2196echo "configure:2197: checking for dlopen in -ldl" >&5
    21602197ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
    21612198if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    21652202LIBS="-ldl  $LIBS"
    21662203cat > conftest.$ac_ext <<EOF
    2167 #line 2168 "configure"
     2204#line 2205 "configure"
    21682205#include "confdefs.h"
    21692206/* Override any gcc2 internal prototype to avoid an error.  */
     
    21762213; return 0; }
    21772214EOF
    2178 if { (eval echo configure:2179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2215if { (eval echo configure:2216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    21792216  rm -rf conftest*
    21802217  eval "ac_cv_lib_$ac_lib_var=yes"
     
    22132250        ix86Mac-darwin)
    22142251          echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
    2215 echo "configure:2216: checking for dlopen in -ldl" >&5
     2252echo "configure:2253: checking for dlopen in -ldl" >&5
    22162253ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
    22172254if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    22212258LIBS="-ldl  $LIBS"
    22222259cat > conftest.$ac_ext <<EOF
    2223 #line 2224 "configure"
     2260#line 2261 "configure"
    22242261#include "confdefs.h"
    22252262/* Override any gcc2 internal prototype to avoid an error.  */
     
    22322269; return 0; }
    22332270EOF
    2234 if { (eval echo configure:2235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2271if { (eval echo configure:2272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    22352272  rm -rf conftest*
    22362273  eval "ac_cv_lib_$ac_lib_var=yes"
     
    22692306        ix86-freebsd)
    22702307          echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6
    2271 echo "configure:2272: checking for dlopen in -lc" >&5
     2308echo "configure:2309: checking for dlopen in -lc" >&5
    22722309ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'`
    22732310if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    22772314LIBS="-lc  $LIBS"
    22782315cat > conftest.$ac_ext <<EOF
    2279 #line 2280 "configure"
     2316#line 2317 "configure"
    22802317#include "confdefs.h"
    22812318/* Override any gcc2 internal prototype to avoid an error.  */
     
    22882325; return 0; }
    22892326EOF
    2290 if { (eval echo configure:2291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2327if { (eval echo configure:2328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    22912328  rm -rf conftest*
    22922329  eval "ac_cv_lib_$ac_lib_var=yes"
     
    23332370# heder file checks
    23342371echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    2335 echo "configure:2336: checking for ANSI C header files" >&5
     2372echo "configure:2373: checking for ANSI C header files" >&5
    23362373if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    23372374  echo $ac_n "(cached) $ac_c" 1>&6
    23382375else
    23392376  cat > conftest.$ac_ext <<EOF
    2340 #line 2341 "configure"
     2377#line 2378 "configure"
    23412378#include "confdefs.h"
    23422379#include <stdlib.h>
     
    23462383EOF
    23472384ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2348 { (eval echo configure:2349: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2385{ (eval echo configure:2386: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    23492386ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    23502387if test -z "$ac_err"; then
     
    23632400  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    23642401cat > conftest.$ac_ext <<EOF
    2365 #line 2366 "configure"
     2402#line 2403 "configure"
    23662403#include "confdefs.h"
    23672404#include <string.h>
     
    23812418  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    23822419cat > conftest.$ac_ext <<EOF
    2383 #line 2384 "configure"
     2420#line 2421 "configure"
    23842421#include "confdefs.h"
    23852422#include <stdlib.h>
     
    24022439else
    24032440  cat > conftest.$ac_ext <<EOF
    2404 #line 2405 "configure"
     2441#line 2442 "configure"
    24052442#include "confdefs.h"
    24062443#include <ctype.h>
     
    24132450
    24142451EOF
    2415 if { (eval echo configure:2416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2452if { (eval echo configure:2453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    24162453then
    24172454  :
     
    24402477ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    24412478echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2442 echo "configure:2443: checking for $ac_hdr" >&5
     2479echo "configure:2480: checking for $ac_hdr" >&5
    24432480if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    24442481  echo $ac_n "(cached) $ac_c" 1>&6
    24452482else
    24462483  cat > conftest.$ac_ext <<EOF
    2447 #line 2448 "configure"
     2484#line 2485 "configure"
    24482485#include "confdefs.h"
    24492486#include <$ac_hdr>
    24502487EOF
    24512488ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2452 { (eval echo configure:2453: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2489{ (eval echo configure:2490: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    24532490ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    24542491if test -z "$ac_err"; then
     
    24842521ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    24852522echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2486 echo "configure:2487: checking for $ac_hdr" >&5
     2523echo "configure:2524: checking for $ac_hdr" >&5
    24872524if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    24882525  echo $ac_n "(cached) $ac_c" 1>&6
    24892526else
    24902527  cat > conftest.$ac_ext <<EOF
    2491 #line 2492 "configure"
     2528#line 2529 "configure"
    24922529#include "confdefs.h"
    24932530#include <$ac_hdr>
    24942531EOF
    24952532ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2496 { (eval echo configure:2497: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2533{ (eval echo configure:2534: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    24972534ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    24982535if test -z "$ac_err"; then
     
    25232560# typedefs, structures
    25242561echo $ac_n "checking for working const""... $ac_c" 1>&6
    2525 echo "configure:2526: checking for working const" >&5
     2562echo "configure:2563: checking for working const" >&5
    25262563if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
    25272564  echo $ac_n "(cached) $ac_c" 1>&6
    25282565else
    25292566  cat > conftest.$ac_ext <<EOF
    2530 #line 2531 "configure"
     2567#line 2568 "configure"
    25312568#include "confdefs.h"
    25322569
     
    25772614; return 0; }
    25782615EOF
    2579 if { (eval echo configure:2580: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2616if { (eval echo configure:2617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    25802617  rm -rf conftest*
    25812618  ac_cv_c_const=yes
     
    25982635
    25992636echo $ac_n "checking for inline""... $ac_c" 1>&6
    2600 echo "configure:2601: checking for inline" >&5
     2637echo "configure:2638: checking for inline" >&5
    26012638if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
    26022639  echo $ac_n "(cached) $ac_c" 1>&6
     
    26052642for ac_kw in inline __inline__ __inline; do
    26062643  cat > conftest.$ac_ext <<EOF
    2607 #line 2608 "configure"
     2644#line 2645 "configure"
    26082645#include "confdefs.h"
    26092646
     
    26122649; return 0; }
    26132650EOF
    2614 if { (eval echo configure:2615: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2651if { (eval echo configure:2652: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    26152652  rm -rf conftest*
    26162653  ac_cv_c_inline=$ac_kw; break
     
    26382675
    26392676echo $ac_n "checking for size_t""... $ac_c" 1>&6
    2640 echo "configure:2641: checking for size_t" >&5
     2677echo "configure:2678: checking for size_t" >&5
    26412678if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
    26422679  echo $ac_n "(cached) $ac_c" 1>&6
    26432680else
    26442681  cat > conftest.$ac_ext <<EOF
    2645 #line 2646 "configure"
     2682#line 2683 "configure"
    26462683#include "confdefs.h"
    26472684#include <sys/types.h>
     
    26712708
    26722709echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
    2673 echo "configure:2674: checking whether struct tm is in sys/time.h or time.h" >&5
     2710echo "configure:2711: checking whether struct tm is in sys/time.h or time.h" >&5
    26742711if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
    26752712  echo $ac_n "(cached) $ac_c" 1>&6
    26762713else
    26772714  cat > conftest.$ac_ext <<EOF
    2678 #line 2679 "configure"
     2715#line 2716 "configure"
    26792716#include "confdefs.h"
    26802717#include <sys/types.h>
     
    26842721; return 0; }
    26852722EOF
    2686 if { (eval echo configure:2687: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2723if { (eval echo configure:2724: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    26872724  rm -rf conftest*
    26882725  ac_cv_struct_tm=time.h
     
    27052742
    27062743echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
    2707 echo "configure:2708: checking whether time.h and sys/time.h may both be included" >&5
     2744echo "configure:2745: checking whether time.h and sys/time.h may both be included" >&5
    27082745if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
    27092746  echo $ac_n "(cached) $ac_c" 1>&6
    27102747else
    27112748  cat > conftest.$ac_ext <<EOF
    2712 #line 2713 "configure"
     2749#line 2750 "configure"
    27132750#include "confdefs.h"
    27142751#include <sys/types.h>
     
    27192756; return 0; }
    27202757EOF
    2721 if { (eval echo configure:2722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2758if { (eval echo configure:2759: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    27222759  rm -rf conftest*
    27232760  ac_cv_header_time=yes
     
    27442781# for constant arguments.  Useless!
    27452782echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
    2746 echo "configure:2747: checking for working alloca.h" >&5
     2783echo "configure:2784: checking for working alloca.h" >&5
    27472784if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
    27482785  echo $ac_n "(cached) $ac_c" 1>&6
    27492786else
    27502787  cat > conftest.$ac_ext <<EOF
    2751 #line 2752 "configure"
     2788#line 2789 "configure"
    27522789#include "confdefs.h"
    27532790#include <alloca.h>
     
    27562793; return 0; }
    27572794EOF
    2758 if { (eval echo configure:2759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2795if { (eval echo configure:2796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    27592796  rm -rf conftest*
    27602797  ac_cv_header_alloca_h=yes
     
    27772814
    27782815echo $ac_n "checking for alloca""... $ac_c" 1>&6
    2779 echo "configure:2780: checking for alloca" >&5
     2816echo "configure:2817: checking for alloca" >&5
    27802817if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
    27812818  echo $ac_n "(cached) $ac_c" 1>&6
    27822819else
    27832820  cat > conftest.$ac_ext <<EOF
    2784 #line 2785 "configure"
     2821#line 2822 "configure"
    27852822#include "confdefs.h"
    27862823
     
    28102847; return 0; }
    28112848EOF
    2812 if { (eval echo configure:2813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2849if { (eval echo configure:2850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    28132850  rm -rf conftest*
    28142851  ac_cv_func_alloca_works=yes
     
    28422879
    28432880echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
    2844 echo "configure:2845: checking whether alloca needs Cray hooks" >&5
     2881echo "configure:2882: checking whether alloca needs Cray hooks" >&5
    28452882if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
    28462883  echo $ac_n "(cached) $ac_c" 1>&6
    28472884else
    28482885  cat > conftest.$ac_ext <<EOF
    2849 #line 2850 "configure"
     2886#line 2887 "configure"
    28502887#include "confdefs.h"
    28512888#if defined(CRAY) && ! defined(CRAY2)
     
    28722909for ac_func in _getb67 GETB67 getb67; do
    28732910  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2874 echo "configure:2875: checking for $ac_func" >&5
     2911echo "configure:2912: checking for $ac_func" >&5
    28752912if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    28762913  echo $ac_n "(cached) $ac_c" 1>&6
    28772914else
    28782915  cat > conftest.$ac_ext <<EOF
    2879 #line 2880 "configure"
     2916#line 2917 "configure"
    28802917#include "confdefs.h"
    28812918/* System header to define __stub macros and hopefully few prototypes,
     
    29002937; return 0; }
    29012938EOF
    2902 if { (eval echo configure:2903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2939if { (eval echo configure:2940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    29032940  rm -rf conftest*
    29042941  eval "ac_cv_func_$ac_func=yes"
     
    29272964
    29282965echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
    2929 echo "configure:2930: checking stack direction for C alloca" >&5
     2966echo "configure:2967: checking stack direction for C alloca" >&5
    29302967if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
    29312968  echo $ac_n "(cached) $ac_c" 1>&6
     
    29352972else
    29362973  cat > conftest.$ac_ext <<EOF
    2937 #line 2938 "configure"
     2974#line 2975 "configure"
    29382975#include "confdefs.h"
    29392976find_stack_direction ()
     
    29542991}
    29552992EOF
    2956 if { (eval echo configure:2957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2993if { (eval echo configure:2994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    29572994then
    29582995  ac_cv_c_stack_direction=1
     
    29773014if test $ac_cv_prog_gcc = yes; then
    29783015    echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
    2979 echo "configure:2980: checking whether ${CC-cc} needs -traditional" >&5
     3016echo "configure:3017: checking whether ${CC-cc} needs -traditional" >&5
    29803017if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
    29813018  echo $ac_n "(cached) $ac_c" 1>&6
     
    29833020    ac_pattern="Autoconf.*'x'"
    29843021  cat > conftest.$ac_ext <<EOF
    2985 #line 2986 "configure"
     3022#line 3023 "configure"
    29863023#include "confdefs.h"
    29873024#include <sgtty.h>
     
    30013038  if test $ac_cv_prog_gcc_traditional = no; then
    30023039    cat > conftest.$ac_ext <<EOF
    3003 #line 3004 "configure"
     3040#line 3041 "configure"
    30043041#include "confdefs.h"
    30053042#include <termio.h>
     
    30263063ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    30273064echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    3028 echo "configure:3029: checking for $ac_hdr" >&5
     3065echo "configure:3066: checking for $ac_hdr" >&5
    30293066if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    30303067  echo $ac_n "(cached) $ac_c" 1>&6
    30313068else
    30323069  cat > conftest.$ac_ext <<EOF
    3033 #line 3034 "configure"
     3070#line 3071 "configure"
    30343071#include "confdefs.h"
    30353072#include <$ac_hdr>
    30363073EOF
    30373074ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3038 { (eval echo configure:3039: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3075{ (eval echo configure:3076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    30393076ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    30403077if test -z "$ac_err"; then
     
    30653102do
    30663103echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3067 echo "configure:3068: checking for $ac_func" >&5
     3104echo "configure:3105: checking for $ac_func" >&5
    30683105if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    30693106  echo $ac_n "(cached) $ac_c" 1>&6
    30703107else
    30713108  cat > conftest.$ac_ext <<EOF
    3072 #line 3073 "configure"
     3109#line 3110 "configure"
    30733110#include "confdefs.h"
    30743111/* System header to define __stub macros and hopefully few prototypes,
     
    30933130; return 0; }
    30943131EOF
    3095 if { (eval echo configure:3096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3132if { (eval echo configure:3133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    30963133  rm -rf conftest*
    30973134  eval "ac_cv_func_$ac_func=yes"
     
    31183155
    31193156echo $ac_n "checking for working mmap""... $ac_c" 1>&6
    3120 echo "configure:3121: checking for working mmap" >&5
     3157echo "configure:3158: checking for working mmap" >&5
    31213158if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
    31223159  echo $ac_n "(cached) $ac_c" 1>&6
     
    31263163else
    31273164  cat > conftest.$ac_ext <<EOF
    3128 #line 3129 "configure"
     3165#line 3166 "configure"
    31293166#include "confdefs.h"
    31303167
     
    32663303
    32673304EOF
    3268 if { (eval echo configure:3269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3305if { (eval echo configure:3306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    32693306then
    32703307  ac_cv_func_mmap_fixed_mapped=yes
     
    32893326
    32903327echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
    3291 echo "configure:3292: checking return type of signal handlers" >&5
     3328echo "configure:3329: checking return type of signal handlers" >&5
    32923329if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
    32933330  echo $ac_n "(cached) $ac_c" 1>&6
    32943331else
    32953332  cat > conftest.$ac_ext <<EOF
    3296 #line 3297 "configure"
     3333#line 3334 "configure"
    32973334#include "confdefs.h"
    32983335#include <sys/types.h>
     
    33113348; return 0; }
    33123349EOF
    3313 if { (eval echo configure:3314: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3350if { (eval echo configure:3351: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    33143351  rm -rf conftest*
    33153352  ac_cv_type_signal=void
     
    33303367
    33313368echo $ac_n "checking for vprintf""... $ac_c" 1>&6
    3332 echo "configure:3333: checking for vprintf" >&5
     3369echo "configure:3370: checking for vprintf" >&5
    33333370if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
    33343371  echo $ac_n "(cached) $ac_c" 1>&6
    33353372else
    33363373  cat > conftest.$ac_ext <<EOF
    3337 #line 3338 "configure"
     3374#line 3375 "configure"
    33383375#include "confdefs.h"
    33393376/* System header to define __stub macros and hopefully few prototypes,
     
    33583395; return 0; }
    33593396EOF
    3360 if { (eval echo configure:3361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3397if { (eval echo configure:3398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    33613398  rm -rf conftest*
    33623399  eval "ac_cv_func_vprintf=yes"
     
    33823419if test "$ac_cv_func_vprintf" != yes; then
    33833420echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
    3384 echo "configure:3385: checking for _doprnt" >&5
     3421echo "configure:3422: checking for _doprnt" >&5
    33853422if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
    33863423  echo $ac_n "(cached) $ac_c" 1>&6
    33873424else
    33883425  cat > conftest.$ac_ext <<EOF
    3389 #line 3390 "configure"
     3426#line 3427 "configure"
    33903427#include "confdefs.h"
    33913428/* System header to define __stub macros and hopefully few prototypes,
     
    34103447; return 0; }
    34113448EOF
    3412 if { (eval echo configure:3413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3449if { (eval echo configure:3450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    34133450  rm -rf conftest*
    34143451  eval "ac_cv_func__doprnt=yes"
     
    34363473
    34373474echo $ac_n "checking for library containing setenv""... $ac_c" 1>&6
    3438 echo "configure:3439: checking for library containing setenv" >&5
     3475echo "configure:3476: checking for library containing setenv" >&5
    34393476if eval "test \"`echo '$''{'ac_cv_search_setenv'+set}'`\" = set"; then
    34403477  echo $ac_n "(cached) $ac_c" 1>&6
     
    34433480ac_cv_search_setenv="no"
    34443481cat > conftest.$ac_ext <<EOF
    3445 #line 3446 "configure"
     3482#line 3483 "configure"
    34463483#include "confdefs.h"
    34473484/* Override any gcc2 internal prototype to avoid an error.  */
     
    34543491; return 0; }
    34553492EOF
    3456 if { (eval echo configure:3457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3493if { (eval echo configure:3494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    34573494  rm -rf conftest*
    34583495  ac_cv_search_setenv="none required"
     
    34653502LIBS="-l$i  $ac_func_search_save_LIBS"
    34663503cat > conftest.$ac_ext <<EOF
    3467 #line 3468 "configure"
     3504#line 3505 "configure"
    34683505#include "confdefs.h"
    34693506/* Override any gcc2 internal prototype to avoid an error.  */
     
    34763513; return 0; }
    34773514EOF
    3478 if { (eval echo configure:3479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3515if { (eval echo configure:3516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    34793516  rm -rf conftest*
    34803517  ac_cv_search_setenv="-l$i"
     
    35003537do
    35013538echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3502 echo "configure:3503: checking for $ac_func" >&5
     3539echo "configure:3540: checking for $ac_func" >&5
    35033540if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    35043541  echo $ac_n "(cached) $ac_c" 1>&6
    35053542else
    35063543  cat > conftest.$ac_ext <<EOF
    3507 #line 3508 "configure"
     3544#line 3545 "configure"
    35083545#include "confdefs.h"
    35093546/* System header to define __stub macros and hopefully few prototypes,
     
    35283565; return 0; }
    35293566EOF
    3530 if { (eval echo configure:3531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3567if { (eval echo configure:3568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    35313568  rm -rf conftest*
    35323569  eval "ac_cv_func_$ac_func=yes"
     
    35573594# arithmetic shifts
    35583595echo $ac_n "checking whether your machine has correct arithmetic shifts""... $ac_c" 1>&6
    3559 echo "configure:3560: checking whether your machine has correct arithmetic shifts" >&5
     3596echo "configure:3597: checking whether your machine has correct arithmetic shifts" >&5
    35603597if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then
    35613598  echo $ac_n "(cached) $ac_c" 1>&6
     
    35703607else
    35713608  cat > conftest.$ac_ext <<EOF
    3572 #line 3573 "configure"
     3609#line 3610 "configure"
    35733610#include "confdefs.h"
    35743611 int main() { if (-2 >> 1 == -1) return(0); else return(1); }
    35753612EOF
    3576 if { (eval echo configure:3577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3613if { (eval echo configure:3614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    35773614then
    35783615  ac_cv_shift=yes
     
    35993636# check for a peculiar constructor initialization
    36003637echo $ac_n "checking whether explicit C++ constructor calls are allowed""... $ac_c" 1>&6
    3601 echo "configure:3602: checking whether explicit C++ constructor calls are allowed" >&5
     3638echo "configure:3639: checking whether explicit C++ constructor calls are allowed" >&5
    36023639
    36033640ac_ext=C
     
    36123649else
    36133650  cat > conftest.$ac_ext <<EOF
    3614 #line 3615 "configure"
     3651#line 3652 "configure"
    36153652#include "confdefs.h"
    36163653
     
    36303667; return 0; }
    36313668EOF
    3632 if { (eval echo configure:3633: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3669if { (eval echo configure:3670: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    36333670  rm -rf conftest*
    36343671  ac_cv_explicit_const=yes
     
    36593696# sprintf returns number of printed chars
    36603697echo $ac_n "checking whether vsprintf returns number of printed chars""... $ac_c" 1>&6
    3661 echo "configure:3662: checking whether vsprintf returns number of printed chars" >&5
     3698echo "configure:3699: checking whether vsprintf returns number of printed chars" >&5
    36623699if eval "test \"`echo '$''{'ac_cv_returns_n_of_chars'+set}'`\" = set"; then
    36633700  echo $ac_n "(cached) $ac_c" 1>&6
     
    36673704else
    36683705  cat > conftest.$ac_ext <<EOF
    3669 #line 3670 "configure"
     3706#line 3707 "configure"
    36703707#include "confdefs.h"
    36713708#include <stdio.h>
    36723709 main() { char *str=(char*)malloc(20); if (((int) sprintf(str,"123456789")) == 9) exit(0); else exit(1); }
    36733710EOF
    3674 if { (eval echo configure:3675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3711if { (eval echo configure:3712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    36753712then
    36763713  ac_cv_returns_n_of_chars=yes
     
    36983735# determine ALIGN_8
    36993736echo $ac_n "checking size of char""... $ac_c" 1>&6
    3700 echo "configure:3701: checking size of char" >&5
     3737echo "configure:3738: checking size of char" >&5
    37013738if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
    37023739  echo $ac_n "(cached) $ac_c" 1>&6
     
    37063743else
    37073744  cat > conftest.$ac_ext <<EOF
    3708 #line 3709 "configure"
     3745#line 3746 "configure"
    37093746#include "confdefs.h"
    37103747#include <stdio.h>
     
    37173754}
    37183755EOF
    3719 if { (eval echo configure:3720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3756if { (eval echo configure:3757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    37203757then
    37213758  ac_cv_sizeof_char=`cat conftestval`
     
    37373774
    37383775echo $ac_n "checking size of short""... $ac_c" 1>&6
    3739 echo "configure:3740: checking size of short" >&5
     3776echo "configure:3777: checking size of short" >&5
    37403777if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
    37413778  echo $ac_n "(cached) $ac_c" 1>&6
     
    37453782else
    37463783  cat > conftest.$ac_ext <<EOF
    3747 #line 3748 "configure"
     3784#line 3785 "configure"
    37483785#include "confdefs.h"
    37493786#include <stdio.h>
     
    37563793}
    37573794EOF
    3758 if { (eval echo configure:3759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3795if { (eval echo configure:3796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    37593796then
    37603797  ac_cv_sizeof_short=`cat conftestval`
     
    37763813
    37773814echo $ac_n "checking size of int""... $ac_c" 1>&6
    3778 echo "configure:3779: checking size of int" >&5
     3815echo "configure:3816: checking size of int" >&5
    37793816if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
    37803817  echo $ac_n "(cached) $ac_c" 1>&6
     
    37843821else
    37853822  cat > conftest.$ac_ext <<EOF
    3786 #line 3787 "configure"
     3823#line 3824 "configure"
    37873824#include "confdefs.h"
    37883825#include <stdio.h>
     
    37953832}
    37963833EOF
    3797 if { (eval echo configure:3798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3834if { (eval echo configure:3835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    37983835then
    37993836  ac_cv_sizeof_int=`cat conftestval`
     
    38153852
    38163853echo $ac_n "checking size of long""... $ac_c" 1>&6
    3817 echo "configure:3818: checking size of long" >&5
     3854echo "configure:3855: checking size of long" >&5
    38183855if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
    38193856  echo $ac_n "(cached) $ac_c" 1>&6
     
    38233860else
    38243861  cat > conftest.$ac_ext <<EOF
    3825 #line 3826 "configure"
     3862#line 3863 "configure"
    38263863#include "confdefs.h"
    38273864#include <stdio.h>
     
    38343871}
    38353872EOF
    3836 if { (eval echo configure:3837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3873if { (eval echo configure:3874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    38373874then
    38383875  ac_cv_sizeof_long=`cat conftestval`
     
    38543891
    38553892echo $ac_n "checking size of void*""... $ac_c" 1>&6
    3856 echo "configure:3857: checking size of void*" >&5
     3893echo "configure:3894: checking size of void*" >&5
    38573894if eval "test \"`echo '$''{'ac_cv_sizeof_voidp'+set}'`\" = set"; then
    38583895  echo $ac_n "(cached) $ac_c" 1>&6
     
    38623899else
    38633900  cat > conftest.$ac_ext <<EOF
    3864 #line 3865 "configure"
     3901#line 3902 "configure"
    38653902#include "confdefs.h"
    38663903#include <stdio.h>
     
    38733910}
    38743911EOF
    3875 if { (eval echo configure:3876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3912if { (eval echo configure:3913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    38763913then
    38773914  ac_cv_sizeof_voidp=`cat conftestval`
     
    38933930
    38943931echo $ac_n "checking size of double""... $ac_c" 1>&6
    3895 echo "configure:3896: checking size of double" >&5
     3932echo "configure:3933: checking size of double" >&5
    38963933if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then
    38973934  echo $ac_n "(cached) $ac_c" 1>&6
     
    39013938else
    39023939  cat > conftest.$ac_ext <<EOF
    3903 #line 3904 "configure"
     3940#line 3941 "configure"
    39043941#include "confdefs.h"
    39053942#include <stdio.h>
     
    39123949}
    39133950EOF
    3914 if { (eval echo configure:3915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3951if { (eval echo configure:3952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    39153952then
    39163953  ac_cv_sizeof_double=`cat conftestval`
     
    39323969
    39333970echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
    3934 echo "configure:3935: checking whether byte ordering is bigendian" >&5
     3971echo "configure:3972: checking whether byte ordering is bigendian" >&5
    39353972if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
    39363973  echo $ac_n "(cached) $ac_c" 1>&6
     
    39393976# See if sys/param.h defines the BYTE_ORDER macro.
    39403977cat > conftest.$ac_ext <<EOF
    3941 #line 3942 "configure"
     3978#line 3979 "configure"
    39423979#include "confdefs.h"
    39433980#include <sys/types.h>
     
    39503987; return 0; }
    39513988EOF
    3952 if { (eval echo configure:3953: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3989if { (eval echo configure:3990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    39533990  rm -rf conftest*
    39543991  # It does; now see whether it defined to BIG_ENDIAN or not.
    39553992cat > conftest.$ac_ext <<EOF
    3956 #line 3957 "configure"
     3993#line 3994 "configure"
    39573994#include "confdefs.h"
    39583995#include <sys/types.h>
     
    39654002; return 0; }
    39664003EOF
    3967 if { (eval echo configure:3968: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     4004if { (eval echo configure:4005: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    39684005  rm -rf conftest*
    39694006  ac_cv_c_bigendian=yes
     
    39854022else
    39864023  cat > conftest.$ac_ext <<EOF
    3987 #line 3988 "configure"
     4024#line 4025 "configure"
    39884025#include "confdefs.h"
    39894026main () {
     
    39984035}
    39994036EOF
    4000 if { (eval echo configure:4001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     4037if { (eval echo configure:4038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    40014038then
    40024039  ac_cv_c_bigendian=no
     
    41464183
    41474184echo $ac_n "checking whether to use dynamic linking""... $ac_c" 1>&6
    4148 echo "configure:4149: checking whether to use dynamic linking" >&5
     4185echo "configure:4186: checking whether to use dynamic linking" >&5
    41494186if test "$with_dl" != no && test "$ac_lib_dl" = yes; then
    41504187  cat >> confdefs.h <<\EOF
     
    41594196
    41604197echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6
    4161 echo "configure:4162: checking for tgetent in -lncurses" >&5
     4198echo "configure:4199: checking for tgetent in -lncurses" >&5
    41624199ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
    41634200if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    41674204LIBS="-lncurses  $LIBS"
    41684205cat > conftest.$ac_ext <<EOF
    4169 #line 4170 "configure"
     4206#line 4207 "configure"
    41704207#include "confdefs.h"
    41714208/* Override any gcc2 internal prototype to avoid an error.  */
     
    41784215; return 0; }
    41794216EOF
    4180 if { (eval echo configure:4181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4217if { (eval echo configure:4218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    41814218  rm -rf conftest*
    41824219  eval "ac_cv_lib_$ac_lib_var=yes"
     
    42054242\
    42064243 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
    4207 echo "configure:4208: checking for tgetent in -lcurses" >&5
     4244echo "configure:4245: checking for tgetent in -lcurses" >&5
    42084245ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
    42094246if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    42134250LIBS="-lcurses  $LIBS"
    42144251cat > conftest.$ac_ext <<EOF
    4215 #line 4216 "configure"
     4252#line 4253 "configure"
    42164253#include "confdefs.h"
    42174254/* Override any gcc2 internal prototype to avoid an error.  */
     
    42244261; return 0; }
    42254262EOF
    4226 if { (eval echo configure:4227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4263if { (eval echo configure:4264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    42274264  rm -rf conftest*
    42284265  eval "ac_cv_lib_$ac_lib_var=yes"
     
    42514288\
    42524289  echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
    4253 echo "configure:4254: checking for tgetent in -ltermcap" >&5
     4290echo "configure:4291: checking for tgetent in -ltermcap" >&5
    42544291ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
    42554292if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    42594296LIBS="-ltermcap  $LIBS"
    42604297cat > conftest.$ac_ext <<EOF
    4261 #line 4262 "configure"
     4298#line 4299 "configure"
    42624299#include "confdefs.h"
    42634300/* Override any gcc2 internal prototype to avoid an error.  */
     
    42704307; return 0; }
    42714308EOF
    4272 if { (eval echo configure:4273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4309if { (eval echo configure:4310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    42734310  rm -rf conftest*
    42744311  eval "ac_cv_lib_$ac_lib_var=yes"
     
    43194356
    43204357   echo $ac_n "checking for rl_abort in -lreadline""... $ac_c" 1>&6
    4321 echo "configure:4322: checking for rl_abort in -lreadline" >&5
     4358echo "configure:4359: checking for rl_abort in -lreadline" >&5
    43224359ac_lib_var=`echo readline'_'rl_abort | sed 'y%./+-%__p_%'`
    43234360if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    43274364LIBS="-lreadline  $LIBS"
    43284365cat > conftest.$ac_ext <<EOF
    4329 #line 4330 "configure"
     4366#line 4367 "configure"
    43304367#include "confdefs.h"
    43314368/* Override any gcc2 internal prototype to avoid an error.  */
     
    43414378; return 0; }
    43424379EOF
    4343 if { (eval echo configure:4344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4380if { (eval echo configure:4381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    43444381  rm -rf conftest*
    43454382  eval "ac_cv_lib_$ac_lib_var=yes"
     
    43694406
    43704407   echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
    4371 echo "configure:4372: checking how to run the C++ preprocessor" >&5
     4408echo "configure:4409: checking how to run the C++ preprocessor" >&5
    43724409if test -z "$CXXCPP"; then
    43734410if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
     
    43824419  CXXCPP="${CXX-g++} -E"
    43834420  cat > conftest.$ac_ext <<EOF
    4384 #line 4385 "configure"
     4421#line 4422 "configure"
    43854422#include "confdefs.h"
    43864423#include <stdlib.h>
    43874424EOF
    43884425ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4389 { (eval echo configure:4390: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4426{ (eval echo configure:4427: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    43904427ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    43914428if test -z "$ac_err"; then
     
    44154452ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    44164453echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    4417 echo "configure:4418: checking for $ac_hdr" >&5
     4454echo "configure:4455: checking for $ac_hdr" >&5
    44184455if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    44194456  echo $ac_n "(cached) $ac_c" 1>&6
    44204457else
    44214458  cat > conftest.$ac_ext <<EOF
    4422 #line 4423 "configure"
     4459#line 4460 "configure"
    44234460#include "confdefs.h"
    44244461#include <$ac_hdr>
    44254462EOF
    44264463ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4427 { (eval echo configure:4428: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4464{ (eval echo configure:4465: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    44284465ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    44294466if test -z "$ac_err"; then
     
    44544491      test "$ac_cv_header_readline_readline_h" = yes; then
    44554492     echo $ac_n "checking whether readline.h is ok""... $ac_c" 1>&6
    4456 echo "configure:4457: checking whether readline.h is ok" >&5
     4493echo "configure:4494: checking whether readline.h is ok" >&5
    44574494     if eval "test \"`echo '$''{'ac_cv_header_readline_readline_h_ok'+set}'`\" = set"; then
    44584495  echo $ac_n "(cached) $ac_c" 1>&6
    44594496else
    44604497  cat > conftest.$ac_ext <<EOF
    4461 #line 4462 "configure"
     4498#line 4499 "configure"
    44624499#include "confdefs.h"
    44634500#include<unistd.h>
     
    44724509; return 0; }
    44734510EOF
    4474 if { (eval echo configure:4475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4511if { (eval echo configure:4512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    44754512  rm -rf conftest*
    44764513  ac_cv_header_readline_readline_h_ok="yes"
     
    44884525#not ok -- try once more with explicitly declaring everything
    44894526      echo $ac_n "checking whether or not we nevertheless can use readline""... $ac_c" 1>&6
    4490 echo "configure:4491: checking whether or not we nevertheless can use readline" >&5
     4527echo "configure:4528: checking whether or not we nevertheless can use readline" >&5
    44914528      if eval "test \"`echo '$''{'ac_cv_have_readline'+set}'`\" = set"; then
    44924529  echo $ac_n "(cached) $ac_c" 1>&6
    44934530else
    44944531  cat > conftest.$ac_ext <<EOF
    4495 #line 4496 "configure"
     4532#line 4533 "configure"
    44964533#include "confdefs.h"
    44974534#include <stdio.h>
     
    45274564; return 0; }
    45284565EOF
    4529 if { (eval echo configure:4530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4566if { (eval echo configure:4567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    45304567  rm -rf conftest*
    45314568  ac_cv_have_readline="yes"
     
    45664603
    45674604echo $ac_n "checking which readline to use""... $ac_c" 1>&6
    4568 echo "configure:4569: checking which readline to use" >&5
     4605echo "configure:4606: checking which readline to use" >&5
    45694606if test "$ac_cv_with_readline" = dynamic; then
    45704607  echo "$ac_t""dynamic" 1>&6
     
    45864623# gmp, MP, MPT, factory, libfac
    45874624echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6
    4588 echo "configure:4589: checking for main in -lgmp" >&5
     4625echo "configure:4626: checking for main in -lgmp" >&5
    45894626ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'`
    45904627if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    45944631LIBS="-lgmp  $LIBS"
    45954632cat > conftest.$ac_ext <<EOF
    4596 #line 4597 "configure"
     4633#line 4634 "configure"
    45974634#include "confdefs.h"
    45984635
     
    46014638; return 0; }
    46024639EOF
    4603 if { (eval echo configure:4604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4640if { (eval echo configure:4641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    46044641  rm -rf conftest*
    46054642  eval "ac_cv_lib_$ac_lib_var=yes"
     
    46304667SAVE_LIBS=$LIBS
    46314668echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6
    4632 echo "configure:4633: checking for IMP_PutGmpInt in -lMP" >&5
     4669echo "configure:4670: checking for IMP_PutGmpInt in -lMP" >&5
    46334670ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'`
    46344671if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    46384675LIBS="-lMP $MP_LIBS $LIBS"
    46394676cat > conftest.$ac_ext <<EOF
    4640 #line 4641 "configure"
     4677#line 4678 "configure"
    46414678#include "confdefs.h"
    46424679/* Override any gcc2 internal prototype to avoid an error.  */
     
    46494686; return 0; }
    46504687EOF
    4651 if { (eval echo configure:4652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4688if { (eval echo configure:4689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    46524689  rm -rf conftest*
    46534690  eval "ac_cv_lib_$ac_lib_var=yes"
     
    46774714
    46784715echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6
    4679 echo "configure:4680: checking for MPT_GetTree in -lMPT" >&5
     4716echo "configure:4717: checking for MPT_GetTree in -lMPT" >&5
    46804717ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'`
    46814718if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    46854722LIBS="-lMPT $MP_LIBS $LIBS"
    46864723cat > conftest.$ac_ext <<EOF
    4687 #line 4688 "configure"
     4724#line 4725 "configure"
    46884725#include "confdefs.h"
    46894726/* Override any gcc2 internal prototype to avoid an error.  */
     
    46964733; return 0; }
    46974734EOF
    4698 if { (eval echo configure:4699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4735if { (eval echo configure:4736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    46994736  rm -rf conftest*
    47004737  eval "ac_cv_lib_$ac_lib_var=yes"
     
    47254762LIBS=$SAVE_LIBS
    47264763echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6
    4727 echo "configure:4728: checking for atof in -lsingcf" >&5
     4764echo "configure:4765: checking for atof in -lsingcf" >&5
    47284765ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'`
    47294766if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    47334770LIBS="-lsingcf  $LIBS"
    47344771cat > conftest.$ac_ext <<EOF
    4735 #line 4736 "configure"
     4772#line 4773 "configure"
    47364773#include "confdefs.h"
    47374774/* Override any gcc2 internal prototype to avoid an error.  */
     
    47444781; return 0; }
    47454782EOF
    4746 if { (eval echo configure:4747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4783if { (eval echo configure:4784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    47474784  rm -rf conftest*
    47484785  eval "ac_cv_lib_$ac_lib_var=yes"
     
    47724809
    47734810echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6
    4774 echo "configure:4775: checking for atof in -lsingfac" >&5
     4811echo "configure:4812: checking for atof in -lsingfac" >&5
    47754812ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'`
    47764813if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    47804817LIBS="-lsingfac  $LIBS"
    47814818cat > conftest.$ac_ext <<EOF
    4782 #line 4783 "configure"
     4819#line 4820 "configure"
    47834820#include "confdefs.h"
    47844821/* Override any gcc2 internal prototype to avoid an error.  */
     
    47914828; return 0; }
    47924829EOF
    4793 if { (eval echo configure:4794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4830if { (eval echo configure:4831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    47944831  rm -rf conftest*
    47954832  eval "ac_cv_lib_$ac_lib_var=yes"
     
    48194856
    48204857echo $ac_n "checking for omTestAddr in -lomalloc""... $ac_c" 1>&6
    4821 echo "configure:4822: checking for omTestAddr in -lomalloc" >&5
     4858echo "configure:4859: checking for omTestAddr in -lomalloc" >&5
    48224859ac_lib_var=`echo omalloc'_'omTestAddr | sed 'y%./+-%__p_%'`
    48234860if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    48274864LIBS="-lomalloc  $LIBS"
    48284865cat > conftest.$ac_ext <<EOF
    4829 #line 4830 "configure"
     4866#line 4867 "configure"
    48304867#include "confdefs.h"
    48314868/* Override any gcc2 internal prototype to avoid an error.  */
     
    48384875; return 0; }
    48394876EOF
    4840 if { (eval echo configure:4841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4877if { (eval echo configure:4878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    48414878  rm -rf conftest*
    48424879  eval "ac_cv_lib_$ac_lib_var=yes"
     
    48664903
    48674904echo $ac_n "checking for main in -lomalloc_ndebug""... $ac_c" 1>&6
    4868 echo "configure:4869: checking for main in -lomalloc_ndebug" >&5
     4905echo "configure:4906: checking for main in -lomalloc_ndebug" >&5
    48694906ac_lib_var=`echo omalloc_ndebug'_'main | sed 'y%./+-%__p_%'`
    48704907if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    48744911LIBS="-lomalloc_ndebug  $LIBS"
    48754912cat > conftest.$ac_ext <<EOF
    4876 #line 4877 "configure"
     4913#line 4914 "configure"
    48774914#include "confdefs.h"
    48784915
     
    48814918; return 0; }
    48824919EOF
    4883 if { (eval echo configure:4884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4920if { (eval echo configure:4921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    48844921  rm -rf conftest*
    48854922  eval "ac_cv_lib_$ac_lib_var=yes"
     
    49094946
    49104947echo $ac_n "checking for main in -lntl""... $ac_c" 1>&6
    4911 echo "configure:4912: checking for main in -lntl" >&5
     4948echo "configure:4949: checking for main in -lntl" >&5
    49124949ac_lib_var=`echo ntl'_'main | sed 'y%./+-%__p_%'`
    49134950if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    49174954LIBS="-lntl  $LIBS"
    49184955cat > conftest.$ac_ext <<EOF
    4919 #line 4920 "configure"
     4956#line 4957 "configure"
    49204957#include "confdefs.h"
    49214958
     
    49244961; return 0; }
    49254962EOF
    4926 if { (eval echo configure:4927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4963if { (eval echo configure:4964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    49274964  rm -rf conftest*
    49284965  eval "ac_cv_lib_$ac_lib_var=yes"
     
    49574994ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    49584995echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    4959 echo "configure:4960: checking for $ac_hdr" >&5
     4996echo "configure:4997: checking for $ac_hdr" >&5
    49604997if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    49614998  echo $ac_n "(cached) $ac_c" 1>&6
    49624999else
    49635000  cat > conftest.$ac_ext <<EOF
    4964 #line 4965 "configure"
     5001#line 5002 "configure"
    49655002#include "confdefs.h"
    49665003#include <$ac_hdr>
    49675004EOF
    49685005ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4969 { (eval echo configure:4970: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     5006{ (eval echo configure:5007: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    49705007ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    49715008if test -z "$ac_err"; then
     
    49955032
    49965033echo $ac_n "checking whether to use Boost""... $ac_c" 1>&6
    4997 echo "configure:4998: checking whether to use Boost" >&5
     5034echo "configure:5035: checking whether to use Boost" >&5
    49985035if test "$with_Boost" != no; then
    49995036  echo "$ac_t""yes" 1>&6
     
    50105047ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    50115048echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    5012 echo "configure:5013: checking for $ac_hdr" >&5
     5049echo "configure:5050: checking for $ac_hdr" >&5
    50135050if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    50145051  echo $ac_n "(cached) $ac_c" 1>&6
    50155052else
    50165053  cat > conftest.$ac_ext <<EOF
    5017 #line 5018 "configure"
     5054#line 5055 "configure"
    50185055#include "confdefs.h"
    50195056#include <$ac_hdr>
    50205057EOF
    50215058ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    5022 { (eval echo configure:5023: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     5059{ (eval echo configure:5060: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    50235060ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    50245061if test -z "$ac_err"; then
     
    50565093  echo "$ac_t""no" 1>&6
    50575094  echo $ac_n "checking whether to use std::vector""... $ac_c" 1>&6
    5058 echo "configure:5059: checking whether to use std::vector" >&5
     5095echo "configure:5096: checking whether to use std::vector" >&5
    50595096  if test "$with_stdvec" != yes; then
    50605097    echo "$ac_t""no" 1>&6
     
    51055142SAVE_LIBS=$LIBS
    51065143echo $ac_n "checking for __stack_chk_fail_local in -lc_nonshared""... $ac_c" 1>&6
    5107 echo "configure:5108: checking for __stack_chk_fail_local in -lc_nonshared" >&5
     5144echo "configure:5145: checking for __stack_chk_fail_local in -lc_nonshared" >&5
    51085145ac_lib_var=`echo c_nonshared'_'__stack_chk_fail_local | sed 'y%./+-%__p_%'`
    51095146if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    51135150LIBS="-lc_nonshared  $LIBS"
    51145151cat > conftest.$ac_ext <<EOF
    5115 #line 5116 "configure"
     5152#line 5153 "configure"
    51165153#include "confdefs.h"
    51175154/* Override any gcc2 internal prototype to avoid an error.  */
     
    51245161; return 0; }
    51255162EOF
    5126 if { (eval echo configure:5127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     5163if { (eval echo configure:5164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    51275164  rm -rf conftest*
    51285165  eval "ac_cv_lib_$ac_lib_var=yes"
     
    51545191
    51555192echo $ac_n "checking which apint package to use""... $ac_c" 1>&6
    5156 echo "configure:5157: checking which apint package to use" >&5
     5193echo "configure:5194: checking which apint package to use" >&5
    51575194if test "${with_apint}" != gmp; then
    51585195  if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then
     
    51765213
    51775214echo $ac_n "checking whether to use libsvd""... $ac_c" 1>&6
    5178 echo "configure:5179: checking whether to use libsvd" >&5
     5215echo "configure:5216: checking whether to use libsvd" >&5
    51795216if test "$with_svd" = yes; then
    51805217  echo "$ac_t""yes" 1>&6
     
    51915228#
    51925229echo $ac_n "checking whether to have MP""... $ac_c" 1>&6
    5193 echo "configure:5194: checking whether to have MP" >&5
     5230echo "configure:5231: checking whether to have MP" >&5
    51945231if test "${with_MP}" != yes && test "${with_MP}" != no; then
    51955232  if (test "${will_have_gmp}" = yes) && \
     
    52265263
    52275264echo $ac_n "checking whether to have NTL""... $ac_c" 1>&6
    5228 echo "configure:5229: checking whether to have NTL" >&5
     5265echo "configure:5266: checking whether to have NTL" >&5
    52295266if test "${with_NTL}" = yes ; then
    52305267  echo "$ac_t""yes" 1>&6
     
    52355272
    52365273echo $ac_n "checking whether to have factory""... $ac_c" 1>&6
    5237 echo "configure:5238: checking whether to have factory" >&5
     5274echo "configure:5275: checking whether to have factory" >&5
    52385275if test "${with_factory}" != yes && test "${with_factory}" != no; then
    52395276  if test "$ac_factory_ok" =  yes || test "$enable_factory" = yes; then
     
    52665303
    52675304echo $ac_n "checking whether to have libfac""... $ac_c" 1>&6
    5268 echo "configure:5269: checking whether to have libfac" >&5
     5305echo "configure:5306: checking whether to have libfac" >&5
    52695306if test "${with_libfac}" != yes && test "${with_libfac}" != no; then
    52705307  if (test "${will_have_factory}" = yes) && \
     
    53085345
    53095346echo $ac_n "checking whether to have dbm links""... $ac_c" 1>&6
    5310 echo "configure:5311: checking whether to have dbm links" >&5
     5347echo "configure:5348: checking whether to have dbm links" >&5
    53115348if test "$with_dbm" != no; then
    53125349  cat >> confdefs.h <<\EOF
     
    53205357
    53215358echo $ac_n "checking whether to have namespaces""... $ac_c" 1>&6
    5322 echo "configure:5323: checking whether to have namespaces" >&5
     5359echo "configure:5360: checking whether to have namespaces" >&5
    53235360if test "$with_namespaces" != no; then
    53245361  echo "$ac_t""yes" 1>&6
     
    53325369
    53335370echo $ac_n "checking whether to have dynamic modules""... $ac_c" 1>&6
    5334 echo "configure:5335: checking whether to have dynamic modules" >&5
     5371echo "configure:5372: checking whether to have dynamic modules" >&5
    53355372if test "$with_dynamic_modules" = no || test "$ac_have_dl" != yes; then
    53365373  echo "$ac_t""no" 1>&6
     
    53445381
    53455382echo $ac_n "checking whether to have dynamic kernel""... $ac_c" 1>&6
    5346 echo "configure:5347: checking whether to have dynamic kernel" >&5
     5383echo "configure:5384: checking whether to have dynamic kernel" >&5
    53475384if test "$with_dynamic_kernel" != no && test "$ac_lib_dl" = yes; then
    53485385  DL_KERNEL=1
     
    53545391
    53555392echo $ac_n "checking whether to have Plural""... $ac_c" 1>&6
    5356 echo "configure:5357: checking whether to have Plural" >&5
     5393echo "configure:5394: checking whether to have Plural" >&5
    53575394if test "$with_Plural" != no && test "$enable_Plural" != no; then
    53585395  cat >> confdefs.h <<\EOF
  • Singular/configure.in

    r9cc956 r592359  
    88dnl
    99
     10AC_MSG_CHECKING(CPU for singular)
     11ac_cv_singcpuname=`uname -p`
     12if test "$ac_cv_ac_cv_singcpuname" = sparc; then
     13  AC_DEFINE(SI_CPU_SPARC)
     14fi
    1015AC_MSG_CHECKING(uname for singular)
    1116AC_CACHE_VAL(ac_cv_singuname,
     
    3338if test "$ac_cv_singuname" = ix86-Win; then
    3439  EXEC_EXT=".exe"
     40  AC_DEFINE(SI_CPU_I386)
    3541fi
    3642AC_SUBST(EXEC_EXT)
     43if test "$ac_cv_singuname" = x86_64-Linux; then
     44  AC_DEFINE(SI_CPU_X86_64)
     45fi
     46if test "$ac_cv_singuname" = IA64-Linux; then
     47  AC_DEFINE(SI_CPU_IA64)
     48fi
     49if test "$ac_cv_singuname" = ppc-Linux; then
     50  AC_DEFINE(SI_CPU_PPC)
     51fi
     52if test "$ac_cv_singuname" = ppcMac-darwin; then
     53  AC_DEFINE(SI_CPU_PPC)
     54fi
    3755
    3856SING_UNAME=`echo $SINGUNAME | tr '-' '_' `
Note: See TracChangeset for help on using the changeset viewer.