Changeset dc87554 in git


Ignore:
Timestamp:
May 2, 1997, 4:49:13 PM (27 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', '82fc009ea2b0098c1a4896c841bb70860976bdfc')
Children:
fde1a8734f321f72cbe87001fd682d36e955e8a1
Parents:
e50385bea471e6433628f35a413b3595e7fb5ff7
Message:
Committed new ./configure


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

Legend:

Unmodified
Added
Removed
  • Singular/INSTALL

    re50385b rdc87554  
    55                  (C) 1986-1997 All Rights Reserved
    66
    7                 INSTALLATION INSTRUCTIONS FOR SINGULAR
     7                INSTALLATION INSTRUCTIONS FOR SINGULAR 
    88                ======================================
    99
  • Singular/Makefile.in

    re50385b rdc87554  
    2222exec_prefix     = @exec_prefix@
    2323libdir          = @libdir@
    24 bindir          = @bindir@          # program executable goes here
    25 singulardatadir = @singulardatadir@ # Singular libs go here
     24# program executable goes here
     25bindir          = @bindir@
     26# Singular libs go here
     27singulardatadir = @singulardatadir@
    2628includedir      = @includedir@
    2729
     
    3739BISON           = bison
    3840LEX             = flex
     41@SET_MAKE@
    3942
    4043##
     
    165168mod2.h: config.status config.cache mod2.h.in Makefile.in
    166169        ./config.status
    167         touch -r mod2.h configure configure.in Makefile Makefile.in
     170        touch -r mod2.h  config.status config.cache configure \
     171                 configure.in Makefile.in
    168172
    169173config.status config.cache : configure
    170174        ./configure ${CONFIGURE_INPUT} --no-create
    171         touch -r configure config.cache config.status
     175        touch -r configure config.status config.cache
    172176
    173177configure: configure.in
  • Singular/configure

    re50385b rdc87554  
    530530
    531531
    532 MAJOR_VERSION=1
    533 MINOR_VERSION=0
    534 SUB_VERSION=0
     532SINGULAR_MAJOR_VERSION=1
     533SINGULAR_MINOR_VERSION=0
     534SINGULAR_SUB_VERSION=0
    535535VERSION_DATE="April 1997"
    536536
     
    538538
    539539cat >> confdefs.h <<EOF
    540 #define MAJOR_VERSION ${MAJOR_VERSION}
     540#define SINGULAR_MAJOR_VERSION ${SINGULAR_MAJOR_VERSION}
    541541EOF
    542542
    543543cat >> confdefs.h <<EOF
    544 #define MINOR_VERSION ${MINOR_VERSION}
     544#define SINGULAR_MINOR_VERSION ${SINGULAR_MINOR_VERSION}
    545545EOF
    546546
    547547cat >> confdefs.h <<EOF
    548 #define S_VERSION1 "version: ${MAJOR_VERSION}.${MINOR_VERSION}.${SUB_VERSION}"
     548#define S_VERSION1 "version: ${SINGULAR_MAJOR_VERSION}.${SINGULAR_MINOR_VERSION}.${SINGULAR_SUB_VERSION}"
    549549EOF
    550550
     
    789789fi 
    790790
    791 if test "x$libdir" = '${prefix}/lib'; then
    792   if test "x$prefix" = xNONE; then
    793     LDFLAGS="-L${ac_default_prefix}/lib ${LDFLAGS}"
     791if test "x$libdir" = '${exec_prefix}/lib'; then
     792  if test "x$exec_prefix" = xNONE; then
     793    if test "x$prefix" = xNONE; then
     794      LDFLAGS="-L${ac_default_prefix}/lib ${LDFLAGS}"
     795    else
     796      LDFLAGS="-L${prefix}/lib ${LDFLAGS}"
     797    fi
    794798  else
    795     LDFLAGS="-L${prefix}/lib ${LDFLAGS}"
     799    LDFLAGS="-L${exec_prefix}/lib ${LDFLAGS}"
    796800  fi
    797801else
     
    801805if test "x$includedir" = '${prefix}/include'; then
    802806  if test "x$prefix" = xNONE; then
    803     CPPFLAGS="-L${ac_default_prefix}/include ${CPPFLAGS}"
     807    CPPFLAGS="-I${ac_default_prefix}/include ${CPPFLAGS}"
    804808  else
    805     CPPFLAGS="-L${prefix}/include ${CPPFLAGS}"
     809    CPPFLAGS="-I${prefix}/include ${CPPFLAGS}"
    806810  fi
    807811else
    808   CPPFLAGS="-L${includedir} ${CPPFLAGS}"
     812  CPPFLAGS="-I${includedir} ${CPPFLAGS}"
    809813fi
    810814
     
    10081012
    10091013 
    1010 LIBS="-lm $LIBS"
     1014echo $ac_n "checking for -lm""... $ac_c" 1>&6
     1015ac_lib_var=`echo m_atof | tr '.-/+' '___p'`
     1016if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     1017  echo $ac_n "(cached) $ac_c" 1>&6
     1018else
     1019  ac_save_LIBS="$LIBS"
     1020LIBS="-lm  $LIBS"
     1021cat > conftest.$ac_ext <<EOF
     1022#line 1023 "configure"
     1023#include "confdefs.h"
     1024/* Override any gcc2 internal prototype to avoid an error.  */
     1025char atof();
     1026
     1027int main() { return 0; }
     1028int t() {
     1029atof()
     1030; return 0; }
     1031EOF
     1032if { (eval echo configure:1033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1033  rm -rf conftest*
     1034  eval "ac_cv_lib_$ac_lib_var=yes"
     1035else
     1036  rm -rf conftest*
     1037  eval "ac_cv_lib_$ac_lib_var=no"
     1038fi
     1039rm -f conftest*
     1040LIBS="$ac_save_LIBS"
     1041
     1042fi
     1043if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     1044  echo "$ac_t""yes" 1>&6
     1045    ac_tr_lib=HAVE_LIB`echo m | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
     1046  cat >> confdefs.h <<EOF
     1047#define $ac_tr_lib 1
     1048EOF
     1049
     1050  LIBS="-lm $LIBS"
     1051
     1052else
     1053  echo "$ac_t""no" 1>&6
     1054fi
    10111055
    10121056echo $ac_n "checking for -lbsd""... $ac_c" 1>&6
    1013 ac_lib_var=`echo bsd_bzero | tr '.-/+' '___p'`
     1057ac_lib_var=`echo bsd_socket | tr '.-/+' '___p'`
    10141058if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    10151059  echo $ac_n "(cached) $ac_c" 1>&6
     
    10181062LIBS="-lbsd  $LIBS"
    10191063cat > conftest.$ac_ext <<EOF
    1020 #line 1021 "configure"
     1064#line 1065 "configure"
    10211065#include "confdefs.h"
    10221066/* Override any gcc2 internal prototype to avoid an error.  */
    1023 char bzero();
     1067char socket();
    10241068
    10251069int main() { return 0; }
    10261070int t() {
    1027 bzero()
     1071socket()
    10281072; return 0; }
    10291073EOF
    1030 if { (eval echo configure:1031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1074if { (eval echo configure:1075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    10311075  rm -rf conftest*
    10321076  eval "ac_cv_lib_$ac_lib_var=yes"
     
    10411085if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
    10421086  echo "$ac_t""yes" 1>&6
     1087    ac_tr_lib=HAVE_LIB`echo bsd | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
     1088  cat >> confdefs.h <<EOF
     1089#define $ac_tr_lib 1
     1090EOF
     1091
    10431092  LIBS="-lbsd $LIBS"
    10441093
     
    10571106LIBS="-lncurses  $LIBS"
    10581107cat > conftest.$ac_ext <<EOF
    1059 #line 1060 "configure"
     1108#line 1109 "configure"
    10601109#include "confdefs.h"
    10611110/* Override any gcc2 internal prototype to avoid an error.  */
     
    10671116; return 0; }
    10681117EOF
    1069 if { (eval echo configure:1070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1118if { (eval echo configure:1119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    10701119  rm -rf conftest*
    10711120  eval "ac_cv_lib_$ac_lib_var=yes"
     
    10981147LIBS="-lcurses  $LIBS"
    10991148cat > conftest.$ac_ext <<EOF
    1100 #line 1101 "configure"
     1149#line 1150 "configure"
    11011150#include "confdefs.h"
    11021151/* Override any gcc2 internal prototype to avoid an error.  */
     
    11081157; return 0; }
    11091158EOF
    1110 if { (eval echo configure:1111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1159if { (eval echo configure:1160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    11111160  rm -rf conftest*
    11121161  eval "ac_cv_lib_$ac_lib_var=yes"
     
    11391188LIBS="-ltermcap  $LIBS"
    11401189cat > conftest.$ac_ext <<EOF
    1141 #line 1142 "configure"
     1190#line 1191 "configure"
    11421191#include "confdefs.h"
    11431192/* Override any gcc2 internal prototype to avoid an error.  */
     
    11491198; return 0; }
    11501199EOF
    1151 if { (eval echo configure:1152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1200if { (eval echo configure:1201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    11521201  rm -rf conftest*
    11531202  eval "ac_cv_lib_$ac_lib_var=yes"
     
    11851234LIBS="-lreadline  $LIBS"
    11861235cat > conftest.$ac_ext <<EOF
    1187 #line 1188 "configure"
     1236#line 1237 "configure"
    11881237#include "confdefs.h"
    11891238/* Override any gcc2 internal prototype to avoid an error.  */
     
    11951244; return 0; }
    11961245EOF
    1197 if { (eval echo configure:1198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1246if { (eval echo configure:1247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    11981247  rm -rf conftest*
    11991248  eval "ac_cv_lib_$ac_lib_var=yes"
     
    12351284  # not just through cpp.
    12361285  cat > conftest.$ac_ext <<EOF
    1237 #line 1238 "configure"
     1286#line 1287 "configure"
    12381287#include "confdefs.h"
    12391288#include <assert.h>
     
    12411290EOF
    12421291ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1243 { (eval echo configure:1244: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1292{ (eval echo configure:1293: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    12441293ac_err=`grep -v '^ *+' conftest.out`
    12451294if test -z "$ac_err"; then
     
    12501299  CPP="${CC-cc} -E -traditional-cpp"
    12511300  cat > conftest.$ac_ext <<EOF
    1252 #line 1253 "configure"
     1301#line 1302 "configure"
    12531302#include "confdefs.h"
    12541303#include <assert.h>
     
    12561305EOF
    12571306ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1258 { (eval echo configure:1259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1307{ (eval echo configure:1308: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    12591308ac_err=`grep -v '^ *+' conftest.out`
    12601309if test -z "$ac_err"; then
     
    12841333else
    12851334  cat > conftest.$ac_ext <<EOF
    1286 #line 1287 "configure"
     1335#line 1336 "configure"
    12871336#include "confdefs.h"
    12881337#include <$ac_hdr>
    12891338EOF
    12901339ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1291 { (eval echo configure:1292: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1340{ (eval echo configure:1341: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    12921341ac_err=`grep -v '^ *+' conftest.out`
    12931342if test -z "$ac_err"; then
     
    13431392LIBS="-ldbm  $LIBS"
    13441393cat > conftest.$ac_ext <<EOF
    1345 #line 1346 "configure"
     1394#line 1395 "configure"
    13461395#include "confdefs.h"
    13471396/* Override any gcc2 internal prototype to avoid an error.  */
     
    13531402; return 0; }
    13541403EOF
    1355 if { (eval echo configure:1356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1404if { (eval echo configure:1405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    13561405  rm -rf conftest*
    13571406  eval "ac_cv_lib_$ac_lib_var=yes"
     
    13721421else
    13731422  echo "$ac_t""no" 1>&6
    1374 echo $ac_n "checking for -lgbm""... $ac_c" 1>&6
    1375 ac_lib_var=`echo gbm_dbminit | tr '.-/+' '___p'`
     1423echo $ac_n "checking for -lgdbm""... $ac_c" 1>&6
     1424ac_lib_var=`echo gdbm_dbminit | tr '.-/+' '___p'`
    13761425if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    13771426  echo $ac_n "(cached) $ac_c" 1>&6
    13781427else
    13791428  ac_save_LIBS="$LIBS"
    1380 LIBS="-lgbm  $LIBS"
     1429LIBS="-lgdbm  $LIBS"
    13811430cat > conftest.$ac_ext <<EOF
    1382 #line 1383 "configure"
     1431#line 1432 "configure"
    13831432#include "confdefs.h"
    13841433/* Override any gcc2 internal prototype to avoid an error.  */
     
    13901439; return 0; }
    13911440EOF
    1392 if { (eval echo configure:1393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1441if { (eval echo configure:1442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    13931442  rm -rf conftest*
    13941443  eval "ac_cv_lib_$ac_lib_var=yes"
     
    14251474LIBS="-ldld  $LIBS"
    14261475cat > conftest.$ac_ext <<EOF
    1427 #line 1428 "configure"
     1476#line 1477 "configure"
    14281477#include "confdefs.h"
    14291478/* Override any gcc2 internal prototype to avoid an error.  */
     
    14351484; return 0; }
    14361485EOF
    1437 if { (eval echo configure:1438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1486if { (eval echo configure:1487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    14381487  rm -rf conftest*
    14391488  eval "ac_cv_lib_$ac_lib_var=yes"
     
    14671516LIBS="-lgmp  $LIBS"
    14681517cat > conftest.$ac_ext <<EOF
    1469 #line 1470 "configure"
     1518#line 1519 "configure"
    14701519#include "confdefs.h"
    14711520/* Override any gcc2 internal prototype to avoid an error.  */
     
    14771526; return 0; }
    14781527EOF
    1479 if { (eval echo configure:1480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1528if { (eval echo configure:1529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    14801529  rm -rf conftest*
    14811530  eval "ac_cv_lib_$ac_lib_var=yes"
     
    15091558else
    15101559  cat > conftest.$ac_ext <<EOF
    1511 #line 1512 "configure"
     1560#line 1561 "configure"
    15121561#include "confdefs.h"
    15131562#include <$ac_hdr>
    15141563EOF
    15151564ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1516 { (eval echo configure:1517: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1565{ (eval echo configure:1566: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    15171566ac_err=`grep -v '^ *+' conftest.out`
    15181567if test -z "$ac_err"; then
     
    15721621LIBS="-lMPT -lMP $LIBS"
    15731622cat > conftest.$ac_ext <<EOF
    1574 #line 1575 "configure"
     1623#line 1624 "configure"
    15751624#include "confdefs.h"
    15761625/* Override any gcc2 internal prototype to avoid an error.  */
     
    15821631; return 0; }
    15831632EOF
    1584 if { (eval echo configure:1585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1633if { (eval echo configure:1634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    15851634  rm -rf conftest*
    15861635  eval "ac_cv_lib_$ac_lib_var=yes"
     
    16151664else
    16161665  cat > conftest.$ac_ext <<EOF
    1617 #line 1618 "configure"
     1666#line 1667 "configure"
    16181667#include "confdefs.h"
    16191668#include <$ac_hdr>
    16201669EOF
    16211670ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1622 { (eval echo configure:1623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1671{ (eval echo configure:1672: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    16231672ac_err=`grep -v '^ *+' conftest.out`
    16241673if test -z "$ac_err"; then
     
    16771726LIBS="-lsingcf  $LIBS"
    16781727cat > conftest.$ac_ext <<EOF
    1679 #line 1680 "configure"
     1728#line 1729 "configure"
    16801729#include "confdefs.h"
    16811730/* Override any gcc2 internal prototype to avoid an error.  */
     
    16871736; return 0; }
    16881737EOF
    1689 if { (eval echo configure:1690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1738if { (eval echo configure:1739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    16901739  rm -rf conftest*
    16911740  eval "ac_cv_lib_$ac_lib_var=yes"
     
    17201769else
    17211770  cat > conftest.$ac_ext <<EOF
    1722 #line 1723 "configure"
     1771#line 1772 "configure"
    17231772#include "confdefs.h"
    17241773#include <$ac_hdr>
    17251774EOF
    17261775ac_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; }
     1776{ (eval echo configure:1777: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    17281777ac_err=`grep -v '^ *+' conftest.out`
    17291778if test -z "$ac_err"; then
     
    17841833LIBS="-lsinglibfac  $LIBS"
    17851834cat > conftest.$ac_ext <<EOF
    1786 #line 1787 "configure"
     1835#line 1836 "configure"
    17871836#include "confdefs.h"
    17881837/* Override any gcc2 internal prototype to avoid an error.  */
     
    17941843; return 0; }
    17951844EOF
    1796 if { (eval echo configure:1797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1845if { (eval echo configure:1846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    17971846  rm -rf conftest*
    17981847  eval "ac_cv_lib_$ac_lib_var=yes"
     
    18271876else
    18281877  cat > conftest.$ac_ext <<EOF
    1829 #line 1830 "configure"
     1878#line 1879 "configure"
    18301879#include "confdefs.h"
    18311880#include <$ac_hdr>
    18321881EOF
    18331882ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1834 { (eval echo configure:1835: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1883{ (eval echo configure:1884: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    18351884ac_err=`grep -v '^ *+' conftest.out`
    18361885if test -z "$ac_err"; then
     
    18881937else
    18891938cat > conftest.$ac_ext <<EOF
    1890 #line 1891 "configure"
     1939#line 1940 "configure"
    18911940#include "confdefs.h"
    18921941main(){return(0);}
    18931942EOF
    1894 { (eval echo configure:1895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
     1943{ (eval echo configure:1944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
    18951944if test -s conftest && (./conftest; exit) 2>/dev/null; then
    18961945  ac_cv_c_cross=no
     
    19101959else
    19111960  cat > conftest.$ac_ext <<EOF
    1912 #line 1913 "configure"
     1961#line 1962 "configure"
    19131962#include "confdefs.h"
    19141963#include <stdlib.h>
     
    19181967EOF
    19191968ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1920 { (eval echo configure:1921: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1969{ (eval echo configure:1970: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    19211970ac_err=`grep -v '^ *+' conftest.out`
    19221971if test -z "$ac_err"; then
     
    19331982  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    19341983cat > conftest.$ac_ext <<EOF
    1935 #line 1936 "configure"
     1984#line 1985 "configure"
    19361985#include "confdefs.h"
    19371986#include <string.h>
     
    19512000  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    19522001cat > conftest.$ac_ext <<EOF
    1953 #line 1954 "configure"
     2002#line 2003 "configure"
    19542003#include "confdefs.h"
    19552004#include <stdlib.h>
     
    19722021else
    19732022cat > conftest.$ac_ext <<EOF
    1974 #line 1975 "configure"
     2023#line 2024 "configure"
    19752024#include "confdefs.h"
    19762025#include <ctype.h>
     
    19832032
    19842033EOF
    1985 { (eval echo configure:1986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
     2034{ (eval echo configure:2035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
    19862035if test -s conftest && (./conftest; exit) 2>/dev/null; then
    19872036  :
     
    20112060else
    20122061  cat > conftest.$ac_ext <<EOF
    2013 #line 2014 "configure"
     2062#line 2063 "configure"
    20142063#include "confdefs.h"
    20152064#include <$ac_hdr>
    20162065EOF
    20172066ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2018 { (eval echo configure:2019: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2067{ (eval echo configure:2068: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    20192068ac_err=`grep -v '^ *+' conftest.out`
    20202069if test -z "$ac_err"; then
     
    20502099else
    20512100  cat > conftest.$ac_ext <<EOF
    2052 #line 2053 "configure"
     2101#line 2102 "configure"
    20532102#include "confdefs.h"
    20542103#include <$ac_hdr>
    20552104EOF
    20562105ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2057 { (eval echo configure:2058: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2106{ (eval echo configure:2107: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    20582107ac_err=`grep -v '^ *+' conftest.out`
    20592108if test -z "$ac_err"; then
     
    20852134else
    20862135  cat > conftest.$ac_ext <<EOF
    2087 #line 2088 "configure"
     2136#line 2137 "configure"
    20882137#include "confdefs.h"
    20892138
     
    21352184; return 0; }
    21362185EOF
    2137 if { (eval echo configure:2138: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2186if { (eval echo configure:2187: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    21382187  rm -rf conftest*
    21392188  ac_cv_c_const=yes
     
    21612210for ac_kw in inline __inline__ __inline; do
    21622211  cat > conftest.$ac_ext <<EOF
    2163 #line 2164 "configure"
     2212#line 2213 "configure"
    21642213#include "confdefs.h"
    21652214
     
    21692218; return 0; }
    21702219EOF
    2171 if { (eval echo configure:2172: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2220if { (eval echo configure:2221: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    21722221  rm -rf conftest*
    21732222  ac_cv_c_inline=$ac_kw; break
     
    21972246else
    21982247  cat > conftest.$ac_ext <<EOF
    2199 #line 2200 "configure"
     2248#line 2249 "configure"
    22002249#include "confdefs.h"
    22012250#include <sys/types.h>
     
    22282277else
    22292278  cat > conftest.$ac_ext <<EOF
    2230 #line 2231 "configure"
     2279#line 2280 "configure"
    22312280#include "confdefs.h"
    22322281#include <sys/types.h>
     
    22382287; return 0; }
    22392288EOF
    2240 if { (eval echo configure:2241: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2289if { (eval echo configure:2290: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    22412290  rm -rf conftest*
    22422291  ac_cv_header_time=yes
     
    22622311else
    22632312  cat > conftest.$ac_ext <<EOF
    2264 #line 2265 "configure"
     2313#line 2314 "configure"
    22652314#include "confdefs.h"
    22662315#include <sys/types.h>
     
    22712320; return 0; }
    22722321EOF
    2273 if { (eval echo configure:2274: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2322if { (eval echo configure:2323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    22742323  rm -rf conftest*
    22752324  ac_cv_struct_tm=time.h
     
    22982347else
    22992348  cat > conftest.$ac_ext <<EOF
    2300 #line 2301 "configure"
     2349#line 2350 "configure"
    23012350#include "confdefs.h"
    23022351#include <alloca.h>
     
    23062355; return 0; }
    23072356EOF
    2308 if { (eval echo configure:2309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     2357if { (eval echo configure:2358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    23092358  rm -rf conftest*
    23102359  ac_cv_header_alloca_h=yes
     
    23302379else
    23312380  cat > conftest.$ac_ext <<EOF
    2332 #line 2333 "configure"
     2381#line 2382 "configure"
    23332382#include "confdefs.h"
    23342383
     
    23542403; return 0; }
    23552404EOF
    2356 if { (eval echo configure:2357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     2405if { (eval echo configure:2406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    23572406  rm -rf conftest*
    23582407  ac_cv_func_alloca=yes
     
    23892438else
    23902439  cat > conftest.$ac_ext <<EOF
    2391 #line 2392 "configure"
     2440#line 2441 "configure"
    23922441#include "confdefs.h"
    23932442#if defined(CRAY) && ! defined(CRAY2)
     
    24182467else
    24192468  cat > conftest.$ac_ext <<EOF
    2420 #line 2421 "configure"
     2469#line 2470 "configure"
    24212470#include "confdefs.h"
    24222471/* System header to define __stub macros and hopefully few prototypes,
     
    24402489; return 0; }
    24412490EOF
    2442 if { (eval echo configure:2443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     2491if { (eval echo configure:2492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    24432492  rm -rf conftest*
    24442493  eval "ac_cv_func_$ac_func=yes"
     
    24722521else
    24732522cat > conftest.$ac_ext <<EOF
    2474 #line 2475 "configure"
     2523#line 2524 "configure"
    24752524#include "confdefs.h"
    24762525find_stack_direction ()
     
    24912540}
    24922541EOF
    2493 { (eval echo configure:2494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
     2542{ (eval echo configure:2543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
    24942543if test -s conftest && (./conftest; exit) 2>/dev/null; then
    24952544  ac_cv_c_stack_direction=1
     
    25152564    ac_pattern="Autoconf.*'x'"
    25162565  cat > conftest.$ac_ext <<EOF
    2517 #line 2518 "configure"
     2566#line 2567 "configure"
    25182567#include "confdefs.h"
    25192568#include <sgtty.h>
     
    25332582  if test $ac_cv_prog_gcc_traditional = no; then
    25342583    cat > conftest.$ac_ext <<EOF
    2535 #line 2536 "configure"
     2584#line 2585 "configure"
    25362585#include "confdefs.h"
    25372586#include <termio.h>
     
    25612610else
    25622611  cat > conftest.$ac_ext <<EOF
    2563 #line 2564 "configure"
     2612#line 2613 "configure"
    25642613#include "confdefs.h"
    25652614/* System header to define __stub macros and hopefully few prototypes,
     
    25832632; return 0; }
    25842633EOF
    2585 if { (eval echo configure:2586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     2634if { (eval echo configure:2635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    25862635  rm -rf conftest*
    25872636  eval "ac_cv_func_$ac_func=yes"
     
    26132662else
    26142663cat > conftest.$ac_ext <<EOF
    2615 #line 2616 "configure"
     2664#line 2665 "configure"
    26162665#include "confdefs.h"
    26172666
     
    26822731
    26832732EOF
    2684 { (eval echo configure:2685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
     2733{ (eval echo configure:2734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
    26852734if test -s conftest && (./conftest; exit) 2>/dev/null; then
    26862735  ac_cv_func_mmap=yes
     
    27052754else
    27062755  cat > conftest.$ac_ext <<EOF
    2707 #line 2708 "configure"
     2756#line 2757 "configure"
    27082757#include "confdefs.h"
    27092758#include <sys/types.h>
     
    27232772; return 0; }
    27242773EOF
    2725 if { (eval echo configure:2726: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2774if { (eval echo configure:2775: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    27262775  rm -rf conftest*
    27272776  ac_cv_type_signal=void
     
    27452794else
    27462795  cat > conftest.$ac_ext <<EOF
    2747 #line 2748 "configure"
     2796#line 2797 "configure"
    27482797#include "confdefs.h"
    27492798/* System header to define __stub macros and hopefully few prototypes,
     
    27672816; return 0; }
    27682817EOF
    2769 if { (eval echo configure:2770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     2818if { (eval echo configure:2819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    27702819  rm -rf conftest*
    27712820  eval "ac_cv_func_vprintf=yes"
     
    27932842else
    27942843  cat > conftest.$ac_ext <<EOF
    2795 #line 2796 "configure"
     2844#line 2845 "configure"
    27962845#include "confdefs.h"
    27972846/* System header to define __stub macros and hopefully few prototypes,
     
    28152864; return 0; }
    28162865EOF
    2817 if { (eval echo configure:2818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     2866if { (eval echo configure:2867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    28182867  rm -rf conftest*
    28192868  eval "ac_cv_func__doprnt=yes"
     
    28442893else
    28452894  cat > conftest.$ac_ext <<EOF
    2846 #line 2847 "configure"
     2895#line 2896 "configure"
    28472896#include "confdefs.h"
    28482897/* System header to define __stub macros and hopefully few prototypes,
     
    28662915; return 0; }
    28672916EOF
    2868 if { (eval echo configure:2869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     2917if { (eval echo configure:2918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    28692918  rm -rf conftest*
    28702919  eval "ac_cv_func_$ac_func=yes"
     
    28982947else
    28992948cat > conftest.$ac_ext <<EOF
    2900 #line 2901 "configure"
     2949#line 2950 "configure"
    29012950#include "confdefs.h"
    29022951 int main() { if (-2 >> 1 == -1) exit(0); else exit(1); }
    29032952EOF
    2904 { (eval echo configure:2905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
     2953{ (eval echo configure:2954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
    29052954if test -s conftest && (./conftest; exit) 2>/dev/null; then
    29062955  ac_cv_shift=yes
     
    29282977else
    29292978cat > conftest.$ac_ext <<EOF
    2930 #line 2931 "configure"
     2979#line 2980 "configure"
    29312980#include "confdefs.h"
    29322981 int main() {if (sizeof(int) == 4)  exit(0); else exit(1); }
    29332982EOF
    2934 { (eval echo configure:2935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
     2983{ (eval echo configure:2984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
    29352984if test -s conftest && (./conftest; exit) 2>/dev/null; then
    29362985  ac_cv_sizeof_int_equals_four=yes
     
    29583007else
    29593008cat > conftest.$ac_ext <<EOF
    2960 #line 2961 "configure"
     3009#line 3010 "configure"
    29613010#include "confdefs.h"
    29623011 int main() {if (sizeof(long) == sizeof(void*))  exit(0); else exit(1); }
    29633012EOF
    2964 { (eval echo configure:2965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
     3013{ (eval echo configure:3014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
    29653014if test -s conftest && (./conftest; exit) 2>/dev/null; then
    29663015  ac_cv_sizeof_long_equals_voidp=yes
     
    29873036else
    29883037cat > conftest.$ac_ext <<EOF
    2989 #line 2990 "configure"
     3038#line 3039 "configure"
    29903039#include "confdefs.h"
    29913040#include <stdio.h>
    29923041 main() { char *str=(char*)malloc(20); if (((int) sprintf(str,"123456789")) == 9) exit(0); else exit(1); }
    29933042EOF
    2994 { (eval echo configure:2995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
     3043{ (eval echo configure:3044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
    29953044if test -s conftest && (./conftest; exit) 2>/dev/null; then
    29963045  ac_cv_returns_n_of_chars=yes
     
    30203069else
    30213070cat > conftest.$ac_ext <<EOF
    3022 #line 3023 "configure"
     3071#line 3072 "configure"
    30233072#include "confdefs.h"
    30243073#include <stdio.h>
     
    30313080}
    30323081EOF
    3033 { (eval echo configure:3034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
     3082{ (eval echo configure:3083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
    30343083if test -s conftest && (./conftest; exit) 2>/dev/null; then
    30353084  ac_cv_sizeof_voidp=`cat conftestval`
     
    31793228s%@infodir@%$infodir%g
    31803229s%@mandir@%$mandir%g
    3181 s%@MAJOR_VERSION@%$MAJOR_VERSION%g
    3182 s%@MINOR_VERSION@%$MINOR_VERSION%g
    3183 s%@SUB_VERSION@%$SUB_VERSION%g
     3230s%@SINGULAR_MAJOR_VERSION@%$SINGULAR_MAJOR_VERSION%g
     3231s%@SINGULAR_MINOR_VERSION@%$SINGULAR_MINOR_VERSION%g
     3232s%@SINGULAR_SUB_VERSION@%$SINGULAR_SUB_VERSION%g
    31843233s%@singulardatadir@%$singulardatadir%g
    31853234s%@CC@%$CC%g
  • Singular/configure.in

    re50385b rdc87554  
    6060
    6161dnl and add to -I to CPPFLAGS and and -Lto LDFLAGS, just to be sure
    62 if test "x$libdir" = '${prefix}/lib'; then
    63   if test "x$prefix" = xNONE; then
    64     LDFLAGS="-L${ac_default_prefix}/lib ${LDFLAGS}"
    65   else
    66     LDFLAGS="-L${prefix}/lib ${LDFLAGS}"
     62if test "x$libdir" = '${exec_prefix}/lib'; then
     63  if test "x$exec_prefix" = xNONE; then
     64    if test "x$prefix" = xNONE; then
     65      LDFLAGS="-L${ac_default_prefix}/lib ${LDFLAGS}"
     66    else
     67      LDFLAGS="-L${prefix}/lib ${LDFLAGS}"
     68    fi
     69  else
     70    LDFLAGS="-L${exec_prefix}/lib ${LDFLAGS}"
    6771  fi
    6872else
     
    134138dnl
    135139 
    136 LIBS="-lm $LIBS"
    137 
    138 dnl Check -lbsd
    139 AC_CHECK_LIB(
    140   bsd,
    141   bzero,
    142   LIBS="-lbsd $LIBS"
    143 )
     140AC_CHECK_LIB(m, atof)
     141AC_CHECK_LIB(bsd, socket)
    144142
    145143dnl Check -lreadline
     
    169167    AC_DEFINE(HAVE_DBM) LIBS="-ldbm $LIBS",
    170168    AC_CHECK_LIB(
    171       gbm,
     169      gdbm,
    172170      dbminit,
    173171      AC_DEFINE(HAVE_DBM) LIBS="-lgdbm $LIBS",
  • Singular/mod2.h.in

    re50385b rdc87554  
    9191/* Define to enable working in exterior algebras */
    9292#undef SRING
    93 /* Undefine to disable Gerhard's fast and dirty std computations */
     93/* Undefine to disable Gerhard's and Wilfried's fast and dirty std computations */
    9494#define FAST_AND_DIRTY
    9595/* works around a quirk in the generation of parser tables */
Note: See TracChangeset for help on using the changeset viewer.