Changeset 98d771 in git


Ignore:
Timestamp:
May 23, 1997, 1:32:02 PM (26 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', 'a7324b6e0b44a1a8ed3fa4d9ca3e2ff210ddd52c')
Children:
13e2da8b37e4f3964c7e1f5118de1d5f263b7bd5
Parents:
5b6c3122b40fc4de7e64d746da3d95e818170166
Message:
Fri May 23 13:17:24 1997  Olaf Bachmann
<obachman@schlupp.mathematik.uni-kl.de (Olaf Bachmann)>

	* configure.in: added option --without-info


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

Legend:

Unmodified
Added
Removed
  • Singular/ChangeLog

    r5b6c31 r98d771  
     1Fri May 23 13:17:24 1997  Olaf Bachmann  <obachman@schlupp.mathematik.uni-kl.de (Olaf Bachmann)>
     2
     3        * configure.in: added option --without-info
     4
    15Thu May 22 16:39:16 1997  Olaf Bachmann  <obachman@schlupp.mathematik.uni-kl.de (Olaf Bachmann)>
    26
  • Singular/INSTALL

    r5b6c31 r98d771  
    145145               without DBM and DBM links are disabled.
    146146
     147  'info'     : Uses the 'info' program for displaying the Singular
     148               documentation on a 'help' copmmand. This requires that
     149               the 'info' programm is installed on your system. If
     150               this program is not found, the a built-in display
     151               routine is used.
    147152  'MP'       : Uses the MP library for MP links. Requires that
    148153               libgmp.a, libMP.a, libMPT.a and gmp.h, MP.h, MPT.h are
  • Singular/Makefile.in

    r5b6c31 r98d771  
    111111        kutil.h mpsr_Put.h spolys0.h
    112112
    113 TESTS=${testdir}/check ${testdir}/input ${testdir}/output
     113TESTS=${testdir}/comparecheck ${testdir}/fac_test.in ${testdir}/fac_test.out\
     114        ${testdir}/general_test.in ${testdir}/general_test.out \
     115        ${testdir}/mpcheck ${testdir}/mpcheck.data
    114116
    115117DOCS=${docdir}/Makefile.in ${docdir}/copyright.tex ${docdir}/doc2tex.c \
     
    170172        ${CXX} ${CXXNOOPTFLAGS} ${CPPFLAGS} ${DEFS} -c $<
    171173       
    172 iparith.inc mpsr_Tok.inc : iparith.cc ipconv.cc tok.h mpsr_Tok.cc grammar.h
     174iparith.inc mpsr_Tok.inc: iparith.cc ipconv.cc tok.h mpsr_Tok.cc grammar.h
    173175        ${CXX} ${CXXFLAGS} ${CPPFLAGS} ${DEFS} -DGENTABLE -o gentable \
    174176        iparith.cc tesths.cc mpsr_Tok.cc ${OBJS} ${LDFLAGS} ${LIBS}
     
    283285
    284286dist:
    285         -rm -rf ${DIST_NAME}
    286         -rm -f ${DIST_NAME}.tar.gz
    287         ${MKINSTALLDIRS} ${DIST_NAME}/LIB/gftables
    288         -ln ${DISTFILES} ${DIST_NAME}
    289         -ln LIB/*.lib ${DIST_NAME}/LIB
    290         -ln LIB/gftables/* ${DIST_NAME}/LIB/gftables
    291         tar cvf ${DIST_NAME}.tar  ${DIST_NAME}
    292         gzip -9 ${DIST_NAME}.tar
     287        rm -rf ${DISTNAME}.tar* ${TEMPDIR}/${DISTNAME}*
     288        mkdir ${TEMPDIR}/${DISTNAME}
     289        - cp -pR . ${TEMPDIR}/${DISTNAME}
     290        cd ${TEMPDIR}/${DISTNAME}; ${MAKE} distclean;
     291        cd ${TEMPDIR}; tar cf ${DISTNAME}.tar ${DISTNAME}
     292        rm -rf ${TEMPDIR}/${DISTNAME}
     293        - gzip -9 ${TEMPDIR}/${DISTNAME}.tar
     294        - mv ${TEMPDIR}/${DISTNAME}.tar.gz .
    293295
    294296TAGS:
  • Singular/configure

    r5b6c31 r98d771  
    2121ac_help="$ac_help
    2222  --without-dbm        do not use dbm (disables DBM links)"
     23ac_help="$ac_help
     24  --without-info       do not use info for help (use buildin help, instead)"
    2325ac_help="$ac_help
    2426  --without-dld        do not use dld (disables dynamic linking)"
     
    680682#endif
    681683EOF
    682 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:683: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     684if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:685: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    683685  ac_cv_prog_gcc=yes
    684686else
     
    732734  # not just through cpp.
    733735  cat > conftest.$ac_ext <<EOF
    734 #line 735 "configure"
     736#line 737 "configure"
    735737#include "confdefs.h"
    736738#include <assert.h>
     
    738740EOF
    739741ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    740 { (eval echo configure:741: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     742{ (eval echo configure:743: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    741743ac_err=`grep -v '^ *+' conftest.out`
    742744if test -z "$ac_err"; then
     
    747749  CPP="${CC-cc} -E -traditional-cpp"
    748750  cat > conftest.$ac_ext <<EOF
    749 #line 750 "configure"
     751#line 752 "configure"
    750752#include "confdefs.h"
    751753#include <assert.h>
     
    753755EOF
    754756ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    755 { (eval echo configure:756: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     757{ (eval echo configure:758: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    756758ac_err=`grep -v '^ *+' conftest.out`
    757759if test -z "$ac_err"; then
     
    816818#endif
    817819EOF
    818 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:819: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     820if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:821: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    819821  ac_cv_prog_gxx=yes
    820822else
     
    908910fi
    909911
    910 # Extract the first word of "info", so it can be a program name with args.
     912if test "$with_info" != no; then
     913  # Extract the first word of "info", so it can be a program name with args.
    911914set dummy info; ac_word=$2
    912915echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     
    935938fi
    936939
    937 if test -n "$INFO"; then
    938   cat >> confdefs.h <<\EOF
     940  if test -n "$INFO"; then
     941    cat >> confdefs.h <<\EOF
    939942#define HAVE_INFO 1
    940943EOF
    941944
     945  fi
    942946fi
    943947
     
    970974fi
    971975
     976# Check whether --with-info or --without-info was given.
     977if test "${with_info+set}" = set; then
     978  withval="$with_info"
     979  :
     980fi
    972981
    973982# Check whether --with-dld or --without-dld was given.
     
    10021011LIBS="-lm  $LIBS"
    10031012cat > conftest.$ac_ext <<EOF
    1004 #line 1005 "configure"
     1013#line 1014 "configure"
    10051014#include "confdefs.h"
    10061015/* Override any gcc2 internal prototype to avoid an error.  */
     
    10121021; return 0; }
    10131022EOF
    1014 if { (eval echo configure:1015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1023if { (eval echo configure:1024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    10151024  rm -rf conftest*
    10161025  eval "ac_cv_lib_$ac_lib_var=yes"
     
    10441053LIBS="-lbsd  $LIBS"
    10451054cat > conftest.$ac_ext <<EOF
    1046 #line 1047 "configure"
     1055#line 1056 "configure"
    10471056#include "confdefs.h"
    10481057/* Override any gcc2 internal prototype to avoid an error.  */
     
    10541063; return 0; }
    10551064EOF
    1056 if { (eval echo configure:1057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1065if { (eval echo configure:1066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    10571066  rm -rf conftest*
    10581067  eval "ac_cv_lib_$ac_lib_var=yes"
     
    10861095LIBS="-lsocket  $LIBS"
    10871096cat > conftest.$ac_ext <<EOF
    1088 #line 1089 "configure"
     1097#line 1098 "configure"
    10891098#include "confdefs.h"
    10901099/* Override any gcc2 internal prototype to avoid an error.  */
     
    10961105; return 0; }
    10971106EOF
    1098 if { (eval echo configure:1099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1107if { (eval echo configure:1108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    10991108  rm -rf conftest*
    11001109  eval "ac_cv_lib_$ac_lib_var=yes"
     
    11281137LIBS="-lnsl  $LIBS"
    11291138cat > conftest.$ac_ext <<EOF
    1130 #line 1131 "configure"
     1139#line 1140 "configure"
    11311140#include "confdefs.h"
    11321141/* Override any gcc2 internal prototype to avoid an error.  */
     
    11381147; return 0; }
    11391148EOF
    1140 if { (eval echo configure:1141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1149if { (eval echo configure:1150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    11411150  rm -rf conftest*
    11421151  eval "ac_cv_lib_$ac_lib_var=yes"
     
    11721181LIBS="-lncurses  $LIBS"
    11731182cat > conftest.$ac_ext <<EOF
    1174 #line 1175 "configure"
     1183#line 1184 "configure"
    11751184#include "confdefs.h"
    11761185/* Override any gcc2 internal prototype to avoid an error.  */
     
    11821191; return 0; }
    11831192EOF
    1184 if { (eval echo configure:1185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1193if { (eval echo configure:1194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    11851194  rm -rf conftest*
    11861195  eval "ac_cv_lib_$ac_lib_var=yes"
     
    12131222LIBS="-lcurses  $LIBS"
    12141223cat > conftest.$ac_ext <<EOF
    1215 #line 1216 "configure"
     1224#line 1225 "configure"
    12161225#include "confdefs.h"
    12171226/* Override any gcc2 internal prototype to avoid an error.  */
     
    12231232; return 0; }
    12241233EOF
    1225 if { (eval echo configure:1226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1234if { (eval echo configure:1235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    12261235  rm -rf conftest*
    12271236  eval "ac_cv_lib_$ac_lib_var=yes"
     
    12541263LIBS="-ltermcap  $LIBS"
    12551264cat > conftest.$ac_ext <<EOF
    1256 #line 1257 "configure"
     1265#line 1266 "configure"
    12571266#include "confdefs.h"
    12581267/* Override any gcc2 internal prototype to avoid an error.  */
     
    12641273; return 0; }
    12651274EOF
    1266 if { (eval echo configure:1267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1275if { (eval echo configure:1276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    12671276  rm -rf conftest*
    12681277  eval "ac_cv_lib_$ac_lib_var=yes"
     
    13001309LIBS="-lreadline  $LIBS"
    13011310cat > conftest.$ac_ext <<EOF
    1302 #line 1303 "configure"
     1311#line 1312 "configure"
    13031312#include "confdefs.h"
    13041313/* Override any gcc2 internal prototype to avoid an error.  */
     
    13101319; return 0; }
    13111320EOF
    1312 if { (eval echo configure:1313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1321if { (eval echo configure:1322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    13131322  rm -rf conftest*
    13141323  eval "ac_cv_lib_$ac_lib_var=yes"
     
    13431352else
    13441353  cat > conftest.$ac_ext <<EOF
    1345 #line 1346 "configure"
     1354#line 1355 "configure"
    13461355#include "confdefs.h"
    13471356#include <$ac_hdr>
    13481357EOF
    13491358ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1350 { (eval echo configure:1351: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1359{ (eval echo configure:1360: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    13511360ac_err=`grep -v '^ *+' conftest.out`
    13521361if test -z "$ac_err"; then
     
    14021411LIBS="-ldbm  $LIBS"
    14031412cat > conftest.$ac_ext <<EOF
    1404 #line 1405 "configure"
     1413#line 1414 "configure"
    14051414#include "confdefs.h"
    14061415/* Override any gcc2 internal prototype to avoid an error.  */
     
    14121421; return 0; }
    14131422EOF
    1414 if { (eval echo configure:1415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1423if { (eval echo configure:1424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    14151424  rm -rf conftest*
    14161425  eval "ac_cv_lib_$ac_lib_var=yes"
     
    14391448LIBS="-lgdbm  $LIBS"
    14401449cat > conftest.$ac_ext <<EOF
    1441 #line 1442 "configure"
     1450#line 1451 "configure"
    14421451#include "confdefs.h"
    14431452/* Override any gcc2 internal prototype to avoid an error.  */
     
    14491458; return 0; }
    14501459EOF
    1451 if { (eval echo configure:1452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1460if { (eval echo configure:1461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    14521461  rm -rf conftest*
    14531462  eval "ac_cv_lib_$ac_lib_var=yes"
     
    14841493LIBS="-ldld  $LIBS"
    14851494cat > conftest.$ac_ext <<EOF
    1486 #line 1487 "configure"
     1495#line 1496 "configure"
    14871496#include "confdefs.h"
    14881497/* Override any gcc2 internal prototype to avoid an error.  */
     
    14941503; return 0; }
    14951504EOF
    1496 if { (eval echo configure:1497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1505if { (eval echo configure:1506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    14971506  rm -rf conftest*
    14981507  eval "ac_cv_lib_$ac_lib_var=yes"
     
    15361545LIBS="-lgmp  $LIBS"
    15371546cat > conftest.$ac_ext <<EOF
    1538 #line 1539 "configure"
     1547#line 1548 "configure"
    15391548#include "confdefs.h"
    15401549/* Override any gcc2 internal prototype to avoid an error.  */
     
    15461555; return 0; }
    15471556EOF
    1548 if { (eval echo configure:1549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1557if { (eval echo configure:1558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    15491558  rm -rf conftest*
    15501559  eval "ac_cv_lib_$ac_lib_var=yes"
     
    15761585else
    15771586  cat > conftest.$ac_ext <<EOF
    1578 #line 1579 "configure"
     1587#line 1588 "configure"
    15791588#include "confdefs.h"
    15801589#include <gmp.h>
    15811590EOF
    15821591ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1583 { (eval echo configure:1584: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1592{ (eval echo configure:1593: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    15841593ac_err=`grep -v '^ *+' conftest.out`
    15851594if test -z "$ac_err"; then
     
    16351644LIBS="-lMP  $LIBS"
    16361645cat > conftest.$ac_ext <<EOF
    1637 #line 1638 "configure"
     1646#line 1647 "configure"
    16381647#include "confdefs.h"
    16391648/* Override any gcc2 internal prototype to avoid an error.  */
     
    16451654; return 0; }
    16461655EOF
    1647 if { (eval echo configure:1648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1656if { (eval echo configure:1657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    16481657  rm -rf conftest*
    16491658  eval "ac_cv_lib_$ac_lib_var=yes"
     
    16771686LIBS="-lMPT  $LIBS"
    16781687cat > conftest.$ac_ext <<EOF
    1679 #line 1680 "configure"
     1688#line 1689 "configure"
    16801689#include "confdefs.h"
    16811690/* Override any gcc2 internal prototype to avoid an error.  */
     
    16871696; return 0; }
    16881697EOF
    1689 if { (eval echo configure:1690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1698if { (eval echo configure:1699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    16901699  rm -rf conftest*
    16911700  eval "ac_cv_lib_$ac_lib_var=yes"
     
    17201729else
    17211730  cat > conftest.$ac_ext <<EOF
    1722 #line 1723 "configure"
     1731#line 1732 "configure"
    17231732#include "confdefs.h"
    17241733#include <$ac_hdr>
    17251734EOF
    17261735ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1727 { (eval echo configure:1728: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1736{ (eval echo configure:1737: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    17281737ac_err=`grep -v '^ *+' conftest.out`
    17291738if test -z "$ac_err"; then
     
    17881797LIBS="-lsingcf  $LIBS"
    17891798cat > conftest.$ac_ext <<EOF
    1790 #line 1791 "configure"
     1799#line 1800 "configure"
    17911800#include "confdefs.h"
    17921801/* Override any gcc2 internal prototype to avoid an error.  */
     
    17981807; return 0; }
    17991808EOF
    1800 if { (eval echo configure:1801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1809if { (eval echo configure:1810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    18011810  rm -rf conftest*
    18021811  eval "ac_cv_lib_$ac_lib_var=yes"
     
    18311840else
    18321841  cat > conftest.$ac_ext <<EOF
    1833 #line 1834 "configure"
     1842#line 1843 "configure"
    18341843#include "confdefs.h"
    18351844#include <$ac_hdr>
    18361845EOF
    18371846ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1838 { (eval echo configure:1839: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1847{ (eval echo configure:1848: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    18391848ac_err=`grep -v '^ *+' conftest.out`
    18401849if test -z "$ac_err"; then
     
    18971906LIBS="-lsingfac  $LIBS"
    18981907cat > conftest.$ac_ext <<EOF
    1899 #line 1900 "configure"
     1908#line 1909 "configure"
    19001909#include "confdefs.h"
    19011910/* Override any gcc2 internal prototype to avoid an error.  */
     
    19071916; return 0; }
    19081917EOF
    1909 if { (eval echo configure:1910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1918if { (eval echo configure:1919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    19101919  rm -rf conftest*
    19111920  eval "ac_cv_lib_$ac_lib_var=yes"
     
    19401949else
    19411950  cat > conftest.$ac_ext <<EOF
    1942 #line 1943 "configure"
     1951#line 1952 "configure"
    19431952#include "confdefs.h"
    19441953#include <$ac_hdr>
    19451954EOF
    19461955ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1947 { (eval echo configure:1948: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1956{ (eval echo configure:1957: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    19481957ac_err=`grep -v '^ *+' conftest.out`
    19491958if test -z "$ac_err"; then
     
    20042013else
    20052014cat > conftest.$ac_ext <<EOF
    2006 #line 2007 "configure"
     2015#line 2016 "configure"
    20072016#include "confdefs.h"
    20082017main(){return(0);}
    20092018EOF
    2010 { (eval echo configure:2011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
     2019{ (eval echo configure:2020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
    20112020if test -s conftest && (./conftest; exit) 2>/dev/null; then
    20122021  ac_cv_c_cross=no
     
    20262035else
    20272036  cat > conftest.$ac_ext <<EOF
    2028 #line 2029 "configure"
     2037#line 2038 "configure"
    20292038#include "confdefs.h"
    20302039#include <stdlib.h>
     
    20342043EOF
    20352044ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2036 { (eval echo configure:2037: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2045{ (eval echo configure:2046: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    20372046ac_err=`grep -v '^ *+' conftest.out`
    20382047if test -z "$ac_err"; then
     
    20492058  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    20502059cat > conftest.$ac_ext <<EOF
    2051 #line 2052 "configure"
     2060#line 2061 "configure"
    20522061#include "confdefs.h"
    20532062#include <string.h>
     
    20672076  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    20682077cat > conftest.$ac_ext <<EOF
    2069 #line 2070 "configure"
     2078#line 2079 "configure"
    20702079#include "confdefs.h"
    20712080#include <stdlib.h>
     
    20882097else
    20892098cat > conftest.$ac_ext <<EOF
    2090 #line 2091 "configure"
     2099#line 2100 "configure"
    20912100#include "confdefs.h"
    20922101#include <ctype.h>
     
    20992108
    21002109EOF
    2101 { (eval echo configure:2102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
     2110{ (eval echo configure:2111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
    21022111if test -s conftest && (./conftest; exit) 2>/dev/null; then
    21032112  :
     
    21272136else
    21282137  cat > conftest.$ac_ext <<EOF
    2129 #line 2130 "configure"
     2138#line 2139 "configure"
    21302139#include "confdefs.h"
    21312140#include <$ac_hdr>
    21322141EOF
    21332142ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2134 { (eval echo configure:2135: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2143{ (eval echo configure:2144: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    21352144ac_err=`grep -v '^ *+' conftest.out`
    21362145if test -z "$ac_err"; then
     
    21662175else
    21672176  cat > conftest.$ac_ext <<EOF
    2168 #line 2169 "configure"
     2177#line 2178 "configure"
    21692178#include "confdefs.h"
    21702179#include <$ac_hdr>
    21712180EOF
    21722181ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2173 { (eval echo configure:2174: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2182{ (eval echo configure:2183: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    21742183ac_err=`grep -v '^ *+' conftest.out`
    21752184if test -z "$ac_err"; then
     
    22012210else
    22022211  cat > conftest.$ac_ext <<EOF
    2203 #line 2204 "configure"
     2212#line 2213 "configure"
    22042213#include "confdefs.h"
    22052214
     
    22512260; return 0; }
    22522261EOF
    2253 if { (eval echo configure:2254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2262if { (eval echo configure:2263: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    22542263  rm -rf conftest*
    22552264  ac_cv_c_const=yes
     
    22772286for ac_kw in inline __inline__ __inline; do
    22782287  cat > conftest.$ac_ext <<EOF
    2279 #line 2280 "configure"
     2288#line 2289 "configure"
    22802289#include "confdefs.h"
    22812290
     
    22852294; return 0; }
    22862295EOF
    2287 if { (eval echo configure:2288: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2296if { (eval echo configure:2297: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    22882297  rm -rf conftest*
    22892298  ac_cv_c_inline=$ac_kw; break
     
    23132322else
    23142323  cat > conftest.$ac_ext <<EOF
    2315 #line 2316 "configure"
     2324#line 2325 "configure"
    23162325#include "confdefs.h"
    23172326#include <sys/types.h>
     
    23442353else
    23452354  cat > conftest.$ac_ext <<EOF
    2346 #line 2347 "configure"
     2355#line 2356 "configure"
    23472356#include "confdefs.h"
    23482357#include <sys/types.h>
     
    23542363; return 0; }
    23552364EOF
    2356 if { (eval echo configure:2357: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2365if { (eval echo configure:2366: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    23572366  rm -rf conftest*
    23582367  ac_cv_header_time=yes
     
    23782387else
    23792388  cat > conftest.$ac_ext <<EOF
    2380 #line 2381 "configure"
     2389#line 2390 "configure"
    23812390#include "confdefs.h"
    23822391#include <sys/types.h>
     
    23872396; return 0; }
    23882397EOF
    2389 if { (eval echo configure:2390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2398if { (eval echo configure:2399: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    23902399  rm -rf conftest*
    23912400  ac_cv_struct_tm=time.h
     
    24142423else
    24152424  cat > conftest.$ac_ext <<EOF
    2416 #line 2417 "configure"
     2425#line 2426 "configure"
    24172426#include "confdefs.h"
    24182427#include <alloca.h>
     
    24222431; return 0; }
    24232432EOF
    2424 if { (eval echo configure:2425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     2433if { (eval echo configure:2434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    24252434  rm -rf conftest*
    24262435  ac_cv_header_alloca_h=yes
     
    24462455else
    24472456  cat > conftest.$ac_ext <<EOF
    2448 #line 2449 "configure"
     2457#line 2458 "configure"
    24492458#include "confdefs.h"
    24502459
     
    24702479; return 0; }
    24712480EOF
    2472 if { (eval echo configure:2473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     2481if { (eval echo configure:2482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    24732482  rm -rf conftest*
    24742483  ac_cv_func_alloca=yes
     
    25052514else
    25062515  cat > conftest.$ac_ext <<EOF
    2507 #line 2508 "configure"
     2516#line 2517 "configure"
    25082517#include "confdefs.h"
    25092518#if defined(CRAY) && ! defined(CRAY2)
     
    25342543else
    25352544  cat > conftest.$ac_ext <<EOF
    2536 #line 2537 "configure"
     2545#line 2546 "configure"
    25372546#include "confdefs.h"
    25382547/* System header to define __stub macros and hopefully few prototypes,
     
    25562565; return 0; }
    25572566EOF
    2558 if { (eval echo configure:2559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     2567if { (eval echo configure:2568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    25592568  rm -rf conftest*
    25602569  eval "ac_cv_func_$ac_func=yes"
     
    25882597else
    25892598cat > conftest.$ac_ext <<EOF
    2590 #line 2591 "configure"
     2599#line 2600 "configure"
    25912600#include "confdefs.h"
    25922601find_stack_direction ()
     
    26072616}
    26082617EOF
    2609 { (eval echo configure:2610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
     2618{ (eval echo configure:2619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
    26102619if test -s conftest && (./conftest; exit) 2>/dev/null; then
    26112620  ac_cv_c_stack_direction=1
     
    26312640    ac_pattern="Autoconf.*'x'"
    26322641  cat > conftest.$ac_ext <<EOF
    2633 #line 2634 "configure"
     2642#line 2643 "configure"
    26342643#include "confdefs.h"
    26352644#include <sgtty.h>
     
    26492658  if test $ac_cv_prog_gcc_traditional = no; then
    26502659    cat > conftest.$ac_ext <<EOF
    2651 #line 2652 "configure"
     2660#line 2661 "configure"
    26522661#include "confdefs.h"
    26532662#include <termio.h>
     
    26772686else
    26782687  cat > conftest.$ac_ext <<EOF
    2679 #line 2680 "configure"
     2688#line 2689 "configure"
    26802689#include "confdefs.h"
    26812690/* System header to define __stub macros and hopefully few prototypes,
     
    26992708; return 0; }
    27002709EOF
    2701 if { (eval echo configure:2702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     2710if { (eval echo configure:2711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    27022711  rm -rf conftest*
    27032712  eval "ac_cv_func_$ac_func=yes"
     
    27292738else
    27302739cat > conftest.$ac_ext <<EOF
    2731 #line 2732 "configure"
     2740#line 2741 "configure"
    27322741#include "confdefs.h"
    27332742
     
    27982807
    27992808EOF
    2800 { (eval echo configure:2801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
     2809{ (eval echo configure:2810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
    28012810if test -s conftest && (./conftest; exit) 2>/dev/null; then
    28022811  ac_cv_func_mmap=yes
     
    28212830else
    28222831  cat > conftest.$ac_ext <<EOF
    2823 #line 2824 "configure"
     2832#line 2833 "configure"
    28242833#include "confdefs.h"
    28252834#include <sys/types.h>
     
    28392848; return 0; }
    28402849EOF
    2841 if { (eval echo configure:2842: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2850if { (eval echo configure:2851: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    28422851  rm -rf conftest*
    28432852  ac_cv_type_signal=void
     
    28612870else
    28622871  cat > conftest.$ac_ext <<EOF
    2863 #line 2864 "configure"
     2872#line 2873 "configure"
    28642873#include "confdefs.h"
    28652874/* System header to define __stub macros and hopefully few prototypes,
     
    28832892; return 0; }
    28842893EOF
    2885 if { (eval echo configure:2886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     2894if { (eval echo configure:2895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    28862895  rm -rf conftest*
    28872896  eval "ac_cv_func_vprintf=yes"
     
    29092918else
    29102919  cat > conftest.$ac_ext <<EOF
    2911 #line 2912 "configure"
     2920#line 2921 "configure"
    29122921#include "confdefs.h"
    29132922/* System header to define __stub macros and hopefully few prototypes,
     
    29312940; return 0; }
    29322941EOF
    2933 if { (eval echo configure:2934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     2942if { (eval echo configure:2943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    29342943  rm -rf conftest*
    29352944  eval "ac_cv_func__doprnt=yes"
     
    29602969else
    29612970  cat > conftest.$ac_ext <<EOF
    2962 #line 2963 "configure"
     2971#line 2972 "configure"
    29632972#include "confdefs.h"
    29642973/* System header to define __stub macros and hopefully few prototypes,
     
    29822991; return 0; }
    29832992EOF
    2984 if { (eval echo configure:2985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     2993if { (eval echo configure:2994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    29852994  rm -rf conftest*
    29862995  eval "ac_cv_func_$ac_func=yes"
     
    30143023else
    30153024cat > conftest.$ac_ext <<EOF
    3016 #line 3017 "configure"
     3025#line 3026 "configure"
    30173026#include "confdefs.h"
    30183027 int main() { if (-2 >> 1 == -1) exit(0); else exit(1); }
    30193028EOF
    3020 { (eval echo configure:3021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
     3029{ (eval echo configure:3030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
    30213030if test -s conftest && (./conftest; exit) 2>/dev/null; then
    30223031  ac_cv_shift=yes
     
    30443053else
    30453054cat > conftest.$ac_ext <<EOF
    3046 #line 3047 "configure"
     3055#line 3056 "configure"
    30473056#include "confdefs.h"
    30483057 int main() {if (sizeof(int) == 4)  exit(0); else exit(1); }
    30493058EOF
    3050 { (eval echo configure:3051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
     3059{ (eval echo configure:3060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
    30513060if test -s conftest && (./conftest; exit) 2>/dev/null; then
    30523061  ac_cv_sizeof_int_equals_four=yes
     
    30743083else
    30753084cat > conftest.$ac_ext <<EOF
    3076 #line 3077 "configure"
     3085#line 3086 "configure"
    30773086#include "confdefs.h"
    30783087 int main() {if (sizeof(long) == sizeof(void*))  exit(0); else exit(1); }
    30793088EOF
    3080 { (eval echo configure:3081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
     3089{ (eval echo configure:3090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
    30813090if test -s conftest && (./conftest; exit) 2>/dev/null; then
    30823091  ac_cv_sizeof_long_equals_voidp=yes
     
    31033112else
    31043113cat > conftest.$ac_ext <<EOF
    3105 #line 3106 "configure"
     3114#line 3115 "configure"
    31063115#include "confdefs.h"
    31073116#include <stdio.h>
    31083117 main() { char *str=(char*)malloc(20); if (((int) sprintf(str,"123456789")) == 9) exit(0); else exit(1); }
    31093118EOF
    3110 { (eval echo configure:3111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
     3119{ (eval echo configure:3120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
    31113120if test -s conftest && (./conftest; exit) 2>/dev/null; then
    31123121  ac_cv_returns_n_of_chars=yes
     
    31363145else
    31373146cat > conftest.$ac_ext <<EOF
    3138 #line 3139 "configure"
     3147#line 3148 "configure"
    31393148#include "confdefs.h"
    31403149#include <stdio.h>
     
    31473156}
    31483157EOF
    3149 { (eval echo configure:3150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
     3158{ (eval echo configure:3159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
    31503159if test -s conftest && (./conftest; exit) 2>/dev/null; then
    31513160  ac_cv_sizeof_voidp=`cat conftestval`
     
    31693178else
    31703179  cat > conftest.$ac_ext <<EOF
    3171 #line 3172 "configure"
     3180#line 3181 "configure"
    31723181#include "confdefs.h"
    31733182#ifdef _AIX
  • Singular/configure.in

    r5b6c31 r98d771  
    9898dnl programs to built the grammar/parser
    9999dnl check for info
    100 AC_CHECK_PROG(INFO, info, info)
    101 if test -n "$INFO"; then
    102   AC_DEFINE(HAVE_INFO)
     100if test "$with_info" != no; then
     101  AC_CHECK_PROG(INFO, info, info)
     102  if test -n "$INFO"; then
     103    AC_DEFINE(HAVE_INFO)
     104  fi
    103105fi
    104106
     
    122124  dbm,
    123125  [  --without-dbm        do not use dbm (disables DBM links)])
    124 
     126AC_ARG_WITH(
     127  info,
     128  [  --without-info       do not use info for help (use buildin help, instead)])
    125129AC_ARG_WITH(
    126130  dld,
Note: See TracChangeset for help on using the changeset viewer.