Changeset 8654b5 in git


Ignore:
Timestamp:
May 25, 2000, 3:37:30 PM (24 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b9f50b373314e74e83c7c060a651dd2913e1f033')
Children:
7eab1fff374c2d16ec8e8662b417c0dbb087c32c
Parents:
1c2c2fc72fda423461d0cd3093f6a77e4bcd9a5b
Message:
Windows patches/additions


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

Legend:

Unmodified
Added
Removed
  • Singular/LIB/all.lib

    r1c2c2f r8654b5  
    1 // $Id: all.lib,v 1.24 1999-12-13 17:32:37 obachman Exp $
     1// $Id: all.lib,v 1.25 2000-05-25 13:37:30 obachman Exp $
    22///////////////////////////////////////////////////////////////////////////////
    33
    4 version="$Id: all.lib,v 1.24 1999-12-13 17:32:37 obachman Exp $";
     4version="$Id: all.lib,v 1.25 2000-05-25 13:37:30 obachman Exp $";
    55info="
    66LIBRARY:  all.lib   Load all libraries
     
    6363LIB "sing.lib";
    6464LIB "latex.lib";
    65 LIB "paramet.lib";
     65// paramet.lib is not in the official distribution
     66// LIB "paramet.lib";
    6667LIB "mondromy.lib"
    6768LIB "jordan.lib";
    6869LIB "spcurve.lib";
    6970LIB "algebra.lib";
    70 // LIB "tools.lib";
     71LIB "ip.lib";
     72LIB "toric.lib";
     73LIB "Mregular.lib"
     74
  • Singular/Makefile.in

    r1c2c2f r8654b5  
    146146OBJS := $(CXXSOURCES:.cc=.o) $(CSOURCES:.c=.o)
    147147
     148ifeq ($(SINGUNAME),ix86-Win)
     149OBJS := $(OBJS) Singular_res.o
     150endif
     151
    148152ASO_OBJS := $(ASO_SOURCES:.aso.cc=.aso)
    149153
     
    307311#       autoconf
    308312
     313ifeq ($(SINGUNAME),ix86-Win)
    309314##
    310315## windows only targets
    311316##
     317
     318## resources
     319Singular.rc: Singular.rc.in config.status
     320        CONFIG_FILES="Singular.rc" CONFIG_HEADERS= ./config.status
     321
     322ESingular_res.o: Singular.rc
     323        windres -DESINGULAR -i Singular.rc -o ESingular_res.o
     324
     325TSingular_res.o: Singular.rc
     326        windres -DTSINGULAR -i Singular.rc -o TSingular_res.o
     327
     328Singular_res.o: Singular.rc
     329        windres -DSINGULAR -i Singular.rc -o Singular_res.o
     330
     331## run
    312332run.o: run.c run.h
    313333        gcc -c -I. -O2 run.c -o run.o
    314334
    315 runTSingular : run.c run.h run.rc run.o
    316         windres -DTSINGULAR -i run.rc -o run_res.o
    317         gcc -mwindows -e _mainCRTStartup run.o run_res.o -o runTSingular.exe
    318 
    319 runESingular : run.c run.h run.rc run.o
    320         windres -DESINGULAR -i run.rc -o run_res.o
    321         gcc -mwindows -e _mainCRTStartup run.o run_res.o -o runESingular.exe
    322 
    323 run_res.o : run.rc
    324         windres -i run.rc -o run_res.o
    325 
    326 run: run.c run.h run_res.o run.o
    327         gcc -mwindows -e _mainCRTStartup run.o run_res.o -o run.exe
     335runTSingular : run.o TSingular_res.o
     336        gcc -mwindows -e _mainCRTStartup run.o TSingular_res.o -o runTSingular.exe
     337
     338runESingular : run.o ESingular_res.o
     339        gcc -mwindows -e _mainCRTStartup run.o ESingular_res.o -o runESingular.exe
     340
     341RUN_SINGULARS=runESingular runTSingular
     342
     343endif
    328344
    329345##
    330346## install targets
    331347##
    332 ifeq ($(SINGUNAME),ix86-Win)
    333 RUN_SINGULARS=runESingular runTSingular
    334 endif
    335 
    336348install: all installbin installslib
    337349
  • Singular/configure

    r1c2c2f r8654b5  
    607607
    608608
     609
     610
     611
     612
    609613cat >> confdefs.h <<EOF
    610614#define SINGULAR_MAJOR_VERSION ${SINGULAR_MAJOR_VERSION}
     
    651655set dummy gcc; ac_word=$2
    652656echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    653 echo "configure:654: checking for $ac_word" >&5
     657echo "configure:658: checking for $ac_word" >&5
    654658if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    655659  echo $ac_n "(cached) $ac_c" 1>&6
     
    681685set dummy cc; ac_word=$2
    682686echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    683 echo "configure:684: checking for $ac_word" >&5
     687echo "configure:688: checking for $ac_word" >&5
    684688if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    685689  echo $ac_n "(cached) $ac_c" 1>&6
     
    732736set dummy cl; ac_word=$2
    733737echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    734 echo "configure:735: checking for $ac_word" >&5
     738echo "configure:739: checking for $ac_word" >&5
    735739if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    736740  echo $ac_n "(cached) $ac_c" 1>&6
     
    764768
    765769echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    766 echo "configure:767: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     770echo "configure:771: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    767771
    768772ac_ext=c
     
    775779cat > conftest.$ac_ext << EOF
    776780
    777 #line 778 "configure"
     781#line 782 "configure"
    778782#include "confdefs.h"
    779783
    780784main(){return(0);}
    781785EOF
    782 if { (eval echo configure:783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     786if { (eval echo configure:787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    783787  ac_cv_prog_cc_works=yes
    784788  # If we can't run a trivial program, we are probably using a cross compiler.
     
    806810fi
    807811echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    808 echo "configure:809: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     812echo "configure:813: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    809813echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    810814cross_compiling=$ac_cv_prog_cc_cross
    811815
    812816echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    813 echo "configure:814: checking whether we are using GNU C" >&5
     817echo "configure:818: checking whether we are using GNU C" >&5
    814818if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    815819  echo $ac_n "(cached) $ac_c" 1>&6
     
    820824#endif
    821825EOF
    822 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     826if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    823827  ac_cv_prog_gcc=yes
    824828else
     
    839843CFLAGS=
    840844echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    841 echo "configure:842: checking whether ${CC-cc} accepts -g" >&5
     845echo "configure:846: checking whether ${CC-cc} accepts -g" >&5
    842846if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    843847  echo $ac_n "(cached) $ac_c" 1>&6
     
    871875
    872876echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    873 echo "configure:874: checking how to run the C preprocessor" >&5
     877echo "configure:878: checking how to run the C preprocessor" >&5
    874878# On Suns, sometimes $CPP names a directory.
    875879if test -n "$CPP" && test -d "$CPP"; then
     
    886890  # not just through cpp.
    887891  cat > conftest.$ac_ext <<EOF
    888 #line 889 "configure"
     892#line 893 "configure"
    889893#include "confdefs.h"
    890894#include <assert.h>
     
    892896EOF
    893897ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    894 { (eval echo configure:895: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     898{ (eval echo configure:899: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    895899ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    896900if test -z "$ac_err"; then
     
    903907  CPP="${CC-cc} -E -traditional-cpp"
    904908  cat > conftest.$ac_ext <<EOF
    905 #line 906 "configure"
     909#line 910 "configure"
    906910#include "confdefs.h"
    907911#include <assert.h>
     
    909913EOF
    910914ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    911 { (eval echo configure:912: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     915{ (eval echo configure:916: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    912916ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    913917if test -z "$ac_err"; then
     
    920924  CPP="${CC-cc} -nologo -E"
    921925  cat > conftest.$ac_ext <<EOF
    922 #line 923 "configure"
     926#line 927 "configure"
    923927#include "confdefs.h"
    924928#include <assert.h>
     
    926930EOF
    927931ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    928 { (eval echo configure:929: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     932{ (eval echo configure:933: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    929933ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    930934if test -z "$ac_err"; then
     
    955959set dummy $ac_prog; ac_word=$2
    956960echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    957 echo "configure:958: checking for $ac_word" >&5
     961echo "configure:962: checking for $ac_word" >&5
    958962if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
    959963  echo $ac_n "(cached) $ac_c" 1>&6
     
    987991
    988992echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    989 echo "configure:990: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
     993echo "configure:994: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
    990994
    991995ac_ext=C
     
    9981002cat > conftest.$ac_ext << EOF
    9991003
    1000 #line 1001 "configure"
     1004#line 1005 "configure"
    10011005#include "confdefs.h"
    10021006
    10031007int main(){return(0);}
    10041008EOF
    1005 if { (eval echo configure:1006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1009if { (eval echo configure:1010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    10061010  ac_cv_prog_cxx_works=yes
    10071011  # If we can't run a trivial program, we are probably using a cross compiler.
     
    10291033fi
    10301034echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    1031 echo "configure:1032: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
     1035echo "configure:1036: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
    10321036echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
    10331037cross_compiling=$ac_cv_prog_cxx_cross
    10341038
    10351039echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
    1036 echo "configure:1037: checking whether we are using GNU C++" >&5
     1040echo "configure:1041: checking whether we are using GNU C++" >&5
    10371041if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
    10381042  echo $ac_n "(cached) $ac_c" 1>&6
     
    10431047#endif
    10441048EOF
    1045 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1046: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1049if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1050: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    10461050  ac_cv_prog_gxx=yes
    10471051else
     
    10621066CXXFLAGS=
    10631067echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
    1064 echo "configure:1065: checking whether ${CXX-g++} accepts -g" >&5
     1068echo "configure:1069: checking whether ${CXX-g++} accepts -g" >&5
    10651069if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
    10661070  echo $ac_n "(cached) $ac_c" 1>&6
     
    11241128# ./install, which can be erroneously created by make from ./install.sh.
    11251129echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    1126 echo "configure:1127: checking for a BSD compatible install" >&5
     1130echo "configure:1131: checking for a BSD compatible install" >&5
    11271131if test -z "$INSTALL"; then
    11281132if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     
    11771181
    11781182echo $ac_n "checking for AIX""... $ac_c" 1>&6
    1179 echo "configure:1180: checking for AIX" >&5
     1183echo "configure:1184: checking for AIX" >&5
    11801184cat > conftest.$ac_ext <<EOF
    1181 #line 1182 "configure"
     1185#line 1186 "configure"
    11821186#include "confdefs.h"
    11831187#ifdef _AIX
     
    12091213# check whether the compiler accepts -pipe
    12101214echo $ac_n "checking whether compiler accepts -pipe""... $ac_c" 1>&6
    1211 echo "configure:1212: checking whether compiler accepts -pipe" >&5
     1215echo "configure:1216: checking whether compiler accepts -pipe" >&5
    12121216temp_cflags=${CFLAGS}
    12131217CFLAGS="${CFLAGS} -pipe"
     
    12161220else
    12171221  cat > conftest.$ac_ext <<EOF
    1218 #line 1219 "configure"
     1222#line 1223 "configure"
    12191223#include "confdefs.h"
    12201224
     
    12231227; return 0; }
    12241228EOF
    1225 if { (eval echo configure:1226: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1229if { (eval echo configure:1230: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    12261230  rm -rf conftest*
    12271231  ac_cv_cxx_have_pipe=yes
     
    12471251# Customize CFLAGS
    12481252echo $ac_n "checking whether _AIX is defined""... $ac_c" 1>&6
    1249 echo "configure:1250: checking whether _AIX is defined" >&5
     1253echo "configure:1254: checking whether _AIX is defined" >&5
    12501254if eval "test \"`echo '$''{'ac_cv_is_aix'+set}'`\" = set"; then
    12511255  echo $ac_n "(cached) $ac_c" 1>&6
    12521256else
    12531257  cat > conftest.$ac_ext <<EOF
    1254 #line 1255 "configure"
     1258#line 1259 "configure"
    12551259#include "confdefs.h"
    12561260#ifdef _AIX
     
    13031307
    13041308echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    1305 echo "configure:1306: checking whether ${MAKE-make} sets \${MAKE}" >&5
     1309echo "configure:1310: checking whether ${MAKE-make} sets \${MAKE}" >&5
    13061310set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    13071311if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    13821386if test "${with_lex+set}" != set; then
    13831387  echo $ac_n "checking for flex""... $ac_c" 1>&6
    1384 echo "configure:1385: checking for flex" >&5
     1388echo "configure:1389: checking for flex" >&5
    13851389    if eval "test \"`echo '$''{'ac_cv_prog_flex'+set}'`\" = set"; then
    13861390  echo $ac_n "(cached) $ac_c" 1>&6
     
    14131417set dummy $ac_prog; ac_word=$2
    14141418echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1415 echo "configure:1416: checking for $ac_word" >&5
     1419echo "configure:1420: checking for $ac_word" >&5
    14161420if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
    14171421  echo $ac_n "(cached) $ac_c" 1>&6
     
    14531457set dummy $ac_prog; ac_word=$2
    14541458echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1455 echo "configure:1456: checking for $ac_word" >&5
     1459echo "configure:1460: checking for $ac_word" >&5
    14561460if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then
    14571461  echo $ac_n "(cached) $ac_c" 1>&6
     
    14881492# ln -s
    14891493echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
    1490 echo "configure:1491: checking whether ln -s works" >&5
     1494echo "configure:1495: checking whether ln -s works" >&5
    14911495if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
    14921496  echo $ac_n "(cached) $ac_c" 1>&6
     
    15141518set dummy $ac_prog; ac_word=$2
    15151519echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1516 echo "configure:1517: checking for $ac_word" >&5
     1520echo "configure:1521: checking for $ac_word" >&5
    15171521if eval "test \"`echo '$''{'ac_cv_prog_PERL'+set}'`\" = set"; then
    15181522  echo $ac_n "(cached) $ac_c" 1>&6
     
    15461550# lib checks
    15471551echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6
    1548 echo "configure:1549: checking for atof in -lm" >&5
     1552echo "configure:1553: checking for atof in -lm" >&5
    15491553ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'`
    15501554if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    15541558LIBS="-lm  $LIBS"
    15551559cat > conftest.$ac_ext <<EOF
    1556 #line 1557 "configure"
     1560#line 1561 "configure"
    15571561#include "confdefs.h"
    15581562/* Override any gcc2 internal prototype to avoid an error.  */
     
    15651569; return 0; }
    15661570EOF
    1567 if { (eval echo configure:1568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1571if { (eval echo configure:1572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    15681572  rm -rf conftest*
    15691573  eval "ac_cv_lib_$ac_lib_var=yes"
     
    15931597
    15941598echo $ac_n "checking for socket in -lbsd""... $ac_c" 1>&6
    1595 echo "configure:1596: checking for socket in -lbsd" >&5
     1599echo "configure:1600: checking for socket in -lbsd" >&5
    15961600ac_lib_var=`echo bsd'_'socket | sed 'y%./+-%__p_%'`
    15971601if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    16011605LIBS="-lbsd  $LIBS"
    16021606cat > conftest.$ac_ext <<EOF
    1603 #line 1604 "configure"
     1607#line 1608 "configure"
    16041608#include "confdefs.h"
    16051609/* Override any gcc2 internal prototype to avoid an error.  */
     
    16121616; return 0; }
    16131617EOF
    1614 if { (eval echo configure:1615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1618if { (eval echo configure:1619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    16151619  rm -rf conftest*
    16161620  eval "ac_cv_lib_$ac_lib_var=yes"
     
    16401644
    16411645echo $ac_n "checking for listen in -lsocket""... $ac_c" 1>&6
    1642 echo "configure:1643: checking for listen in -lsocket" >&5
     1646echo "configure:1647: checking for listen in -lsocket" >&5
    16431647ac_lib_var=`echo socket'_'listen | sed 'y%./+-%__p_%'`
    16441648if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    16481652LIBS="-lsocket  $LIBS"
    16491653cat > conftest.$ac_ext <<EOF
    1650 #line 1651 "configure"
     1654#line 1655 "configure"
    16511655#include "confdefs.h"
    16521656/* Override any gcc2 internal prototype to avoid an error.  */
     
    16591663; return 0; }
    16601664EOF
    1661 if { (eval echo configure:1662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1665if { (eval echo configure:1666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    16621666  rm -rf conftest*
    16631667  eval "ac_cv_lib_$ac_lib_var=yes"
     
    16871691
    16881692echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
    1689 echo "configure:1690: checking for gethostbyname in -lnsl" >&5
     1693echo "configure:1694: checking for gethostbyname in -lnsl" >&5
    16901694ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
    16911695if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    16951699LIBS="-lnsl  $LIBS"
    16961700cat > conftest.$ac_ext <<EOF
    1697 #line 1698 "configure"
     1701#line 1702 "configure"
    16981702#include "confdefs.h"
    16991703/* Override any gcc2 internal prototype to avoid an error.  */
     
    17061710; return 0; }
    17071711EOF
    1708 if { (eval echo configure:1709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1712if { (eval echo configure:1713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    17091713  rm -rf conftest*
    17101714  eval "ac_cv_lib_$ac_lib_var=yes"
     
    17341738
    17351739echo $ac_n "checking for index in -lucb""... $ac_c" 1>&6
    1736 echo "configure:1737: checking for index in -lucb" >&5
     1740echo "configure:1741: checking for index in -lucb" >&5
    17371741ac_lib_var=`echo ucb'_'index | sed 'y%./+-%__p_%'`
    17381742if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    17421746LIBS="-lucb  $LIBS"
    17431747cat > conftest.$ac_ext <<EOF
    1744 #line 1745 "configure"
     1748#line 1749 "configure"
    17451749#include "confdefs.h"
    17461750/* Override any gcc2 internal prototype to avoid an error.  */
     
    17531757; return 0; }
    17541758EOF
    1755 if { (eval echo configure:1756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1759if { (eval echo configure:1760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    17561760  rm -rf conftest*
    17571761  eval "ac_cv_lib_$ac_lib_var=yes"
     
    17831787# heder file checks
    17841788echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    1785 echo "configure:1786: checking for ANSI C header files" >&5
     1789echo "configure:1790: checking for ANSI C header files" >&5
    17861790if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    17871791  echo $ac_n "(cached) $ac_c" 1>&6
    17881792else
    17891793  cat > conftest.$ac_ext <<EOF
    1790 #line 1791 "configure"
     1794#line 1795 "configure"
    17911795#include "confdefs.h"
    17921796#include <stdlib.h>
     
    17961800EOF
    17971801ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1798 { (eval echo configure:1799: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1802{ (eval echo configure:1803: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    17991803ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    18001804if test -z "$ac_err"; then
     
    18131817  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    18141818cat > conftest.$ac_ext <<EOF
    1815 #line 1816 "configure"
     1819#line 1820 "configure"
    18161820#include "confdefs.h"
    18171821#include <string.h>
     
    18311835  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    18321836cat > conftest.$ac_ext <<EOF
    1833 #line 1834 "configure"
     1837#line 1838 "configure"
    18341838#include "confdefs.h"
    18351839#include <stdlib.h>
     
    18521856else
    18531857  cat > conftest.$ac_ext <<EOF
    1854 #line 1855 "configure"
     1858#line 1859 "configure"
    18551859#include "confdefs.h"
    18561860#include <ctype.h>
     
    18631867
    18641868EOF
    1865 if { (eval echo configure:1866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1869if { (eval echo configure:1870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    18661870then
    18671871  :
     
    18901894ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    18911895echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1892 echo "configure:1893: checking for $ac_hdr" >&5
     1896echo "configure:1897: checking for $ac_hdr" >&5
    18931897if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    18941898  echo $ac_n "(cached) $ac_c" 1>&6
    18951899else
    18961900  cat > conftest.$ac_ext <<EOF
    1897 #line 1898 "configure"
     1901#line 1902 "configure"
    18981902#include "confdefs.h"
    18991903#include <$ac_hdr>
    19001904EOF
    19011905ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1902 { (eval echo configure:1903: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1906{ (eval echo configure:1907: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    19031907ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    19041908if test -z "$ac_err"; then
     
    19321936ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    19331937echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1934 echo "configure:1935: checking for $ac_hdr" >&5
     1938echo "configure:1939: checking for $ac_hdr" >&5
    19351939if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    19361940  echo $ac_n "(cached) $ac_c" 1>&6
    19371941else
    19381942  cat > conftest.$ac_ext <<EOF
    1939 #line 1940 "configure"
     1943#line 1944 "configure"
    19401944#include "confdefs.h"
    19411945#include <$ac_hdr>
    19421946EOF
    19431947ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1944 { (eval echo configure:1945: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1948{ (eval echo configure:1949: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    19451949ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    19461950if test -z "$ac_err"; then
     
    19711975# typedefs, structures
    19721976echo $ac_n "checking for working const""... $ac_c" 1>&6
    1973 echo "configure:1974: checking for working const" >&5
     1977echo "configure:1978: checking for working const" >&5
    19741978if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
    19751979  echo $ac_n "(cached) $ac_c" 1>&6
    19761980else
    19771981  cat > conftest.$ac_ext <<EOF
    1978 #line 1979 "configure"
     1982#line 1983 "configure"
    19791983#include "confdefs.h"
    19801984
     
    20252029; return 0; }
    20262030EOF
    2027 if { (eval echo configure:2028: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2031if { (eval echo configure:2032: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    20282032  rm -rf conftest*
    20292033  ac_cv_c_const=yes
     
    20462050
    20472051echo $ac_n "checking for inline""... $ac_c" 1>&6
    2048 echo "configure:2049: checking for inline" >&5
     2052echo "configure:2053: checking for inline" >&5
    20492053if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
    20502054  echo $ac_n "(cached) $ac_c" 1>&6
     
    20532057for ac_kw in inline __inline__ __inline; do
    20542058  cat > conftest.$ac_ext <<EOF
    2055 #line 2056 "configure"
     2059#line 2060 "configure"
    20562060#include "confdefs.h"
    20572061
     
    20602064; return 0; }
    20612065EOF
    2062 if { (eval echo configure:2063: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2066if { (eval echo configure:2067: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    20632067  rm -rf conftest*
    20642068  ac_cv_c_inline=$ac_kw; break
     
    20862090
    20872091echo $ac_n "checking for size_t""... $ac_c" 1>&6
    2088 echo "configure:2089: checking for size_t" >&5
     2092echo "configure:2093: checking for size_t" >&5
    20892093if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
    20902094  echo $ac_n "(cached) $ac_c" 1>&6
    20912095else
    20922096  cat > conftest.$ac_ext <<EOF
    2093 #line 2094 "configure"
     2097#line 2098 "configure"
    20942098#include "confdefs.h"
    20952099#include <sys/types.h>
     
    21192123
    21202124echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
    2121 echo "configure:2122: checking whether time.h and sys/time.h may both be included" >&5
     2125echo "configure:2126: checking whether time.h and sys/time.h may both be included" >&5
    21222126if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
    21232127  echo $ac_n "(cached) $ac_c" 1>&6
    21242128else
    21252129  cat > conftest.$ac_ext <<EOF
    2126 #line 2127 "configure"
     2130#line 2131 "configure"
    21272131#include "confdefs.h"
    21282132#include <sys/types.h>
     
    21332137; return 0; }
    21342138EOF
    2135 if { (eval echo configure:2136: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2139if { (eval echo configure:2140: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    21362140  rm -rf conftest*
    21372141  ac_cv_header_time=yes
     
    21542158
    21552159echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
    2156 echo "configure:2157: checking whether struct tm is in sys/time.h or time.h" >&5
     2160echo "configure:2161: checking whether struct tm is in sys/time.h or time.h" >&5
    21572161if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
    21582162  echo $ac_n "(cached) $ac_c" 1>&6
    21592163else
    21602164  cat > conftest.$ac_ext <<EOF
    2161 #line 2162 "configure"
     2165#line 2166 "configure"
    21622166#include "confdefs.h"
    21632167#include <sys/types.h>
     
    21672171; return 0; }
    21682172EOF
    2169 if { (eval echo configure:2170: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2173if { (eval echo configure:2174: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    21702174  rm -rf conftest*
    21712175  ac_cv_struct_tm=time.h
     
    21922196# for constant arguments.  Useless!
    21932197echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
    2194 echo "configure:2195: checking for working alloca.h" >&5
     2198echo "configure:2199: checking for working alloca.h" >&5
    21952199if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
    21962200  echo $ac_n "(cached) $ac_c" 1>&6
    21972201else
    21982202  cat > conftest.$ac_ext <<EOF
    2199 #line 2200 "configure"
     2203#line 2204 "configure"
    22002204#include "confdefs.h"
    22012205#include <alloca.h>
     
    22042208; return 0; }
    22052209EOF
    2206 if { (eval echo configure:2207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2210if { (eval echo configure:2211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    22072211  rm -rf conftest*
    22082212  ac_cv_header_alloca_h=yes
     
    22252229
    22262230echo $ac_n "checking for alloca""... $ac_c" 1>&6
    2227 echo "configure:2228: checking for alloca" >&5
     2231echo "configure:2232: checking for alloca" >&5
    22282232if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
    22292233  echo $ac_n "(cached) $ac_c" 1>&6
    22302234else
    22312235  cat > conftest.$ac_ext <<EOF
    2232 #line 2233 "configure"
     2236#line 2237 "configure"
    22332237#include "confdefs.h"
    22342238
     
    22582262; return 0; }
    22592263EOF
    2260 if { (eval echo configure:2261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2264if { (eval echo configure:2265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    22612265  rm -rf conftest*
    22622266  ac_cv_func_alloca_works=yes
     
    22902294
    22912295echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
    2292 echo "configure:2293: checking whether alloca needs Cray hooks" >&5
     2296echo "configure:2297: checking whether alloca needs Cray hooks" >&5
    22932297if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
    22942298  echo $ac_n "(cached) $ac_c" 1>&6
    22952299else
    22962300  cat > conftest.$ac_ext <<EOF
    2297 #line 2298 "configure"
     2301#line 2302 "configure"
    22982302#include "confdefs.h"
    22992303#if defined(CRAY) && ! defined(CRAY2)
     
    23202324for ac_func in _getb67 GETB67 getb67; do
    23212325  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2322 echo "configure:2323: checking for $ac_func" >&5
     2326echo "configure:2327: checking for $ac_func" >&5
    23232327if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    23242328  echo $ac_n "(cached) $ac_c" 1>&6
    23252329else
    23262330  cat > conftest.$ac_ext <<EOF
    2327 #line 2328 "configure"
     2331#line 2332 "configure"
    23282332#include "confdefs.h"
    23292333/* System header to define __stub macros and hopefully few prototypes,
     
    23482352; return 0; }
    23492353EOF
    2350 if { (eval echo configure:2351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2354if { (eval echo configure:2355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    23512355  rm -rf conftest*
    23522356  eval "ac_cv_func_$ac_func=yes"
     
    23752379
    23762380echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
    2377 echo "configure:2378: checking stack direction for C alloca" >&5
     2381echo "configure:2382: checking stack direction for C alloca" >&5
    23782382if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
    23792383  echo $ac_n "(cached) $ac_c" 1>&6
     
    23832387else
    23842388  cat > conftest.$ac_ext <<EOF
    2385 #line 2386 "configure"
     2389#line 2390 "configure"
    23862390#include "confdefs.h"
    23872391find_stack_direction ()
     
    24022406}
    24032407EOF
    2404 if { (eval echo configure:2405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2408if { (eval echo configure:2409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    24052409then
    24062410  ac_cv_c_stack_direction=1
     
    24252429if test $ac_cv_prog_gcc = yes; then
    24262430    echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
    2427 echo "configure:2428: checking whether ${CC-cc} needs -traditional" >&5
     2431echo "configure:2432: checking whether ${CC-cc} needs -traditional" >&5
    24282432if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
    24292433  echo $ac_n "(cached) $ac_c" 1>&6
     
    24312435    ac_pattern="Autoconf.*'x'"
    24322436  cat > conftest.$ac_ext <<EOF
    2433 #line 2434 "configure"
     2437#line 2438 "configure"
    24342438#include "confdefs.h"
    24352439#include <sgtty.h>
     
    24492453  if test $ac_cv_prog_gcc_traditional = no; then
    24502454    cat > conftest.$ac_ext <<EOF
    2451 #line 2452 "configure"
     2455#line 2456 "configure"
    24522456#include "confdefs.h"
    24532457#include <termio.h>
     
    24742478ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    24752479echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2476 echo "configure:2477: checking for $ac_hdr" >&5
     2480echo "configure:2481: checking for $ac_hdr" >&5
    24772481if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    24782482  echo $ac_n "(cached) $ac_c" 1>&6
    24792483else
    24802484  cat > conftest.$ac_ext <<EOF
    2481 #line 2482 "configure"
     2485#line 2486 "configure"
    24822486#include "confdefs.h"
    24832487#include <$ac_hdr>
    24842488EOF
    24852489ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2486 { (eval echo configure:2487: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2490{ (eval echo configure:2491: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    24872491ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    24882492if test -z "$ac_err"; then
     
    25132517do
    25142518echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2515 echo "configure:2516: checking for $ac_func" >&5
     2519echo "configure:2520: checking for $ac_func" >&5
    25162520if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    25172521  echo $ac_n "(cached) $ac_c" 1>&6
    25182522else
    25192523  cat > conftest.$ac_ext <<EOF
    2520 #line 2521 "configure"
     2524#line 2525 "configure"
    25212525#include "confdefs.h"
    25222526/* System header to define __stub macros and hopefully few prototypes,
     
    25412545; return 0; }
    25422546EOF
    2543 if { (eval echo configure:2544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2547if { (eval echo configure:2548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    25442548  rm -rf conftest*
    25452549  eval "ac_cv_func_$ac_func=yes"
     
    25662570
    25672571echo $ac_n "checking for working mmap""... $ac_c" 1>&6
    2568 echo "configure:2569: checking for working mmap" >&5
     2572echo "configure:2573: checking for working mmap" >&5
    25692573if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
    25702574  echo $ac_n "(cached) $ac_c" 1>&6
     
    25742578else
    25752579  cat > conftest.$ac_ext <<EOF
    2576 #line 2577 "configure"
     2580#line 2581 "configure"
    25772581#include "confdefs.h"
    25782582
     
    27142718
    27152719EOF
    2716 if { (eval echo configure:2717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2720if { (eval echo configure:2721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    27172721then
    27182722  ac_cv_func_mmap_fixed_mapped=yes
     
    27372741
    27382742echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
    2739 echo "configure:2740: checking return type of signal handlers" >&5
     2743echo "configure:2744: checking return type of signal handlers" >&5
    27402744if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
    27412745  echo $ac_n "(cached) $ac_c" 1>&6
    27422746else
    27432747  cat > conftest.$ac_ext <<EOF
    2744 #line 2745 "configure"
     2748#line 2749 "configure"
    27452749#include "confdefs.h"
    27462750#include <sys/types.h>
     
    27592763; return 0; }
    27602764EOF
    2761 if { (eval echo configure:2762: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2765if { (eval echo configure:2766: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    27622766  rm -rf conftest*
    27632767  ac_cv_type_signal=void
     
    27782782
    27792783echo $ac_n "checking for vprintf""... $ac_c" 1>&6
    2780 echo "configure:2781: checking for vprintf" >&5
     2784echo "configure:2785: checking for vprintf" >&5
    27812785if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
    27822786  echo $ac_n "(cached) $ac_c" 1>&6
    27832787else
    27842788  cat > conftest.$ac_ext <<EOF
    2785 #line 2786 "configure"
     2789#line 2790 "configure"
    27862790#include "confdefs.h"
    27872791/* System header to define __stub macros and hopefully few prototypes,
     
    28062810; return 0; }
    28072811EOF
    2808 if { (eval echo configure:2809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2812if { (eval echo configure:2813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    28092813  rm -rf conftest*
    28102814  eval "ac_cv_func_vprintf=yes"
     
    28302834if test "$ac_cv_func_vprintf" != yes; then
    28312835echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
    2832 echo "configure:2833: checking for _doprnt" >&5
     2836echo "configure:2837: checking for _doprnt" >&5
    28332837if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
    28342838  echo $ac_n "(cached) $ac_c" 1>&6
    28352839else
    28362840  cat > conftest.$ac_ext <<EOF
    2837 #line 2838 "configure"
     2841#line 2842 "configure"
    28382842#include "confdefs.h"
    28392843/* System header to define __stub macros and hopefully few prototypes,
     
    28582862; return 0; }
    28592863EOF
    2860 if { (eval echo configure:2861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2864if { (eval echo configure:2865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    28612865  rm -rf conftest*
    28622866  eval "ac_cv_func__doprnt=yes"
     
    28852889do
    28862890echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2887 echo "configure:2888: checking for $ac_func" >&5
     2891echo "configure:2892: checking for $ac_func" >&5
    28882892if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    28892893  echo $ac_n "(cached) $ac_c" 1>&6
    28902894else
    28912895  cat > conftest.$ac_ext <<EOF
    2892 #line 2893 "configure"
     2896#line 2897 "configure"
    28932897#include "confdefs.h"
    28942898/* System header to define __stub macros and hopefully few prototypes,
     
    29132917; return 0; }
    29142918EOF
    2915 if { (eval echo configure:2916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2919if { (eval echo configure:2920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    29162920  rm -rf conftest*
    29172921  eval "ac_cv_func_$ac_func=yes"
     
    29412945# arithmetic shifts
    29422946echo $ac_n "checking whether your machine has correct arithmetic shifts""... $ac_c" 1>&6
    2943 echo "configure:2944: checking whether your machine has correct arithmetic shifts" >&5
     2947echo "configure:2948: checking whether your machine has correct arithmetic shifts" >&5
    29442948if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then
    29452949  echo $ac_n "(cached) $ac_c" 1>&6
     
    29542958else
    29552959  cat > conftest.$ac_ext <<EOF
    2956 #line 2957 "configure"
     2960#line 2961 "configure"
    29572961#include "confdefs.h"
    29582962 int main() { if (-2 >> 1 == -1) exit(0); else exit(1); }
    29592963EOF
    2960 if { (eval echo configure:2961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2964if { (eval echo configure:2965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    29612965then
    29622966  ac_cv_shift=yes
     
    29832987# check for a peculiar constructor initialization
    29842988echo $ac_n "checking whether explicit C++ constructor calls are allowed""... $ac_c" 1>&6
    2985 echo "configure:2986: checking whether explicit C++ constructor calls are allowed" >&5
     2989echo "configure:2990: checking whether explicit C++ constructor calls are allowed" >&5
    29862990
    29872991ac_ext=C
     
    29963000else
    29973001  cat > conftest.$ac_ext <<EOF
    2998 #line 2999 "configure"
     3002#line 3003 "configure"
    29993003#include "confdefs.h"
    30003004
     
    30143018; return 0; }
    30153019EOF
    3016 if { (eval echo configure:3017: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3020if { (eval echo configure:3021: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    30173021  rm -rf conftest*
    30183022  ac_cv_explicit_const=yes
     
    30433047# sprintf returns number of printed chars
    30443048echo $ac_n "checking whether vsprintf returns number of printed chars""... $ac_c" 1>&6
    3045 echo "configure:3046: checking whether vsprintf returns number of printed chars" >&5
     3049echo "configure:3050: checking whether vsprintf returns number of printed chars" >&5
    30463050if eval "test \"`echo '$''{'ac_cv_returns_n_of_chars'+set}'`\" = set"; then
    30473051  echo $ac_n "(cached) $ac_c" 1>&6
     
    30513055else
    30523056  cat > conftest.$ac_ext <<EOF
    3053 #line 3054 "configure"
     3057#line 3058 "configure"
    30543058#include "confdefs.h"
    30553059#include <stdio.h>
    30563060 main() { char *str=(char*)malloc(20); if (((int) sprintf(str,"123456789")) == 9) exit(0); else exit(1); }
    30573061EOF
    3058 if { (eval echo configure:3059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3062if { (eval echo configure:3063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    30593063then
    30603064  ac_cv_returns_n_of_chars=yes
     
    30823086# determine ALIGN_8
    30833087echo $ac_n "checking size of char""... $ac_c" 1>&6
    3084 echo "configure:3085: checking size of char" >&5
     3088echo "configure:3089: checking size of char" >&5
    30853089if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
    30863090  echo $ac_n "(cached) $ac_c" 1>&6
     
    30903094else
    30913095  cat > conftest.$ac_ext <<EOF
    3092 #line 3093 "configure"
     3096#line 3097 "configure"
    30933097#include "confdefs.h"
    30943098#include <stdio.h>
     
    31013105}
    31023106EOF
    3103 if { (eval echo configure:3104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3107if { (eval echo configure:3108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    31043108then
    31053109  ac_cv_sizeof_char=`cat conftestval`
     
    31213125
    31223126echo $ac_n "checking size of short""... $ac_c" 1>&6
    3123 echo "configure:3124: checking size of short" >&5
     3127echo "configure:3128: checking size of short" >&5
    31243128if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
    31253129  echo $ac_n "(cached) $ac_c" 1>&6
     
    31293133else
    31303134  cat > conftest.$ac_ext <<EOF
    3131 #line 3132 "configure"
     3135#line 3136 "configure"
    31323136#include "confdefs.h"
    31333137#include <stdio.h>
     
    31403144}
    31413145EOF
    3142 if { (eval echo configure:3143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3146if { (eval echo configure:3147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    31433147then
    31443148  ac_cv_sizeof_short=`cat conftestval`
     
    31603164
    31613165echo $ac_n "checking size of int""... $ac_c" 1>&6
    3162 echo "configure:3163: checking size of int" >&5
     3166echo "configure:3167: checking size of int" >&5
    31633167if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
    31643168  echo $ac_n "(cached) $ac_c" 1>&6
     
    31683172else
    31693173  cat > conftest.$ac_ext <<EOF
    3170 #line 3171 "configure"
     3174#line 3175 "configure"
    31713175#include "confdefs.h"
    31723176#include <stdio.h>
     
    31793183}
    31803184EOF
    3181 if { (eval echo configure:3182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3185if { (eval echo configure:3186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    31823186then
    31833187  ac_cv_sizeof_int=`cat conftestval`
     
    31993203
    32003204echo $ac_n "checking size of long""... $ac_c" 1>&6
    3201 echo "configure:3202: checking size of long" >&5
     3205echo "configure:3206: checking size of long" >&5
    32023206if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
    32033207  echo $ac_n "(cached) $ac_c" 1>&6
     
    32073211else
    32083212  cat > conftest.$ac_ext <<EOF
    3209 #line 3210 "configure"
     3213#line 3214 "configure"
    32103214#include "confdefs.h"
    32113215#include <stdio.h>
     
    32183222}
    32193223EOF
    3220 if { (eval echo configure:3221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3224if { (eval echo configure:3225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    32213225then
    32223226  ac_cv_sizeof_long=`cat conftestval`
     
    32383242
    32393243echo $ac_n "checking size of void*""... $ac_c" 1>&6
    3240 echo "configure:3241: checking size of void*" >&5
     3244echo "configure:3245: checking size of void*" >&5
    32413245if eval "test \"`echo '$''{'ac_cv_sizeof_voidp'+set}'`\" = set"; then
    32423246  echo $ac_n "(cached) $ac_c" 1>&6
     
    32463250else
    32473251  cat > conftest.$ac_ext <<EOF
    3248 #line 3249 "configure"
     3252#line 3253 "configure"
    32493253#include "confdefs.h"
    32503254#include <stdio.h>
     
    32573261}
    32583262EOF
    3259 if { (eval echo configure:3260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3263if { (eval echo configure:3264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    32603264then
    32613265  ac_cv_sizeof_voidp=`cat conftestval`
     
    32773281
    32783282echo $ac_n "checking size of double""... $ac_c" 1>&6
    3279 echo "configure:3280: checking size of double" >&5
     3283echo "configure:3284: checking size of double" >&5
    32803284if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then
    32813285  echo $ac_n "(cached) $ac_c" 1>&6
     
    32853289else
    32863290  cat > conftest.$ac_ext <<EOF
    3287 #line 3288 "configure"
     3291#line 3292 "configure"
    32883292#include "confdefs.h"
    32893293#include <stdio.h>
     
    32963300}
    32973301EOF
    3298 if { (eval echo configure:3299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3302if { (eval echo configure:3303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    32993303then
    33003304  ac_cv_sizeof_double=`cat conftestval`
     
    33163320
    33173321echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
    3318 echo "configure:3319: checking whether byte ordering is bigendian" >&5
     3322echo "configure:3323: checking whether byte ordering is bigendian" >&5
    33193323if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
    33203324  echo $ac_n "(cached) $ac_c" 1>&6
     
    33233327# See if sys/param.h defines the BYTE_ORDER macro.
    33243328cat > conftest.$ac_ext <<EOF
    3325 #line 3326 "configure"
     3329#line 3330 "configure"
    33263330#include "confdefs.h"
    33273331#include <sys/types.h>
     
    33343338; return 0; }
    33353339EOF
    3336 if { (eval echo configure:3337: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3340if { (eval echo configure:3341: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    33373341  rm -rf conftest*
    33383342  # It does; now see whether it defined to BIG_ENDIAN or not.
    33393343cat > conftest.$ac_ext <<EOF
    3340 #line 3341 "configure"
     3344#line 3345 "configure"
    33413345#include "confdefs.h"
    33423346#include <sys/types.h>
     
    33493353; return 0; }
    33503354EOF
    3351 if { (eval echo configure:3352: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3355if { (eval echo configure:3356: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    33523356  rm -rf conftest*
    33533357  ac_cv_c_bigendian=yes
     
    33693373else
    33703374  cat > conftest.$ac_ext <<EOF
    3371 #line 3372 "configure"
     3375#line 3376 "configure"
    33723376#include "confdefs.h"
    33733377main () {
     
    33823386}
    33833387EOF
    3384 if { (eval echo configure:3385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3388if { (eval echo configure:3389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    33853389then
    33863390  ac_cv_c_bigendian=no
     
    34193423
    34203424echo $ac_n "checking size of system page""... $ac_c" 1>&6
    3421 echo "configure:3422: checking size of system page" >&5
     3425echo "configure:3426: checking size of system page" >&5
    34223426if eval "test \"`echo '$''{'ac_cv_pagesize'+set}'`\" = set"; then
    34233427  echo $ac_n "(cached) $ac_c" 1>&6
     
    34273431else
    34283432  cat > conftest.$ac_ext <<EOF
    3429 #line 3430 "configure"
     3433#line 3434 "configure"
    34303434#include "confdefs.h"
    34313435#include <stdio.h>
     
    34413445}
    34423446EOF
    3443 if { (eval echo configure:3444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3447if { (eval echo configure:3448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    34443448then
    34453449  ac_cv_pagesize=`cat conftestval`
     
    34653469
    34663470echo $ac_n "checking for page aligned valloc""... $ac_c" 1>&6
    3467 echo "configure:3468: checking for page aligned valloc" >&5
     3471echo "configure:3472: checking for page aligned valloc" >&5
    34683472if eval "test \"`echo '$''{'ac_cv_have_page_alignment'+set}'`\" = set"; then
    34693473  echo $ac_n "(cached) $ac_c" 1>&6
     
    35113515else
    35123516  cat > conftest.$ac_ext <<EOF
    3513 #line 3514 "configure"
     3517#line 3518 "configure"
    35143518#include "confdefs.h"
    35153519
     
    35183522
    35193523EOF
    3520 if { (eval echo configure:3521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3524if { (eval echo configure:3525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    35213525then
    35223526  ac_cv_have_page_alignment="ac_cv_usable_pagesize="`cat  conftestval`
     
    35353539else
    35363540  cat > conftest.$ac_ext <<EOF
    3537 #line 3538 "configure"
     3541#line 3542 "configure"
    35383542#include "confdefs.h"
    35393543
     
    35423546
    35433547EOF
    3544 if { (eval echo configure:3545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3548if { (eval echo configure:3549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    35453549then
    35463550  ac_cv_have_page_alignment="ac_cv_usable_pagesize="`cat  conftestval`
     
    35623566else
    35633567  cat > conftest.$ac_ext <<EOF
    3564 #line 3565 "configure"
     3568#line 3569 "configure"
    35653569#include "confdefs.h"
    35663570
     
    35713575
    35723576EOF
    3573 if { (eval echo configure:3574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3577if { (eval echo configure:3578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    35743578then
    35753579  ac_cv_have_page_alignment="ac_cv_have_gmalloc=yes; ac_cv_usable_pagesize="`cat  conftestval`
     
    35883592else
    35893593  cat > conftest.$ac_ext <<EOF
    3590 #line 3591 "configure"
     3594#line 3595 "configure"
    35913595#include "confdefs.h"
    35923596
     
    35973601
    35983602EOF
    3599 if { (eval echo configure:3600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3603if { (eval echo configure:3604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    36003604then
    36013605  ac_cv_have_page_alignment="ac_cv_have_gmalloc=yes; ac_cv_usable_pagesize="`cat  conftestval`
     
    37253729
    37263730echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6
    3727 echo "configure:3728: checking for tgetent in -lncurses" >&5
     3731echo "configure:3732: checking for tgetent in -lncurses" >&5
    37283732ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
    37293733if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    37333737LIBS="-lncurses  $LIBS"
    37343738cat > conftest.$ac_ext <<EOF
    3735 #line 3736 "configure"
     3739#line 3740 "configure"
    37363740#include "confdefs.h"
    37373741/* Override any gcc2 internal prototype to avoid an error.  */
     
    37443748; return 0; }
    37453749EOF
    3746 if { (eval echo configure:3747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3750if { (eval echo configure:3751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    37473751  rm -rf conftest*
    37483752  eval "ac_cv_lib_$ac_lib_var=yes"
     
    37713775\
    37723776 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
    3773 echo "configure:3774: checking for tgetent in -lcurses" >&5
     3777echo "configure:3778: checking for tgetent in -lcurses" >&5
    37743778ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
    37753779if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    37793783LIBS="-lcurses  $LIBS"
    37803784cat > conftest.$ac_ext <<EOF
    3781 #line 3782 "configure"
     3785#line 3786 "configure"
    37823786#include "confdefs.h"
    37833787/* Override any gcc2 internal prototype to avoid an error.  */
     
    37903794; return 0; }
    37913795EOF
    3792 if { (eval echo configure:3793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3796if { (eval echo configure:3797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    37933797  rm -rf conftest*
    37943798  eval "ac_cv_lib_$ac_lib_var=yes"
     
    38173821\
    38183822  echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
    3819 echo "configure:3820: checking for tgetent in -ltermcap" >&5
     3823echo "configure:3824: checking for tgetent in -ltermcap" >&5
    38203824ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
    38213825if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    38253829LIBS="-ltermcap  $LIBS"
    38263830cat > conftest.$ac_ext <<EOF
    3827 #line 3828 "configure"
     3831#line 3832 "configure"
    38283832#include "confdefs.h"
    38293833/* Override any gcc2 internal prototype to avoid an error.  */
     
    38363840; return 0; }
    38373841EOF
    3838 if { (eval echo configure:3839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3842if { (eval echo configure:3843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    38393843  rm -rf conftest*
    38403844  eval "ac_cv_lib_$ac_lib_var=yes"
     
    38793883
    38803884   echo $ac_n "checking for rl_abort in -lreadline""... $ac_c" 1>&6
    3881 echo "configure:3882: checking for rl_abort in -lreadline" >&5
     3885echo "configure:3886: checking for rl_abort in -lreadline" >&5
    38823886ac_lib_var=`echo readline'_'rl_abort | sed 'y%./+-%__p_%'`
    38833887if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    38873891LIBS="-lreadline  $LIBS"
    38883892cat > conftest.$ac_ext <<EOF
    3889 #line 3890 "configure"
     3893#line 3894 "configure"
    38903894#include "confdefs.h"
    38913895/* Override any gcc2 internal prototype to avoid an error.  */
     
    39013905; return 0; }
    39023906EOF
    3903 if { (eval echo configure:3904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3907if { (eval echo configure:3908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    39043908  rm -rf conftest*
    39053909  eval "ac_cv_lib_$ac_lib_var=yes"
     
    39293933
    39303934   echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
    3931 echo "configure:3932: checking how to run the C++ preprocessor" >&5
     3935echo "configure:3936: checking how to run the C++ preprocessor" >&5
    39323936if test -z "$CXXCPP"; then
    39333937if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
     
    39423946  CXXCPP="${CXX-g++} -E"
    39433947  cat > conftest.$ac_ext <<EOF
    3944 #line 3945 "configure"
     3948#line 3949 "configure"
    39453949#include "confdefs.h"
    39463950#include <stdlib.h>
    39473951EOF
    39483952ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3949 { (eval echo configure:3950: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3953{ (eval echo configure:3954: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    39503954ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    39513955if test -z "$ac_err"; then
     
    39753979ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    39763980echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    3977 echo "configure:3978: checking for $ac_hdr" >&5
     3981echo "configure:3982: checking for $ac_hdr" >&5
    39783982if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    39793983  echo $ac_n "(cached) $ac_c" 1>&6
    39803984else
    39813985  cat > conftest.$ac_ext <<EOF
    3982 #line 3983 "configure"
     3986#line 3987 "configure"
    39833987#include "confdefs.h"
    39843988#include <$ac_hdr>
    39853989EOF
    39863990ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3987 { (eval echo configure:3988: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3991{ (eval echo configure:3992: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    39883992ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    39893993if test -z "$ac_err"; then
     
    40144018      test "$ac_cv_header_readline_readline_h" = yes; then
    40154019     echo $ac_n "checking whether readline.h is ok""... $ac_c" 1>&6
    4016 echo "configure:4017: checking whether readline.h is ok" >&5
     4020echo "configure:4021: checking whether readline.h is ok" >&5
    40174021     if eval "test \"`echo '$''{'ac_cv_header_readline_readline_h_ok'+set}'`\" = set"; then
    40184022  echo $ac_n "(cached) $ac_c" 1>&6
    40194023else
    40204024  cat > conftest.$ac_ext <<EOF
    4021 #line 4022 "configure"
     4025#line 4026 "configure"
    40224026#include "confdefs.h"
    40234027#include<unistd.h>
     
    40444048; return 0; }
    40454049EOF
    4046 if { (eval echo configure:4047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4050if { (eval echo configure:4051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    40474051  rm -rf conftest*
    40484052  ac_cv_header_readline_readline_h_ok="yes"
     
    40604064#not ok -- try once more with explicitly declaring everything
    40614065      echo $ac_n "checking whether or not we nevertheless can use readline""... $ac_c" 1>&6
    4062 echo "configure:4063: checking whether or not we nevertheless can use readline" >&5
     4066echo "configure:4067: checking whether or not we nevertheless can use readline" >&5
    40634067      if eval "test \"`echo '$''{'ac_cv_have_readline'+set}'`\" = set"; then
    40644068  echo $ac_n "(cached) $ac_c" 1>&6
    40654069else
    40664070  cat > conftest.$ac_ext <<EOF
    4067 #line 4068 "configure"
     4071#line 4072 "configure"
    40684072#include "confdefs.h"
    40694073#include <stdio.h>
     
    40994103; return 0; }
    41004104EOF
    4101 if { (eval echo configure:4102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4105if { (eval echo configure:4106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    41024106  rm -rf conftest*
    41034107  ac_cv_have_readline="yes"
     
    41434147# gmp, smallgmp, MP, MPT, factory, libfac
    41444148echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6
    4145 echo "configure:4146: checking for main in -lgmp" >&5
     4149echo "configure:4150: checking for main in -lgmp" >&5
    41464150ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'`
    41474151if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    41514155LIBS="-lgmp  $LIBS"
    41524156cat > conftest.$ac_ext <<EOF
    4153 #line 4154 "configure"
     4157#line 4158 "configure"
    41544158#include "confdefs.h"
    41554159
     
    41584162; return 0; }
    41594163EOF
    4160 if { (eval echo configure:4161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4164if { (eval echo configure:4165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    41614165  rm -rf conftest*
    41624166  eval "ac_cv_lib_$ac_lib_var=yes"
     
    41894193fi
    41904194echo $ac_n "checking for main in -lsmallgmp""... $ac_c" 1>&6
    4191 echo "configure:4192: checking for main in -lsmallgmp" >&5
     4195echo "configure:4196: checking for main in -lsmallgmp" >&5
    41924196ac_lib_var=`echo smallgmp'_'main | sed 'y%./+-%__p_%'`
    41934197if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    41974201LIBS="-lsmallgmp  $LIBS"
    41984202cat > conftest.$ac_ext <<EOF
    4199 #line 4200 "configure"
     4203#line 4204 "configure"
    42004204#include "confdefs.h"
    42014205
     
    42044208; return 0; }
    42054209EOF
    4206 if { (eval echo configure:4207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4210if { (eval echo configure:4211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    42074211  rm -rf conftest*
    42084212  eval "ac_cv_lib_$ac_lib_var=yes"
     
    42324236
    42334237echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6
    4234 echo "configure:4235: checking for IMP_PutGmpInt in -lMP" >&5
     4238echo "configure:4239: checking for IMP_PutGmpInt in -lMP" >&5
    42354239ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'`
    42364240if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    42404244LIBS="-lMP  $LIBS"
    42414245cat > conftest.$ac_ext <<EOF
    4242 #line 4243 "configure"
     4246#line 4247 "configure"
    42434247#include "confdefs.h"
    42444248/* Override any gcc2 internal prototype to avoid an error.  */
     
    42514255; return 0; }
    42524256EOF
    4253 if { (eval echo configure:4254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4257if { (eval echo configure:4258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    42544258  rm -rf conftest*
    42554259  eval "ac_cv_lib_$ac_lib_var=yes"
     
    42794283
    42804284echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6
    4281 echo "configure:4282: checking for MPT_GetTree in -lMPT" >&5
     4285echo "configure:4286: checking for MPT_GetTree in -lMPT" >&5
    42824286ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'`
    42834287if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    42874291LIBS="-lMPT  $LIBS"
    42884292cat > conftest.$ac_ext <<EOF
    4289 #line 4290 "configure"
     4293#line 4294 "configure"
    42904294#include "confdefs.h"
    42914295/* Override any gcc2 internal prototype to avoid an error.  */
     
    42984302; return 0; }
    42994303EOF
    4300 if { (eval echo configure:4301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4304if { (eval echo configure:4305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    43014305  rm -rf conftest*
    43024306  eval "ac_cv_lib_$ac_lib_var=yes"
     
    43264330
    43274331echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6
    4328 echo "configure:4329: checking for atof in -lsingcf" >&5
     4332echo "configure:4333: checking for atof in -lsingcf" >&5
    43294333ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'`
    43304334if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    43344338LIBS="-lsingcf  $LIBS"
    43354339cat > conftest.$ac_ext <<EOF
    4336 #line 4337 "configure"
     4340#line 4341 "configure"
    43374341#include "confdefs.h"
    43384342/* Override any gcc2 internal prototype to avoid an error.  */
     
    43454349; return 0; }
    43464350EOF
    4347 if { (eval echo configure:4348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4351if { (eval echo configure:4352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    43484352  rm -rf conftest*
    43494353  eval "ac_cv_lib_$ac_lib_var=yes"
     
    43734377
    43744378echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6
    4375 echo "configure:4376: checking for atof in -lsingfac" >&5
     4379echo "configure:4380: checking for atof in -lsingfac" >&5
    43764380ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'`
    43774381if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    43814385LIBS="-lsingfac  $LIBS"
    43824386cat > conftest.$ac_ext <<EOF
    4383 #line 4384 "configure"
     4387#line 4388 "configure"
    43844388#include "confdefs.h"
    43854389/* Override any gcc2 internal prototype to avoid an error.  */
     
    43924396; return 0; }
    43934397EOF
    4394 if { (eval echo configure:4395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4398if { (eval echo configure:4399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    43954399  rm -rf conftest*
    43964400  eval "ac_cv_lib_$ac_lib_var=yes"
     
    44244428ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    44254429echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    4426 echo "configure:4427: checking for $ac_hdr" >&5
     4430echo "configure:4431: checking for $ac_hdr" >&5
    44274431if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    44284432  echo $ac_n "(cached) $ac_c" 1>&6
    44294433else
    44304434  cat > conftest.$ac_ext <<EOF
    4431 #line 4432 "configure"
     4435#line 4436 "configure"
    44324436#include "confdefs.h"
    44334437#include <$ac_hdr>
    44344438EOF
    44354439ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4436 { (eval echo configure:4437: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4440{ (eval echo configure:4441: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    44374441ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    44384442if test -z "$ac_err"; then
     
    44914495# evaluate results
    44924496echo $ac_n "checking which apint package to use""... $ac_c" 1>&6
    4493 echo "configure:4494: checking which apint package to use" >&5
     4497echo "configure:4498: checking which apint package to use" >&5
    44944498if test "${with_apint}" != gmp && test "${with_apint}" != smallgmp; then
    44954499  if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then
     
    45334537#
    45344538echo $ac_n "checking whether to have MP""... $ac_c" 1>&6
    4535 echo "configure:4536: checking whether to have MP" >&5
     4539echo "configure:4540: checking whether to have MP" >&5
    45364540if test "${with_MP}" != yes && test "${with_MP}" != no; then
    45374541  if (test "${will_have_gmp}" = yes) && \
     
    45644568
    45654569echo $ac_n "checking whether to have factory""... $ac_c" 1>&6
    4566 echo "configure:4567: checking whether to have factory" >&5
     4570echo "configure:4571: checking whether to have factory" >&5
    45674571if test "${with_factory}" != yes && test "${with_factory}" != no; then
    45684572  if test "$ac_factory_ok" =  yes || test "$enable_factory" = yes; then
     
    45954599
    45964600echo $ac_n "checking whether to have libfac""... $ac_c" 1>&6
    4597 echo "configure:4598: checking whether to have libfac" >&5
     4601echo "configure:4602: checking whether to have libfac" >&5
    45984602if test "${with_libfac}" != yes && test "${with_libfac}" != no; then
    45994603  if (test "${will_have_factory}" = yes) && \
     
    46274631
    46284632echo $ac_n "checking whether to have dbm links""... $ac_c" 1>&6
    4629 echo "configure:4630: checking whether to have dbm links" >&5
     4633echo "configure:4634: checking whether to have dbm links" >&5
    46304634if test "$with_dbm" != no; then
    46314635  cat >> confdefs.h <<\EOF
     
    46394643
    46404644echo $ac_n "checking whether to have namespaces""... $ac_c" 1>&6
    4641 echo "configure:4642: checking whether to have namespaces" >&5
     4645echo "configure:4646: checking whether to have namespaces" >&5
    46424646if test "$with_namespaces" != yes; then
    46434647  echo "$ac_t""no" 1>&6
     
    46514655
    46524656echo $ac_n "checking whether to have dl lib""... $ac_c" 1>&6
    4653 echo "configure:4654: checking whether to have dl lib" >&5
     4657echo "configure:4658: checking whether to have dl lib" >&5
    46544658
    46554659case "$ac_cv_singuname" in
     
    46574661          echo "$ac_t""dld" 1>&6
    46584662          echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
    4659 echo "configure:4660: checking for shl_load in -ldld" >&5
     4663echo "configure:4664: checking for shl_load in -ldld" >&5
    46604664ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
    46614665if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    46654669LIBS="-ldld  $LIBS"
    46664670cat > conftest.$ac_ext <<EOF
    4667 #line 4668 "configure"
     4671#line 4672 "configure"
    46684672#include "confdefs.h"
    46694673/* Override any gcc2 internal prototype to avoid an error.  */
     
    46764680; return 0; }
    46774681EOF
    4678 if { (eval echo configure:4679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4682if { (eval echo configure:4683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    46794683  rm -rf conftest*
    46804684  eval "ac_cv_lib_$ac_lib_var=yes"
     
    47124716          echo "$ac_t""dld" 1>&6
    47134717          echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
    4714 echo "configure:4715: checking for shl_load in -ldld" >&5
     4718echo "configure:4719: checking for shl_load in -ldld" >&5
    47154719ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
    47164720if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    47204724LIBS="-ldld  $LIBS"
    47214725cat > conftest.$ac_ext <<EOF
    4722 #line 4723 "configure"
     4726#line 4727 "configure"
    47234727#include "confdefs.h"
    47244728/* Override any gcc2 internal prototype to avoid an error.  */
     
    47314735; return 0; }
    47324736EOF
    4733 if { (eval echo configure:4734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4737if { (eval echo configure:4738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    47344738  rm -rf conftest*
    47354739  eval "ac_cv_lib_$ac_lib_var=yes"
     
    47674771          echo "$ac_t""dl" 1>&6
    47684772          echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
    4769 echo "configure:4770: checking for dlopen in -ldl" >&5
     4773echo "configure:4774: checking for dlopen in -ldl" >&5
    47704774ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
    47714775if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    47754779LIBS="-ldl  $LIBS"
    47764780cat > conftest.$ac_ext <<EOF
    4777 #line 4778 "configure"
     4781#line 4782 "configure"
    47784782#include "confdefs.h"
    47794783/* Override any gcc2 internal prototype to avoid an error.  */
     
    47864790; return 0; }
    47874791EOF
    4788 if { (eval echo configure:4789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4792if { (eval echo configure:4793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    47894793  rm -rf conftest*
    47904794  eval "ac_cv_lib_$ac_lib_var=yes"
     
    48254829
    48264830echo $ac_n "checking whether to have dynamic loading""... $ac_c" 1>&6
    4827 echo "configure:4828: checking whether to have dynamic loading" >&5
     4831echo "configure:4832: checking whether to have dynamic loading" >&5
    48284832if test "$with_dl" != yes; then
    48294833  echo "$ac_t""no" 1>&6
     
    48394843
    48404844echo $ac_n "checking whether to use mtrack""... $ac_c" 1>&6
    4841 echo "configure:4842: checking whether to use mtrack" >&5
     4845echo "configure:4846: checking whether to use mtrack" >&5
    48424846if test "$with_mtrack" = yes && test "$ac_cv_singuname" = ix86-Linux; then
    48434847  echo "$ac_t""yes" 1>&6
     
    48514855
    48524856echo $ac_n "checking which exponent type to use""... $ac_c" 1>&6
    4853 echo "configure:4854: checking which exponent type to use" >&5
     4857echo "configure:4858: checking which exponent type to use" >&5
    48544858if test "$with_exp_type" = "char"; then
    48554859  echo "$ac_t""char" 1>&6
     
    48824886EOF
    48834887
     4888fi
     4889
     4890OUTPUT_MAKEFILES=Makefile
     4891
     4892if test "$ac_cv_singuname" = "ix86-Win"; then
     4893  OUTPUT_MAKEFILES="${OUTPUT_MAKEFILES} Singular.rc"
    48844894fi
    48854895
     
    49854995ac_given_INSTALL="$INSTALL"
    49864996
    4987 trap 'rm -fr `echo "Makefile mod2.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
     4997trap 'rm -fr `echo "${OUTPUT_MAKEFILES} mod2.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
    49884998EOF
    49894999cat >> $CONFIG_STATUS <<EOF
     
    50215031s%@SING_UNAME@%$SING_UNAME%g
    50225032s%@SINGULAR_VERSION@%$SINGULAR_VERSION%g
     5033s%@VERSION_DATE@%$VERSION_DATE%g
     5034s%@SINGULAR_MAJOR_VERSION@%$SINGULAR_MAJOR_VERSION%g
     5035s%@SINGULAR_MINOR_VERSION@%$SINGULAR_MINOR_VERSION%g
     5036s%@SINGULAR_SUB_VERSION@%$SINGULAR_SUB_VERSION%g
    50235037s%@CC@%$CC%g
    50245038s%@CPP@%$CPP%g
     
    50825096cat >> $CONFIG_STATUS <<EOF
    50835097
    5084 CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
     5098CONFIG_FILES=\${CONFIG_FILES-"${OUTPUT_MAKEFILES}"}
    50855099EOF
    50865100cat >> $CONFIG_STATUS <<\EOF
  • Singular/configure.in

    r1c2c2f r8654b5  
    5454dnl pass them on into the Makefiles
    5555AC_SUBST(SINGULAR_VERSION)
     56AC_SUBST(VERSION_DATE)
     57AC_SUBST(SINGULAR_MAJOR_VERSION)
     58AC_SUBST(SINGULAR_MINOR_VERSION)
     59AC_SUBST(SINGULAR_SUB_VERSION)
    5660AC_DEFINE_UNQUOTED(SINGULAR_MAJOR_VERSION, ${SINGULAR_MAJOR_VERSION})
    5761AC_DEFINE_UNQUOTED(SINGULAR_MINOR_VERSION, ${SINGULAR_MINOR_VERSION})
     
    856860fi
    857861
    858 AC_OUTPUT(Makefile, \
     862OUTPUT_MAKEFILES=Makefile
     863
     864if test "$ac_cv_singuname" = "ix86-Win"; then
     865  OUTPUT_MAKEFILES="${OUTPUT_MAKEFILES} Singular.rc"
     866fi
     867
     868AC_OUTPUT(${OUTPUT_MAKEFILES}, \
    859869 if test "$CONFIG_HEADERS"; then echo timestamp > stamp-h; fi)
  • Singular/feResource.cc

    r1c2c2f r8654b5  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: feResource.cc,v 1.25 2000-05-23 14:40:47 obachman Exp $ */
     4/* $Id: feResource.cc,v 1.26 2000-05-25 13:37:28 obachman Exp $ */
    55/*
    66* ABSTRACT: management of resources
     
    739739  int i = 0;
    740740  char* r;
     741  StringAppend("%-10s:\t%s\n", "argv[0]", feArgv0);
    741742  while (feResourceConfigs[i].key != NULL)
    742743  {
Note: See TracChangeset for help on using the changeset viewer.