Changeset 3d8259 in git for configure


Ignore:
Timestamp:
Jun 12, 1998, 11:05:38 AM (26 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'fc741b6502fd8a97288eaa3eba6e5220f3c3df87')
Children:
1d7c4b47b26fed52a770d79387350be523837831
Parents:
8b3789cab9cfc1c1353b9650436478a0dcd32506
Message:
* test for PERL in configure


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

Legend:

Unmodified
Added
Removed
  • configure

    r8b3789 r3d8259  
    841841
    842842
     843for ac_prog in perl5 perl
     844do
     845# Extract the first word of "$ac_prog", so it can be a program name with args.
     846set dummy $ac_prog; ac_word=$2
     847echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     848echo "configure:849: checking for $ac_word" >&5
     849if eval "test \"`echo '$''{'ac_cv_prog_PERL'+set}'`\" = set"; then
     850  echo $ac_n "(cached) $ac_c" 1>&6
     851else
     852  if test -n "$PERL"; then
     853  ac_cv_prog_PERL="$PERL" # Let the user override the test.
     854else
     855  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
     856  for ac_dir in $PATH; do
     857    test -z "$ac_dir" && ac_dir=.
     858    if test -f $ac_dir/$ac_word; then
     859      ac_cv_prog_PERL="$ac_prog"
     860      break
     861    fi
     862  done
     863  IFS="$ac_save_ifs"
     864fi
     865fi
     866PERL="$ac_cv_prog_PERL"
     867if test -n "$PERL"; then
     868  echo "$ac_t""$PERL" 1>&6
     869else
     870  echo "$ac_t""no" 1>&6
     871fi
     872
     873test -n "$PERL" && break
     874done
     875
    843876
    844877# expand prefix and pass it to subsequent configures
     
    892925# check for AIX
    893926echo $ac_n "checking whether _AIX is defined""... $ac_c" 1>&6
    894 echo "configure:895: checking whether _AIX is defined" >&5
     927echo "configure:928: checking whether _AIX is defined" >&5
    895928if eval "test \"`echo '$''{'ac_cv_is_aix'+set}'`\" = set"; then
    896929  echo $ac_n "(cached) $ac_c" 1>&6
    897930else
    898931  cat > conftest.$ac_ext <<EOF
    899 #line 900 "configure"
     932#line 933 "configure"
    900933#include "confdefs.h"
    901934#ifdef _AIX
     
    923956
    924957echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6
    925 echo "configure:926: checking for atof in -lm" >&5
     958echo "configure:959: checking for atof in -lm" >&5
    926959ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'`
    927960if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    931964LIBS="-lm  $LIBS"
    932965cat > conftest.$ac_ext <<EOF
    933 #line 934 "configure"
     966#line 967 "configure"
    934967#include "confdefs.h"
    935968/* Override any gcc2 internal prototype to avoid an error.  */
     
    942975; return 0; }
    943976EOF
    944 if { (eval echo configure:945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     977if { (eval echo configure:978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    945978  rm -rf conftest*
    946979  eval "ac_cv_lib_$ac_lib_var=yes"
     
    9701003
    9711004echo $ac_n "checking for socket in -lbsd""... $ac_c" 1>&6
    972 echo "configure:973: checking for socket in -lbsd" >&5
     1005echo "configure:1006: checking for socket in -lbsd" >&5
    9731006ac_lib_var=`echo bsd'_'socket | sed 'y%./+-%__p_%'`
    9741007if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    9781011LIBS="-lbsd  $LIBS"
    9791012cat > conftest.$ac_ext <<EOF
    980 #line 981 "configure"
     1013#line 1014 "configure"
    9811014#include "confdefs.h"
    9821015/* Override any gcc2 internal prototype to avoid an error.  */
     
    9891022; return 0; }
    9901023EOF
    991 if { (eval echo configure:992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1024if { (eval echo configure:1025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    9921025  rm -rf conftest*
    9931026  eval "ac_cv_lib_$ac_lib_var=yes"
     
    10171050
    10181051echo $ac_n "checking for listen in -lsocket""... $ac_c" 1>&6
    1019 echo "configure:1020: checking for listen in -lsocket" >&5
     1052echo "configure:1053: checking for listen in -lsocket" >&5
    10201053ac_lib_var=`echo socket'_'listen | sed 'y%./+-%__p_%'`
    10211054if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    10251058LIBS="-lsocket  $LIBS"
    10261059cat > conftest.$ac_ext <<EOF
    1027 #line 1028 "configure"
     1060#line 1061 "configure"
    10281061#include "confdefs.h"
    10291062/* Override any gcc2 internal prototype to avoid an error.  */
     
    10361069; return 0; }
    10371070EOF
    1038 if { (eval echo configure:1039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1071if { (eval echo configure:1072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    10391072  rm -rf conftest*
    10401073  eval "ac_cv_lib_$ac_lib_var=yes"
     
    10641097
    10651098echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
    1066 echo "configure:1067: checking for gethostbyname in -lnsl" >&5
     1099echo "configure:1100: checking for gethostbyname in -lnsl" >&5
    10671100ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
    10681101if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    10721105LIBS="-lnsl  $LIBS"
    10731106cat > conftest.$ac_ext <<EOF
    1074 #line 1075 "configure"
     1107#line 1108 "configure"
    10751108#include "confdefs.h"
    10761109/* Override any gcc2 internal prototype to avoid an error.  */
     
    10831116; return 0; }
    10841117EOF
    1085 if { (eval echo configure:1086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1118if { (eval echo configure:1119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    10861119  rm -rf conftest*
    10871120  eval "ac_cv_lib_$ac_lib_var=yes"
     
    11111144
    11121145echo $ac_n "checking for mpq_init in -lgmp""... $ac_c" 1>&6
    1113 echo "configure:1114: checking for mpq_init in -lgmp" >&5
     1146echo "configure:1147: checking for mpq_init in -lgmp" >&5
    11141147ac_lib_var=`echo gmp'_'mpq_init | sed 'y%./+-%__p_%'`
    11151148if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    11191152LIBS="-lgmp  $LIBS"
    11201153cat > conftest.$ac_ext <<EOF
    1121 #line 1122 "configure"
     1154#line 1155 "configure"
    11221155#include "confdefs.h"
    11231156/* Override any gcc2 internal prototype to avoid an error.  */
     
    11301163; return 0; }
    11311164EOF
    1132 if { (eval echo configure:1133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1165if { (eval echo configure:1166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    11331166  rm -rf conftest*
    11341167  eval "ac_cv_lib_$ac_lib_var=yes"
     
    11581191
    11591192echo $ac_n "checking for mpz_init in -lsmallgmp""... $ac_c" 1>&6
    1160 echo "configure:1161: checking for mpz_init in -lsmallgmp" >&5
     1193echo "configure:1194: checking for mpz_init in -lsmallgmp" >&5
    11611194ac_lib_var=`echo smallgmp'_'mpz_init | sed 'y%./+-%__p_%'`
    11621195if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    11661199LIBS="-lsmallgmp  $LIBS"
    11671200cat > conftest.$ac_ext <<EOF
    1168 #line 1169 "configure"
     1201#line 1202 "configure"
    11691202#include "confdefs.h"
    11701203/* Override any gcc2 internal prototype to avoid an error.  */
     
    11771210; return 0; }
    11781211EOF
    1179 if { (eval echo configure:1180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1212if { (eval echo configure:1213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    11801213  rm -rf conftest*
    11811214  eval "ac_cv_lib_$ac_lib_var=yes"
     
    12051238
    12061239echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6
    1207 echo "configure:1208: checking for IMP_PutGmpInt in -lMP" >&5
     1240echo "configure:1241: checking for IMP_PutGmpInt in -lMP" >&5
    12081241ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'`
    12091242if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    12131246LIBS="-lMP  $LIBS"
    12141247cat > conftest.$ac_ext <<EOF
    1215 #line 1216 "configure"
     1248#line 1249 "configure"
    12161249#include "confdefs.h"
    12171250/* Override any gcc2 internal prototype to avoid an error.  */
     
    12241257; return 0; }
    12251258EOF
    1226 if { (eval echo configure:1227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1259if { (eval echo configure:1260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    12271260  rm -rf conftest*
    12281261  eval "ac_cv_lib_$ac_lib_var=yes"
     
    12521285
    12531286echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6
    1254 echo "configure:1255: checking for MPT_GetTree in -lMPT" >&5
     1287echo "configure:1288: checking for MPT_GetTree in -lMPT" >&5
    12551288ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'`
    12561289if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    12601293LIBS="-lMPT  $LIBS"
    12611294cat > conftest.$ac_ext <<EOF
    1262 #line 1263 "configure"
     1295#line 1296 "configure"
    12631296#include "confdefs.h"
    12641297/* Override any gcc2 internal prototype to avoid an error.  */
     
    12711304; return 0; }
    12721305EOF
    1273 if { (eval echo configure:1274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1306if { (eval echo configure:1307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    12741307  rm -rf conftest*
    12751308  eval "ac_cv_lib_$ac_lib_var=yes"
     
    12991332
    13001333echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6
    1301 echo "configure:1302: checking for atof in -lsingcf" >&5
     1334echo "configure:1335: checking for atof in -lsingcf" >&5
    13021335ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'`
    13031336if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    13071340LIBS="-lsingcf  $LIBS"
    13081341cat > conftest.$ac_ext <<EOF
    1309 #line 1310 "configure"
     1342#line 1343 "configure"
    13101343#include "confdefs.h"
    13111344/* Override any gcc2 internal prototype to avoid an error.  */
     
    13181351; return 0; }
    13191352EOF
    1320 if { (eval echo configure:1321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1353if { (eval echo configure:1354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    13211354  rm -rf conftest*
    13221355  eval "ac_cv_lib_$ac_lib_var=yes"
     
    13461379
    13471380echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6
    1348 echo "configure:1349: checking for atof in -lsingfac" >&5
     1381echo "configure:1382: checking for atof in -lsingfac" >&5
    13491382ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'`
    13501383if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    13541387LIBS="-lsingfac  $LIBS"
    13551388cat > conftest.$ac_ext <<EOF
    1356 #line 1357 "configure"
     1389#line 1390 "configure"
    13571390#include "confdefs.h"
    13581391/* Override any gcc2 internal prototype to avoid an error.  */
     
    13651398; return 0; }
    13661399EOF
    1367 if { (eval echo configure:1368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1400if { (eval echo configure:1401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    13681401  rm -rf conftest*
    13691402  eval "ac_cv_lib_$ac_lib_var=yes"
     
    13971430ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    13981431echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1399 echo "configure:1400: checking for $ac_hdr" >&5
     1432echo "configure:1433: checking for $ac_hdr" >&5
    14001433if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    14011434  echo $ac_n "(cached) $ac_c" 1>&6
    14021435else
    14031436  cat > conftest.$ac_ext <<EOF
    1404 #line 1405 "configure"
     1437#line 1438 "configure"
    14051438#include "confdefs.h"
    14061439#include <$ac_hdr>
    14071440EOF
    14081441ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1409 { (eval echo configure:1410: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1442{ (eval echo configure:1443: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    14101443ac_err=`grep -v '^ *+' conftest.out`
    14111444if test -z "$ac_err"; then
     
    15321565
    15331566echo $ac_n "checking whether to configure and build gmp lib""... $ac_c" 1>&6
    1534 echo "configure:1535: checking whether to configure and build gmp lib" >&5
     1567echo "configure:1568: checking whether to configure and build gmp lib" >&5
    15351568if test "$enable_gmp" != yes && test "$enable_gmp" != no; then
    15361569  if test "$ac_gmp_ok" != yes && test -d gmp; then
     
    15581591
    15591592echo $ac_n "checking whether to configure and build smallgmp lib""... $ac_c" 1>&6
    1560 echo "configure:1561: checking whether to configure and build smallgmp lib" >&5
     1593echo "configure:1594: checking whether to configure and build smallgmp lib" >&5
    15611594if test "$enable_smallgmp" != yes && test "$enable_smallgmp" != no; then
    15621595  if test "$ac_smallgmp_ok" != yes && test "$ac_gmp_ok" != yes && \
     
    15971630
    15981631echo $ac_n "checking whether to configure and build MP lib""... $ac_c" 1>&6
    1599 echo "configure:1600: checking whether to configure and build MP lib" >&5
     1632echo "configure:1633: checking whether to configure and build MP lib" >&5
    16001633if test "$enable_MP" != yes && test "$enable_MP" != no; then
    16011634  if test "$with_MP" != no && test "$ac_MP_ok" != yes && test -d MP && \
     
    16261659 
    16271660echo $ac_n "checking whether to configure and build factory lib""... $ac_c" 1>&6
    1628 echo "configure:1629: checking whether to configure and build factory lib" >&5
     1661echo "configure:1662: checking whether to configure and build factory lib" >&5
    16291662if test "$enable_factory" != yes && test "$enable_factory" != no; then
    16301663  if test "$with_factory" != no && test "$ac_factory_ok" != yes && \
     
    16511684
    16521685echo $ac_n "checking whether to configure and build libfac lib""... $ac_c" 1>&6
    1653 echo "configure:1654: checking whether to configure and build libfac lib" >&5
     1686echo "configure:1687: checking whether to configure and build libfac lib" >&5
    16541687if test "$enable_libfac" != yes && test "$enable_libfac" != no; then
    16551688  if test "$with_libfac" != no && test "$ac_libfac_ok" != yes && \
     
    16811714
    16821715echo $ac_n "checking whether to configure and build sgroup lib""... $ac_c" 1>&6
    1683 echo "configure:1684: checking whether to configure and build sgroup lib" >&5
     1716echo "configure:1717: checking whether to configure and build sgroup lib" >&5
    16841717if test "$enable_sgroup" != yes && test "$enable_sgroup" != no; then
    16851718  if test "$with_sgroup" != no && test "$ac_sgroup_ok" != yes && \
     
    17111744
    17121745echo $ac_n "checking whether to configure and build Singular""... $ac_c" 1>&6
    1713 echo "configure:1714: checking whether to configure and build Singular" >&5
     1746echo "configure:1747: checking whether to configure and build Singular" >&5
    17141747if test "$enable_Singular" != yes && test "$enable_Singular" != no; then
    17151748  if test "$with_Singular" != no && test -d Singular; then
     
    17361769
    17371770echo $ac_n "checking which apint package to use""... $ac_c" 1>&6
    1738 echo "configure:1739: checking which apint package to use" >&5
     1771echo "configure:1772: checking which apint package to use" >&5
    17391772if test "$with_apint" = gmp; then
    17401773  if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then
     
    17601793
    17611794echo $ac_n "checking whether to use with MP""... $ac_c" 1>&6
    1762 echo "configure:1763: checking whether to use with MP" >&5
     1795echo "configure:1796: checking whether to use with MP" >&5
    17631796if test "$with_MP" = yes; then
    17641797  if test "$ac_MP_ok" = yes || test "$enable_MP" = yes; then
     
    17791812
    17801813echo $ac_n "checking whether to use with factory""... $ac_c" 1>&6
    1781 echo "configure:1782: checking whether to use with factory" >&5
     1814echo "configure:1815: checking whether to use with factory" >&5
    17821815if test "$with_factory" = yes; then
    17831816  if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then
     
    17981831 
    17991832echo $ac_n "checking whether to use with libfac""... $ac_c" 1>&6
    1800 echo "configure:1801: checking whether to use with libfac" >&5
     1833echo "configure:1834: checking whether to use with libfac" >&5
    18011834if test "$with_libfac" = yes; then
    18021835  if test "$ac_libfac_ok" = yes || test "$enable_libfac" = yes; then
     
    18171850
    18181851echo $ac_n "checking whether to use with Singular""... $ac_c" 1>&6
    1819 echo "configure:1820: checking whether to use with Singular" >&5
     1852echo "configure:1853: checking whether to use with Singular" >&5
    18201853if test "$with_Singular" != no && test "$with_Singular" != yes; then
    18211854  if test "$enable_Singular" = yes; then
     
    18621895
    18631896echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    1864 echo "configure:1865: checking whether ${MAKE-make} sets \${MAKE}" >&5
     1897echo "configure:1898: checking whether ${MAKE-make} sets \${MAKE}" >&5
    18651898set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    18661899if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    20592092s%@CC@%$CC%g
    20602093s%@CPP@%$CPP%g
     2094s%@PERL@%$PERL%g
    20612095s%@SINGULAR@%$SINGULAR%g
    20622096s%@SET_MAKE@%$SET_MAKE%g
Note: See TracChangeset for help on using the changeset viewer.