Changeset ef0124 in git
- Timestamp:
- May 5, 2000, 8:40:34 PM (23 years ago)
- Branches:
- (u'spielwiese', '8d54773d6c9e2f1d2593a28bc68b7eeab54ed529')
- Children:
- ba9453910d26fdb676fa083bc02d866111ea5ece
- Parents:
- f9bfec9b7263804ac776257b32087185168b1000
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/classify.lib
rf9bfec ref0124 1 e// $Id: classify.lib,v 1.4 0 1999-12-13 15:33:44obachman Exp $1 e// $Id: classify.lib,v 1.41 2000-05-05 18:40:29 obachman Exp $ 2 2 // KK, last modified: 04.04.1998 3 3 /////////////////////////////////////////////////////////////////////////////// 4 4 5 version = "$Id: classify.lib,v 1.4 0 1999-12-13 15:33:44obachman Exp $";5 version = "$Id: classify.lib,v 1.41 2000-05-05 18:40:29 obachman Exp $"; 6 6 info=" 7 7 LIBRARY: classify.lib Procedures for the Arnold-Classifier of Singularities … … 2445 2445 useful for user-defined trace messages. 2446 2446 EXAMPLE: example debug_log; shows an example 2447 SEE ALSO: init_debug" 2447 SEE ALSO: init_debug 2448 " 2448 2449 { 2449 2450 int len = size(#); -
Singular/LIB/inout.lib
rf9bfec ref0124 1 // $Id: inout.lib,v 1.1 5 2000-04-28 10:03:57obachman Exp $1 // $Id: inout.lib,v 1.16 2000-05-05 18:40:31 obachman Exp $ 2 2 // (GMG/BM, last modified 22.06.96) 3 3 /////////////////////////////////////////////////////////////////////////////// 4 4 5 version="$Id: inout.lib,v 1.1 5 2000-04-28 10:03:57obachman Exp $";5 version="$Id: inout.lib,v 1.16 2000-05-05 18:40:31 obachman Exp $"; 6 6 info=" 7 7 LIBRARY: inout.lib PROCEDURES FOR MANIPULATING IN- AND OUTPUT … … 318 318 // This is equivalent to"; 319 319 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]"; 323 321 rMacaulay(s1); 324 322 // You may wish to assign s1 to a Singular ideal id: -
Singular/Makefile.in
rf9bfec ref0124 38 38 PERL = @PERL@ 39 39 BISON = bison 40 INSTALL = ./install-sh -c41 INSTALL_PROGRAM = ${INSTALL}42 INSTALL_DATA = ${INSTALL} -m 64440 INSTALL = @INSTALL@ 41 INSTALL_PROGRAM = @INSTALL_PROGRAM@ 42 INSTALL_DATA = @INSTALL_DATA@ 43 43 MKINSTALLDIRS = ./mkinstalldirs 44 44 LN_S = @LN_S@ … … 96 96 # normal C source files 97 97 CSOURCES=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 99 99 100 100 # special source files (need extra compiling and/or linking) … … 247 247 ${LEX} -I -Pyylp -olibparse.cc libparse.l 248 248 249 # Hmm compiling with -fomit-frame-pointer resulted in access violation 250 # under cygwin 249 251 ESingular: fegetopt.o feResource.cc mod2.h feOpt.cc version.h emacs.cc \ 250 252 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 feOpt ES.inc255 ${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 255 TSingular: 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 259 feOpt.h: feOpt.inc feOptES.inc feOptTS.inc 258 260 259 261 feOpt.inc: feOpt.cc mod2.h … … 267 269 rm -f feOpt feOpt.exe 268 270 271 feOptTS.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 269 276 prCopy.cc : prCopy.inc 270 277 … … 291 298 292 299 ## 300 ## windows only targets 301 ## 302 run.o: run.c run.h 303 gcc -c -I. -O2 run.c -o run.o 304 305 runTSingular : 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 309 runESingular : 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 313 run_res.o : run.rc 314 windres -i run.rc -o run_res.o 315 316 run: run.c run.h run_res.o run.o 317 gcc -mwindows -e _mainCRTStartup run.o run_res.o -o run.exe 318 319 ## 293 320 ## install targets 294 321 ## 322 ifeq ($(SINGUNAME),ix86-Win) 323 RUN_SINGULARS=runESingular runTSingular 324 endif 325 295 326 install: all installbin installslib 296 327 297 installbin: Singular libparse ESingular 328 installbin: Singular libparse ESingular TSingular ${RUN_SINGULARS} 298 329 ${MKINSTALLDIRS} ${bindir} 299 330 ${INSTALL_PROGRAM} Singular ${SINGULAR} 300 ${INSTALL_PROGRAM} libparse ${ bindir}331 ${INSTALL_PROGRAM} libparse ${RUN_SINGULARS} ${bindir} 301 332 ${INSTALL_PROGRAM} ESingular ${bindir} 333 ${INSTALL_PROGRAM} TSingular ${bindir} 302 334 chmod a+x ${SINGULAR} 303 335 rm -f ${bindir}/Singular${EXEC_EXT} … … 321 353 -rm -f Singular Singularg Singularp Singularb libparse feOpt*.inc 322 354 -rm -f *.o *.og core *.op *.ob *.ot Singulart 355 -rm ESingular* TSingular* 323 356 324 357 clean: mostlyclean … … 346 379 ## 347 380 348 Singular-bindist ESingular-bindist: $(HEADERS) $(SOURCES) Makefile depend381 Singular-bindist: $(HEADERS) $(SOURCES) Makefile depend 349 382 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} 353 385 echo "#undef MAKE_DISTRIBUTION " > distrib.h 354 386 355 Singular-static-bindist ESingular-static-bindist: $(HEADERS) $(SOURCES) Makefile depend387 Singular-static-bindist: $(HEADERS) $(SOURCES) Makefile depend 356 388 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 360 391 echo "#undef MAKE_DISTRIBUTION " > distrib.h 361 392 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 393 install-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 398 install-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} 373 402 374 403 install-sharedist: ${SLIBS_FILES} LIB/gftables … … 453 482 ESingularg: fegetopt.og feResource.cc mod2.h feOpt.cc version.h emacs.cc \ 454 483 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} 456 485 457 486 ## -
Singular/configure
rf9bfec ref0124 602 602 SINGULAR_MAJOR_VERSION=${SINGULAR_MAJOR_VERSION:-1} 603 603 SINGULAR_MINOR_VERSION=${SINGULAR_MINOR_VERSION:-3} 604 SINGULAR_SUB_VERSION=${SINGULAR_SUB_VERSION:- 7}604 SINGULAR_SUB_VERSION=${SINGULAR_SUB_VERSION:-8} 605 605 SINGULAR_VERSION="${SINGULAR_VERSION:-$SINGULAR_MAJOR_VERSION${VERSION_SEP}$SINGULAR_MINOR_VERSION${VERSION_SEP}$SINGULAR_SUB_VERSION}" 606 VERSION_DATE=${VERSION_DATE:-"Ma rch2000"}606 VERSION_DATE=${VERSION_DATE:-"May 2000"} 607 607 608 608 … … 1093 1093 fi 1094 1094 1095 ac_aux_dir= 1096 for 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 1106 done 1107 if 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; } 1109 fi 1110 ac_config_guess=$ac_aux_dir/config.guess 1111 ac_config_sub=$ac_aux_dir/config.sub 1112 ac_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. 1125 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 1126 echo "configure:1127: checking for a BSD compatible install" >&5 1127 if test -z "$INSTALL"; then 1128 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 1129 echo $ac_n "(cached) $ac_c" 1>&6 1130 else 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 1157 fi 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 1167 fi 1168 echo "$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. 1172 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1173 1174 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' 1175 1176 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1177 1095 1178 echo $ac_n "checking for AIX""... $ac_c" 1>&6 1096 echo "configure:1 097: checking for AIX" >&51179 echo "configure:1180: checking for AIX" >&5 1097 1180 cat > conftest.$ac_ext <<EOF 1098 #line 1 099"configure"1181 #line 1182 "configure" 1099 1182 #include "confdefs.h" 1100 1183 #ifdef _AIX … … 1126 1209 # check whether the compiler accepts -pipe 1127 1210 echo $ac_n "checking whether compiler accepts -pipe""... $ac_c" 1>&6 1128 echo "configure:1 129: checking whether compiler accepts -pipe" >&51211 echo "configure:1212: checking whether compiler accepts -pipe" >&5 1129 1212 temp_cflags=${CFLAGS} 1130 1213 CFLAGS="${CFLAGS} -pipe" … … 1133 1216 else 1134 1217 cat > conftest.$ac_ext <<EOF 1135 #line 1 136"configure"1218 #line 1219 "configure" 1136 1219 #include "confdefs.h" 1137 1220 … … 1140 1223 ; return 0; } 1141 1224 EOF 1142 if { (eval echo configure:1 143: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1225 if { (eval echo configure:1226: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1143 1226 rm -rf conftest* 1144 1227 ac_cv_cxx_have_pipe=yes … … 1164 1247 # Customize CFLAGS 1165 1248 echo $ac_n "checking whether _AIX is defined""... $ac_c" 1>&6 1166 echo "configure:1 167: checking whether _AIX is defined" >&51249 echo "configure:1250: checking whether _AIX is defined" >&5 1167 1250 if eval "test \"`echo '$''{'ac_cv_is_aix'+set}'`\" = set"; then 1168 1251 echo $ac_n "(cached) $ac_c" 1>&6 1169 1252 else 1170 1253 cat > conftest.$ac_ext <<EOF 1171 #line 1 172"configure"1254 #line 1255 "configure" 1172 1255 #include "confdefs.h" 1173 1256 #ifdef _AIX … … 1220 1303 1221 1304 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 1222 echo "configure:1 223: checking whether ${MAKE-make} sets \${MAKE}" >&51305 echo "configure:1306: checking whether ${MAKE-make} sets \${MAKE}" >&5 1223 1306 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 1224 1307 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 1271 1354 # expand bindir 1272 1355 test "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}1356 SINGULAR=${SINGULAR:-$bindir/Singular-$SINGULAR_MAJOR_VERSION${VERSION_SEP}$SINGULAR_MINOR_VERSION${VERSION_SEP}$SINGULAR_SUB_VERSION} 1274 1357 1275 1358 cat >> confdefs.h <<EOF … … 1299 1382 if test "${with_lex+set}" != set; then 1300 1383 echo $ac_n "checking for flex""... $ac_c" 1>&6 1301 echo "configure:13 02: checking for flex" >&51384 echo "configure:1385: checking for flex" >&5 1302 1385 if eval "test \"`echo '$''{'ac_cv_prog_flex'+set}'`\" = set"; then 1303 1386 echo $ac_n "(cached) $ac_c" 1>&6 … … 1330 1413 set dummy $ac_prog; ac_word=$2 1331 1414 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1332 echo "configure:1 333: checking for $ac_word" >&51415 echo "configure:1416: checking for $ac_word" >&5 1333 1416 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then 1334 1417 echo $ac_n "(cached) $ac_c" 1>&6 … … 1370 1453 set dummy $ac_prog; ac_word=$2 1371 1454 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1372 echo "configure:1 373: checking for $ac_word" >&51455 echo "configure:1456: checking for $ac_word" >&5 1373 1456 if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then 1374 1457 echo $ac_n "(cached) $ac_c" 1>&6 … … 1405 1488 # ln -s 1406 1489 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1407 echo "configure:14 08: checking whether ln -s works" >&51490 echo "configure:1491: checking whether ln -s works" >&5 1408 1491 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1409 1492 echo $ac_n "(cached) $ac_c" 1>&6 … … 1431 1514 set dummy $ac_prog; ac_word=$2 1432 1515 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1433 echo "configure:1 434: checking for $ac_word" >&51516 echo "configure:1517: checking for $ac_word" >&5 1434 1517 if eval "test \"`echo '$''{'ac_cv_prog_PERL'+set}'`\" = set"; then 1435 1518 echo $ac_n "(cached) $ac_c" 1>&6 … … 1463 1546 # lib checks 1464 1547 echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6 1465 echo "configure:1 466: checking for atof in -lm" >&51548 echo "configure:1549: checking for atof in -lm" >&5 1466 1549 ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'` 1467 1550 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1471 1554 LIBS="-lm $LIBS" 1472 1555 cat > conftest.$ac_ext <<EOF 1473 #line 1 474"configure"1556 #line 1557 "configure" 1474 1557 #include "confdefs.h" 1475 1558 /* Override any gcc2 internal prototype to avoid an error. */ … … 1482 1565 ; return 0; } 1483 1566 EOF 1484 if { (eval echo configure:1 485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1567 if { (eval echo configure:1568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1485 1568 rm -rf conftest* 1486 1569 eval "ac_cv_lib_$ac_lib_var=yes" … … 1510 1593 1511 1594 echo $ac_n "checking for socket in -lbsd""... $ac_c" 1>&6 1512 echo "configure:15 13: checking for socket in -lbsd" >&51595 echo "configure:1596: checking for socket in -lbsd" >&5 1513 1596 ac_lib_var=`echo bsd'_'socket | sed 'y%./+-%__p_%'` 1514 1597 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1518 1601 LIBS="-lbsd $LIBS" 1519 1602 cat > conftest.$ac_ext <<EOF 1520 #line 1 521"configure"1603 #line 1604 "configure" 1521 1604 #include "confdefs.h" 1522 1605 /* Override any gcc2 internal prototype to avoid an error. */ … … 1529 1612 ; return 0; } 1530 1613 EOF 1531 if { (eval echo configure:1 532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1614 if { (eval echo configure:1615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1532 1615 rm -rf conftest* 1533 1616 eval "ac_cv_lib_$ac_lib_var=yes" … … 1557 1640 1558 1641 echo $ac_n "checking for listen in -lsocket""... $ac_c" 1>&6 1559 echo "configure:1 560: checking for listen in -lsocket" >&51642 echo "configure:1643: checking for listen in -lsocket" >&5 1560 1643 ac_lib_var=`echo socket'_'listen | sed 'y%./+-%__p_%'` 1561 1644 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1565 1648 LIBS="-lsocket $LIBS" 1566 1649 cat > conftest.$ac_ext <<EOF 1567 #line 1 568"configure"1650 #line 1651 "configure" 1568 1651 #include "confdefs.h" 1569 1652 /* Override any gcc2 internal prototype to avoid an error. */ … … 1576 1659 ; return 0; } 1577 1660 EOF 1578 if { (eval echo configure:1 579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1661 if { (eval echo configure:1662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1579 1662 rm -rf conftest* 1580 1663 eval "ac_cv_lib_$ac_lib_var=yes" … … 1604 1687 1605 1688 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 1606 echo "configure:16 07: checking for gethostbyname in -lnsl" >&51689 echo "configure:1690: checking for gethostbyname in -lnsl" >&5 1607 1690 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 1608 1691 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1612 1695 LIBS="-lnsl $LIBS" 1613 1696 cat > conftest.$ac_ext <<EOF 1614 #line 16 15"configure"1697 #line 1698 "configure" 1615 1698 #include "confdefs.h" 1616 1699 /* Override any gcc2 internal prototype to avoid an error. */ … … 1623 1706 ; return 0; } 1624 1707 EOF 1625 if { (eval echo configure:1 626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1708 if { (eval echo configure:1709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1626 1709 rm -rf conftest* 1627 1710 eval "ac_cv_lib_$ac_lib_var=yes" … … 1651 1734 1652 1735 echo $ac_n "checking for index in -lucb""... $ac_c" 1>&6 1653 echo "configure:1 654: checking for index in -lucb" >&51736 echo "configure:1737: checking for index in -lucb" >&5 1654 1737 ac_lib_var=`echo ucb'_'index | sed 'y%./+-%__p_%'` 1655 1738 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1659 1742 LIBS="-lucb $LIBS" 1660 1743 cat > conftest.$ac_ext <<EOF 1661 #line 1 662"configure"1744 #line 1745 "configure" 1662 1745 #include "confdefs.h" 1663 1746 /* Override any gcc2 internal prototype to avoid an error. */ … … 1670 1753 ; return 0; } 1671 1754 EOF 1672 if { (eval echo configure:1 673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1755 if { (eval echo configure:1756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1673 1756 rm -rf conftest* 1674 1757 eval "ac_cv_lib_$ac_lib_var=yes" … … 1700 1783 # heder file checks 1701 1784 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 1702 echo "configure:17 03: checking for ANSI C header files" >&51785 echo "configure:1786: checking for ANSI C header files" >&5 1703 1786 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 1704 1787 echo $ac_n "(cached) $ac_c" 1>&6 1705 1788 else 1706 1789 cat > conftest.$ac_ext <<EOF 1707 #line 17 08"configure"1790 #line 1791 "configure" 1708 1791 #include "confdefs.h" 1709 1792 #include <stdlib.h> … … 1713 1796 EOF 1714 1797 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1715 { (eval echo configure:17 16: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1798 { (eval echo configure:1799: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1716 1799 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1717 1800 if test -z "$ac_err"; then … … 1730 1813 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1731 1814 cat > conftest.$ac_ext <<EOF 1732 #line 1 733"configure"1815 #line 1816 "configure" 1733 1816 #include "confdefs.h" 1734 1817 #include <string.h> … … 1748 1831 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1749 1832 cat > conftest.$ac_ext <<EOF 1750 #line 1 751"configure"1833 #line 1834 "configure" 1751 1834 #include "confdefs.h" 1752 1835 #include <stdlib.h> … … 1769 1852 else 1770 1853 cat > conftest.$ac_ext <<EOF 1771 #line 1 772"configure"1854 #line 1855 "configure" 1772 1855 #include "confdefs.h" 1773 1856 #include <ctype.h> … … 1780 1863 1781 1864 EOF 1782 if { (eval echo configure:1 783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1865 if { (eval echo configure:1866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1783 1866 then 1784 1867 : … … 1807 1890 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1808 1891 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1809 echo "configure:18 10: checking for $ac_hdr" >&51892 echo "configure:1893: checking for $ac_hdr" >&5 1810 1893 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1811 1894 echo $ac_n "(cached) $ac_c" 1>&6 1812 1895 else 1813 1896 cat > conftest.$ac_ext <<EOF 1814 #line 18 15"configure"1897 #line 1898 "configure" 1815 1898 #include "confdefs.h" 1816 1899 #include <$ac_hdr> 1817 1900 EOF 1818 1901 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1819 { (eval echo configure:1 820: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1902 { (eval echo configure:1903: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1820 1903 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1821 1904 if test -z "$ac_err"; then … … 1849 1932 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1850 1933 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1851 echo "configure:1 852: checking for $ac_hdr" >&51934 echo "configure:1935: checking for $ac_hdr" >&5 1852 1935 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1853 1936 echo $ac_n "(cached) $ac_c" 1>&6 1854 1937 else 1855 1938 cat > conftest.$ac_ext <<EOF 1856 #line 1 857"configure"1939 #line 1940 "configure" 1857 1940 #include "confdefs.h" 1858 1941 #include <$ac_hdr> 1859 1942 EOF 1860 1943 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1861 { (eval echo configure:1 862: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1944 { (eval echo configure:1945: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1862 1945 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1863 1946 if test -z "$ac_err"; then … … 1888 1971 # typedefs, structures 1889 1972 echo $ac_n "checking for working const""... $ac_c" 1>&6 1890 echo "configure:1 891: checking for working const" >&51973 echo "configure:1974: checking for working const" >&5 1891 1974 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 1892 1975 echo $ac_n "(cached) $ac_c" 1>&6 1893 1976 else 1894 1977 cat > conftest.$ac_ext <<EOF 1895 #line 1 896"configure"1978 #line 1979 "configure" 1896 1979 #include "confdefs.h" 1897 1980 … … 1942 2025 ; return 0; } 1943 2026 EOF 1944 if { (eval echo configure: 1945: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2027 if { (eval echo configure:2028: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1945 2028 rm -rf conftest* 1946 2029 ac_cv_c_const=yes … … 1963 2046 1964 2047 echo $ac_n "checking for inline""... $ac_c" 1>&6 1965 echo "configure: 1966: checking for inline" >&52048 echo "configure:2049: checking for inline" >&5 1966 2049 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 1967 2050 echo $ac_n "(cached) $ac_c" 1>&6 … … 1970 2053 for ac_kw in inline __inline__ __inline; do 1971 2054 cat > conftest.$ac_ext <<EOF 1972 #line 1973"configure"2055 #line 2056 "configure" 1973 2056 #include "confdefs.h" 1974 2057 … … 1977 2060 ; return 0; } 1978 2061 EOF 1979 if { (eval echo configure: 1980: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2062 if { (eval echo configure:2063: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1980 2063 rm -rf conftest* 1981 2064 ac_cv_c_inline=$ac_kw; break … … 2003 2086 2004 2087 echo $ac_n "checking for size_t""... $ac_c" 1>&6 2005 echo "configure:20 06: checking for size_t" >&52088 echo "configure:2089: checking for size_t" >&5 2006 2089 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 2007 2090 echo $ac_n "(cached) $ac_c" 1>&6 2008 2091 else 2009 2092 cat > conftest.$ac_ext <<EOF 2010 #line 20 11"configure"2093 #line 2094 "configure" 2011 2094 #include "confdefs.h" 2012 2095 #include <sys/types.h> … … 2036 2119 2037 2120 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 2038 echo "configure:2 039: checking whether time.h and sys/time.h may both be included" >&52121 echo "configure:2122: checking whether time.h and sys/time.h may both be included" >&5 2039 2122 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 2040 2123 echo $ac_n "(cached) $ac_c" 1>&6 2041 2124 else 2042 2125 cat > conftest.$ac_ext <<EOF 2043 #line 2 044"configure"2126 #line 2127 "configure" 2044 2127 #include "confdefs.h" 2045 2128 #include <sys/types.h> … … 2050 2133 ; return 0; } 2051 2134 EOF 2052 if { (eval echo configure:2 053: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2135 if { (eval echo configure:2136: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2053 2136 rm -rf conftest* 2054 2137 ac_cv_header_time=yes … … 2071 2154 2072 2155 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 2073 echo "configure:2 074: checking whether struct tm is in sys/time.h or time.h" >&52156 echo "configure:2157: checking whether struct tm is in sys/time.h or time.h" >&5 2074 2157 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then 2075 2158 echo $ac_n "(cached) $ac_c" 1>&6 2076 2159 else 2077 2160 cat > conftest.$ac_ext <<EOF 2078 #line 2 079"configure"2161 #line 2162 "configure" 2079 2162 #include "confdefs.h" 2080 2163 #include <sys/types.h> … … 2084 2167 ; return 0; } 2085 2168 EOF 2086 if { (eval echo configure:2 087: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2169 if { (eval echo configure:2170: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2087 2170 rm -rf conftest* 2088 2171 ac_cv_struct_tm=time.h … … 2109 2192 # for constant arguments. Useless! 2110 2193 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 2111 echo "configure:21 12: checking for working alloca.h" >&52194 echo "configure:2195: checking for working alloca.h" >&5 2112 2195 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 2113 2196 echo $ac_n "(cached) $ac_c" 1>&6 2114 2197 else 2115 2198 cat > conftest.$ac_ext <<EOF 2116 #line 2 117"configure"2199 #line 2200 "configure" 2117 2200 #include "confdefs.h" 2118 2201 #include <alloca.h> … … 2121 2204 ; return 0; } 2122 2205 EOF 2123 if { (eval echo configure:2 124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2206 if { (eval echo configure:2207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2124 2207 rm -rf conftest* 2125 2208 ac_cv_header_alloca_h=yes … … 2142 2225 2143 2226 echo $ac_n "checking for alloca""... $ac_c" 1>&6 2144 echo "configure:2 145: checking for alloca" >&52227 echo "configure:2228: checking for alloca" >&5 2145 2228 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 2146 2229 echo $ac_n "(cached) $ac_c" 1>&6 2147 2230 else 2148 2231 cat > conftest.$ac_ext <<EOF 2149 #line 2 150"configure"2232 #line 2233 "configure" 2150 2233 #include "confdefs.h" 2151 2234 … … 2175 2258 ; return 0; } 2176 2259 EOF 2177 if { (eval echo configure:2 178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2260 if { (eval echo configure:2261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2178 2261 rm -rf conftest* 2179 2262 ac_cv_func_alloca_works=yes … … 2207 2290 2208 2291 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 2209 echo "configure:22 10: checking whether alloca needs Cray hooks" >&52292 echo "configure:2293: checking whether alloca needs Cray hooks" >&5 2210 2293 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 2211 2294 echo $ac_n "(cached) $ac_c" 1>&6 2212 2295 else 2213 2296 cat > conftest.$ac_ext <<EOF 2214 #line 22 15"configure"2297 #line 2298 "configure" 2215 2298 #include "confdefs.h" 2216 2299 #if defined(CRAY) && ! defined(CRAY2) … … 2237 2320 for ac_func in _getb67 GETB67 getb67; do 2238 2321 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2239 echo "configure:2 240: checking for $ac_func" >&52322 echo "configure:2323: checking for $ac_func" >&5 2240 2323 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2241 2324 echo $ac_n "(cached) $ac_c" 1>&6 2242 2325 else 2243 2326 cat > conftest.$ac_ext <<EOF 2244 #line 2 245"configure"2327 #line 2328 "configure" 2245 2328 #include "confdefs.h" 2246 2329 /* System header to define __stub macros and hopefully few prototypes, … … 2265 2348 ; return 0; } 2266 2349 EOF 2267 if { (eval echo configure:2 268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2350 if { (eval echo configure:2351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2268 2351 rm -rf conftest* 2269 2352 eval "ac_cv_func_$ac_func=yes" … … 2292 2375 2293 2376 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 2294 echo "configure:2 295: checking stack direction for C alloca" >&52377 echo "configure:2378: checking stack direction for C alloca" >&5 2295 2378 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 2296 2379 echo $ac_n "(cached) $ac_c" 1>&6 … … 2300 2383 else 2301 2384 cat > conftest.$ac_ext <<EOF 2302 #line 23 03"configure"2385 #line 2386 "configure" 2303 2386 #include "confdefs.h" 2304 2387 find_stack_direction () … … 2319 2402 } 2320 2403 EOF 2321 if { (eval echo configure:2 322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2404 if { (eval echo configure:2405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2322 2405 then 2323 2406 ac_cv_c_stack_direction=1 … … 2342 2425 if test $ac_cv_prog_gcc = yes; then 2343 2426 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 2344 echo "configure:2 345: checking whether ${CC-cc} needs -traditional" >&52427 echo "configure:2428: checking whether ${CC-cc} needs -traditional" >&5 2345 2428 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then 2346 2429 echo $ac_n "(cached) $ac_c" 1>&6 … … 2348 2431 ac_pattern="Autoconf.*'x'" 2349 2432 cat > conftest.$ac_ext <<EOF 2350 #line 2 351"configure"2433 #line 2434 "configure" 2351 2434 #include "confdefs.h" 2352 2435 #include <sgtty.h> … … 2366 2449 if test $ac_cv_prog_gcc_traditional = no; then 2367 2450 cat > conftest.$ac_ext <<EOF 2368 #line 2 369"configure"2451 #line 2452 "configure" 2369 2452 #include "confdefs.h" 2370 2453 #include <termio.h> … … 2391 2474 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2392 2475 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2393 echo "configure:2 394: checking for $ac_hdr" >&52476 echo "configure:2477: checking for $ac_hdr" >&5 2394 2477 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2395 2478 echo $ac_n "(cached) $ac_c" 1>&6 2396 2479 else 2397 2480 cat > conftest.$ac_ext <<EOF 2398 #line 2 399"configure"2481 #line 2482 "configure" 2399 2482 #include "confdefs.h" 2400 2483 #include <$ac_hdr> 2401 2484 EOF 2402 2485 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2403 { (eval echo configure:24 04: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2486 { (eval echo configure:2487: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2404 2487 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2405 2488 if test -z "$ac_err"; then … … 2430 2513 do 2431 2514 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2432 echo "configure:2 433: checking for $ac_func" >&52515 echo "configure:2516: checking for $ac_func" >&5 2433 2516 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2434 2517 echo $ac_n "(cached) $ac_c" 1>&6 2435 2518 else 2436 2519 cat > conftest.$ac_ext <<EOF 2437 #line 2 438"configure"2520 #line 2521 "configure" 2438 2521 #include "confdefs.h" 2439 2522 /* System header to define __stub macros and hopefully few prototypes, … … 2458 2541 ; return 0; } 2459 2542 EOF 2460 if { (eval echo configure:2 461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2543 if { (eval echo configure:2544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2461 2544 rm -rf conftest* 2462 2545 eval "ac_cv_func_$ac_func=yes" … … 2483 2566 2484 2567 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 2485 echo "configure:2 486: checking for working mmap" >&52568 echo "configure:2569: checking for working mmap" >&5 2486 2569 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 2487 2570 echo $ac_n "(cached) $ac_c" 1>&6 … … 2491 2574 else 2492 2575 cat > conftest.$ac_ext <<EOF 2493 #line 2 494"configure"2576 #line 2577 "configure" 2494 2577 #include "confdefs.h" 2495 2578 … … 2631 2714 2632 2715 EOF 2633 if { (eval echo configure:2 634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2716 if { (eval echo configure:2717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2634 2717 then 2635 2718 ac_cv_func_mmap_fixed_mapped=yes … … 2654 2737 2655 2738 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 2656 echo "configure:2 657: checking return type of signal handlers" >&52739 echo "configure:2740: checking return type of signal handlers" >&5 2657 2740 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then 2658 2741 echo $ac_n "(cached) $ac_c" 1>&6 2659 2742 else 2660 2743 cat > conftest.$ac_ext <<EOF 2661 #line 2 662"configure"2744 #line 2745 "configure" 2662 2745 #include "confdefs.h" 2663 2746 #include <sys/types.h> … … 2676 2759 ; return 0; } 2677 2760 EOF 2678 if { (eval echo configure:2 679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2761 if { (eval echo configure:2762: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2679 2762 rm -rf conftest* 2680 2763 ac_cv_type_signal=void … … 2695 2778 2696 2779 echo $ac_n "checking for vprintf""... $ac_c" 1>&6 2697 echo "configure:2 698: checking for vprintf" >&52780 echo "configure:2781: checking for vprintf" >&5 2698 2781 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then 2699 2782 echo $ac_n "(cached) $ac_c" 1>&6 2700 2783 else 2701 2784 cat > conftest.$ac_ext <<EOF 2702 #line 27 03"configure"2785 #line 2786 "configure" 2703 2786 #include "confdefs.h" 2704 2787 /* System header to define __stub macros and hopefully few prototypes, … … 2723 2806 ; return 0; } 2724 2807 EOF 2725 if { (eval echo configure:2 726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2808 if { (eval echo configure:2809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2726 2809 rm -rf conftest* 2727 2810 eval "ac_cv_func_vprintf=yes" … … 2747 2830 if test "$ac_cv_func_vprintf" != yes; then 2748 2831 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 2749 echo "configure:2 750: checking for _doprnt" >&52832 echo "configure:2833: checking for _doprnt" >&5 2750 2833 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then 2751 2834 echo $ac_n "(cached) $ac_c" 1>&6 2752 2835 else 2753 2836 cat > conftest.$ac_ext <<EOF 2754 #line 2 755"configure"2837 #line 2838 "configure" 2755 2838 #include "confdefs.h" 2756 2839 /* System header to define __stub macros and hopefully few prototypes, … … 2775 2858 ; return 0; } 2776 2859 EOF 2777 if { (eval echo configure:2 778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2860 if { (eval echo configure:2861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2778 2861 rm -rf conftest* 2779 2862 eval "ac_cv_func__doprnt=yes" … … 2802 2885 do 2803 2886 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2804 echo "configure:28 05: checking for $ac_func" >&52887 echo "configure:2888: checking for $ac_func" >&5 2805 2888 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2806 2889 echo $ac_n "(cached) $ac_c" 1>&6 2807 2890 else 2808 2891 cat > conftest.$ac_ext <<EOF 2809 #line 28 10"configure"2892 #line 2893 "configure" 2810 2893 #include "confdefs.h" 2811 2894 /* System header to define __stub macros and hopefully few prototypes, … … 2830 2913 ; return 0; } 2831 2914 EOF 2832 if { (eval echo configure:2 833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2915 if { (eval echo configure:2916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2833 2916 rm -rf conftest* 2834 2917 eval "ac_cv_func_$ac_func=yes" … … 2858 2941 # arithmetic shifts 2859 2942 echo $ac_n "checking whether your machine has correct arithmetic shifts""... $ac_c" 1>&6 2860 echo "configure:2 861: checking whether your machine has correct arithmetic shifts" >&52943 echo "configure:2944: checking whether your machine has correct arithmetic shifts" >&5 2861 2944 if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then 2862 2945 echo $ac_n "(cached) $ac_c" 1>&6 … … 2871 2954 else 2872 2955 cat > conftest.$ac_ext <<EOF 2873 #line 2 874"configure"2956 #line 2957 "configure" 2874 2957 #include "confdefs.h" 2875 2958 int main() { if (-2 >> 1 == -1) exit(0); else exit(1); } 2876 2959 EOF 2877 if { (eval echo configure:2 878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2960 if { (eval echo configure:2961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2878 2961 then 2879 2962 ac_cv_shift=yes … … 2900 2983 # check for a peculiar constructor initialization 2901 2984 echo $ac_n "checking whether explicit C++ constructor calls are allowed""... $ac_c" 1>&6 2902 echo "configure:29 03: checking whether explicit C++ constructor calls are allowed" >&52985 echo "configure:2986: checking whether explicit C++ constructor calls are allowed" >&5 2903 2986 2904 2987 ac_ext=C … … 2913 2996 else 2914 2997 cat > conftest.$ac_ext <<EOF 2915 #line 29 16"configure"2998 #line 2999 "configure" 2916 2999 #include "confdefs.h" 2917 3000 … … 2931 3014 ; return 0; } 2932 3015 EOF 2933 if { (eval echo configure: 2934: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3016 if { (eval echo configure:3017: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2934 3017 rm -rf conftest* 2935 3018 ac_cv_explicit_const=yes … … 2960 3043 # sprintf returns number of printed chars 2961 3044 echo $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" >&53045 echo "configure:3046: checking whether vsprintf returns number of printed chars" >&5 2963 3046 if eval "test \"`echo '$''{'ac_cv_returns_n_of_chars'+set}'`\" = set"; then 2964 3047 echo $ac_n "(cached) $ac_c" 1>&6 … … 2968 3051 else 2969 3052 cat > conftest.$ac_ext <<EOF 2970 #line 2971"configure"3053 #line 3054 "configure" 2971 3054 #include "confdefs.h" 2972 3055 #include <stdio.h> 2973 3056 main() { char *str=(char*)malloc(20); if (((int) sprintf(str,"123456789")) == 9) exit(0); else exit(1); } 2974 3057 EOF 2975 if { (eval echo configure: 2976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3058 if { (eval echo configure:3059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2976 3059 then 2977 3060 ac_cv_returns_n_of_chars=yes … … 2999 3082 # determine ALIGN_8 3000 3083 echo $ac_n "checking size of char""... $ac_c" 1>&6 3001 echo "configure:30 02: checking size of char" >&53084 echo "configure:3085: checking size of char" >&5 3002 3085 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then 3003 3086 echo $ac_n "(cached) $ac_c" 1>&6 … … 3007 3090 else 3008 3091 cat > conftest.$ac_ext <<EOF 3009 #line 30 10"configure"3092 #line 3093 "configure" 3010 3093 #include "confdefs.h" 3011 3094 #include <stdio.h> … … 3018 3101 } 3019 3102 EOF 3020 if { (eval echo configure:3 021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3103 if { (eval echo configure:3104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3021 3104 then 3022 3105 ac_cv_sizeof_char=`cat conftestval` … … 3038 3121 3039 3122 echo $ac_n "checking size of short""... $ac_c" 1>&6 3040 echo "configure:3 041: checking size of short" >&53123 echo "configure:3124: checking size of short" >&5 3041 3124 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then 3042 3125 echo $ac_n "(cached) $ac_c" 1>&6 … … 3046 3129 else 3047 3130 cat > conftest.$ac_ext <<EOF 3048 #line 3 049"configure"3131 #line 3132 "configure" 3049 3132 #include "confdefs.h" 3050 3133 #include <stdio.h> … … 3057 3140 } 3058 3141 EOF 3059 if { (eval echo configure:3 060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3142 if { (eval echo configure:3143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3060 3143 then 3061 3144 ac_cv_sizeof_short=`cat conftestval` … … 3077 3160 3078 3161 echo $ac_n "checking size of int""... $ac_c" 1>&6 3079 echo "configure:3 080: checking size of int" >&53162 echo "configure:3163: checking size of int" >&5 3080 3163 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then 3081 3164 echo $ac_n "(cached) $ac_c" 1>&6 … … 3085 3168 else 3086 3169 cat > conftest.$ac_ext <<EOF 3087 #line 3 088"configure"3170 #line 3171 "configure" 3088 3171 #include "confdefs.h" 3089 3172 #include <stdio.h> … … 3096 3179 } 3097 3180 EOF 3098 if { (eval echo configure:3 099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3181 if { (eval echo configure:3182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3099 3182 then 3100 3183 ac_cv_sizeof_int=`cat conftestval` … … 3116 3199 3117 3200 echo $ac_n "checking size of long""... $ac_c" 1>&6 3118 echo "configure:3 119: checking size of long" >&53201 echo "configure:3202: checking size of long" >&5 3119 3202 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then 3120 3203 echo $ac_n "(cached) $ac_c" 1>&6 … … 3124 3207 else 3125 3208 cat > conftest.$ac_ext <<EOF 3126 #line 3 127"configure"3209 #line 3210 "configure" 3127 3210 #include "confdefs.h" 3128 3211 #include <stdio.h> … … 3135 3218 } 3136 3219 EOF 3137 if { (eval echo configure:3 138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3220 if { (eval echo configure:3221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3138 3221 then 3139 3222 ac_cv_sizeof_long=`cat conftestval` … … 3155 3238 3156 3239 echo $ac_n "checking size of void*""... $ac_c" 1>&6 3157 echo "configure:3 158: checking size of void*" >&53240 echo "configure:3241: checking size of void*" >&5 3158 3241 if eval "test \"`echo '$''{'ac_cv_sizeof_voidp'+set}'`\" = set"; then 3159 3242 echo $ac_n "(cached) $ac_c" 1>&6 … … 3163 3246 else 3164 3247 cat > conftest.$ac_ext <<EOF 3165 #line 3 166"configure"3248 #line 3249 "configure" 3166 3249 #include "confdefs.h" 3167 3250 #include <stdio.h> … … 3174 3257 } 3175 3258 EOF 3176 if { (eval echo configure:3 177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3259 if { (eval echo configure:3260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3177 3260 then 3178 3261 ac_cv_sizeof_voidp=`cat conftestval` … … 3194 3277 3195 3278 echo $ac_n "checking size of double""... $ac_c" 1>&6 3196 echo "configure:3 197: checking size of double" >&53279 echo "configure:3280: checking size of double" >&5 3197 3280 if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then 3198 3281 echo $ac_n "(cached) $ac_c" 1>&6 … … 3202 3285 else 3203 3286 cat > conftest.$ac_ext <<EOF 3204 #line 32 05"configure"3287 #line 3288 "configure" 3205 3288 #include "confdefs.h" 3206 3289 #include <stdio.h> … … 3213 3296 } 3214 3297 EOF 3215 if { (eval echo configure:32 16: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3298 if { (eval echo configure:3299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3216 3299 then 3217 3300 ac_cv_sizeof_double=`cat conftestval` … … 3233 3316 3234 3317 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 3235 echo "configure:3 236: checking whether byte ordering is bigendian" >&53318 echo "configure:3319: checking whether byte ordering is bigendian" >&5 3236 3319 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then 3237 3320 echo $ac_n "(cached) $ac_c" 1>&6 … … 3240 3323 # See if sys/param.h defines the BYTE_ORDER macro. 3241 3324 cat > conftest.$ac_ext <<EOF 3242 #line 3 243"configure"3325 #line 3326 "configure" 3243 3326 #include "confdefs.h" 3244 3327 #include <sys/types.h> … … 3251 3334 ; return 0; } 3252 3335 EOF 3253 if { (eval echo configure:3 254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3336 if { (eval echo configure:3337: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3254 3337 rm -rf conftest* 3255 3338 # It does; now see whether it defined to BIG_ENDIAN or not. 3256 3339 cat > conftest.$ac_ext <<EOF 3257 #line 3 258"configure"3340 #line 3341 "configure" 3258 3341 #include "confdefs.h" 3259 3342 #include <sys/types.h> … … 3266 3349 ; return 0; } 3267 3350 EOF 3268 if { (eval echo configure:3 269: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3351 if { (eval echo configure:3352: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3269 3352 rm -rf conftest* 3270 3353 ac_cv_c_bigendian=yes … … 3286 3369 else 3287 3370 cat > conftest.$ac_ext <<EOF 3288 #line 3 289"configure"3371 #line 3372 "configure" 3289 3372 #include "confdefs.h" 3290 3373 main () { … … 3299 3382 } 3300 3383 EOF 3301 if { (eval echo configure:33 02: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3384 if { (eval echo configure:3385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3302 3385 then 3303 3386 ac_cv_c_bigendian=no … … 3336 3419 3337 3420 echo $ac_n "checking size of system page""... $ac_c" 1>&6 3338 echo "configure:3 339: checking size of system page" >&53421 echo "configure:3422: checking size of system page" >&5 3339 3422 if eval "test \"`echo '$''{'ac_cv_pagesize'+set}'`\" = set"; then 3340 3423 echo $ac_n "(cached) $ac_c" 1>&6 … … 3344 3427 else 3345 3428 cat > conftest.$ac_ext <<EOF 3346 #line 3 347"configure"3429 #line 3430 "configure" 3347 3430 #include "confdefs.h" 3348 3431 #include <stdio.h> … … 3358 3441 } 3359 3442 EOF 3360 if { (eval echo configure:3 361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3443 if { (eval echo configure:3444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3361 3444 then 3362 3445 ac_cv_pagesize=`cat conftestval` … … 3382 3465 3383 3466 echo $ac_n "checking for page aligned valloc""... $ac_c" 1>&6 3384 echo "configure:3 385: checking for page aligned valloc" >&53467 echo "configure:3468: checking for page aligned valloc" >&5 3385 3468 if eval "test \"`echo '$''{'ac_cv_have_page_alignment'+set}'`\" = set"; then 3386 3469 echo $ac_n "(cached) $ac_c" 1>&6 … … 3428 3511 else 3429 3512 cat > conftest.$ac_ext <<EOF 3430 #line 3 431"configure"3513 #line 3514 "configure" 3431 3514 #include "confdefs.h" 3432 3515 … … 3435 3518 3436 3519 EOF 3437 if { (eval echo configure:3 438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3520 if { (eval echo configure:3521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3438 3521 then 3439 3522 ac_cv_have_page_alignment="ac_cv_usable_pagesize="`cat conftestval` … … 3452 3535 else 3453 3536 cat > conftest.$ac_ext <<EOF 3454 #line 3 455"configure"3537 #line 3538 "configure" 3455 3538 #include "confdefs.h" 3456 3539 … … 3459 3542 3460 3543 EOF 3461 if { (eval echo configure:3 462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3544 if { (eval echo configure:3545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3462 3545 then 3463 3546 ac_cv_have_page_alignment="ac_cv_usable_pagesize="`cat conftestval` … … 3479 3562 else 3480 3563 cat > conftest.$ac_ext <<EOF 3481 #line 3 482"configure"3564 #line 3565 "configure" 3482 3565 #include "confdefs.h" 3483 3566 … … 3488 3571 3489 3572 EOF 3490 if { (eval echo configure:3 491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3573 if { (eval echo configure:3574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3491 3574 then 3492 3575 ac_cv_have_page_alignment="ac_cv_have_gmalloc=yes; ac_cv_usable_pagesize="`cat conftestval` … … 3505 3588 else 3506 3589 cat > conftest.$ac_ext <<EOF 3507 #line 35 08"configure"3590 #line 3591 "configure" 3508 3591 #include "confdefs.h" 3509 3592 … … 3514 3597 3515 3598 EOF 3516 if { (eval echo configure:3 517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3599 if { (eval echo configure:3600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3517 3600 then 3518 3601 ac_cv_have_page_alignment="ac_cv_have_gmalloc=yes; ac_cv_usable_pagesize="`cat conftestval` … … 3642 3725 3643 3726 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 3644 echo "configure:3 645: checking for tgetent in -lncurses" >&53727 echo "configure:3728: checking for tgetent in -lncurses" >&5 3645 3728 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` 3646 3729 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3650 3733 LIBS="-lncurses $LIBS" 3651 3734 cat > conftest.$ac_ext <<EOF 3652 #line 3 653"configure"3735 #line 3736 "configure" 3653 3736 #include "confdefs.h" 3654 3737 /* Override any gcc2 internal prototype to avoid an error. */ … … 3661 3744 ; return 0; } 3662 3745 EOF 3663 if { (eval echo configure:3 664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3746 if { (eval echo configure:3747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3664 3747 rm -rf conftest* 3665 3748 eval "ac_cv_lib_$ac_lib_var=yes" … … 3688 3771 \ 3689 3772 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 3690 echo "configure:3 691: checking for tgetent in -lcurses" >&53773 echo "configure:3774: checking for tgetent in -lcurses" >&5 3691 3774 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` 3692 3775 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3696 3779 LIBS="-lcurses $LIBS" 3697 3780 cat > conftest.$ac_ext <<EOF 3698 #line 3 699"configure"3781 #line 3782 "configure" 3699 3782 #include "confdefs.h" 3700 3783 /* Override any gcc2 internal prototype to avoid an error. */ … … 3707 3790 ; return 0; } 3708 3791 EOF 3709 if { (eval echo configure:37 10: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3792 if { (eval echo configure:3793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3710 3793 rm -rf conftest* 3711 3794 eval "ac_cv_lib_$ac_lib_var=yes" … … 3734 3817 \ 3735 3818 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 3736 echo "configure:3 737: checking for tgetent in -ltermcap" >&53819 echo "configure:3820: checking for tgetent in -ltermcap" >&5 3737 3820 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` 3738 3821 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3742 3825 LIBS="-ltermcap $LIBS" 3743 3826 cat > conftest.$ac_ext <<EOF 3744 #line 3 745"configure"3827 #line 3828 "configure" 3745 3828 #include "confdefs.h" 3746 3829 /* Override any gcc2 internal prototype to avoid an error. */ … … 3753 3836 ; return 0; } 3754 3837 EOF 3755 if { (eval echo configure:3 756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3838 if { (eval echo configure:3839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3756 3839 rm -rf conftest* 3757 3840 eval "ac_cv_lib_$ac_lib_var=yes" … … 3796 3879 3797 3880 echo $ac_n "checking for rl_abort in -lreadline""... $ac_c" 1>&6 3798 echo "configure:3 799: checking for rl_abort in -lreadline" >&53881 echo "configure:3882: checking for rl_abort in -lreadline" >&5 3799 3882 ac_lib_var=`echo readline'_'rl_abort | sed 'y%./+-%__p_%'` 3800 3883 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3804 3887 LIBS="-lreadline $LIBS" 3805 3888 cat > conftest.$ac_ext <<EOF 3806 #line 38 07"configure"3889 #line 3890 "configure" 3807 3890 #include "confdefs.h" 3808 3891 /* Override any gcc2 internal prototype to avoid an error. */ … … 3818 3901 ; return 0; } 3819 3902 EOF 3820 if { (eval echo configure:3 821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3903 if { (eval echo configure:3904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3821 3904 rm -rf conftest* 3822 3905 eval "ac_cv_lib_$ac_lib_var=yes" … … 3846 3929 3847 3930 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6 3848 echo "configure:3 849: checking how to run the C++ preprocessor" >&53931 echo "configure:3932: checking how to run the C++ preprocessor" >&5 3849 3932 if test -z "$CXXCPP"; then 3850 3933 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then … … 3859 3942 CXXCPP="${CXX-g++} -E" 3860 3943 cat > conftest.$ac_ext <<EOF 3861 #line 3 862"configure"3944 #line 3945 "configure" 3862 3945 #include "confdefs.h" 3863 3946 #include <stdlib.h> 3864 3947 EOF 3865 3948 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3866 { (eval echo configure:3 867: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3949 { (eval echo configure:3950: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3867 3950 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3868 3951 if test -z "$ac_err"; then … … 3892 3975 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3893 3976 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3894 echo "configure:3 895: checking for $ac_hdr" >&53977 echo "configure:3978: checking for $ac_hdr" >&5 3895 3978 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3896 3979 echo $ac_n "(cached) $ac_c" 1>&6 3897 3980 else 3898 3981 cat > conftest.$ac_ext <<EOF 3899 #line 39 00"configure"3982 #line 3983 "configure" 3900 3983 #include "confdefs.h" 3901 3984 #include <$ac_hdr> 3902 3985 EOF 3903 3986 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3904 { (eval echo configure:39 05: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3987 { (eval echo configure:3988: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3905 3988 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3906 3989 if test -z "$ac_err"; then … … 3931 4014 test "$ac_cv_header_readline_readline_h" = yes; then 3932 4015 echo $ac_n "checking whether readline.h is ok""... $ac_c" 1>&6 3933 echo "configure: 3934: checking whether readline.h is ok" >&54016 echo "configure:4017: checking whether readline.h is ok" >&5 3934 4017 if eval "test \"`echo '$''{'ac_cv_header_readline_readline_h_ok'+set}'`\" = set"; then 3935 4018 echo $ac_n "(cached) $ac_c" 1>&6 3936 4019 else 3937 4020 cat > conftest.$ac_ext <<EOF 3938 #line 3939"configure"4021 #line 4022 "configure" 3939 4022 #include "confdefs.h" 3940 4023 #include<unistd.h> … … 3961 4044 ; return 0; } 3962 4045 EOF 3963 if { (eval echo configure: 3964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4046 if { (eval echo configure:4047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3964 4047 rm -rf conftest* 3965 4048 ac_cv_header_readline_readline_h_ok="yes" … … 3977 4060 #not ok -- try once more with explicitly declaring everything 3978 4061 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" >&54062 echo "configure:4063: checking whether or not we nevertheless can use readline" >&5 3980 4063 if eval "test \"`echo '$''{'ac_cv_have_readline'+set}'`\" = set"; then 3981 4064 echo $ac_n "(cached) $ac_c" 1>&6 3982 4065 else 3983 4066 cat > conftest.$ac_ext <<EOF 3984 #line 3985"configure"4067 #line 4068 "configure" 3985 4068 #include "confdefs.h" 3986 4069 #include <stdio.h> 3987 3988 int main(){4070 extern "C" 4071 { 3989 4072 extern char * rl_readline_name; 3990 4073 extern char *rl_line_buffer; … … 3997 4080 void add_history (); 3998 4081 int write_history (); 4082 int read_history(); 4083 } 3999 4084 #ifndef NULL 4000 4085 #define NULL 0 4001 4086 #endif 4002 rl_readline_name=NULL; 4087 4088 int main() { 4089 rl_readline_name=NULL; 4003 4090 *rl_line_buffer=1; 4004 4091 completion_matches(NULL, filename_completion_function); … … 4012 4099 ; return 0; } 4013 4100 EOF 4014 if { (eval echo configure:4 015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4101 if { (eval echo configure:4102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4015 4102 rm -rf conftest* 4016 4103 ac_cv_have_readline="yes" … … 4056 4143 # gmp, smallgmp, MP, MPT, factory, libfac 4057 4144 echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6 4058 echo "configure:4 059: checking for main in -lgmp" >&54145 echo "configure:4146: checking for main in -lgmp" >&5 4059 4146 ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'` 4060 4147 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4064 4151 LIBS="-lgmp $LIBS" 4065 4152 cat > conftest.$ac_ext <<EOF 4066 #line 4 067"configure"4153 #line 4154 "configure" 4067 4154 #include "confdefs.h" 4068 4155 … … 4071 4158 ; return 0; } 4072 4159 EOF 4073 if { (eval echo configure:4 074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4160 if { (eval echo configure:4161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4074 4161 rm -rf conftest* 4075 4162 eval "ac_cv_lib_$ac_lib_var=yes" … … 4102 4189 fi 4103 4190 echo $ac_n "checking for main in -lsmallgmp""... $ac_c" 1>&6 4104 echo "configure:41 05: checking for main in -lsmallgmp" >&54191 echo "configure:4192: checking for main in -lsmallgmp" >&5 4105 4192 ac_lib_var=`echo smallgmp'_'main | sed 'y%./+-%__p_%'` 4106 4193 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4110 4197 LIBS="-lsmallgmp $LIBS" 4111 4198 cat > conftest.$ac_ext <<EOF 4112 #line 4 113"configure"4199 #line 4200 "configure" 4113 4200 #include "confdefs.h" 4114 4201 … … 4117 4204 ; return 0; } 4118 4205 EOF 4119 if { (eval echo configure:4 120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4206 if { (eval echo configure:4207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4120 4207 rm -rf conftest* 4121 4208 eval "ac_cv_lib_$ac_lib_var=yes" … … 4145 4232 4146 4233 echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6 4147 echo "configure:4 148: checking for IMP_PutGmpInt in -lMP" >&54234 echo "configure:4235: checking for IMP_PutGmpInt in -lMP" >&5 4148 4235 ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'` 4149 4236 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4153 4240 LIBS="-lMP $LIBS" 4154 4241 cat > conftest.$ac_ext <<EOF 4155 #line 4 156"configure"4242 #line 4243 "configure" 4156 4243 #include "confdefs.h" 4157 4244 /* Override any gcc2 internal prototype to avoid an error. */ … … 4164 4251 ; return 0; } 4165 4252 EOF 4166 if { (eval echo configure:4 167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4253 if { (eval echo configure:4254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4167 4254 rm -rf conftest* 4168 4255 eval "ac_cv_lib_$ac_lib_var=yes" … … 4192 4279 4193 4280 echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6 4194 echo "configure:4 195: checking for MPT_GetTree in -lMPT" >&54281 echo "configure:4282: checking for MPT_GetTree in -lMPT" >&5 4195 4282 ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'` 4196 4283 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4200 4287 LIBS="-lMPT $LIBS" 4201 4288 cat > conftest.$ac_ext <<EOF 4202 #line 42 03"configure"4289 #line 4290 "configure" 4203 4290 #include "confdefs.h" 4204 4291 /* Override any gcc2 internal prototype to avoid an error. */ … … 4211 4298 ; return 0; } 4212 4299 EOF 4213 if { (eval echo configure:4 214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4300 if { (eval echo configure:4301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4214 4301 rm -rf conftest* 4215 4302 eval "ac_cv_lib_$ac_lib_var=yes" … … 4239 4326 4240 4327 echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6 4241 echo "configure:4 242: checking for atof in -lsingcf" >&54328 echo "configure:4329: checking for atof in -lsingcf" >&5 4242 4329 ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'` 4243 4330 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4247 4334 LIBS="-lsingcf $LIBS" 4248 4335 cat > conftest.$ac_ext <<EOF 4249 #line 4 250"configure"4336 #line 4337 "configure" 4250 4337 #include "confdefs.h" 4251 4338 /* Override any gcc2 internal prototype to avoid an error. */ … … 4258 4345 ; return 0; } 4259 4346 EOF 4260 if { (eval echo configure:4 261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4347 if { (eval echo configure:4348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4261 4348 rm -rf conftest* 4262 4349 eval "ac_cv_lib_$ac_lib_var=yes" … … 4286 4373 4287 4374 echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6 4288 echo "configure:4 289: checking for atof in -lsingfac" >&54375 echo "configure:4376: checking for atof in -lsingfac" >&5 4289 4376 ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'` 4290 4377 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4294 4381 LIBS="-lsingfac $LIBS" 4295 4382 cat > conftest.$ac_ext <<EOF 4296 #line 4 297"configure"4383 #line 4384 "configure" 4297 4384 #include "confdefs.h" 4298 4385 /* Override any gcc2 internal prototype to avoid an error. */ … … 4305 4392 ; return 0; } 4306 4393 EOF 4307 if { (eval echo configure:43 08: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4394 if { (eval echo configure:4395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4308 4395 rm -rf conftest* 4309 4396 eval "ac_cv_lib_$ac_lib_var=yes" … … 4337 4424 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4338 4425 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4339 echo "configure:4 340: checking for $ac_hdr" >&54426 echo "configure:4427: checking for $ac_hdr" >&5 4340 4427 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4341 4428 echo $ac_n "(cached) $ac_c" 1>&6 4342 4429 else 4343 4430 cat > conftest.$ac_ext <<EOF 4344 #line 4 345"configure"4431 #line 4432 "configure" 4345 4432 #include "confdefs.h" 4346 4433 #include <$ac_hdr> 4347 4434 EOF 4348 4435 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4349 { (eval echo configure:4 350: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4436 { (eval echo configure:4437: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4350 4437 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4351 4438 if test -z "$ac_err"; then … … 4404 4491 # evaluate results 4405 4492 echo $ac_n "checking which apint package to use""... $ac_c" 1>&6 4406 echo "configure:44 07: checking which apint package to use" >&54493 echo "configure:4494: checking which apint package to use" >&5 4407 4494 if test "${with_apint}" != gmp && test "${with_apint}" != smallgmp; then 4408 4495 if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then … … 4448 4535 if test "$with_dl" != no; then 4449 4536 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 4450 echo "configure:4 451: checking for dlopen in -ldl" >&54537 echo "configure:4538: checking for dlopen in -ldl" >&5 4451 4538 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` 4452 4539 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4456 4543 LIBS="-ldl $LIBS" 4457 4544 cat > conftest.$ac_ext <<EOF 4458 #line 4 459"configure"4545 #line 4546 "configure" 4459 4546 #include "confdefs.h" 4460 4547 /* Override any gcc2 internal prototype to avoid an error. */ … … 4467 4554 ; return 0; } 4468 4555 EOF 4469 if { (eval echo configure:4 470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4556 if { (eval echo configure:4557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4470 4557 rm -rf conftest* 4471 4558 eval "ac_cv_lib_$ac_lib_var=yes" … … 4507 4594 fi 4508 4595 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 4509 echo "configure:45 10: checking for shl_load in -ldld" >&54596 echo "configure:4597: checking for shl_load in -ldld" >&5 4510 4597 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` 4511 4598 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4515 4602 LIBS="-ldld $LIBS" 4516 4603 cat > conftest.$ac_ext <<EOF 4517 #line 4 518"configure"4604 #line 4605 "configure" 4518 4605 #include "confdefs.h" 4519 4606 /* Override any gcc2 internal prototype to avoid an error. */ … … 4526 4613 ; return 0; } 4527 4614 EOF 4528 if { (eval echo configure:4 529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4615 if { (eval echo configure:4616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4529 4616 rm -rf conftest* 4530 4617 eval "ac_cv_lib_$ac_lib_var=yes" … … 4566 4653 4567 4654 echo $ac_n "checking whether to have MP""... $ac_c" 1>&6 4568 echo "configure:4 569: checking whether to have MP" >&54655 echo "configure:4656: checking whether to have MP" >&5 4569 4656 if test "${with_MP}" != yes && test "${with_MP}" != no; then 4570 4657 if (test "${will_have_gmp}" = yes) && \ … … 4597 4684 4598 4685 echo $ac_n "checking whether to have factory""... $ac_c" 1>&6 4599 echo "configure:46 00: checking whether to have factory" >&54686 echo "configure:4687: checking whether to have factory" >&5 4600 4687 if test "${with_factory}" != yes && test "${with_factory}" != no; then 4601 4688 if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then … … 4628 4715 4629 4716 echo $ac_n "checking whether to have libfac""... $ac_c" 1>&6 4630 echo "configure:4 631: checking whether to have libfac" >&54717 echo "configure:4718: checking whether to have libfac" >&5 4631 4718 if test "${with_libfac}" != yes && test "${with_libfac}" != no; then 4632 4719 if (test "${will_have_factory}" = yes) && \ … … 4660 4747 4661 4748 echo $ac_n "checking whether to have dbm links""... $ac_c" 1>&6 4662 echo "configure:4 663: checking whether to have dbm links" >&54749 echo "configure:4750: checking whether to have dbm links" >&5 4663 4750 if test "$with_dbm" != no; then 4664 4751 cat >> confdefs.h <<\EOF … … 4672 4759 4673 4760 echo $ac_n "checking whether to have namespaces""... $ac_c" 1>&6 4674 echo "configure:4 675: checking whether to have namespaces" >&54761 echo "configure:4762: checking whether to have namespaces" >&5 4675 4762 if test "$with_namespaces" != yes; then 4676 4763 echo "$ac_t""no" 1>&6 … … 4684 4771 4685 4772 echo $ac_n "checking whether to have dynamic loading""... $ac_c" 1>&6 4686 echo "configure:4 687: checking whether to have dynamic loading" >&54773 echo "configure:4774: checking whether to have dynamic loading" >&5 4687 4774 if test "$with_dl" != yes; then 4688 4775 echo "$ac_t""no" 1>&6 … … 4697 4784 HPUX-9) 4698 4785 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 4699 echo "configure:47 00: checking for shl_load in -ldld" >&54786 echo "configure:4787: checking for shl_load in -ldld" >&5 4700 4787 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` 4701 4788 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4705 4792 LIBS="-ldld $LIBS" 4706 4793 cat > conftest.$ac_ext <<EOF 4707 #line 47 08"configure"4794 #line 4795 "configure" 4708 4795 #include "confdefs.h" 4709 4796 /* Override any gcc2 internal prototype to avoid an error. */ … … 4716 4803 ; return 0; } 4717 4804 EOF 4718 if { (eval echo configure:4 719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4805 if { (eval echo configure:4806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4719 4806 rm -rf conftest* 4720 4807 eval "ac_cv_lib_$ac_lib_var=yes" … … 4748 4835 HPUX-10) 4749 4836 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 4750 echo "configure:4 751: checking for shl_load in -ldld" >&54837 echo "configure:4838: checking for shl_load in -ldld" >&5 4751 4838 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` 4752 4839 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4756 4843 LIBS="-ldld $LIBS" 4757 4844 cat > conftest.$ac_ext <<EOF 4758 #line 4 759"configure"4845 #line 4846 "configure" 4759 4846 #include "confdefs.h" 4760 4847 /* Override any gcc2 internal prototype to avoid an error. */ … … 4767 4854 ; return 0; } 4768 4855 EOF 4769 if { (eval echo configure:4 770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4856 if { (eval echo configure:4857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4770 4857 rm -rf conftest* 4771 4858 eval "ac_cv_lib_$ac_lib_var=yes" … … 4806 4893 4807 4894 echo $ac_n "checking whether to use mtrack""... $ac_c" 1>&6 4808 echo "configure:48 09: checking whether to use mtrack" >&54895 echo "configure:4896: checking whether to use mtrack" >&5 4809 4896 if test "$with_mtrack" = yes && test "$ac_cv_singuname" = ix86-Linux; then 4810 4897 echo "$ac_t""yes" 1>&6 … … 4820 4907 4821 4908 echo $ac_n "checking which exponent type to use""... $ac_c" 1>&6 4822 echo "configure:4 823: checking which exponent type to use" >&54909 echo "configure:4910: checking which exponent type to use" >&5 4823 4910 if test "$with_exp_type" = "char"; then 4824 4911 echo "$ac_t""char" 1>&6 … … 4952 5039 4953 5040 ac_given_srcdir=$srcdir 5041 ac_given_INSTALL="$INSTALL" 4954 5042 4955 5043 trap 'rm -fr `echo "Makefile mod2.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 … … 4992 5080 s%@CPP@%$CPP%g 4993 5081 s%@CXX@%$CXX%g 5082 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g 5083 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g 5084 s%@INSTALL_DATA@%$INSTALL_DATA%g 4994 5085 s%@PIPE@%$PIPE%g 4995 5086 s%@CXXTEMPLFLAGS@%$CXXTEMPLFLAGS%g … … 5083 5174 esac 5084 5175 5176 case "$ac_given_INSTALL" in 5177 [/$]*) INSTALL="$ac_given_INSTALL" ;; 5178 *) INSTALL="$ac_dots$ac_given_INSTALL" ;; 5179 esac 5085 5180 5086 5181 echo creating "$ac_file" … … 5098 5193 s%@srcdir@%$srcdir%g 5099 5194 s%@top_srcdir@%$top_srcdir%g 5195 s%@INSTALL@%$INSTALL%g 5100 5196 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file 5101 5197 fi; done -
Singular/configure.in
rf9bfec ref0124 48 48 SINGULAR_MAJOR_VERSION=${SINGULAR_MAJOR_VERSION:-1} 49 49 SINGULAR_MINOR_VERSION=${SINGULAR_MINOR_VERSION:-3} 50 SINGULAR_SUB_VERSION=${SINGULAR_SUB_VERSION:- 7}50 SINGULAR_SUB_VERSION=${SINGULAR_SUB_VERSION:-8} 51 51 SINGULAR_VERSION="${SINGULAR_VERSION:-$SINGULAR_MAJOR_VERSION${VERSION_SEP}$SINGULAR_MINOR_VERSION${VERSION_SEP}$SINGULAR_SUB_VERSION}" 52 VERSION_DATE=${VERSION_DATE:-"Ma rch2000"}52 VERSION_DATE=${VERSION_DATE:-"May 2000"} 53 53 54 54 dnl pass them on into the Makefiles … … 85 85 AC_PROG_CPP 86 86 AC_PROG_CXX 87 AC_PROG_INSTALL 87 88 AC_AIX 88 89 … … 173 174 # expand bindir 174 175 test "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}176 SINGULAR=${SINGULAR:-$bindir/Singular-$SINGULAR_MAJOR_VERSION${VERSION_SEP}$SINGULAR_MINOR_VERSION${VERSION_SEP}$SINGULAR_SUB_VERSION} 176 177 AC_SUBST(SINGULAR) 177 178 AC_DEFINE_UNQUOTED(S_BIN_DIR, "${bindir}") … … 575 576 AC_TRY_LINK( 576 577 #include <stdio.h> 577 , 578 extern "C" 579 { 578 580 extern char * rl_readline_name; 579 581 extern char *rl_line_buffer; … … 586 588 void add_history (); 587 589 int write_history (); 590 int read_history(); 591 } 588 592 #ifndef NULL 589 593 #define NULL 0 590 594 #endif 591 rl_readline_name=NULL; 595 , 596 rl_readline_name=NULL; 592 597 *rl_line_buffer=1; 593 598 completion_matches(NULL, filename_completion_function); -
Singular/emacs.cc
rf9bfec ref0124 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: emacs.cc,v 1.1 2 2000-04-27 10:07:05obachman Exp $ */4 /* $Id: emacs.cc,v 1.13 2000-05-05 18:40:27 obachman Exp $ */ 5 5 /* 6 6 * ABSTRACT: Esingular main file … … 10 10 #include <unistd.h> 11 11 #include <stdlib.h> 12 12 #include <windows.h> 13 13 #include "mod2.h" 14 14 #include "version.h" 15 15 16 #if !defined(TSINGULAR) && !defined(ESINGULAR) 16 17 #define ESINGULAR 18 #endif 17 19 18 20 #define Alloc malloc … … 38 40 # define DIR_SEPP "/" 39 41 # define UP_DIR ".." 40 #define Warn printf 41 #define WarnS printf 42 43 #ifndef WINNT 44 void 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> 52 void 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 42 69 #define StringAppend printf 43 #define Print printf70 #define Print error 44 71 45 72 #define feReportBug(s) fePrintReportBug(s, __FILE__, __LINE__) 46 73 void fePrintReportBug(char* msg, char* file, int line) 47 74 { 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. 76 Please, email the following output to singular@mathematik.uni-kl.de 77 Bug occured at %s:%d 78 Message: %s 79 Version: " S_UNAME S_VERSION1 " (%lu) " __DATE__ __TIME__, 80 file, line, msg, feVersionId); 81 54 82 } 55 83 56 84 void assume_violation(char* file, int line) 57 85 { 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); 59 87 } 60 88 … … 67 95 void mainUsage() 68 96 { 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); 70 98 } 71 99 … … 108 136 switch(option_index) 109 137 { 138 #ifdef TSINGULAR 139 case FE_OPT_XTERM: 140 emacs = fe_optarg; 141 break; 142 #else 110 143 case FE_OPT_EMACS: 111 144 emacs = fe_optarg; … … 119 152 emacs_load = fe_optarg; 120 153 break; 121 154 #endif 122 155 case FE_OPT_SINGULAR: 123 156 singular = fe_optarg; 124 157 break; 125 158 126 case FE_OPT_NO_ EMACS_CALL:159 case FE_OPT_NO_CALL: 127 160 no_emacs_call = 1; 128 161 break; … … 142 175 NEXT:{} 143 176 } 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 145 224 // make sure emacs, singular, emacs_dir, emacs_load are set 146 225 if (emacs == NULL) emacs = feResource("emacs", 0); … … 148 227 if (emacs == NULL) 149 228 { 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")); 152 231 mainUsage(); 153 232 exit(1); … … 157 236 if (singular == NULL) 158 237 { 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", 160 239 feResourceDefault("SingularEmacs")); 161 240 mainUsage(); … … 166 245 if (emacs_dir == NULL) 167 246 { 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", 169 248 feResourceDefault("EmacsDir")); 170 249 mainUsage(); … … 191 270 if (emacs_load == NULL) 192 271 { 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", 194 273 feResourceDefault("EmacsLoad")); 195 274 mainUsage(); … … 200 279 } 201 280 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); 214 286 char* prefix = "--"; 215 287 if (strstr(emacs, "xemacs") || strstr(emacs, "Xemacs") || strstr(emacs, "XEMACS")) … … 225 297 singular, cwd); 226 298 299 227 300 for (i=1; i<argc; i++) 228 301 { … … 235 308 } 236 309 strcat(syscall, ") \"singular\")'"); 237 310 #endif 311 238 312 if (no_emacs_call) 239 313 { … … 244 318 if (system(syscall) != 0) 245 319 { 246 fprintf(stderr,"Error: Execution of\n%s\n", syscall);320 error( "Error: Execution of\n%s\n", syscall); 247 321 mainUsage(); 248 322 exit(1); -
Singular/feOpt.cc
rf9bfec ref0124 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: feOpt.cc,v 1.1 0 2000-04-27 10:07:06obachman Exp $ */4 /* $Id: feOpt.cc,v 1.11 2000-05-05 18:40:28 obachman Exp $ */ 5 5 /* 6 6 * ABSTRACT: Implementation of option buisness … … 52 52 // i.e., their help is not printed on -h 53 53 // 54 #if defined(ESINGULAR) || defined(TSINGULAR) 54 55 #ifdef ESINGULAR 55 56 // options only relevant for ESINGULAR … … 62 63 {"emacs-load", required_argument, LONG_OPTION_RETURN, 63 64 "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 64 69 65 70 {"singular", required_argument, LONG_OPTION_RETURN, 66 71 "PROG", "Start PROG as Singular program within emacs", feOptString, 0, 0}, 67 72 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}, 70 75 #endif 71 76 … … 171 176 #ifdef ESINGULAR 172 177 fd = fopen("feOptES.inc", "w"); 173 #else 178 #elif defined(TSINGULAR) 179 fd = fopen("feOptXS.inc", "w"); 180 #else 174 181 fd = fopen("feOpt.inc", "w"); 175 182 #endif … … 262 269 // Return: NULL -- everything ok 263 270 // "error-string" on error 264 #if ndef ESINGULAR271 #if !defined(ESINGULAR) && !defined(TSINGULAR) 265 272 #include "mmemory.h" 266 273 #include "febase.h" -
Singular/feOpt.h
rf9bfec ref0124 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: feOpt.h,v 1. 5 2000-02-01 15:30:23 SingularExp $ */6 /* $Id: feOpt.h,v 1.6 2000-05-05 18:40:28 obachman Exp $ */ 7 7 /* 8 8 * ABSTRACT: Declarations for working with Options … … 23 23 #ifdef ESINGULAR 24 24 #include "feOptES.inc" 25 #elif defined(TSINGULAR) 26 #include "feOptTS.inc" 25 27 #else 26 28 #include "feOpt.inc" -
Singular/feResource.cc
rf9bfec ref0124 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: feResource.cc,v 1.2 3 2000-04-27 10:07:06obachman Exp $ */4 /* $Id: feResource.cc,v 1.24 2000-05-05 18:40:28 obachman Exp $ */ 5 5 /* 6 6 * ABSTRACT: management of resources … … 11 11 #include "mod2.h" 12 12 #include "distrib.h" 13 #if ndef ESINGULAR13 #if !defined(ESINGULAR) && !defined(TSINGULAR) 14 14 #include "mmemory.h" 15 15 #include "febase.h" … … 21 21 22 22 #if defined(MAKE_DISTRIBUTION) 23 #if defined(WINNT) 23 #if defined(WINNT) && ! defined(__CYGWIN__) 24 24 #define SINGULAR_DEFAULT_DIR "/Singular/"S_VERSION1 25 25 #elif defined(macintosh) … … 80 80 {"info", 'I', feResBinary,"INFO", "%b/info", ""}, 81 81 {"tkinfo", 'T', feResBinary,"TKINFO", "%b/tkinfo", ""}, 82 #ifdef WINNT 83 {"rxvt", 'X', feResBinary,"RXVT", "%b/rxvt", ""}, 84 #else 82 85 {"xterm", 'X', feResBinary,"XTERM", "%b/xterm", ""}, 86 #endif 83 87 {"Path", 'p', feResPath, NULL, "%b;$PATH", ""}, 84 88 #endif // ! defined(macintosh) … … 90 94 {"EmacsLoad",'l', feResFile, "ESINGULAR_EMACS_LOAD", "%e/.emacs-singular", ""}, 91 95 {"EmacsDir", 'e', feResDir, "ESINGULAR_EMACS_DIR", "%r/emacs", ""}, 96 #elif defined(TSINGULAR) 97 {"SingularXterm",'M',feResBinary, "TSINGULAR_SINGULAR", "%b/Singular", ""}, 92 98 #else 93 99 {"EmacsDir", 'e', feResDir, "SINGULAR_EMACS_DIR", "%r/emacs", ""}, … … 254 260 static char* feResourceDefault(feResourceConfig config) 255 261 { 262 if (config == NULL) return NULL; 256 263 char* value = (char*) AllocL(MAXRESOURCELEN); 257 264 feSprintf(value, config->fmt, -1); … … 299 306 if (executable != NULL) 300 307 { 308 #ifdef RESOURCE_DEBUG 309 printf("exec:%s\n", executable); 310 #endif 301 311 strcpy(value, executable); 312 #ifdef RESOURCE_DEBUG 313 printf("value:%s\n", value); 314 #endif 302 315 FreeL(executable); 303 316 } … … 317 330 } 318 331 } 332 333 #ifdef RESOURCE_DEBUG 334 printf("value:%s\n", value); 335 #endif 319 336 320 337 if (*value == '\0' && config->fmt != NULL ) … … 401 418 char* executable = find_executable(feArgv0); 402 419 #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)); 404 421 #endif 405 422 if (executable == NULL) … … 421 438 #ifdef RESOURCE_DEBUG 422 439 printf("feVerifyResourceValue: entering with =%s=\n", value); 440 printf("%d:%d\n", access(value, R_OK), access(value, X_OK)); 423 441 #endif 424 442 switch(type) … … 449 467 { 450 468 if (value == NULL || *value == '\0') return value; 469 #ifdef RESOURCE_DEBUG 470 printf("Clean value:%s\n", value); 471 #endif 451 472 #ifdef WINNT 473 #ifdef RESOURCE_DEBUG 474 printf("Clean WINNT value:%s\n", value); 475 #endif 452 476 if (type == feResBinary) 453 477 { 454 478 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)) 456 481 strcat(value, ".exe"); 457 482 } -
Singular/fehelp.cc
rf9bfec ref0124 23 23 #include "feOpt.h" 24 24 25 25 26 /***************************************************************** 26 27 * … … 64 65 // browser functions 65 66 static BOOLEAN heInfoInit(int); static void heInfoHelp(heEntry hentry); 66 #if ! defined( WINNT) && ! defined(macintosh)67 #if ! defined(macintosh) 67 68 static BOOLEAN heNetscapeInit(int);static void heNetscapeHelp(heEntry hentry); 68 69 static BOOLEAN heXinfoInit(int); static void heXinfoHelp(heEntry hentry); … … 73 74 static BOOLEAN heEmacsInit(int); static void heEmacsHelp(heEntry hentry); 74 75 76 #ifdef WINNT 77 static void heHtmlHelp(heEntry hentry); 78 extern "C" void heOpenWinntUrl(const char* url, int local); 79 #endif 80 75 81 static heBrowser heCurrentHelpBrowser = NULL; 76 82 … … 84 90 static heBrowser_s heHelpBrowsers[] = 85 91 { 86 #if ! defined(WINNT) && ! defined(macintosh) 92 #ifdef WINNT 93 { "html", heDummyInit, heHtmlHelp}, 94 #endif 95 #if ! defined(macintosh) 87 96 { "netscape", heNetscapeInit, heNetscapeHelp}, 88 97 { "tkinfo", heTkinfoInit, heTkinfoHelp}, … … 732 741 } 733 742 734 #if ! defined( WINNT) && ! defined(macintosh)743 #if ! defined(macintosh) 735 744 static BOOLEAN heNetscapeInit(int warn) 736 745 { … … 740 749 return FALSE; 741 750 } 751 #ifndef WINNT 742 752 if (getenv("DISPLAY") == NULL) 743 753 { … … 746 756 return FALSE; 747 757 } 748 758 #endif 749 759 750 760 if (feResource('h' /*"HtmlDir"*/, (feOptValue(FE_OPT_ALLOW_NET)? 0 : warn)) … … 787 797 sprintf(url, "%s%s/index.htm", urltype, htmldir); 788 798 } 799 #ifndef WINNT 789 800 sprintf(sys, "%s --remote 'OpenUrl(%s)' > /dev/null 2>&1", 801 #else 802 sprintf(sys, "%s %s", 803 #endif 790 804 feResource('N' /*"netscape"*/), url); 791 805 … … 805 819 } 806 820 821 #ifdef WINNT 822 static 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 807 834 static BOOLEAN heXinfoInit(int warn) 808 835 { 836 #ifndef WINNT 809 837 if (getenv("DISPLAY") == NULL) 810 838 { … … 813 841 return FALSE; 814 842 } 843 #endif 815 844 if (feResource('i', warn) == NULL) 816 845 { … … 834 863 char sys[MAX_SYSCMD_LEN]; 835 864 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 836 871 if (hentry != NULL && *(hentry->key) != '\0') 837 872 { 838 873 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); 841 877 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); 844 881 } 845 882 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')); 848 886 system(sys); 849 887 } … … 851 889 static BOOLEAN heTkinfoInit(int warn) 852 890 { 891 #ifndef WINNT 853 892 if (getenv("DISPLAY") == NULL) 854 893 { … … 857 896 return FALSE; 858 897 } 898 #endif 859 899 if (feResource('i', warn) == NULL) 860 900 { … … 884 924 system(sys); 885 925 } 886 #endif // ! defined( WINNT) && ! defined(macintosh)926 #endif // ! defined(macintosh) 887 927 888 928 static BOOLEAN heDummyInit(int warn) -
Singular/find_exec.c
rf9bfec ref0124 19 19 #include <string.h> 20 20 21 #if ndef ESINGULAR21 #if !defined(ESINGULAR) && !defined(XSINGULAR) 22 22 #include "mmemory.h" 23 23 #endif … … 27 27 #define MAXPATHLEN 1024 28 28 #endif 29 30 29 31 30 /* Do not return copies of sth, but simply the strings -
configure
rf9bfec ref0124 649 649 SINGULAR_MAJOR_VERSION=1 650 650 SINGULAR_MINOR_VERSION=3 651 SINGULAR_SUB_VERSION= 7651 SINGULAR_SUB_VERSION=8 652 652 SINGULAR_SHORT_VERSION="${SINGULAR_MAJOR_VERSION}${VERSION_SEP}${SINGULAR_MINOR_VERSION}" 653 653 SINGULAR_VERSION="${SINGULAR_SHORT_VERSION}${VERSION_SEP}${SINGULAR_SUB_VERSION}" 654 VERSION_DATE=" April2000"654 VERSION_DATE="May 2000" 655 655 656 656 export SINGULAR_MINOR_VERSION -
configure.in
rf9bfec ref0124 48 48 fi 49 49 50 if test "$ac_cv_singuname" = ix86-Win; then51 EXEC_EXT=".exe"52 fi53 54 50 SING_UNAME=`echo $SINGUNAME | tr '-' '_' ` 55 51 AC_SUBST(SING_UNAME) … … 64 60 SINGULAR_MAJOR_VERSION=1 65 61 SINGULAR_MINOR_VERSION=3 66 SINGULAR_SUB_VERSION= 762 SINGULAR_SUB_VERSION=8 67 63 SINGULAR_SHORT_VERSION="${SINGULAR_MAJOR_VERSION}${VERSION_SEP}${SINGULAR_MINOR_VERSION}" 68 64 SINGULAR_VERSION="${SINGULAR_SHORT_VERSION}${VERSION_SEP}${SINGULAR_SUB_VERSION}" 69 VERSION_DATE=" April2000"65 VERSION_DATE="May 2000" 70 66 71 67 export SINGULAR_MINOR_VERSION … … 164 160 165 161 # 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}162 SINGULAR=${bindir}/Singular-${SINGULAR_MAJOR_VERSION}${VERSION_SEP}${SINGULAR_MINOR_VERSION}${VERSION_SEP}${SINGULAR_SUB_VERSION} 167 163 export SINGULAR 168 164 AC_SUBST(SINGULAR) -
doc/COPYING.texi
rf9bfec ref0124 1 1 @comment -*-texinfo-*- 2 @comment $Id: COPYING.texi,v 1. 5 2000-02-04 13:21:14obachman Exp $2 @comment $Id: COPYING.texi,v 1.6 2000-05-05 18:40:33 obachman Exp $ 3 3 @comment this file contains the copyright notice on Singular 4 4 @ifclear VERSION … … 18 18 @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} 19 19 20 @center Copyright @copyright{} 1986- 99; All Rights Reserved20 @center Copyright @copyright{} 1986-2000; All Rights Reserved 21 21 @sp 2 22 22 @center @strong{NOTICE} … … 40 40 41 41 @item 42 You have registered yourself as a @sc{Singular} user by sending email to @*42 You have registered yourself as a @sc{Singular} user by sending email to 43 43 @email{singular@@mathematik.uni-kl.de} 44 with the subject line (or, mail body)44 with the subject line 45 45 @code{register}. 46 46 @end enumerate -
emacs/.emacs-singular
rf9bfec ref0124 1 1 ;;; Emacs edit mode for this file is -*- Emacs-Lisp -*- 2 ;;; $Id: .emacs-singular,v 1.1 1 1999-12-22 10:22:45 wichmann Exp $2 ;;; $Id: .emacs-singular,v 1.12 2000-05-05 18:40:34 obachman Exp $ 3 3 4 4 ;;; … … 94 94 95 95 ;; 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) 97 101 98 102 … … 128 132 '(singular-cursor-key-model (quote terminal)) 129 133 '(transient-mark-mode t) 134 '(Info-button1-follows-hyperlink t) 130 135 '(singular-section-face-alist (quote ((input . singular-section-input-face) (output))))) 131 136 … … 141 146 '(font-lock-comment-face ((t (:bold nil :foreground "Red"))) t) 142 147 '(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)))) 143 150 ;; obachman: played around a little bit, found this better 144 151 ;; '(singular-section-input-face ((t (:bold t)))) -
emacs/singular.el
rf9bfec ref0124 1 1 ;;; singular.el --- Emacs support for Computer Algebra System Singular 2 2 3 ;; $Id: singular.el,v 1.5 6 2000-04-27 12:12:27 wichmann Exp $3 ;; $Id: singular.el,v 1.57 2000-05-05 18:40:34 obachman Exp $ 4 4 5 5 ;;; Commentary: … … 3329 3329 (save-excursion 3330 3330 (set-buffer process-buffer) 3331 ( send-string3331 (process-send-string 3332 3332 process 3333 3333 (concat (singular-run-hook-with-arg-and-value … … 3979 3979 (setq start-string (buffer-substring (point) (point-max))) 3980 3980 (delete-region (point) (point-max)) 3981 ( send-string process start-string)))3981 (process-send-string process start-string))) 3982 3982 3983 3983 ;; read history if present
Note: See TracChangeset
for help on using the changeset viewer.