Changeset ef0124 in git


Ignore:
Timestamp:
May 5, 2000, 8:40:34 PM (23 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', '8d54773d6c9e2f1d2593a28bc68b7eeab54ed529')
Children:
ba9453910d26fdb676fa083bc02d866111ea5ece
Parents:
f9bfec9b7263804ac776257b32087185168b1000
Message:
*** empty log message ***


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

Legend:

Unmodified
Added
Removed
  • Singular/LIB/classify.lib

    rf9bfec ref0124  
    1 e// $Id: classify.lib,v 1.40 1999-12-13 15:33:44 obachman Exp $
     1e// $Id: classify.lib,v 1.41 2000-05-05 18:40:29 obachman Exp $
    22// KK, last modified: 04.04.1998
    33///////////////////////////////////////////////////////////////////////////////
    44
    5 version  = "$Id: classify.lib,v 1.40 1999-12-13 15:33:44 obachman Exp $";
     5version  = "$Id: classify.lib,v 1.41 2000-05-05 18:40:29 obachman Exp $";
    66info="
    77LIBRARY:  classify.lib  Procedures for the Arnold-Classifier of Singularities
     
    24452445          useful for user-defined trace messages.
    24462446EXAMPLE:  example debug_log; shows an example
    2447 SEE ALSO: init_debug"
     2447SEE ALSO: init_debug
     2448"
    24482449{
    24492450   int len = size(#);
  • Singular/LIB/inout.lib

    rf9bfec ref0124  
    1 // $Id: inout.lib,v 1.15 2000-04-28 10:03:57 obachman Exp $
     1// $Id: inout.lib,v 1.16 2000-05-05 18:40:31 obachman Exp $
    22// (GMG/BM, last modified 22.06.96)
    33///////////////////////////////////////////////////////////////////////////////
    44
    5 version="$Id: inout.lib,v 1.15 2000-04-28 10:03:57 obachman Exp $";
     5version="$Id: inout.lib,v 1.16 2000-05-05 18:40:31 obachman Exp $";
    66info="
    77LIBRARY:  inout.lib     PROCEDURES FOR MANIPULATING IN- AND OUTPUT
     
    318318   // This is equivalent to";
    319319   string s1 =
    320    "x[0]3-101/74x[0]2x[1]+7371x[0]x[1]2-13/83x[1]3-x[0]2x[2] \
    321         -4/71x[0]x[1]x[2]-65/64x[1]2x[2]-49/111x[0]x[2]2-x[1]x[2]2 \
    322         -747x[2]3+6072x[0]2x[3]";
     320   "x[0]3-101/74x[0]2x[1]+7371x[0]x[1]2-13/83x[1]3-x[0]2x[2]-4/71x[0]x[1]x[2]-65/64x[1]2x[2]-49/111x[0]x[2]2-x[1]x[2]2-747x[2]3+6072x[0]2x[3]";
    323321   rMacaulay(s1);
    324322   // You may wish to assign s1 to a Singular ideal id:
  • Singular/Makefile.in

    rf9bfec ref0124  
    3838PERL            = @PERL@
    3939BISON           = bison
    40 INSTALL         = ./install-sh -c
    41 INSTALL_PROGRAM = ${INSTALL}
    42 INSTALL_DATA    = ${INSTALL} -m 644
     40INSTALL         = @INSTALL@
     41INSTALL_PROGRAM = @INSTALL_PROGRAM@
     42INSTALL_DATA    = @INSTALL_DATA@
    4343MKINSTALLDIRS   = ./mkinstalldirs
    4444LN_S            = @LN_S@
     
    9696# normal C source files
    9797CSOURCES=mmalloc.c mmheap.c mmpage.c mmcheck.c  mmisc.c mmtables.c \
    98     mmbt.c weight0.c find_exec.c fegetopt.c fereadl.c page.c
     98    mmbt.c weight0.c find_exec.c fegetopt.c fereadl.c page.c feOpenWinntUrl.c
    9999
    100100# special source files (need extra compiling and/or linking)
     
    247247        ${LEX} -I -Pyylp -olibparse.cc libparse.l
    248248
     249# Hmm compiling with -fomit-frame-pointer resulted in access violation
     250# under cygwin
    249251ESingular: fegetopt.o feResource.cc mod2.h feOpt.cc version.h emacs.cc \
    250252           feOptES.inc
    251         ${CXX} ${CXXFLAGS} ${CPPFLAGS} ${DEFS} -o ESingular emacs.cc fegetopt.o ${LDFLAGS} ${LIBS}
    252 
    253 ESingular-static: fegetopt.o feResource.cc mod2.h feOpt.cc version.h emacs.cc \
    254            feOptES.inc
    255         ${CXX} ${CXXFLAGS} ${CPPFLAGS} ${DEFS} -o ESingular emacs.cc fegetopt.o ${LDFLAGS} ${STATIC_LDFLAGS} ${LIBS}
    256 
    257 feOpt.h: feOpt.inc feOptES.inc
     253        ${CXX} -O ${DEFS} -DESINGULAR -o ESingular emacs.cc fegetopt.o
     254
     255TSingular: fegetopt.o feResource.cc mod2.h feOpt.cc version.h emacs.cc \
     256           feOptTS.inc
     257        ${CXX} -O ${DEFS} -DTSINGULAR -o TSingular emacs.cc fegetopt.o
     258
     259feOpt.h: feOpt.inc feOptES.inc feOptTS.inc
    258260
    259261feOpt.inc: feOpt.cc mod2.h
     
    267269        rm -f feOpt feOpt.exe
    268270
     271feOptTS.inc: feOpt.cc
     272        $(CXX) -DGENERATE_OPTION_INDEX  -DHAVE_ASO=0 -DTSINGULAR feOpt.cc -o feOpt
     273        ./feOpt
     274        rm -f feOpt feOpt.exe
     275
    269276prCopy.cc : prCopy.inc
    270277
     
    291298
    292299##
     300## windows only targets
     301##
     302run.o: run.c run.h
     303        gcc -c -I. -O2 run.c -o run.o
     304
     305runTSingular : run.c run.h run.rc run.o
     306        windres -DTSINGULAR -i run.rc -o run_res.o
     307        gcc -mwindows -e _mainCRTStartup run.o run_res.o -o runTSingular.exe
     308
     309runESingular : run.c run.h run.rc run.o
     310        windres -DESINGULAR -i run.rc -o run_res.o
     311        gcc -mwindows -e _mainCRTStartup run.o run_res.o -o runESingular.exe
     312
     313run_res.o : run.rc
     314        windres -i run.rc -o run_res.o
     315
     316run: run.c run.h run_res.o run.o
     317        gcc -mwindows -e _mainCRTStartup run.o run_res.o -o run.exe
     318
     319##
    293320## install targets
    294321##
     322ifeq ($(SINGUNAME),ix86-Win)
     323RUN_SINGULARS=runESingular runTSingular
     324endif
     325
    295326install: all installbin installslib
    296327
    297 installbin: Singular libparse ESingular
     328installbin: Singular libparse ESingular TSingular ${RUN_SINGULARS}
    298329        ${MKINSTALLDIRS} ${bindir}
    299330        ${INSTALL_PROGRAM} Singular ${SINGULAR}
    300         ${INSTALL_PROGRAM} libparse ${bindir}
     331        ${INSTALL_PROGRAM} libparse ${RUN_SINGULARS} ${bindir}
    301332        ${INSTALL_PROGRAM} ESingular ${bindir}
     333        ${INSTALL_PROGRAM} TSingular ${bindir}
    302334        chmod a+x ${SINGULAR}
    303335        rm -f ${bindir}/Singular${EXEC_EXT}
     
    321353        -rm -f Singular Singularg Singularp Singularb libparse feOpt*.inc
    322354        -rm -f *.o *.og core *.op *.ob *.ot Singulart
     355        -rm ESingular* TSingular*
    323356
    324357clean: mostlyclean
     
    346379##
    347380
    348 Singular-bindist ESingular-bindist: $(HEADERS) $(SOURCES) Makefile depend
     381Singular-bindist: $(HEADERS) $(SOURCES) Makefile depend
    349382        echo "#define MAKE_DISTRIBUTION " > distrib.h
    350         ${MAKE} Singular ESingular
    351         ${INSTALL_PROGRAM} -s Singular Singular-bindist
    352         ${INSTALL_PROGRAM} -s ESingular ESingular-bindist
     383        ${MAKE} Singular ESingular TSingular
     384        ${INSTALL_PROGRAM}
    353385        echo "#undef MAKE_DISTRIBUTION " > distrib.h
    354386
    355 Singular-static-bindist ESingular-static-bindist: $(HEADERS) $(SOURCES) Makefile depend
     387Singular-static-bindist: $(HEADERS) $(SOURCES) Makefile depend
    356388        echo "#define MAKE_DISTRIBUTION " > distrib.h
    357         ${MAKE} Singular-static ESingular-static
    358         ${INSTALL_PROGRAM} -s Singular-static Singular-static-bindist
    359         ${INSTALL_PROGRAM} -s ESingular-static ESingular-static-bindist
     389        ${MAKE} Singular-static ESingular TSingular
     390        ${INSTALL_PROGRAM} -s Singular-static Singular
    360391        echo "#undef MAKE_DISTRIBUTION " > distrib.h
    361392
    362 install-bindist: Singular-bindist ESingular-bindist libparse
    363         ${MKINSTALLDIRS} ${install_bindir}
    364         ${INSTALL_PROGRAM} Singular-bindist ${install_bindir}/Singular
    365         ${INSTALL_PROGRAM} ESingular-bindist ${install_bindir}/ESingular
    366         ${INSTALL_PROGRAM} libparse ${install_bindir}/libparse
    367 
    368 install-static-bindist: Singular-static-bindist ESingular-static-bindist libparse
    369         ${MKINSTALLDIRS} ${install_bindir}
    370         ${INSTALL_PROGRAM} Singular-static-bindist ${install_bindir}/Singular
    371         ${INSTALL_PROGRAM} ESingular-static-bindist ${install_bindir}/ESingular
    372         ${INSTALL_PROGRAM} libparse ${install_bindir}/libparse
     393install-bindist: libparse ${RUN_SINGULARS} Singular-bindist
     394        ${MKINSTALLDIRS} ${install_bindir}
     395        ${INSTALL_PROGRAM} -s Singular ESingular TSingular ${install_bindir}
     396        ${INSTALL_PROGRAM} -s libparse ${RUN_SINGULARS} ${install_bindir}
     397
     398install-static-bindist: libparse ${RUN_SINGULARS} Singular-static-bindist
     399        ${MKINSTALLDIRS} ${install_bindir}
     400        ${INSTALL_PROGRAM} -s Singular ESingular TSingular ${install_bindir}
     401        ${INSTALL_PROGRAM} -s libparse ${RUN_SINGULARS} ${install_bindir}
    373402
    374403install-sharedist: ${SLIBS_FILES} LIB/gftables
     
    453482ESingularg: fegetopt.og feResource.cc mod2.h feOpt.cc version.h emacs.cc \
    454483           feOptES.inc
    455         ${CXXG} ${CXXFLAGSG} ${CPPFLAGS} ${DEFSG} -o ESingularg emacs.cc fegetopt.og ${LDFLAGS} ${LIBS}
     484        ${CXXG} -DESINGULAR -g ${DEFSG} -o ESingularg emacs.cc fegetopt.og ${LDFLAGS} ${LIBS}
    456485
    457486##
  • Singular/configure

    rf9bfec ref0124  
    602602SINGULAR_MAJOR_VERSION=${SINGULAR_MAJOR_VERSION:-1}
    603603SINGULAR_MINOR_VERSION=${SINGULAR_MINOR_VERSION:-3}
    604 SINGULAR_SUB_VERSION=${SINGULAR_SUB_VERSION:-7}
     604SINGULAR_SUB_VERSION=${SINGULAR_SUB_VERSION:-8}
    605605SINGULAR_VERSION="${SINGULAR_VERSION:-$SINGULAR_MAJOR_VERSION${VERSION_SEP}$SINGULAR_MINOR_VERSION${VERSION_SEP}$SINGULAR_SUB_VERSION}"
    606 VERSION_DATE=${VERSION_DATE:-"March 2000"}
     606VERSION_DATE=${VERSION_DATE:-"May 2000"}
    607607
    608608
     
    10931093fi
    10941094
     1095ac_aux_dir=
     1096for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
     1097  if test -f $ac_dir/install-sh; then
     1098    ac_aux_dir=$ac_dir
     1099    ac_install_sh="$ac_aux_dir/install-sh -c"
     1100    break
     1101  elif test -f $ac_dir/install.sh; then
     1102    ac_aux_dir=$ac_dir
     1103    ac_install_sh="$ac_aux_dir/install.sh -c"
     1104    break
     1105  fi
     1106done
     1107if test -z "$ac_aux_dir"; then
     1108  { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
     1109fi
     1110ac_config_guess=$ac_aux_dir/config.guess
     1111ac_config_sub=$ac_aux_dir/config.sub
     1112ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
     1113
     1114# Find a good install program.  We prefer a C program (faster),
     1115# so one script is as good as another.  But avoid the broken or
     1116# incompatible versions:
     1117# SysV /etc/install, /usr/sbin/install
     1118# SunOS /usr/etc/install
     1119# IRIX /sbin/install
     1120# AIX /bin/install
     1121# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
     1122# AFS /usr/afsws/bin/install, which mishandles nonexistent args
     1123# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
     1124# ./install, which can be erroneously created by make from ./install.sh.
     1125echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
     1126echo "configure:1127: checking for a BSD compatible install" >&5
     1127if test -z "$INSTALL"; then
     1128if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     1129  echo $ac_n "(cached) $ac_c" 1>&6
     1130else
     1131    IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
     1132  for ac_dir in $PATH; do
     1133    # Account for people who put trailing slashes in PATH elements.
     1134    case "$ac_dir/" in
     1135    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
     1136    *)
     1137      # OSF1 and SCO ODT 3.0 have their own names for install.
     1138      # Don't use installbsd from OSF since it installs stuff as root
     1139      # by default.
     1140      for ac_prog in ginstall scoinst install; do
     1141        if test -f $ac_dir/$ac_prog; then
     1142          if test $ac_prog = install &&
     1143            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
     1144            # AIX install.  It has an incompatible calling convention.
     1145            :
     1146          else
     1147            ac_cv_path_install="$ac_dir/$ac_prog -c"
     1148            break 2
     1149          fi
     1150        fi
     1151      done
     1152      ;;
     1153    esac
     1154  done
     1155  IFS="$ac_save_IFS"
     1156
     1157fi
     1158  if test "${ac_cv_path_install+set}" = set; then
     1159    INSTALL="$ac_cv_path_install"
     1160  else
     1161    # As a last resort, use the slow shell script.  We don't cache a
     1162    # path for INSTALL within a source directory, because that will
     1163    # break other packages using the cache if that directory is
     1164    # removed, or if the path is relative.
     1165    INSTALL="$ac_install_sh"
     1166  fi
     1167fi
     1168echo "$ac_t""$INSTALL" 1>&6
     1169
     1170# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     1171# It thinks the first close brace ends the variable substitution.
     1172test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
     1173
     1174test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
     1175
     1176test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
     1177
    10951178echo $ac_n "checking for AIX""... $ac_c" 1>&6
    1096 echo "configure:1097: checking for AIX" >&5
     1179echo "configure:1180: checking for AIX" >&5
    10971180cat > conftest.$ac_ext <<EOF
    1098 #line 1099 "configure"
     1181#line 1182 "configure"
    10991182#include "confdefs.h"
    11001183#ifdef _AIX
     
    11261209# check whether the compiler accepts -pipe
    11271210echo $ac_n "checking whether compiler accepts -pipe""... $ac_c" 1>&6
    1128 echo "configure:1129: checking whether compiler accepts -pipe" >&5
     1211echo "configure:1212: checking whether compiler accepts -pipe" >&5
    11291212temp_cflags=${CFLAGS}
    11301213CFLAGS="${CFLAGS} -pipe"
     
    11331216else
    11341217  cat > conftest.$ac_ext <<EOF
    1135 #line 1136 "configure"
     1218#line 1219 "configure"
    11361219#include "confdefs.h"
    11371220
     
    11401223; return 0; }
    11411224EOF
    1142 if { (eval echo configure:1143: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1225if { (eval echo configure:1226: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    11431226  rm -rf conftest*
    11441227  ac_cv_cxx_have_pipe=yes
     
    11641247# Customize CFLAGS
    11651248echo $ac_n "checking whether _AIX is defined""... $ac_c" 1>&6
    1166 echo "configure:1167: checking whether _AIX is defined" >&5
     1249echo "configure:1250: checking whether _AIX is defined" >&5
    11671250if eval "test \"`echo '$''{'ac_cv_is_aix'+set}'`\" = set"; then
    11681251  echo $ac_n "(cached) $ac_c" 1>&6
    11691252else
    11701253  cat > conftest.$ac_ext <<EOF
    1171 #line 1172 "configure"
     1254#line 1255 "configure"
    11721255#include "confdefs.h"
    11731256#ifdef _AIX
     
    12201303
    12211304echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    1222 echo "configure:1223: checking whether ${MAKE-make} sets \${MAKE}" >&5
     1305echo "configure:1306: checking whether ${MAKE-make} sets \${MAKE}" >&5
    12231306set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    12241307if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    12711354# expand bindir
    12721355test "x$bindir" = 'x${exec_prefix}/bin' && bindir="${exec_prefix}"
    1273 SINGULAR=${SINGULAR:-$bindir/Singular-$SINGULAR_MAJOR_VERSION${VERSION_SEP}$SINGULAR_MINOR_VERSION${VERSION_SEP}$SINGULAR_SUB_VERSION}${EXEC_EXT}
     1356SINGULAR=${SINGULAR:-$bindir/Singular-$SINGULAR_MAJOR_VERSION${VERSION_SEP}$SINGULAR_MINOR_VERSION${VERSION_SEP}$SINGULAR_SUB_VERSION}
    12741357
    12751358cat >> confdefs.h <<EOF
     
    12991382if test "${with_lex+set}" != set; then
    13001383  echo $ac_n "checking for flex""... $ac_c" 1>&6
    1301 echo "configure:1302: checking for flex" >&5
     1384echo "configure:1385: checking for flex" >&5
    13021385    if eval "test \"`echo '$''{'ac_cv_prog_flex'+set}'`\" = set"; then
    13031386  echo $ac_n "(cached) $ac_c" 1>&6
     
    13301413set dummy $ac_prog; ac_word=$2
    13311414echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1332 echo "configure:1333: checking for $ac_word" >&5
     1415echo "configure:1416: checking for $ac_word" >&5
    13331416if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
    13341417  echo $ac_n "(cached) $ac_c" 1>&6
     
    13701453set dummy $ac_prog; ac_word=$2
    13711454echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1372 echo "configure:1373: checking for $ac_word" >&5
     1455echo "configure:1456: checking for $ac_word" >&5
    13731456if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then
    13741457  echo $ac_n "(cached) $ac_c" 1>&6
     
    14051488# ln -s
    14061489echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
    1407 echo "configure:1408: checking whether ln -s works" >&5
     1490echo "configure:1491: checking whether ln -s works" >&5
    14081491if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
    14091492  echo $ac_n "(cached) $ac_c" 1>&6
     
    14311514set dummy $ac_prog; ac_word=$2
    14321515echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1433 echo "configure:1434: checking for $ac_word" >&5
     1516echo "configure:1517: checking for $ac_word" >&5
    14341517if eval "test \"`echo '$''{'ac_cv_prog_PERL'+set}'`\" = set"; then
    14351518  echo $ac_n "(cached) $ac_c" 1>&6
     
    14631546# lib checks
    14641547echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6
    1465 echo "configure:1466: checking for atof in -lm" >&5
     1548echo "configure:1549: checking for atof in -lm" >&5
    14661549ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'`
    14671550if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    14711554LIBS="-lm  $LIBS"
    14721555cat > conftest.$ac_ext <<EOF
    1473 #line 1474 "configure"
     1556#line 1557 "configure"
    14741557#include "confdefs.h"
    14751558/* Override any gcc2 internal prototype to avoid an error.  */
     
    14821565; return 0; }
    14831566EOF
    1484 if { (eval echo configure:1485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1567if { (eval echo configure:1568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    14851568  rm -rf conftest*
    14861569  eval "ac_cv_lib_$ac_lib_var=yes"
     
    15101593
    15111594echo $ac_n "checking for socket in -lbsd""... $ac_c" 1>&6
    1512 echo "configure:1513: checking for socket in -lbsd" >&5
     1595echo "configure:1596: checking for socket in -lbsd" >&5
    15131596ac_lib_var=`echo bsd'_'socket | sed 'y%./+-%__p_%'`
    15141597if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    15181601LIBS="-lbsd  $LIBS"
    15191602cat > conftest.$ac_ext <<EOF
    1520 #line 1521 "configure"
     1603#line 1604 "configure"
    15211604#include "confdefs.h"
    15221605/* Override any gcc2 internal prototype to avoid an error.  */
     
    15291612; return 0; }
    15301613EOF
    1531 if { (eval echo configure:1532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1614if { (eval echo configure:1615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    15321615  rm -rf conftest*
    15331616  eval "ac_cv_lib_$ac_lib_var=yes"
     
    15571640
    15581641echo $ac_n "checking for listen in -lsocket""... $ac_c" 1>&6
    1559 echo "configure:1560: checking for listen in -lsocket" >&5
     1642echo "configure:1643: checking for listen in -lsocket" >&5
    15601643ac_lib_var=`echo socket'_'listen | sed 'y%./+-%__p_%'`
    15611644if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    15651648LIBS="-lsocket  $LIBS"
    15661649cat > conftest.$ac_ext <<EOF
    1567 #line 1568 "configure"
     1650#line 1651 "configure"
    15681651#include "confdefs.h"
    15691652/* Override any gcc2 internal prototype to avoid an error.  */
     
    15761659; return 0; }
    15771660EOF
    1578 if { (eval echo configure:1579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1661if { (eval echo configure:1662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    15791662  rm -rf conftest*
    15801663  eval "ac_cv_lib_$ac_lib_var=yes"
     
    16041687
    16051688echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
    1606 echo "configure:1607: checking for gethostbyname in -lnsl" >&5
     1689echo "configure:1690: checking for gethostbyname in -lnsl" >&5
    16071690ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
    16081691if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    16121695LIBS="-lnsl  $LIBS"
    16131696cat > conftest.$ac_ext <<EOF
    1614 #line 1615 "configure"
     1697#line 1698 "configure"
    16151698#include "confdefs.h"
    16161699/* Override any gcc2 internal prototype to avoid an error.  */
     
    16231706; return 0; }
    16241707EOF
    1625 if { (eval echo configure:1626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1708if { (eval echo configure:1709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    16261709  rm -rf conftest*
    16271710  eval "ac_cv_lib_$ac_lib_var=yes"
     
    16511734
    16521735echo $ac_n "checking for index in -lucb""... $ac_c" 1>&6
    1653 echo "configure:1654: checking for index in -lucb" >&5
     1736echo "configure:1737: checking for index in -lucb" >&5
    16541737ac_lib_var=`echo ucb'_'index | sed 'y%./+-%__p_%'`
    16551738if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    16591742LIBS="-lucb  $LIBS"
    16601743cat > conftest.$ac_ext <<EOF
    1661 #line 1662 "configure"
     1744#line 1745 "configure"
    16621745#include "confdefs.h"
    16631746/* Override any gcc2 internal prototype to avoid an error.  */
     
    16701753; return 0; }
    16711754EOF
    1672 if { (eval echo configure:1673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1755if { (eval echo configure:1756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    16731756  rm -rf conftest*
    16741757  eval "ac_cv_lib_$ac_lib_var=yes"
     
    17001783# heder file checks
    17011784echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    1702 echo "configure:1703: checking for ANSI C header files" >&5
     1785echo "configure:1786: checking for ANSI C header files" >&5
    17031786if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    17041787  echo $ac_n "(cached) $ac_c" 1>&6
    17051788else
    17061789  cat > conftest.$ac_ext <<EOF
    1707 #line 1708 "configure"
     1790#line 1791 "configure"
    17081791#include "confdefs.h"
    17091792#include <stdlib.h>
     
    17131796EOF
    17141797ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1715 { (eval echo configure:1716: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1798{ (eval echo configure:1799: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    17161799ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    17171800if test -z "$ac_err"; then
     
    17301813  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    17311814cat > conftest.$ac_ext <<EOF
    1732 #line 1733 "configure"
     1815#line 1816 "configure"
    17331816#include "confdefs.h"
    17341817#include <string.h>
     
    17481831  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    17491832cat > conftest.$ac_ext <<EOF
    1750 #line 1751 "configure"
     1833#line 1834 "configure"
    17511834#include "confdefs.h"
    17521835#include <stdlib.h>
     
    17691852else
    17701853  cat > conftest.$ac_ext <<EOF
    1771 #line 1772 "configure"
     1854#line 1855 "configure"
    17721855#include "confdefs.h"
    17731856#include <ctype.h>
     
    17801863
    17811864EOF
    1782 if { (eval echo configure:1783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1865if { (eval echo configure:1866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    17831866then
    17841867  :
     
    18071890ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    18081891echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1809 echo "configure:1810: checking for $ac_hdr" >&5
     1892echo "configure:1893: checking for $ac_hdr" >&5
    18101893if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    18111894  echo $ac_n "(cached) $ac_c" 1>&6
    18121895else
    18131896  cat > conftest.$ac_ext <<EOF
    1814 #line 1815 "configure"
     1897#line 1898 "configure"
    18151898#include "confdefs.h"
    18161899#include <$ac_hdr>
    18171900EOF
    18181901ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1819 { (eval echo configure:1820: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1902{ (eval echo configure:1903: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    18201903ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    18211904if test -z "$ac_err"; then
     
    18491932ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    18501933echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1851 echo "configure:1852: checking for $ac_hdr" >&5
     1934echo "configure:1935: checking for $ac_hdr" >&5
    18521935if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    18531936  echo $ac_n "(cached) $ac_c" 1>&6
    18541937else
    18551938  cat > conftest.$ac_ext <<EOF
    1856 #line 1857 "configure"
     1939#line 1940 "configure"
    18571940#include "confdefs.h"
    18581941#include <$ac_hdr>
    18591942EOF
    18601943ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1861 { (eval echo configure:1862: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1944{ (eval echo configure:1945: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    18621945ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    18631946if test -z "$ac_err"; then
     
    18881971# typedefs, structures
    18891972echo $ac_n "checking for working const""... $ac_c" 1>&6
    1890 echo "configure:1891: checking for working const" >&5
     1973echo "configure:1974: checking for working const" >&5
    18911974if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
    18921975  echo $ac_n "(cached) $ac_c" 1>&6
    18931976else
    18941977  cat > conftest.$ac_ext <<EOF
    1895 #line 1896 "configure"
     1978#line 1979 "configure"
    18961979#include "confdefs.h"
    18971980
     
    19422025; return 0; }
    19432026EOF
    1944 if { (eval echo configure:1945: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2027if { (eval echo configure:2028: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    19452028  rm -rf conftest*
    19462029  ac_cv_c_const=yes
     
    19632046
    19642047echo $ac_n "checking for inline""... $ac_c" 1>&6
    1965 echo "configure:1966: checking for inline" >&5
     2048echo "configure:2049: checking for inline" >&5
    19662049if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
    19672050  echo $ac_n "(cached) $ac_c" 1>&6
     
    19702053for ac_kw in inline __inline__ __inline; do
    19712054  cat > conftest.$ac_ext <<EOF
    1972 #line 1973 "configure"
     2055#line 2056 "configure"
    19732056#include "confdefs.h"
    19742057
     
    19772060; return 0; }
    19782061EOF
    1979 if { (eval echo configure:1980: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2062if { (eval echo configure:2063: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    19802063  rm -rf conftest*
    19812064  ac_cv_c_inline=$ac_kw; break
     
    20032086
    20042087echo $ac_n "checking for size_t""... $ac_c" 1>&6
    2005 echo "configure:2006: checking for size_t" >&5
     2088echo "configure:2089: checking for size_t" >&5
    20062089if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
    20072090  echo $ac_n "(cached) $ac_c" 1>&6
    20082091else
    20092092  cat > conftest.$ac_ext <<EOF
    2010 #line 2011 "configure"
     2093#line 2094 "configure"
    20112094#include "confdefs.h"
    20122095#include <sys/types.h>
     
    20362119
    20372120echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
    2038 echo "configure:2039: checking whether time.h and sys/time.h may both be included" >&5
     2121echo "configure:2122: checking whether time.h and sys/time.h may both be included" >&5
    20392122if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
    20402123  echo $ac_n "(cached) $ac_c" 1>&6
    20412124else
    20422125  cat > conftest.$ac_ext <<EOF
    2043 #line 2044 "configure"
     2126#line 2127 "configure"
    20442127#include "confdefs.h"
    20452128#include <sys/types.h>
     
    20502133; return 0; }
    20512134EOF
    2052 if { (eval echo configure:2053: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2135if { (eval echo configure:2136: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    20532136  rm -rf conftest*
    20542137  ac_cv_header_time=yes
     
    20712154
    20722155echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
    2073 echo "configure:2074: checking whether struct tm is in sys/time.h or time.h" >&5
     2156echo "configure:2157: checking whether struct tm is in sys/time.h or time.h" >&5
    20742157if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
    20752158  echo $ac_n "(cached) $ac_c" 1>&6
    20762159else
    20772160  cat > conftest.$ac_ext <<EOF
    2078 #line 2079 "configure"
     2161#line 2162 "configure"
    20792162#include "confdefs.h"
    20802163#include <sys/types.h>
     
    20842167; return 0; }
    20852168EOF
    2086 if { (eval echo configure:2087: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2169if { (eval echo configure:2170: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    20872170  rm -rf conftest*
    20882171  ac_cv_struct_tm=time.h
     
    21092192# for constant arguments.  Useless!
    21102193echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
    2111 echo "configure:2112: checking for working alloca.h" >&5
     2194echo "configure:2195: checking for working alloca.h" >&5
    21122195if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
    21132196  echo $ac_n "(cached) $ac_c" 1>&6
    21142197else
    21152198  cat > conftest.$ac_ext <<EOF
    2116 #line 2117 "configure"
     2199#line 2200 "configure"
    21172200#include "confdefs.h"
    21182201#include <alloca.h>
     
    21212204; return 0; }
    21222205EOF
    2123 if { (eval echo configure:2124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2206if { (eval echo configure:2207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    21242207  rm -rf conftest*
    21252208  ac_cv_header_alloca_h=yes
     
    21422225
    21432226echo $ac_n "checking for alloca""... $ac_c" 1>&6
    2144 echo "configure:2145: checking for alloca" >&5
     2227echo "configure:2228: checking for alloca" >&5
    21452228if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
    21462229  echo $ac_n "(cached) $ac_c" 1>&6
    21472230else
    21482231  cat > conftest.$ac_ext <<EOF
    2149 #line 2150 "configure"
     2232#line 2233 "configure"
    21502233#include "confdefs.h"
    21512234
     
    21752258; return 0; }
    21762259EOF
    2177 if { (eval echo configure:2178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2260if { (eval echo configure:2261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    21782261  rm -rf conftest*
    21792262  ac_cv_func_alloca_works=yes
     
    22072290
    22082291echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
    2209 echo "configure:2210: checking whether alloca needs Cray hooks" >&5
     2292echo "configure:2293: checking whether alloca needs Cray hooks" >&5
    22102293if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
    22112294  echo $ac_n "(cached) $ac_c" 1>&6
    22122295else
    22132296  cat > conftest.$ac_ext <<EOF
    2214 #line 2215 "configure"
     2297#line 2298 "configure"
    22152298#include "confdefs.h"
    22162299#if defined(CRAY) && ! defined(CRAY2)
     
    22372320for ac_func in _getb67 GETB67 getb67; do
    22382321  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2239 echo "configure:2240: checking for $ac_func" >&5
     2322echo "configure:2323: checking for $ac_func" >&5
    22402323if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    22412324  echo $ac_n "(cached) $ac_c" 1>&6
    22422325else
    22432326  cat > conftest.$ac_ext <<EOF
    2244 #line 2245 "configure"
     2327#line 2328 "configure"
    22452328#include "confdefs.h"
    22462329/* System header to define __stub macros and hopefully few prototypes,
     
    22652348; return 0; }
    22662349EOF
    2267 if { (eval echo configure:2268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2350if { (eval echo configure:2351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    22682351  rm -rf conftest*
    22692352  eval "ac_cv_func_$ac_func=yes"
     
    22922375
    22932376echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
    2294 echo "configure:2295: checking stack direction for C alloca" >&5
     2377echo "configure:2378: checking stack direction for C alloca" >&5
    22952378if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
    22962379  echo $ac_n "(cached) $ac_c" 1>&6
     
    23002383else
    23012384  cat > conftest.$ac_ext <<EOF
    2302 #line 2303 "configure"
     2385#line 2386 "configure"
    23032386#include "confdefs.h"
    23042387find_stack_direction ()
     
    23192402}
    23202403EOF
    2321 if { (eval echo configure:2322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2404if { (eval echo configure:2405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    23222405then
    23232406  ac_cv_c_stack_direction=1
     
    23422425if test $ac_cv_prog_gcc = yes; then
    23432426    echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
    2344 echo "configure:2345: checking whether ${CC-cc} needs -traditional" >&5
     2427echo "configure:2428: checking whether ${CC-cc} needs -traditional" >&5
    23452428if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
    23462429  echo $ac_n "(cached) $ac_c" 1>&6
     
    23482431    ac_pattern="Autoconf.*'x'"
    23492432  cat > conftest.$ac_ext <<EOF
    2350 #line 2351 "configure"
     2433#line 2434 "configure"
    23512434#include "confdefs.h"
    23522435#include <sgtty.h>
     
    23662449  if test $ac_cv_prog_gcc_traditional = no; then
    23672450    cat > conftest.$ac_ext <<EOF
    2368 #line 2369 "configure"
     2451#line 2452 "configure"
    23692452#include "confdefs.h"
    23702453#include <termio.h>
     
    23912474ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    23922475echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2393 echo "configure:2394: checking for $ac_hdr" >&5
     2476echo "configure:2477: checking for $ac_hdr" >&5
    23942477if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    23952478  echo $ac_n "(cached) $ac_c" 1>&6
    23962479else
    23972480  cat > conftest.$ac_ext <<EOF
    2398 #line 2399 "configure"
     2481#line 2482 "configure"
    23992482#include "confdefs.h"
    24002483#include <$ac_hdr>
    24012484EOF
    24022485ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2403 { (eval echo configure:2404: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2486{ (eval echo configure:2487: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    24042487ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    24052488if test -z "$ac_err"; then
     
    24302513do
    24312514echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2432 echo "configure:2433: checking for $ac_func" >&5
     2515echo "configure:2516: checking for $ac_func" >&5
    24332516if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    24342517  echo $ac_n "(cached) $ac_c" 1>&6
    24352518else
    24362519  cat > conftest.$ac_ext <<EOF
    2437 #line 2438 "configure"
     2520#line 2521 "configure"
    24382521#include "confdefs.h"
    24392522/* System header to define __stub macros and hopefully few prototypes,
     
    24582541; return 0; }
    24592542EOF
    2460 if { (eval echo configure:2461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2543if { (eval echo configure:2544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    24612544  rm -rf conftest*
    24622545  eval "ac_cv_func_$ac_func=yes"
     
    24832566
    24842567echo $ac_n "checking for working mmap""... $ac_c" 1>&6
    2485 echo "configure:2486: checking for working mmap" >&5
     2568echo "configure:2569: checking for working mmap" >&5
    24862569if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
    24872570  echo $ac_n "(cached) $ac_c" 1>&6
     
    24912574else
    24922575  cat > conftest.$ac_ext <<EOF
    2493 #line 2494 "configure"
     2576#line 2577 "configure"
    24942577#include "confdefs.h"
    24952578
     
    26312714
    26322715EOF
    2633 if { (eval echo configure:2634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2716if { (eval echo configure:2717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    26342717then
    26352718  ac_cv_func_mmap_fixed_mapped=yes
     
    26542737
    26552738echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
    2656 echo "configure:2657: checking return type of signal handlers" >&5
     2739echo "configure:2740: checking return type of signal handlers" >&5
    26572740if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
    26582741  echo $ac_n "(cached) $ac_c" 1>&6
    26592742else
    26602743  cat > conftest.$ac_ext <<EOF
    2661 #line 2662 "configure"
     2744#line 2745 "configure"
    26622745#include "confdefs.h"
    26632746#include <sys/types.h>
     
    26762759; return 0; }
    26772760EOF
    2678 if { (eval echo configure:2679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2761if { (eval echo configure:2762: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    26792762  rm -rf conftest*
    26802763  ac_cv_type_signal=void
     
    26952778
    26962779echo $ac_n "checking for vprintf""... $ac_c" 1>&6
    2697 echo "configure:2698: checking for vprintf" >&5
     2780echo "configure:2781: checking for vprintf" >&5
    26982781if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
    26992782  echo $ac_n "(cached) $ac_c" 1>&6
    27002783else
    27012784  cat > conftest.$ac_ext <<EOF
    2702 #line 2703 "configure"
     2785#line 2786 "configure"
    27032786#include "confdefs.h"
    27042787/* System header to define __stub macros and hopefully few prototypes,
     
    27232806; return 0; }
    27242807EOF
    2725 if { (eval echo configure:2726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2808if { (eval echo configure:2809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    27262809  rm -rf conftest*
    27272810  eval "ac_cv_func_vprintf=yes"
     
    27472830if test "$ac_cv_func_vprintf" != yes; then
    27482831echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
    2749 echo "configure:2750: checking for _doprnt" >&5
     2832echo "configure:2833: checking for _doprnt" >&5
    27502833if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
    27512834  echo $ac_n "(cached) $ac_c" 1>&6
    27522835else
    27532836  cat > conftest.$ac_ext <<EOF
    2754 #line 2755 "configure"
     2837#line 2838 "configure"
    27552838#include "confdefs.h"
    27562839/* System header to define __stub macros and hopefully few prototypes,
     
    27752858; return 0; }
    27762859EOF
    2777 if { (eval echo configure:2778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2860if { (eval echo configure:2861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    27782861  rm -rf conftest*
    27792862  eval "ac_cv_func__doprnt=yes"
     
    28022885do
    28032886echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2804 echo "configure:2805: checking for $ac_func" >&5
     2887echo "configure:2888: checking for $ac_func" >&5
    28052888if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    28062889  echo $ac_n "(cached) $ac_c" 1>&6
    28072890else
    28082891  cat > conftest.$ac_ext <<EOF
    2809 #line 2810 "configure"
     2892#line 2893 "configure"
    28102893#include "confdefs.h"
    28112894/* System header to define __stub macros and hopefully few prototypes,
     
    28302913; return 0; }
    28312914EOF
    2832 if { (eval echo configure:2833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2915if { (eval echo configure:2916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    28332916  rm -rf conftest*
    28342917  eval "ac_cv_func_$ac_func=yes"
     
    28582941# arithmetic shifts
    28592942echo $ac_n "checking whether your machine has correct arithmetic shifts""... $ac_c" 1>&6
    2860 echo "configure:2861: checking whether your machine has correct arithmetic shifts" >&5
     2943echo "configure:2944: checking whether your machine has correct arithmetic shifts" >&5
    28612944if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then
    28622945  echo $ac_n "(cached) $ac_c" 1>&6
     
    28712954else
    28722955  cat > conftest.$ac_ext <<EOF
    2873 #line 2874 "configure"
     2956#line 2957 "configure"
    28742957#include "confdefs.h"
    28752958 int main() { if (-2 >> 1 == -1) exit(0); else exit(1); }
    28762959EOF
    2877 if { (eval echo configure:2878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2960if { (eval echo configure:2961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    28782961then
    28792962  ac_cv_shift=yes
     
    29002983# check for a peculiar constructor initialization
    29012984echo $ac_n "checking whether explicit C++ constructor calls are allowed""... $ac_c" 1>&6
    2902 echo "configure:2903: checking whether explicit C++ constructor calls are allowed" >&5
     2985echo "configure:2986: checking whether explicit C++ constructor calls are allowed" >&5
    29032986
    29042987ac_ext=C
     
    29132996else
    29142997  cat > conftest.$ac_ext <<EOF
    2915 #line 2916 "configure"
     2998#line 2999 "configure"
    29162999#include "confdefs.h"
    29173000
     
    29313014; return 0; }
    29323015EOF
    2933 if { (eval echo configure:2934: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3016if { (eval echo configure:3017: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    29343017  rm -rf conftest*
    29353018  ac_cv_explicit_const=yes
     
    29603043# sprintf returns number of printed chars
    29613044echo $ac_n "checking whether vsprintf returns number of printed chars""... $ac_c" 1>&6
    2962 echo "configure:2963: checking whether vsprintf returns number of printed chars" >&5
     3045echo "configure:3046: checking whether vsprintf returns number of printed chars" >&5
    29633046if eval "test \"`echo '$''{'ac_cv_returns_n_of_chars'+set}'`\" = set"; then
    29643047  echo $ac_n "(cached) $ac_c" 1>&6
     
    29683051else
    29693052  cat > conftest.$ac_ext <<EOF
    2970 #line 2971 "configure"
     3053#line 3054 "configure"
    29713054#include "confdefs.h"
    29723055#include <stdio.h>
    29733056 main() { char *str=(char*)malloc(20); if (((int) sprintf(str,"123456789")) == 9) exit(0); else exit(1); }
    29743057EOF
    2975 if { (eval echo configure:2976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3058if { (eval echo configure:3059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    29763059then
    29773060  ac_cv_returns_n_of_chars=yes
     
    29993082# determine ALIGN_8
    30003083echo $ac_n "checking size of char""... $ac_c" 1>&6
    3001 echo "configure:3002: checking size of char" >&5
     3084echo "configure:3085: checking size of char" >&5
    30023085if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
    30033086  echo $ac_n "(cached) $ac_c" 1>&6
     
    30073090else
    30083091  cat > conftest.$ac_ext <<EOF
    3009 #line 3010 "configure"
     3092#line 3093 "configure"
    30103093#include "confdefs.h"
    30113094#include <stdio.h>
     
    30183101}
    30193102EOF
    3020 if { (eval echo configure:3021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3103if { (eval echo configure:3104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    30213104then
    30223105  ac_cv_sizeof_char=`cat conftestval`
     
    30383121
    30393122echo $ac_n "checking size of short""... $ac_c" 1>&6
    3040 echo "configure:3041: checking size of short" >&5
     3123echo "configure:3124: checking size of short" >&5
    30413124if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
    30423125  echo $ac_n "(cached) $ac_c" 1>&6
     
    30463129else
    30473130  cat > conftest.$ac_ext <<EOF
    3048 #line 3049 "configure"
     3131#line 3132 "configure"
    30493132#include "confdefs.h"
    30503133#include <stdio.h>
     
    30573140}
    30583141EOF
    3059 if { (eval echo configure:3060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3142if { (eval echo configure:3143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    30603143then
    30613144  ac_cv_sizeof_short=`cat conftestval`
     
    30773160
    30783161echo $ac_n "checking size of int""... $ac_c" 1>&6
    3079 echo "configure:3080: checking size of int" >&5
     3162echo "configure:3163: checking size of int" >&5
    30803163if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
    30813164  echo $ac_n "(cached) $ac_c" 1>&6
     
    30853168else
    30863169  cat > conftest.$ac_ext <<EOF
    3087 #line 3088 "configure"
     3170#line 3171 "configure"
    30883171#include "confdefs.h"
    30893172#include <stdio.h>
     
    30963179}
    30973180EOF
    3098 if { (eval echo configure:3099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3181if { (eval echo configure:3182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    30993182then
    31003183  ac_cv_sizeof_int=`cat conftestval`
     
    31163199
    31173200echo $ac_n "checking size of long""... $ac_c" 1>&6
    3118 echo "configure:3119: checking size of long" >&5
     3201echo "configure:3202: checking size of long" >&5
    31193202if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
    31203203  echo $ac_n "(cached) $ac_c" 1>&6
     
    31243207else
    31253208  cat > conftest.$ac_ext <<EOF
    3126 #line 3127 "configure"
     3209#line 3210 "configure"
    31273210#include "confdefs.h"
    31283211#include <stdio.h>
     
    31353218}
    31363219EOF
    3137 if { (eval echo configure:3138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3220if { (eval echo configure:3221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    31383221then
    31393222  ac_cv_sizeof_long=`cat conftestval`
     
    31553238
    31563239echo $ac_n "checking size of void*""... $ac_c" 1>&6
    3157 echo "configure:3158: checking size of void*" >&5
     3240echo "configure:3241: checking size of void*" >&5
    31583241if eval "test \"`echo '$''{'ac_cv_sizeof_voidp'+set}'`\" = set"; then
    31593242  echo $ac_n "(cached) $ac_c" 1>&6
     
    31633246else
    31643247  cat > conftest.$ac_ext <<EOF
    3165 #line 3166 "configure"
     3248#line 3249 "configure"
    31663249#include "confdefs.h"
    31673250#include <stdio.h>
     
    31743257}
    31753258EOF
    3176 if { (eval echo configure:3177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3259if { (eval echo configure:3260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    31773260then
    31783261  ac_cv_sizeof_voidp=`cat conftestval`
     
    31943277
    31953278echo $ac_n "checking size of double""... $ac_c" 1>&6
    3196 echo "configure:3197: checking size of double" >&5
     3279echo "configure:3280: checking size of double" >&5
    31973280if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then
    31983281  echo $ac_n "(cached) $ac_c" 1>&6
     
    32023285else
    32033286  cat > conftest.$ac_ext <<EOF
    3204 #line 3205 "configure"
     3287#line 3288 "configure"
    32053288#include "confdefs.h"
    32063289#include <stdio.h>
     
    32133296}
    32143297EOF
    3215 if { (eval echo configure:3216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3298if { (eval echo configure:3299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    32163299then
    32173300  ac_cv_sizeof_double=`cat conftestval`
     
    32333316
    32343317echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
    3235 echo "configure:3236: checking whether byte ordering is bigendian" >&5
     3318echo "configure:3319: checking whether byte ordering is bigendian" >&5
    32363319if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
    32373320  echo $ac_n "(cached) $ac_c" 1>&6
     
    32403323# See if sys/param.h defines the BYTE_ORDER macro.
    32413324cat > conftest.$ac_ext <<EOF
    3242 #line 3243 "configure"
     3325#line 3326 "configure"
    32433326#include "confdefs.h"
    32443327#include <sys/types.h>
     
    32513334; return 0; }
    32523335EOF
    3253 if { (eval echo configure:3254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3336if { (eval echo configure:3337: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    32543337  rm -rf conftest*
    32553338  # It does; now see whether it defined to BIG_ENDIAN or not.
    32563339cat > conftest.$ac_ext <<EOF
    3257 #line 3258 "configure"
     3340#line 3341 "configure"
    32583341#include "confdefs.h"
    32593342#include <sys/types.h>
     
    32663349; return 0; }
    32673350EOF
    3268 if { (eval echo configure:3269: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3351if { (eval echo configure:3352: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    32693352  rm -rf conftest*
    32703353  ac_cv_c_bigendian=yes
     
    32863369else
    32873370  cat > conftest.$ac_ext <<EOF
    3288 #line 3289 "configure"
     3371#line 3372 "configure"
    32893372#include "confdefs.h"
    32903373main () {
     
    32993382}
    33003383EOF
    3301 if { (eval echo configure:3302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3384if { (eval echo configure:3385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    33023385then
    33033386  ac_cv_c_bigendian=no
     
    33363419
    33373420echo $ac_n "checking size of system page""... $ac_c" 1>&6
    3338 echo "configure:3339: checking size of system page" >&5
     3421echo "configure:3422: checking size of system page" >&5
    33393422if eval "test \"`echo '$''{'ac_cv_pagesize'+set}'`\" = set"; then
    33403423  echo $ac_n "(cached) $ac_c" 1>&6
     
    33443427else
    33453428  cat > conftest.$ac_ext <<EOF
    3346 #line 3347 "configure"
     3429#line 3430 "configure"
    33473430#include "confdefs.h"
    33483431#include <stdio.h>
     
    33583441}
    33593442EOF
    3360 if { (eval echo configure:3361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3443if { (eval echo configure:3444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    33613444then
    33623445  ac_cv_pagesize=`cat conftestval`
     
    33823465
    33833466echo $ac_n "checking for page aligned valloc""... $ac_c" 1>&6
    3384 echo "configure:3385: checking for page aligned valloc" >&5
     3467echo "configure:3468: checking for page aligned valloc" >&5
    33853468if eval "test \"`echo '$''{'ac_cv_have_page_alignment'+set}'`\" = set"; then
    33863469  echo $ac_n "(cached) $ac_c" 1>&6
     
    34283511else
    34293512  cat > conftest.$ac_ext <<EOF
    3430 #line 3431 "configure"
     3513#line 3514 "configure"
    34313514#include "confdefs.h"
    34323515
     
    34353518
    34363519EOF
    3437 if { (eval echo configure:3438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3520if { (eval echo configure:3521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    34383521then
    34393522  ac_cv_have_page_alignment="ac_cv_usable_pagesize="`cat  conftestval`
     
    34523535else
    34533536  cat > conftest.$ac_ext <<EOF
    3454 #line 3455 "configure"
     3537#line 3538 "configure"
    34553538#include "confdefs.h"
    34563539
     
    34593542
    34603543EOF
    3461 if { (eval echo configure:3462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3544if { (eval echo configure:3545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    34623545then
    34633546  ac_cv_have_page_alignment="ac_cv_usable_pagesize="`cat  conftestval`
     
    34793562else
    34803563  cat > conftest.$ac_ext <<EOF
    3481 #line 3482 "configure"
     3564#line 3565 "configure"
    34823565#include "confdefs.h"
    34833566
     
    34883571
    34893572EOF
    3490 if { (eval echo configure:3491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3573if { (eval echo configure:3574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    34913574then
    34923575  ac_cv_have_page_alignment="ac_cv_have_gmalloc=yes; ac_cv_usable_pagesize="`cat  conftestval`
     
    35053588else
    35063589  cat > conftest.$ac_ext <<EOF
    3507 #line 3508 "configure"
     3590#line 3591 "configure"
    35083591#include "confdefs.h"
    35093592
     
    35143597
    35153598EOF
    3516 if { (eval echo configure:3517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3599if { (eval echo configure:3600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    35173600then
    35183601  ac_cv_have_page_alignment="ac_cv_have_gmalloc=yes; ac_cv_usable_pagesize="`cat  conftestval`
     
    36423725
    36433726echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6
    3644 echo "configure:3645: checking for tgetent in -lncurses" >&5
     3727echo "configure:3728: checking for tgetent in -lncurses" >&5
    36453728ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
    36463729if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    36503733LIBS="-lncurses  $LIBS"
    36513734cat > conftest.$ac_ext <<EOF
    3652 #line 3653 "configure"
     3735#line 3736 "configure"
    36533736#include "confdefs.h"
    36543737/* Override any gcc2 internal prototype to avoid an error.  */
     
    36613744; return 0; }
    36623745EOF
    3663 if { (eval echo configure:3664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3746if { (eval echo configure:3747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    36643747  rm -rf conftest*
    36653748  eval "ac_cv_lib_$ac_lib_var=yes"
     
    36883771\
    36893772 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
    3690 echo "configure:3691: checking for tgetent in -lcurses" >&5
     3773echo "configure:3774: checking for tgetent in -lcurses" >&5
    36913774ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
    36923775if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    36963779LIBS="-lcurses  $LIBS"
    36973780cat > conftest.$ac_ext <<EOF
    3698 #line 3699 "configure"
     3781#line 3782 "configure"
    36993782#include "confdefs.h"
    37003783/* Override any gcc2 internal prototype to avoid an error.  */
     
    37073790; return 0; }
    37083791EOF
    3709 if { (eval echo configure:3710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3792if { (eval echo configure:3793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    37103793  rm -rf conftest*
    37113794  eval "ac_cv_lib_$ac_lib_var=yes"
     
    37343817\
    37353818  echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
    3736 echo "configure:3737: checking for tgetent in -ltermcap" >&5
     3819echo "configure:3820: checking for tgetent in -ltermcap" >&5
    37373820ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
    37383821if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    37423825LIBS="-ltermcap  $LIBS"
    37433826cat > conftest.$ac_ext <<EOF
    3744 #line 3745 "configure"
     3827#line 3828 "configure"
    37453828#include "confdefs.h"
    37463829/* Override any gcc2 internal prototype to avoid an error.  */
     
    37533836; return 0; }
    37543837EOF
    3755 if { (eval echo configure:3756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3838if { (eval echo configure:3839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    37563839  rm -rf conftest*
    37573840  eval "ac_cv_lib_$ac_lib_var=yes"
     
    37963879
    37973880   echo $ac_n "checking for rl_abort in -lreadline""... $ac_c" 1>&6
    3798 echo "configure:3799: checking for rl_abort in -lreadline" >&5
     3881echo "configure:3882: checking for rl_abort in -lreadline" >&5
    37993882ac_lib_var=`echo readline'_'rl_abort | sed 'y%./+-%__p_%'`
    38003883if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    38043887LIBS="-lreadline  $LIBS"
    38053888cat > conftest.$ac_ext <<EOF
    3806 #line 3807 "configure"
     3889#line 3890 "configure"
    38073890#include "confdefs.h"
    38083891/* Override any gcc2 internal prototype to avoid an error.  */
     
    38183901; return 0; }
    38193902EOF
    3820 if { (eval echo configure:3821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3903if { (eval echo configure:3904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    38213904  rm -rf conftest*
    38223905  eval "ac_cv_lib_$ac_lib_var=yes"
     
    38463929
    38473930   echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
    3848 echo "configure:3849: checking how to run the C++ preprocessor" >&5
     3931echo "configure:3932: checking how to run the C++ preprocessor" >&5
    38493932if test -z "$CXXCPP"; then
    38503933if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
     
    38593942  CXXCPP="${CXX-g++} -E"
    38603943  cat > conftest.$ac_ext <<EOF
    3861 #line 3862 "configure"
     3944#line 3945 "configure"
    38623945#include "confdefs.h"
    38633946#include <stdlib.h>
    38643947EOF
    38653948ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3866 { (eval echo configure:3867: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3949{ (eval echo configure:3950: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    38673950ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    38683951if test -z "$ac_err"; then
     
    38923975ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    38933976echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    3894 echo "configure:3895: checking for $ac_hdr" >&5
     3977echo "configure:3978: checking for $ac_hdr" >&5
    38953978if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    38963979  echo $ac_n "(cached) $ac_c" 1>&6
    38973980else
    38983981  cat > conftest.$ac_ext <<EOF
    3899 #line 3900 "configure"
     3982#line 3983 "configure"
    39003983#include "confdefs.h"
    39013984#include <$ac_hdr>
    39023985EOF
    39033986ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3904 { (eval echo configure:3905: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3987{ (eval echo configure:3988: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    39053988ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    39063989if test -z "$ac_err"; then
     
    39314014      test "$ac_cv_header_readline_readline_h" = yes; then
    39324015     echo $ac_n "checking whether readline.h is ok""... $ac_c" 1>&6
    3933 echo "configure:3934: checking whether readline.h is ok" >&5
     4016echo "configure:4017: checking whether readline.h is ok" >&5
    39344017     if eval "test \"`echo '$''{'ac_cv_header_readline_readline_h_ok'+set}'`\" = set"; then
    39354018  echo $ac_n "(cached) $ac_c" 1>&6
    39364019else
    39374020  cat > conftest.$ac_ext <<EOF
    3938 #line 3939 "configure"
     4021#line 4022 "configure"
    39394022#include "confdefs.h"
    39404023#include<unistd.h>
     
    39614044; return 0; }
    39624045EOF
    3963 if { (eval echo configure:3964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4046if { (eval echo configure:4047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    39644047  rm -rf conftest*
    39654048  ac_cv_header_readline_readline_h_ok="yes"
     
    39774060#not ok -- try once more with explicitly declaring everything
    39784061      echo $ac_n "checking whether or not we nevertheless can use readline""... $ac_c" 1>&6
    3979 echo "configure:3980: checking whether or not we nevertheless can use readline" >&5
     4062echo "configure:4063: checking whether or not we nevertheless can use readline" >&5
    39804063      if eval "test \"`echo '$''{'ac_cv_have_readline'+set}'`\" = set"; then
    39814064  echo $ac_n "(cached) $ac_c" 1>&6
    39824065else
    39834066  cat > conftest.$ac_ext <<EOF
    3984 #line 3985 "configure"
     4067#line 4068 "configure"
    39854068#include "confdefs.h"
    39864069#include <stdio.h>
    3987 
    3988 int main() {
     4070extern "C"
     4071{
    39894072extern char * rl_readline_name;
    39904073extern char *rl_line_buffer;
     
    39974080void add_history ();
    39984081int write_history ();
     4082int read_history();
     4083}
    39994084#ifndef NULL
    40004085#define NULL 0
    40014086#endif
    4002  rl_readline_name=NULL;
     4087
     4088int main() {
     4089rl_readline_name=NULL;
    40034090*rl_line_buffer=1;
    40044091completion_matches(NULL, filename_completion_function);
     
    40124099; return 0; }
    40134100EOF
    4014 if { (eval echo configure:4015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4101if { (eval echo configure:4102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    40154102  rm -rf conftest*
    40164103  ac_cv_have_readline="yes"
     
    40564143# gmp, smallgmp, MP, MPT, factory, libfac
    40574144echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6
    4058 echo "configure:4059: checking for main in -lgmp" >&5
     4145echo "configure:4146: checking for main in -lgmp" >&5
    40594146ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'`
    40604147if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    40644151LIBS="-lgmp  $LIBS"
    40654152cat > conftest.$ac_ext <<EOF
    4066 #line 4067 "configure"
     4153#line 4154 "configure"
    40674154#include "confdefs.h"
    40684155
     
    40714158; return 0; }
    40724159EOF
    4073 if { (eval echo configure:4074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4160if { (eval echo configure:4161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    40744161  rm -rf conftest*
    40754162  eval "ac_cv_lib_$ac_lib_var=yes"
     
    41024189fi
    41034190echo $ac_n "checking for main in -lsmallgmp""... $ac_c" 1>&6
    4104 echo "configure:4105: checking for main in -lsmallgmp" >&5
     4191echo "configure:4192: checking for main in -lsmallgmp" >&5
    41054192ac_lib_var=`echo smallgmp'_'main | sed 'y%./+-%__p_%'`
    41064193if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    41104197LIBS="-lsmallgmp  $LIBS"
    41114198cat > conftest.$ac_ext <<EOF
    4112 #line 4113 "configure"
     4199#line 4200 "configure"
    41134200#include "confdefs.h"
    41144201
     
    41174204; return 0; }
    41184205EOF
    4119 if { (eval echo configure:4120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4206if { (eval echo configure:4207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    41204207  rm -rf conftest*
    41214208  eval "ac_cv_lib_$ac_lib_var=yes"
     
    41454232
    41464233echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6
    4147 echo "configure:4148: checking for IMP_PutGmpInt in -lMP" >&5
     4234echo "configure:4235: checking for IMP_PutGmpInt in -lMP" >&5
    41484235ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'`
    41494236if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    41534240LIBS="-lMP  $LIBS"
    41544241cat > conftest.$ac_ext <<EOF
    4155 #line 4156 "configure"
     4242#line 4243 "configure"
    41564243#include "confdefs.h"
    41574244/* Override any gcc2 internal prototype to avoid an error.  */
     
    41644251; return 0; }
    41654252EOF
    4166 if { (eval echo configure:4167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4253if { (eval echo configure:4254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    41674254  rm -rf conftest*
    41684255  eval "ac_cv_lib_$ac_lib_var=yes"
     
    41924279
    41934280echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6
    4194 echo "configure:4195: checking for MPT_GetTree in -lMPT" >&5
     4281echo "configure:4282: checking for MPT_GetTree in -lMPT" >&5
    41954282ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'`
    41964283if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    42004287LIBS="-lMPT  $LIBS"
    42014288cat > conftest.$ac_ext <<EOF
    4202 #line 4203 "configure"
     4289#line 4290 "configure"
    42034290#include "confdefs.h"
    42044291/* Override any gcc2 internal prototype to avoid an error.  */
     
    42114298; return 0; }
    42124299EOF
    4213 if { (eval echo configure:4214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4300if { (eval echo configure:4301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    42144301  rm -rf conftest*
    42154302  eval "ac_cv_lib_$ac_lib_var=yes"
     
    42394326
    42404327echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6
    4241 echo "configure:4242: checking for atof in -lsingcf" >&5
     4328echo "configure:4329: checking for atof in -lsingcf" >&5
    42424329ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'`
    42434330if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    42474334LIBS="-lsingcf  $LIBS"
    42484335cat > conftest.$ac_ext <<EOF
    4249 #line 4250 "configure"
     4336#line 4337 "configure"
    42504337#include "confdefs.h"
    42514338/* Override any gcc2 internal prototype to avoid an error.  */
     
    42584345; return 0; }
    42594346EOF
    4260 if { (eval echo configure:4261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4347if { (eval echo configure:4348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    42614348  rm -rf conftest*
    42624349  eval "ac_cv_lib_$ac_lib_var=yes"
     
    42864373
    42874374echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6
    4288 echo "configure:4289: checking for atof in -lsingfac" >&5
     4375echo "configure:4376: checking for atof in -lsingfac" >&5
    42894376ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'`
    42904377if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    42944381LIBS="-lsingfac  $LIBS"
    42954382cat > conftest.$ac_ext <<EOF
    4296 #line 4297 "configure"
     4383#line 4384 "configure"
    42974384#include "confdefs.h"
    42984385/* Override any gcc2 internal prototype to avoid an error.  */
     
    43054392; return 0; }
    43064393EOF
    4307 if { (eval echo configure:4308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4394if { (eval echo configure:4395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    43084395  rm -rf conftest*
    43094396  eval "ac_cv_lib_$ac_lib_var=yes"
     
    43374424ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    43384425echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    4339 echo "configure:4340: checking for $ac_hdr" >&5
     4426echo "configure:4427: checking for $ac_hdr" >&5
    43404427if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    43414428  echo $ac_n "(cached) $ac_c" 1>&6
    43424429else
    43434430  cat > conftest.$ac_ext <<EOF
    4344 #line 4345 "configure"
     4431#line 4432 "configure"
    43454432#include "confdefs.h"
    43464433#include <$ac_hdr>
    43474434EOF
    43484435ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4349 { (eval echo configure:4350: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4436{ (eval echo configure:4437: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    43504437ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    43514438if test -z "$ac_err"; then
     
    44044491# evaluate results
    44054492echo $ac_n "checking which apint package to use""... $ac_c" 1>&6
    4406 echo "configure:4407: checking which apint package to use" >&5
     4493echo "configure:4494: checking which apint package to use" >&5
    44074494if test "${with_apint}" != gmp && test "${with_apint}" != smallgmp; then
    44084495  if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then
     
    44484535if test "$with_dl" != no; then
    44494536  echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
    4450 echo "configure:4451: checking for dlopen in -ldl" >&5
     4537echo "configure:4538: checking for dlopen in -ldl" >&5
    44514538ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
    44524539if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    44564543LIBS="-ldl  $LIBS"
    44574544cat > conftest.$ac_ext <<EOF
    4458 #line 4459 "configure"
     4545#line 4546 "configure"
    44594546#include "confdefs.h"
    44604547/* Override any gcc2 internal prototype to avoid an error.  */
     
    44674554; return 0; }
    44684555EOF
    4469 if { (eval echo configure:4470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4556if { (eval echo configure:4557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    44704557  rm -rf conftest*
    44714558  eval "ac_cv_lib_$ac_lib_var=yes"
     
    45074594  fi
    45084595  echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
    4509 echo "configure:4510: checking for shl_load in -ldld" >&5
     4596echo "configure:4597: checking for shl_load in -ldld" >&5
    45104597ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
    45114598if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    45154602LIBS="-ldld  $LIBS"
    45164603cat > conftest.$ac_ext <<EOF
    4517 #line 4518 "configure"
     4604#line 4605 "configure"
    45184605#include "confdefs.h"
    45194606/* Override any gcc2 internal prototype to avoid an error.  */
     
    45264613; return 0; }
    45274614EOF
    4528 if { (eval echo configure:4529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4615if { (eval echo configure:4616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    45294616  rm -rf conftest*
    45304617  eval "ac_cv_lib_$ac_lib_var=yes"
     
    45664653
    45674654echo $ac_n "checking whether to have MP""... $ac_c" 1>&6
    4568 echo "configure:4569: checking whether to have MP" >&5
     4655echo "configure:4656: checking whether to have MP" >&5
    45694656if test "${with_MP}" != yes && test "${with_MP}" != no; then
    45704657  if (test "${will_have_gmp}" = yes) && \
     
    45974684
    45984685echo $ac_n "checking whether to have factory""... $ac_c" 1>&6
    4599 echo "configure:4600: checking whether to have factory" >&5
     4686echo "configure:4687: checking whether to have factory" >&5
    46004687if test "${with_factory}" != yes && test "${with_factory}" != no; then
    46014688  if test "$ac_factory_ok" =  yes || test "$enable_factory" = yes; then
     
    46284715
    46294716echo $ac_n "checking whether to have libfac""... $ac_c" 1>&6
    4630 echo "configure:4631: checking whether to have libfac" >&5
     4717echo "configure:4718: checking whether to have libfac" >&5
    46314718if test "${with_libfac}" != yes && test "${with_libfac}" != no; then
    46324719  if (test "${will_have_factory}" = yes) && \
     
    46604747
    46614748echo $ac_n "checking whether to have dbm links""... $ac_c" 1>&6
    4662 echo "configure:4663: checking whether to have dbm links" >&5
     4749echo "configure:4750: checking whether to have dbm links" >&5
    46634750if test "$with_dbm" != no; then
    46644751  cat >> confdefs.h <<\EOF
     
    46724759
    46734760echo $ac_n "checking whether to have namespaces""... $ac_c" 1>&6
    4674 echo "configure:4675: checking whether to have namespaces" >&5
     4761echo "configure:4762: checking whether to have namespaces" >&5
    46754762if test "$with_namespaces" != yes; then
    46764763  echo "$ac_t""no" 1>&6
     
    46844771
    46854772echo $ac_n "checking whether to have dynamic loading""... $ac_c" 1>&6
    4686 echo "configure:4687: checking whether to have dynamic loading" >&5
     4773echo "configure:4774: checking whether to have dynamic loading" >&5
    46874774if test "$with_dl" != yes; then
    46884775  echo "$ac_t""no" 1>&6
     
    46974784        HPUX-9)
    46984785          echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
    4699 echo "configure:4700: checking for shl_load in -ldld" >&5
     4786echo "configure:4787: checking for shl_load in -ldld" >&5
    47004787ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
    47014788if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    47054792LIBS="-ldld  $LIBS"
    47064793cat > conftest.$ac_ext <<EOF
    4707 #line 4708 "configure"
     4794#line 4795 "configure"
    47084795#include "confdefs.h"
    47094796/* Override any gcc2 internal prototype to avoid an error.  */
     
    47164803; return 0; }
    47174804EOF
    4718 if { (eval echo configure:4719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4805if { (eval echo configure:4806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    47194806  rm -rf conftest*
    47204807  eval "ac_cv_lib_$ac_lib_var=yes"
     
    47484835        HPUX-10)
    47494836          echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
    4750 echo "configure:4751: checking for shl_load in -ldld" >&5
     4837echo "configure:4838: checking for shl_load in -ldld" >&5
    47514838ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
    47524839if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    47564843LIBS="-ldld  $LIBS"
    47574844cat > conftest.$ac_ext <<EOF
    4758 #line 4759 "configure"
     4845#line 4846 "configure"
    47594846#include "confdefs.h"
    47604847/* Override any gcc2 internal prototype to avoid an error.  */
     
    47674854; return 0; }
    47684855EOF
    4769 if { (eval echo configure:4770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4856if { (eval echo configure:4857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    47704857  rm -rf conftest*
    47714858  eval "ac_cv_lib_$ac_lib_var=yes"
     
    48064893
    48074894echo $ac_n "checking whether to use mtrack""... $ac_c" 1>&6
    4808 echo "configure:4809: checking whether to use mtrack" >&5
     4895echo "configure:4896: checking whether to use mtrack" >&5
    48094896if test "$with_mtrack" = yes && test "$ac_cv_singuname" = ix86-Linux; then
    48104897  echo "$ac_t""yes" 1>&6
     
    48204907
    48214908echo $ac_n "checking which exponent type to use""... $ac_c" 1>&6
    4822 echo "configure:4823: checking which exponent type to use" >&5
     4909echo "configure:4910: checking which exponent type to use" >&5
    48234910if test "$with_exp_type" = "char"; then
    48244911  echo "$ac_t""char" 1>&6
     
    49525039
    49535040ac_given_srcdir=$srcdir
     5041ac_given_INSTALL="$INSTALL"
    49545042
    49555043trap 'rm -fr `echo "Makefile mod2.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
     
    49925080s%@CPP@%$CPP%g
    49935081s%@CXX@%$CXX%g
     5082s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
     5083s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
     5084s%@INSTALL_DATA@%$INSTALL_DATA%g
    49945085s%@PIPE@%$PIPE%g
    49955086s%@CXXTEMPLFLAGS@%$CXXTEMPLFLAGS%g
     
    50835174  esac
    50845175
     5176  case "$ac_given_INSTALL" in
     5177  [/$]*) INSTALL="$ac_given_INSTALL" ;;
     5178  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
     5179  esac
    50855180
    50865181  echo creating "$ac_file"
     
    50985193s%@srcdir@%$srcdir%g
    50995194s%@top_srcdir@%$top_srcdir%g
     5195s%@INSTALL@%$INSTALL%g
    51005196" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
    51015197fi; done
  • Singular/configure.in

    rf9bfec ref0124  
    4848SINGULAR_MAJOR_VERSION=${SINGULAR_MAJOR_VERSION:-1}
    4949SINGULAR_MINOR_VERSION=${SINGULAR_MINOR_VERSION:-3}
    50 SINGULAR_SUB_VERSION=${SINGULAR_SUB_VERSION:-7}
     50SINGULAR_SUB_VERSION=${SINGULAR_SUB_VERSION:-8}
    5151SINGULAR_VERSION="${SINGULAR_VERSION:-$SINGULAR_MAJOR_VERSION${VERSION_SEP}$SINGULAR_MINOR_VERSION${VERSION_SEP}$SINGULAR_SUB_VERSION}"
    52 VERSION_DATE=${VERSION_DATE:-"March 2000"}
     52VERSION_DATE=${VERSION_DATE:-"May 2000"}
    5353
    5454dnl pass them on into the Makefiles
     
    8585AC_PROG_CPP
    8686AC_PROG_CXX
     87AC_PROG_INSTALL
    8788AC_AIX
    8889
     
    173174# expand bindir
    174175test "x$bindir" = 'x${exec_prefix}/bin' && bindir="${exec_prefix}"
    175 SINGULAR=${SINGULAR:-$bindir/Singular-$SINGULAR_MAJOR_VERSION${VERSION_SEP}$SINGULAR_MINOR_VERSION${VERSION_SEP}$SINGULAR_SUB_VERSION}${EXEC_EXT}
     176SINGULAR=${SINGULAR:-$bindir/Singular-$SINGULAR_MAJOR_VERSION${VERSION_SEP}$SINGULAR_MINOR_VERSION${VERSION_SEP}$SINGULAR_SUB_VERSION}
    176177AC_SUBST(SINGULAR)
    177178AC_DEFINE_UNQUOTED(S_BIN_DIR, "${bindir}")
     
    575576      AC_TRY_LINK(
    576577#include <stdio.h>
    577 ,
     578extern "C"
     579{
    578580extern char * rl_readline_name;
    579581extern char *rl_line_buffer;
     
    586588void add_history ();
    587589int write_history ();
     590int read_history();
     591}
    588592#ifndef NULL
    589593#define NULL 0
    590594#endif
    591  rl_readline_name=NULL;
     595,
     596rl_readline_name=NULL;
    592597*rl_line_buffer=1;
    593598completion_matches(NULL, filename_completion_function);
  • Singular/emacs.cc

    rf9bfec ref0124  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: emacs.cc,v 1.12 2000-04-27 10:07:05 obachman Exp $ */
     4/* $Id: emacs.cc,v 1.13 2000-05-05 18:40:27 obachman Exp $ */
    55/*
    66* ABSTRACT: Esingular main file
     
    1010#include <unistd.h>
    1111#include <stdlib.h>
    12 
     12#include <windows.h>
    1313#include "mod2.h"
    1414#include "version.h"
    1515
     16#if !defined(TSINGULAR) && !defined(ESINGULAR)
    1617#define ESINGULAR
     18#endif
    1719
    1820#define Alloc   malloc
     
    3840#  define  DIR_SEPP "/"
    3941#  define  UP_DIR ".."
    40 #define Warn  printf
    41 #define WarnS printf
     42
     43#ifndef WINNT
     44void error(const char *fmt, ...)
     45{
     46  va_list ap;
     47  va_start(ap, fmt);
     48  fprintf(stderr, fmt, ap);
     49}
     50#else
     51#include <windows.h>
     52void error(char* fmt, ...)
     53{
     54   char buf[4096];
     55   int j =0;
     56   va_list args;
     57   va_start(args, fmt);
     58   j =   sprintf(buf,    "");
     59   j += vsprintf(buf + j,fmt,args);
     60   j +=  sprintf(buf + j,"\n");
     61   va_end(args);
     62   MessageBox(NULL, buf, "ESingular.exe", MB_ICONSTOP);
     63   exit(1);
     64}
     65#endif
     66
     67#define Warn  error
     68#define WarnS error
    4269#define StringAppend printf
    43 #define Print printf
     70#define Print error
    4471
    4572#define feReportBug(s) fePrintReportBug(s, __FILE__, __LINE__)
    4673void fePrintReportBug(char* msg, char* file, int line)
    4774{
    48   WarnS("YOU HAVE FOUND A BUG IN SINGULAR. ");
    49   WarnS("Please, email the following output to singular@mathematik.uni-kl.de ");
    50   Warn("Bug occured at %s:%d ", file, line);
    51   Warn("Message: %s ", msg);
    52   Warn("Version: " S_UNAME S_VERSION1 " (%lu) " __DATE__ __TIME__,
    53        feVersionId);
     75  error("YOU HAVE FOUND A BUG IN SINGULAR.
     76Please, email the following output to singular@mathematik.uni-kl.de
     77Bug occured at %s:%d
     78Message: %s
     79Version: " S_UNAME S_VERSION1 " (%lu) " __DATE__ __TIME__,
     80        file, line, msg, feVersionId);
     81
    5482}
    5583
    5684void assume_violation(char* file, int line)
    5785{
    58   fprintf(stderr, "Internal assume violation: file %s line %d\n", file, line);
     86  error( "Internal assume violation: file %s line %d\n", file, line);
    5987}
    6088   
     
    6795void mainUsage()
    6896{
    69   fprintf(stderr, "Use `%s --help' for a complete list of options\n", feArgv0);
     97  error( "Use `%s --help' for a complete list of options\n", feArgv0);
    7098}
    7199
     
    108136          switch(option_index)
    109137          {
     138#ifdef TSINGULAR
     139              case FE_OPT_XTERM:
     140                emacs = fe_optarg;
     141              break;
     142#else             
    110143              case FE_OPT_EMACS:
    111144                emacs = fe_optarg;
     
    119152                emacs_load = fe_optarg;
    120153                break;
    121                
     154#endif               
    122155              case FE_OPT_SINGULAR:
    123156                singular = fe_optarg;
    124157                break;
    125158
    126               case FE_OPT_NO_EMACS_CALL:
     159              case FE_OPT_NO_CALL:
    127160                no_emacs_call = 1;
    128161                break;
     
    142175    NEXT:{}
    143176  }
    144  
     177
     178  int i, length = 0;
     179  char* syscall;
     180  for (i=1; i<argc; i++)
     181  {
     182    if (argv[i] != NULL) length += strlen(argv[i]) + 3;
     183  }
     184
     185#ifdef TSINGULAR
     186  if (emacs == NULL) emacs = feResource('X', 0);
     187  if (emacs == NULL)
     188  {
     189    error( "Error: Can't find emacs xterm program. \n Expected it at %s or %s\n Specify alternative with --xterm=PROGRAM option,\n or set ESINGULAR_EMACS environment variable to the name of the program to use as xterm.\n",
     190           feResourceDefault('X'));
     191    mainUsage();
     192    exit(1);
     193  }
     194 
     195  if (singular == NULL) singular = feResource("SingularXterm", 0);
     196  if (singular == NULL)
     197  {
     198    error( "Error: Can't find singular executable.\n Expected it at %s\n Specify with --singular option,\n or set TSINGULAR_SINGULAR environment variable.\n",
     199            feResourceDefault("SingularXterm"));
     200    mainUsage();
     201    exit(1);
     202  }
     203
     204#ifdef WINNT
     205#define EXTRA_XTERM_ARGS "+vb -sl 2000 -fb Courier-bold-13 -tn linux -cr Red3"
     206#else
     207#define EXTRA_XTERM_ARGS ""
     208#endif
     209
     210  syscall = (char*) AllocL(strlen(emacs) +
     211                                 strlen(singular) +
     212                                 length + 300);
     213  sprintf(syscall, "%s %s -e %s ", emacs, EXTRA_XTERM_ARGS, singular);
     214
     215  for (i=1; i<argc; i++)
     216  {
     217    if (argv[i] != NULL)
     218    {
     219      strcat(syscall, " ");
     220      strcat(syscall, argv[i]);
     221    }
     222  }
     223#else 
    145224  // make sure  emacs, singular, emacs_dir, emacs_load are set
    146225  if (emacs == NULL) emacs = feResource("emacs", 0);
     
    148227  if (emacs == NULL)
    149228  {
    150     fprintf(stderr, "Error: Can't find emacs executable. \n Expected it at %s\n Specify alternative with --emacs option,\n or set ESINGULAR_EMACS environment variable.\n",
    151             feResourceDefault("emacs"));
     229    error( "Error: Can't find emacs or xemacs executable. \n Expected it at %s or %s\n Specify alternative with --emacs option,\n or set ESINGULAR_EMACS environment variable.\n",
     230            feResourceDefault("emacs"), feResourceDefault("xemacs"));
    152231    mainUsage();
    153232    exit(1);
     
    157236  if (singular == NULL)
    158237  {
    159     fprintf(stderr, "Error: Can't find singular executable.\n Expected it at %s\n Specify with --singular option,\n or set ESINGULAR_SINGULAR environment variable.\n",
     238    error( "Error: Can't find singular executable.\n Expected it at %s\n Specify with --singular option,\n or set ESINGULAR_SINGULAR environment variable.\n",
    160239            feResourceDefault("SingularEmacs"));
    161240    mainUsage();
     
    166245  if (emacs_dir == NULL)
    167246  {
    168     fprintf(stderr, "Error: Can't find emacs directory for Singular lisp files. \n Expected it at %s\n Specify with --emacs_dir option,\n or set ESINGULAR_EMACS_DIR environment variable.\n",
     247    error( "Error: Can't find emacs directory for Singular lisp files. \n Expected it at %s\n Specify with --emacs_dir option,\n or set ESINGULAR_EMACS_DIR environment variable.\n",
    169248            feResourceDefault("EmacsDir"));
    170249    mainUsage();
     
    191270        if (emacs_load == NULL)
    192271        {
    193           fprintf(stderr, "Error: Can't find emacs load file for Singular mode. \n Expected it at %s\n Specify with --emacs_load option,\n or set ESINGULAR_EMACS_LOAD environment variable,\n or put file '.emacs-singular' in your home directory.\n",
     272          error( "Error: Can't find emacs load file for Singular mode. \n Expected it at %s\n Specify with --emacs_load option,\n or set ESINGULAR_EMACS_LOAD environment variable,\n or put file '.emacs-singular' in your home directory.\n",
    194273                  feResourceDefault("EmacsLoad")); 
    195274          mainUsage();
     
    200279  }
    201280 
    202   // construct options
    203   int i, length = 0;
    204   for (i=1; i<argc; i++)
    205   {
    206     if (argv[i] != NULL) length += strlen(argv[i]) + 3;
    207   }
    208  
    209   char* syscall = (char*) AllocL(strlen(emacs) +
    210                                  strlen(singular) +
    211                                  strlen(emacs_dir) +
    212                                  strlen(emacs_load) +
    213                                  length + 300);
     281  syscall = (char*) AllocL(strlen(emacs) +
     282                           strlen(singular) +
     283                           strlen(emacs_dir) +
     284                           strlen(emacs_load) +
     285                           length + 300);
    214286  char* prefix = "--";
    215287  if (strstr(emacs, "xemacs") || strstr(emacs, "Xemacs") || strstr(emacs, "XEMACS"))
     
    225297          singular, cwd);
    226298
     299
    227300  for (i=1; i<argc; i++)
    228301  {
     
    235308  }
    236309  strcat(syscall, ") \"singular\")'");
    237  
     310#endif
     311
    238312  if (no_emacs_call)
    239313  {
     
    244318    if (system(syscall) != 0)
    245319    {
    246       fprintf(stderr, "Error: Execution of\n%s\n", syscall);
     320      error( "Error: Execution of\n%s\n", syscall);
    247321      mainUsage();
    248322      exit(1);
  • Singular/feOpt.cc

    rf9bfec ref0124  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: feOpt.cc,v 1.10 2000-04-27 10:07:06 obachman Exp $ */
     4/* $Id: feOpt.cc,v 1.11 2000-05-05 18:40:28 obachman Exp $ */
    55/*
    66* ABSTRACT: Implementation of option buisness
     
    5252// i.e., their help is not printed on -h
    5353//
     54#if defined(ESINGULAR) || defined(TSINGULAR)
    5455#ifdef ESINGULAR
    5556// options only relevant for ESINGULAR
     
    6263  {"emacs-load",        required_argument,  LONG_OPTION_RETURN,
    6364   "FILE",      "Load FILE on emacs start-up, instead of default",     feOptString, 0,   0},
     65#else
     66  {"xterm",         required_argument,      LONG_OPTION_RETURN,
     67   "XTERM",     "Use XTERM as terminal program to run Singular",          feOptString, 0,   0},
     68#endif 
    6469
    6570  {"singular",          required_argument,  LONG_OPTION_RETURN,
    6671   "PROG",      "Start PROG as Singular program within emacs",         feOptString, 0,   0},
    6772
    68   {"no-emacs-call",     no_argument,        LONG_OPTION_RETURN,
    69    0,          "Do not start emacs. Print emacs-call to stdout",       feOptBool,   0,   0},
     73  {"no-call",     no_argument,        LONG_OPTION_RETURN,
     74   0,          "Do not start program. Print call to stdout",       feOptBool,   0,   0},
    7075#endif
    7176
     
    171176#ifdef ESINGULAR
    172177  fd = fopen("feOptES.inc", "w");
    173 #else
     178#elif defined(TSINGULAR)
     179  fd = fopen("feOptXS.inc", "w");
     180#else 
    174181  fd = fopen("feOpt.inc", "w");
    175182#endif
     
    262269// Return: NULL -- everything ok
    263270//         "error-string" on error
    264 #ifndef ESINGULAR
     271#if !defined(ESINGULAR) && !defined(TSINGULAR)
    265272#include "mmemory.h"
    266273#include "febase.h"
  • Singular/feOpt.h

    rf9bfec ref0124  
    44*  Computer Algebra System SINGULAR     *
    55****************************************/
    6 /* $Id: feOpt.h,v 1.5 2000-02-01 15:30:23 Singular Exp $ */
     6/* $Id: feOpt.h,v 1.6 2000-05-05 18:40:28 obachman Exp $ */
    77/*
    88* ABSTRACT: Declarations for working with Options
     
    2323#ifdef ESINGULAR
    2424#include "feOptES.inc"
     25#elif defined(TSINGULAR)
     26#include "feOptTS.inc"
    2527#else
    2628#include "feOpt.inc"
  • Singular/feResource.cc

    rf9bfec ref0124  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: feResource.cc,v 1.23 2000-04-27 10:07:06 obachman Exp $ */
     4/* $Id: feResource.cc,v 1.24 2000-05-05 18:40:28 obachman Exp $ */
    55/*
    66* ABSTRACT: management of resources
     
    1111#include "mod2.h"
    1212#include "distrib.h"
    13 #ifndef ESINGULAR
     13#if !defined(ESINGULAR) && !defined(TSINGULAR)
    1414#include "mmemory.h"
    1515#include "febase.h"
     
    2121
    2222#if defined(MAKE_DISTRIBUTION)
    23 #if defined(WINNT)
     23#if defined(WINNT) && ! defined(__CYGWIN__)
    2424#define SINGULAR_DEFAULT_DIR "/Singular/"S_VERSION1
    2525#elif defined(macintosh)
     
    8080  {"info",      'I',    feResBinary,"INFO",                 "%b/info",              ""},
    8181  {"tkinfo",    'T',    feResBinary,"TKINFO",               "%b/tkinfo",            ""},
     82#ifdef WINNT
     83  {"rxvt",     'X',    feResBinary,"RXVT",                "%b/rxvt",             ""},
     84#else
    8285  {"xterm",     'X',    feResBinary,"XTERM",                "%b/xterm",             ""},
     86#endif
    8387  {"Path",      'p',    feResPath,  NULL,                   "%b;$PATH",         ""},
    8488#endif // ! defined(macintosh)
     
    9094  {"EmacsLoad",'l',    feResFile,   "ESINGULAR_EMACS_LOAD",  "%e/.emacs-singular",             ""},
    9195  {"EmacsDir",  'e',    feResDir,   "ESINGULAR_EMACS_DIR",   "%r/emacs",             ""},
     96#elif defined(TSINGULAR)
     97  {"SingularXterm",'M',feResBinary, "TSINGULAR_SINGULAR",    "%b/Singular",           ""},
    9298#else
    9399  {"EmacsDir",  'e',    feResDir,   "SINGULAR_EMACS_DIR",   "%r/emacs",             ""},
     
    254260static char* feResourceDefault(feResourceConfig config)
    255261{
     262  if (config == NULL) return NULL;
    256263  char* value = (char*) AllocL(MAXRESOURCELEN);
    257264  feSprintf(value, config->fmt, -1);
     
    299306    if (executable != NULL)
    300307    {
     308#ifdef RESOURCE_DEBUG
     309      printf("exec:%s\n", executable);
     310#endif
    301311      strcpy(value, executable);
     312#ifdef RESOURCE_DEBUG
     313      printf("value:%s\n", value);
     314#endif
    302315      FreeL(executable);
    303316    }
     
    317330    }
    318331  }
     332
     333#ifdef RESOURCE_DEBUG
     334      printf("value:%s\n", value);
     335#endif
    319336
    320337  if (*value == '\0' && config->fmt != NULL )
     
    401418  char* executable = find_executable(feArgv0);
    402419#ifdef RESOURCE_DEBUG
    403   printf("feGetExpandedExecutable: find_exec exited with =%s=\n", executable);
     420  printf("feGetExpandedExecutable: find_exec exited with =%s=%d\n", executable, access(executable, X_OK));
    404421#endif
    405422  if (executable == NULL)
     
    421438#ifdef RESOURCE_DEBUG
    422439  printf("feVerifyResourceValue: entering with =%s=\n", value);
     440  printf("%d:%d\n", access(value, R_OK), access(value, X_OK));
    423441#endif
    424442  switch(type)
     
    449467{
    450468  if (value == NULL || *value == '\0') return value;
     469#ifdef RESOURCE_DEBUG
     470      printf("Clean value:%s\n", value);
     471#endif
    451472#ifdef WINNT
     473#ifdef RESOURCE_DEBUG
     474      printf("Clean WINNT value:%s\n", value);
     475#endif
    452476  if (type == feResBinary)
    453477  {
    454478    int l = strlen(value);
    455     if (l < 4 || strcmp(&value[l-4], ".exe") != 0)
     479    if (l < 4 || (strcmp(&value[l-4], ".exe") != 0 &&
     480                  strcmp(&value[l-4], ".EXE") != 0))
    456481      strcat(value, ".exe");
    457482  }
  • Singular/fehelp.cc

    rf9bfec ref0124  
    2323#include "feOpt.h"
    2424
     25
    2526/*****************************************************************
    2627 *
     
    6465// browser functions
    6566static BOOLEAN heInfoInit(int);    static void heInfoHelp(heEntry hentry);
    66 #if ! defined(WINNT) && ! defined(macintosh)
     67#if ! defined(macintosh)
    6768static BOOLEAN heNetscapeInit(int);static void heNetscapeHelp(heEntry hentry);
    6869static BOOLEAN heXinfoInit(int);   static void heXinfoHelp(heEntry hentry);
     
    7374static BOOLEAN heEmacsInit(int);   static void heEmacsHelp(heEntry hentry);
    7475
     76#ifdef WINNT
     77static void heHtmlHelp(heEntry hentry);
     78extern "C" void heOpenWinntUrl(const char* url, int local);
     79#endif
     80
    7581static heBrowser heCurrentHelpBrowser = NULL;
    7682
     
    8490static heBrowser_s heHelpBrowsers[] =
    8591{
    86 #if ! defined(WINNT) && ! defined(macintosh)
     92#ifdef WINNT
     93  { "html",     heDummyInit,    heHtmlHelp},
     94#endif
     95#if ! defined(macintosh)
    8796  { "netscape", heNetscapeInit, heNetscapeHelp},
    8897  { "tkinfo",   heTkinfoInit,   heTkinfoHelp},
     
    732741}
    733742
    734 #if ! defined(WINNT) && ! defined(macintosh)
     743#if ! defined(macintosh)
    735744static BOOLEAN heNetscapeInit(int warn)
    736745{
     
    740749    return FALSE;
    741750  }
     751#ifndef WINNT
    742752  if (getenv("DISPLAY") == NULL)
    743753  {
     
    746756    return FALSE;
    747757  }
    748 
     758#endif
    749759 
    750760  if (feResource('h' /*"HtmlDir"*/, (feOptValue(FE_OPT_ALLOW_NET)? 0 : warn))
     
    787797    sprintf(url, "%s%s/index.htm", urltype, htmldir);
    788798  }
     799#ifndef WINNT
    789800  sprintf(sys, "%s --remote 'OpenUrl(%s)' > /dev/null 2>&1",
     801#else
     802  sprintf(sys, "%s %s",
     803#endif
    790804          feResource('N' /*"netscape"*/), url);
    791805
     
    805819}
    806820
     821#ifdef WINNT
     822static void heHtmlHelp(heEntry hentry)
     823{
     824  char url[MAXPATHLEN];
     825  char* html_dir = feResource('h' /*"HtmlDir"*/);
     826  sprintf(url, "%s/%s",
     827          (html_dir != NULL ? html_dir : feResource('u' /*"ManualUrl"*/)),
     828          (hentry!=NULL && *(hentry->url)!='\0' ? hentry->url : "index.htm"));
     829
     830  heOpenWinntUrl(url, (html_dir != NULL ? 1 : 0));
     831}
     832#endif
     833
    807834static BOOLEAN heXinfoInit(int warn)
    808835{
     836#ifndef WINNT
    809837  if (getenv("DISPLAY") == NULL)
    810838  {
     
    813841    return FALSE;
    814842  }
     843#endif
    815844  if (feResource('i', warn) == NULL)
    816845  {
     
    834863  char sys[MAX_SYSCMD_LEN];
    835864
     865#ifdef WINNT
     866#define EXTRA_XTERM_ARGS "+vb -sb -fb Courier-bold-13 -tn linux -cr Red3"
     867#else
     868#define EXTRA_XTERM_ARGS ""
     869#endif
     870
    836871  if (hentry != NULL && *(hentry->key) != '\0')
    837872  {
    838873    if (*(hentry->node) != '\0')
    839       sprintf(sys, "%s -e %s -f %s --node='%s' &",
    840               feResource('X'), feResource('I'), feResource('i'), hentry->node);
     874      sprintf(sys, "%s %s -e %s -f %s --node='%s' &",
     875              feResource('X'), EXTRA_XTERM_ARGS,
     876              feResource('I'), feResource('i'), hentry->node);
    841877    else
    842       sprintf(sys, "%s -e %s -f %s Index '%s' &",
    843               feResource('X'), feResource('I'), feResource('i'), hentry->key);
     878      sprintf(sys, "%s %s -e %s -f %s Index '%s' &",
     879              feResource('X'), EXTRA_XTERM_ARGS,
     880              feResource('I'), feResource('i'), hentry->key);
    844881  }
    845882  else
    846     sprintf(sys, "%s -e %s -f %s --node=Top &",
    847             feResource('X'), feResource('I'), feResource('i'));
     883    sprintf(sys, "%s %s -e %s -f %s --node=Top &",
     884            feResource('X'), EXTRA_XTERM_ARGS,
     885            feResource('I'), feResource('i'));
    848886  system(sys);
    849887}
     
    851889static BOOLEAN heTkinfoInit(int warn)
    852890{
     891#ifndef WINNT
    853892  if (getenv("DISPLAY") == NULL)
    854893  {
     
    857896    return FALSE;
    858897  }
     898#endif
    859899  if (feResource('i', warn) == NULL)
    860900  {
     
    884924  system(sys);
    885925}
    886 #endif // ! defined(WINNT) && ! defined(macintosh)
     926#endif // ! defined(macintosh)
    887927
    888928static BOOLEAN heDummyInit(int warn)
  • Singular/find_exec.c

    rf9bfec ref0124  
    1919#include <string.h>
    2020
    21 #ifndef ESINGULAR
     21#if !defined(ESINGULAR) && !defined(XSINGULAR)
    2222#include "mmemory.h"
    2323#endif
     
    2727#define MAXPATHLEN 1024
    2828#endif
    29 
    3029
    3130/* Do not return copies of sth, but simply the strings
  • configure

    rf9bfec ref0124  
    649649SINGULAR_MAJOR_VERSION=1
    650650SINGULAR_MINOR_VERSION=3
    651 SINGULAR_SUB_VERSION=7
     651SINGULAR_SUB_VERSION=8
    652652SINGULAR_SHORT_VERSION="${SINGULAR_MAJOR_VERSION}${VERSION_SEP}${SINGULAR_MINOR_VERSION}"
    653653SINGULAR_VERSION="${SINGULAR_SHORT_VERSION}${VERSION_SEP}${SINGULAR_SUB_VERSION}"
    654 VERSION_DATE="April 2000"
     654VERSION_DATE="May 2000"
    655655
    656656export SINGULAR_MINOR_VERSION
  • configure.in

    rf9bfec ref0124  
    4848fi
    4949
    50 if test "$ac_cv_singuname" = ix86-Win; then
    51   EXEC_EXT=".exe"
    52 fi
    53 
    5450SING_UNAME=`echo $SINGUNAME | tr '-' '_' `
    5551AC_SUBST(SING_UNAME)
     
    6460SINGULAR_MAJOR_VERSION=1
    6561SINGULAR_MINOR_VERSION=3
    66 SINGULAR_SUB_VERSION=7
     62SINGULAR_SUB_VERSION=8
    6763SINGULAR_SHORT_VERSION="${SINGULAR_MAJOR_VERSION}${VERSION_SEP}${SINGULAR_MINOR_VERSION}"
    6864SINGULAR_VERSION="${SINGULAR_SHORT_VERSION}${VERSION_SEP}${SINGULAR_SUB_VERSION}"
    69 VERSION_DATE="April 2000"
     65VERSION_DATE="May 2000"
    7066
    7167export SINGULAR_MINOR_VERSION
     
    164160
    165161# construct name of installed Singular executable
    166 SINGULAR=${bindir}/Singular-${SINGULAR_MAJOR_VERSION}${VERSION_SEP}${SINGULAR_MINOR_VERSION}${VERSION_SEP}${SINGULAR_SUB_VERSION}${EXEC_EXT}
     162SINGULAR=${bindir}/Singular-${SINGULAR_MAJOR_VERSION}${VERSION_SEP}${SINGULAR_MINOR_VERSION}${VERSION_SEP}${SINGULAR_SUB_VERSION}
    167163export SINGULAR
    168164AC_SUBST(SINGULAR)
  • doc/COPYING.texi

    rf9bfec ref0124  
    11@comment -*-texinfo-*-
    2 @comment $Id: COPYING.texi,v 1.5 2000-02-04 13:21:14 obachman Exp $
     2@comment $Id: COPYING.texi,v 1.6 2000-05-05 18:40:33 obachman Exp $
    33@comment this file contains the copyright notice on Singular
    44@ifclear VERSION
     
    1818@center Authors: @uref{http://www.mathematik.uni-kl.de/~wwwagag/E/Greuel,,G.-M. Greuel}, @uref{http://www.mathematik.uni-kl.de/~wwwagag/E/Pfister,,G. Pfister}, @uref{http://www.mathematik.uni-kl.de/~hannes,,H. Schoenemann}
    1919
    20 @center Copyright @copyright{} 1986-99; All Rights Reserved
     20@center Copyright @copyright{} 1986-2000; All Rights Reserved
    2121@sp 2
    2222@center @strong{NOTICE}
     
    4040
    4141@item
    42 You have registered yourself as a @sc{Singular} user by sending email to @*
     42You have registered yourself as a @sc{Singular} user by sending email to
    4343@email{singular@@mathematik.uni-kl.de}
    44 with the subject line (or, mail body)
     44with the subject line
    4545@code{register}.
    4646@end enumerate
  • emacs/.emacs-singular

    rf9bfec ref0124  
    11;;; Emacs edit mode for this file is  -*- Emacs-Lisp -*-
    2 ;;; $Id: .emacs-singular,v 1.11 1999-12-22 10:22:45 wichmann Exp $
     2;;; $Id: .emacs-singular,v 1.12 2000-05-05 18:40:34 obachman Exp $
    33
    44;;;
     
    9494
    9595;; somewhat nicer scrolling
    96 (setq scroll-step 1)
     96;; This causes a core dump with 21.1.9 under cygwin, when a file is opened
     97;; with a button
     98;; obachman: Fixed it with a simmple patch, by working around the assertion
     99;; in file indent.c line 517 (or so)
     100(setq scroll-step 10)
    97101
    98102
     
    128132 '(singular-cursor-key-model (quote terminal))
    129133 '(transient-mark-mode t)
     134 '(Info-button1-follows-hyperlink t)
    130135 '(singular-section-face-alist (quote ((input . singular-section-input-face) (output)))))
    131136
     
    141146 '(font-lock-comment-face ((t (:bold nil :foreground "Red"))) t)
    142147 '(font-lock-function-name-face ((t (:bold t :foreground "blue3"))) t))
     148 '(info-xref ((t (:foreground "blue" :bold t))))
     149 '(info-node ((t (:foreground "blue" :bold t :italic nil))))
    143150;; obachman: played around a little bit, found this better
    144151;;  '(singular-section-input-face ((t (:bold t))))
  • emacs/singular.el

    rf9bfec ref0124  
    11;;; singular.el --- Emacs support for Computer Algebra System Singular
    22
    3 ;; $Id: singular.el,v 1.56 2000-04-27 12:12:27 wichmann Exp $
     3;; $Id: singular.el,v 1.57 2000-05-05 18:40:34 obachman Exp $
    44
    55;;; Commentary:
     
    33293329        (save-excursion
    33303330          (set-buffer process-buffer)
    3331           (send-string
     3331          (process-send-string
    33323332           process
    33333333           (concat (singular-run-hook-with-arg-and-value
     
    39793979                  (setq start-string (buffer-substring (point) (point-max)))
    39803980                  (delete-region (point) (point-max))
    3981                   (send-string process start-string)))
     3981                  (process-send-string process start-string)))
    39823982
    39833983            ;; read history if present
Note: See TracChangeset for help on using the changeset viewer.