Changeset 4dea87 in git for configure


Ignore:
Timestamp:
Oct 8, 1997, 3:41:35 PM (27 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
511e7be48ebdcb7a37b14c5b47c81bbcaa467831
Parents:
a14aa6a5f438dc2039721d6dfce70c114c82691b
Message:
Wed Oct  8 12:22:47 1997  Olaf Bachmann
<obachman@mathematik.uni-kl.de>

	* increased version number to 1.1.3

	* ndbm.cc: Solaris compatibility: #define bcopy bzero, bcmp;
		  #include <fcntl.h>
	* configure.in: added check for fcntl.h sys/types.h sys/stat.h, ucblib
	  ensured that either lgmp or lsmallgmp is in $LIBS


git-svn-id: file:///usr/local/Singular/svn/trunk@785 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    ra14aa6 r4dea87  
    918918fi
    919919
     920echo $ac_n "checking for -lbsd""... $ac_c" 1>&6
     921ac_lib_var=`echo bsd_socket | tr '.-/+' '___p'`
     922if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     923  echo $ac_n "(cached) $ac_c" 1>&6
     924else
     925  ac_save_LIBS="$LIBS"
     926LIBS="-lbsd  $LIBS"
     927cat > conftest.$ac_ext <<EOF
     928#line 929 "configure"
     929#include "confdefs.h"
     930/* Override any gcc2 internal prototype to avoid an error.  */
     931char socket();
     932
     933int main() { return 0; }
     934int t() {
     935socket()
     936; return 0; }
     937EOF
     938if { (eval echo configure:939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     939  rm -rf conftest*
     940  eval "ac_cv_lib_$ac_lib_var=yes"
     941else
     942  rm -rf conftest*
     943  eval "ac_cv_lib_$ac_lib_var=no"
     944fi
     945rm -f conftest*
     946LIBS="$ac_save_LIBS"
     947
     948fi
     949if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     950  echo "$ac_t""yes" 1>&6
     951    ac_tr_lib=HAVE_LIB`echo bsd | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
     952  cat >> confdefs.h <<EOF
     953#define $ac_tr_lib 1
     954EOF
     955
     956  LIBS="-lbsd $LIBS"
     957
     958else
     959  echo "$ac_t""no" 1>&6
     960fi
     961
     962echo $ac_n "checking for -lsocket""... $ac_c" 1>&6
     963ac_lib_var=`echo socket_listen | tr '.-/+' '___p'`
     964if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     965  echo $ac_n "(cached) $ac_c" 1>&6
     966else
     967  ac_save_LIBS="$LIBS"
     968LIBS="-lsocket  $LIBS"
     969cat > conftest.$ac_ext <<EOF
     970#line 971 "configure"
     971#include "confdefs.h"
     972/* Override any gcc2 internal prototype to avoid an error.  */
     973char listen();
     974
     975int main() { return 0; }
     976int t() {
     977listen()
     978; return 0; }
     979EOF
     980if { (eval echo configure:981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     981  rm -rf conftest*
     982  eval "ac_cv_lib_$ac_lib_var=yes"
     983else
     984  rm -rf conftest*
     985  eval "ac_cv_lib_$ac_lib_var=no"
     986fi
     987rm -f conftest*
     988LIBS="$ac_save_LIBS"
     989
     990fi
     991if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     992  echo "$ac_t""yes" 1>&6
     993    ac_tr_lib=HAVE_LIB`echo socket | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
     994  cat >> confdefs.h <<EOF
     995#define $ac_tr_lib 1
     996EOF
     997
     998  LIBS="-lsocket $LIBS"
     999
     1000else
     1001  echo "$ac_t""no" 1>&6
     1002fi
     1003
     1004echo $ac_n "checking for -lnsl""... $ac_c" 1>&6
     1005ac_lib_var=`echo nsl_gethostbyname | tr '.-/+' '___p'`
     1006if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     1007  echo $ac_n "(cached) $ac_c" 1>&6
     1008else
     1009  ac_save_LIBS="$LIBS"
     1010LIBS="-lnsl  $LIBS"
     1011cat > conftest.$ac_ext <<EOF
     1012#line 1013 "configure"
     1013#include "confdefs.h"
     1014/* Override any gcc2 internal prototype to avoid an error.  */
     1015char gethostbyname();
     1016
     1017int main() { return 0; }
     1018int t() {
     1019gethostbyname()
     1020; return 0; }
     1021EOF
     1022if { (eval echo configure:1023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1023  rm -rf conftest*
     1024  eval "ac_cv_lib_$ac_lib_var=yes"
     1025else
     1026  rm -rf conftest*
     1027  eval "ac_cv_lib_$ac_lib_var=no"
     1028fi
     1029rm -f conftest*
     1030LIBS="$ac_save_LIBS"
     1031
     1032fi
     1033if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     1034  echo "$ac_t""yes" 1>&6
     1035    ac_tr_lib=HAVE_LIB`echo nsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
     1036  cat >> confdefs.h <<EOF
     1037#define $ac_tr_lib 1
     1038EOF
     1039
     1040  LIBS="-lnsl $LIBS"
     1041
     1042else
     1043  echo "$ac_t""no" 1>&6
     1044fi
     1045
    9201046echo $ac_n "checking for -lgmp""... $ac_c" 1>&6
    9211047ac_lib_var=`echo gmp_mpq_init | tr '.-/+' '___p'`
     
    9261052LIBS="-lgmp  $LIBS"
    9271053cat > conftest.$ac_ext <<EOF
    928 #line 929 "configure"
     1054#line 1055 "configure"
    9291055#include "confdefs.h"
    9301056/* Override any gcc2 internal prototype to avoid an error.  */
     
    9361062; return 0; }
    9371063EOF
    938 if { (eval echo configure:939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1064if { (eval echo configure:1065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    9391065  rm -rf conftest*
    9401066  eval "ac_cv_lib_$ac_lib_var=yes"
     
    9681094LIBS="-lsmallgmp  $LIBS"
    9691095cat > conftest.$ac_ext <<EOF
    970 #line 971 "configure"
     1096#line 1097 "configure"
    9711097#include "confdefs.h"
    9721098/* Override any gcc2 internal prototype to avoid an error.  */
     
    9781104; return 0; }
    9791105EOF
    980 if { (eval echo configure:981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1106if { (eval echo configure:1107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    9811107  rm -rf conftest*
    9821108  eval "ac_cv_lib_$ac_lib_var=yes"
     
    10101136LIBS="-lMP  $LIBS"
    10111137cat > conftest.$ac_ext <<EOF
    1012 #line 1013 "configure"
     1138#line 1139 "configure"
    10131139#include "confdefs.h"
    10141140/* Override any gcc2 internal prototype to avoid an error.  */
     
    10201146; return 0; }
    10211147EOF
    1022 if { (eval echo configure:1023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1148if { (eval echo configure:1149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    10231149  rm -rf conftest*
    10241150  eval "ac_cv_lib_$ac_lib_var=yes"
     
    10521178LIBS="-lMPT  $LIBS"
    10531179cat > conftest.$ac_ext <<EOF
    1054 #line 1055 "configure"
     1180#line 1181 "configure"
    10551181#include "confdefs.h"
    10561182/* Override any gcc2 internal prototype to avoid an error.  */
     
    10621188; return 0; }
    10631189EOF
    1064 if { (eval echo configure:1065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1190if { (eval echo configure:1191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    10651191  rm -rf conftest*
    10661192  eval "ac_cv_lib_$ac_lib_var=yes"
     
    10941220LIBS="-lsingcf  $LIBS"
    10951221cat > conftest.$ac_ext <<EOF
    1096 #line 1097 "configure"
     1222#line 1223 "configure"
    10971223#include "confdefs.h"
    10981224/* Override any gcc2 internal prototype to avoid an error.  */
     
    11041230; return 0; }
    11051231EOF
    1106 if { (eval echo configure:1107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1232if { (eval echo configure:1233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    11071233  rm -rf conftest*
    11081234  eval "ac_cv_lib_$ac_lib_var=yes"
     
    11361262LIBS="-lsingfac  $LIBS"
    11371263cat > conftest.$ac_ext <<EOF
    1138 #line 1139 "configure"
     1264#line 1265 "configure"
    11391265#include "confdefs.h"
    11401266/* Override any gcc2 internal prototype to avoid an error.  */
     
    11461272; return 0; }
    11471273EOF
    1148 if { (eval echo configure:1149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1274if { (eval echo configure:1275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    11491275  rm -rf conftest*
    11501276  eval "ac_cv_lib_$ac_lib_var=yes"
     
    11791305else
    11801306  cat > conftest.$ac_ext <<EOF
    1181 #line 1182 "configure"
     1307#line 1308 "configure"
    11821308#include "confdefs.h"
    11831309#include <$ac_hdr>
    11841310EOF
    11851311ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1186 { (eval echo configure:1187: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1312{ (eval echo configure:1313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    11871313ac_err=`grep -v '^ *+' conftest.out`
    11881314if test -z "$ac_err"; then
Note: See TracChangeset for help on using the changeset viewer.