Changeset 2e9262 in git


Ignore:
Timestamp:
Apr 20, 1998, 6:01:40 PM (26 years ago)
Author:
Jens Schmidt <schmidt@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'd25190065115c859833252500a64cfb7b11e3a50')
Children:
142b7b541ca90ee57fa4fdbb939c0550b008661c
Parents:
53a2286dcf84c26398946a9e15b8e7ae21d6f144
Message:
	* configure: configure.in changed


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

Legend:

Unmodified
Added
Removed
  • factory/configure

    r53a228 r2e9262  
    33# From configure.in Id: configure.in
    44# Guess values for system-dependent variables and create Makefiles.
    5 # Generated automatically using autoconf version 2.9
     5# Generated automatically using autoconf version 2.10
    66# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
    77#
     
    355355
    356356  -version | --version | --versio | --versi | --vers)
    357     echo "configure generated by autoconf version 2.9"
     357    echo "configure generated by autoconf version 2.10"
    358358    exit 0 ;;
    359359
     
    12141214
    12151215
    1216 # get absolute path of srcdir to avoid some funny problems when
    1217 # feeding our results to other peoples configure via cache
    1218 if echo "$srcdir" | grep '^/' > /dev/null 2> /dev/null; then
    1219   abssrcdir="$srcdir"
    1220 else
    1221   abssrcdir="`pwd`/$srcdir"
    1222 fi
     1216# do not use `MKINSTALLDIRS' and `MAKEHEADER' since there may be
     1217# name clashes with other peoples configure scripts via
     1218# `config.cache'.  Furthermore, we do not use cache at all to
     1219# avoid some nasty problems with our own development environment.
     1220unset ac_cv_path_FACTORY_MKINSTALLDIRS
     1221unset ac_cv_path_FACTORY_MAKEHEADER
    12231222# Extract the first word of "mkinstalldirs", so it can be a program name with args.
    12241223set dummy mkinstalldirs; ac_word=$2
    12251224echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1226 if eval "test \"`echo '$''{'ac_cv_path_MKINSTALLDIRS'+set}'`\" = set"; then
    1227   echo $ac_n "(cached) $ac_c" 1>&6
    1228 else
    1229   case "$MKINSTALLDIRS" in
     1225if eval "test \"`echo '$''{'ac_cv_path_FACTORY_MKINSTALLDIRS'+set}'`\" = set"; then
     1226  echo $ac_n "(cached) $ac_c" 1>&6
     1227else
     1228  case "$FACTORY_MKINSTALLDIRS" in
    12301229  /*)
    1231   ac_cv_path_MKINSTALLDIRS="$MKINSTALLDIRS" # Let the user override the test with a path.
     1230  ac_cv_path_FACTORY_MKINSTALLDIRS="$FACTORY_MKINSTALLDIRS" # Let the user override the test with a path.
    12321231  ;;
    12331232  *)
    12341233  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    1235   for ac_dir in $PATH:$abssrcdir/bin; do
     1234  for ac_dir in $PATH:$srcdir/bin; do
    12361235    test -z "$ac_dir" && ac_dir=.
    12371236    if test -f $ac_dir/$ac_word; then
    1238       ac_cv_path_MKINSTALLDIRS="$ac_dir/$ac_word"
     1237      ac_cv_path_FACTORY_MKINSTALLDIRS="$ac_dir/$ac_word"
    12391238      break
    12401239    fi
    12411240  done
    12421241  IFS="$ac_save_ifs"
    1243   test -z "$ac_cv_path_MKINSTALLDIRS" && ac_cv_path_MKINSTALLDIRS="-mkdir"
     1242  test -z "$ac_cv_path_FACTORY_MKINSTALLDIRS" && ac_cv_path_FACTORY_MKINSTALLDIRS="-mkdir"
    12441243  ;;
    12451244esac
    12461245fi
    1247 MKINSTALLDIRS="$ac_cv_path_MKINSTALLDIRS"
    1248 if test -n "$MKINSTALLDIRS"; then
    1249   echo "$ac_t""$MKINSTALLDIRS" 1>&6
     1246FACTORY_MKINSTALLDIRS="$ac_cv_path_FACTORY_MKINSTALLDIRS"
     1247if test -n "$FACTORY_MKINSTALLDIRS"; then
     1248  echo "$ac_t""$FACTORY_MKINSTALLDIRS" 1>&6
    12501249else
    12511250  echo "$ac_t""no" 1>&6
     
    12551254set dummy makeheader; ac_word=$2
    12561255echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1257 if eval "test \"`echo '$''{'ac_cv_path_MAKEHEADER'+set}'`\" = set"; then
    1258   echo $ac_n "(cached) $ac_c" 1>&6
    1259 else
    1260   case "$MAKEHEADER" in
     1256if eval "test \"`echo '$''{'ac_cv_path_FACTORY_MAKEHEADER'+set}'`\" = set"; then
     1257  echo $ac_n "(cached) $ac_c" 1>&6
     1258else
     1259  case "$FACTORY_MAKEHEADER" in
    12611260  /*)
    1262   ac_cv_path_MAKEHEADER="$MAKEHEADER" # Let the user override the test with a path.
     1261  ac_cv_path_FACTORY_MAKEHEADER="$FACTORY_MAKEHEADER" # Let the user override the test with a path.
    12631262  ;;
    12641263  *)
    12651264  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    1266   for ac_dir in $abssrcdir/bin:$PATH; do
     1265  for ac_dir in $srcdir/bin:$PATH; do
    12671266    test -z "$ac_dir" && ac_dir=.
    12681267    if test -f $ac_dir/$ac_word; then
    1269       ac_cv_path_MAKEHEADER="$ac_dir/$ac_word"
     1268      ac_cv_path_FACTORY_MAKEHEADER="$ac_dir/$ac_word"
    12701269      break
    12711270    fi
     
    12751274esac
    12761275fi
    1277 MAKEHEADER="$ac_cv_path_MAKEHEADER"
    1278 if test -n "$MAKEHEADER"; then
    1279   echo "$ac_t""$MAKEHEADER" 1>&6
     1276FACTORY_MAKEHEADER="$ac_cv_path_FACTORY_MAKEHEADER"
     1277if test -n "$FACTORY_MAKEHEADER"; then
     1278  echo "$ac_t""$FACTORY_MAKEHEADER" 1>&6
    12801279else
    12811280  echo "$ac_t""no" 1>&6
     
    12871286#
    12881287echo $ac_n "checking for -lm""... $ac_c" 1>&6
    1289 ac_lib_var=`echo m_atof | tr '.-/+' '___p'`
     1288ac_lib_var=`echo m'_'atof | tr './+\055' '__p_'`
    12901289if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    12911290  echo $ac_n "(cached) $ac_c" 1>&6
     
    12941293LIBS="-lm  $LIBS"
    12951294cat > conftest.$ac_ext <<EOF
    1296 #line 1297 "configure"
     1295#line 1296 "configure"
    12971296#include "confdefs.h"
    12981297/* Override any gcc2 internal prototype to avoid an error.  */
     1298/* We use char because int might match the return type of a gcc2
     1299    builtin and then its argument prototype would still apply.  */
    12991300char atof();
    13001301
     
    13041305; return 0; }
    13051306EOF
    1306 if { (eval echo configure:1307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1307if { (eval echo configure:1308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    13071308  rm -rf conftest*
    13081309  eval "ac_cv_lib_$ac_lib_var=yes"
     
    13321333if test "x$gmp_in_installation" != xyes; then
    13331334  echo $ac_n "checking for -lgmp""... $ac_c" 1>&6
    1334 ac_lib_var=`echo gmp_mpz_init | tr '.-/+' '___p'`
     1335ac_lib_var=`echo gmp'_'mpz_init | tr './+\055' '__p_'`
    13351336if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    13361337  echo $ac_n "(cached) $ac_c" 1>&6
     
    13391340LIBS="-lgmp  $LIBS"
    13401341cat > conftest.$ac_ext <<EOF
    1341 #line 1342 "configure"
     1342#line 1343 "configure"
    13421343#include "confdefs.h"
    13431344/* Override any gcc2 internal prototype to avoid an error.  */
     1345/* We use char because int might match the return type of a gcc2
     1346    builtin and then its argument prototype would still apply.  */
    13441347char mpz_init();
    13451348
     
    13491352; return 0; }
    13501353EOF
    1351 if { (eval echo configure:1352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1354if { (eval echo configure:1355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    13521355  rm -rf conftest*
    13531356  eval "ac_cv_lib_$ac_lib_var=yes"
     
    13951398else
    13961399  cat > conftest.$ac_ext <<EOF
    1397 #line 1398 "configure"
     1400#line 1401 "configure"
    13981401#include "confdefs.h"
    13991402#include <$ac_hdr>
    14001403EOF
    14011404ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1402 { (eval echo configure:1403: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1405{ (eval echo configure:1406: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    14031406ac_err=`grep -v '^ *+' conftest.out`
    14041407if test -z "$ac_err"; then
     
    14351438else
    14361439  cat > conftest.$ac_ext <<EOF
    1437 #line 1438 "configure"
     1440#line 1441 "configure"
    14381441#include "confdefs.h"
    14391442#include <$ac_hdr>
    14401443EOF
    14411444ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1442 { (eval echo configure:1443: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1445{ (eval echo configure:1446: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    14431446ac_err=`grep -v '^ *+' conftest.out`
    14441447if test -z "$ac_err"; then
     
    14751478else
    14761479  cat > conftest.$ac_ext <<EOF
    1477 #line 1478 "configure"
     1480#line 1481 "configure"
    14781481#include "confdefs.h"
    14791482#include <$ac_hdr>
    14801483EOF
    14811484ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1482 { (eval echo configure:1483: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1485{ (eval echo configure:1486: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    14831486ac_err=`grep -v '^ *+' conftest.out`
    14841487if test -z "$ac_err"; then
     
    15131516else
    15141517  cat > conftest.$ac_ext <<EOF
    1515 #line 1516 "configure"
     1518#line 1519 "configure"
    15161519#include "confdefs.h"
    15171520#include <$ac_hdr>
    15181521EOF
    15191522ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1520 { (eval echo configure:1521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1523{ (eval echo configure:1524: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    15211524ac_err=`grep -v '^ *+' conftest.out`
    15221525if test -z "$ac_err"; then
     
    15541557else
    15551558  cat > conftest.$ac_ext <<EOF
    1556 #line 1557 "configure"
     1559#line 1560 "configure"
    15571560#include "confdefs.h"
    15581561#include <$ac_hdr>
    15591562EOF
    15601563ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1561 { (eval echo configure:1562: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1564{ (eval echo configure:1565: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    15621565ac_err=`grep -v '^ *+' conftest.out`
    15631566if test -z "$ac_err"; then
     
    15971600else
    15981601  cat > conftest.$ac_ext <<EOF
    1599 #line 1600 "configure"
     1602#line 1603 "configure"
    16001603#include "confdefs.h"
    16011604#include <$ac_hdr>
    16021605EOF
    16031606ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1604 { (eval echo configure:1605: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1607{ (eval echo configure:1608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    16051608ac_err=`grep -v '^ *+' conftest.out`
    16061609if test -z "$ac_err"; then
     
    16551658else
    16561659cat > conftest.$ac_ext <<EOF
    1657 #line 1658 "configure"
     1660#line 1661 "configure"
    16581661#include "confdefs.h"
    16591662main(){return(0);}
    16601663EOF
    1661 { (eval echo configure:1662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
     1664{ (eval echo configure:1665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
    16621665if test -s conftest && (./conftest; exit) 2>/dev/null; then
    16631666  ac_cv_c_cross=no
     
    16871690else
    16881691  cat > conftest.$ac_ext <<EOF
    1689 #line 1690 "configure"
     1692#line 1693 "configure"
    16901693#include "confdefs.h"
    16911694
     
    17371740; return 0; }
    17381741EOF
    1739 if { (eval echo configure:1740: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1742if { (eval echo configure:1743: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    17401743  rm -rf conftest*
    17411744  ac_cv_c_const=yes
     
    17631766for ac_kw in inline __inline__ __inline; do
    17641767  cat > conftest.$ac_ext <<EOF
    1765 #line 1766 "configure"
     1768#line 1769 "configure"
    17661769#include "confdefs.h"
    17671770
     
    17711774; return 0; }
    17721775EOF
    1773 if { (eval echo configure:1774: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1776if { (eval echo configure:1777: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    17741777  rm -rf conftest*
    17751778  ac_cv_c_inline=$ac_kw; break
     
    18041807else
    18051808cat > conftest.$ac_ext <<EOF
    1806 #line 1807 "configure"
     1809#line 1810 "configure"
    18071810#include "confdefs.h"
    18081811 int main() { if (-2 >> 1 == -1) exit(0); else exit(1); }
    18091812EOF
    1810 { (eval echo configure:1811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
     1813{ (eval echo configure:1814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
    18111814if test -s conftest && (./conftest; exit) 2>/dev/null; then
    18121815  ac_cv_shift=yes
     
    19721975fi
    19731976
    1974 #
    1975 # - debugoutput and timing magic.
    1976 #
    1977 # For those who do not like this: As long as you do not specify
    1978 # --enable-timing or --enable-debugoutput the following code will
    1979 # not be executed.
    1980 #
    1981 timingtargets=/dev/null
    1982 debouttargets=/dev/null
    1983 debtimingtargets=/dev/null
    1984 enhanceddebtime=no
    1985 
    19861977# timing
    19871978if test "x$enable_timing" != xno; then
    1988   if test "x$enable_timing" = xyes; then
    1989     cat >> confdefs.h <<\EOF
     1979  cat >> confdefs.h <<\EOF
    19901980#define TIMING 1
    19911981EOF
    19921982
    1993   else
    1994     echo "$enable_timing" | tr ',' '\n' | sed 's/\..*$//' | sort > conftest.time
    1995     timingtargets=conftest.time
    1996     enhanceddebtime=yes
    1997   fi
    19981983fi
    19991984
    20001985# debugoutput
    20011986if test "x$enable_debugoutput" != xno; then
    2002   if test "x$enable_debugoutput" = xyes; then
    2003     cat >> confdefs.h <<\EOF
     1987  cat >> confdefs.h <<\EOF
    20041988#define DEBUGOUTPUT 1
    20051989EOF
    20061990
    2007   else
    2008     echo "$enable_debugoutput" | tr ',' '\n' | sed 's/\..*$//' | sort > conftest.debout
    2009     debouttargets=conftest.debout
    2010     enhanceddebtime=yes
    2011   fi
    2012 fi
    2013 
    2014 # create makefile fragments
    2015 if test "x$enhanceddebtime" = xyes; then
    2016   # get the intersection of timingtargets and debouttargets
    2017   sort "$timingtargets" "$debouttargets" | uniq -d > conftest.debtime
    2018   if test -s conftest.debtime; then
    2019     debtimingtargets=conftest.debtime
    2020   fi
    2021   if test "x$timingtargets" != x/dev/null; then
    2022     # get difference of timingtargets and debtimingtargets
    2023     sort "$timingtargets" "$debtimingtargets" | uniq -u |
    2024       while read line; do
    2025         echo "$line.o: $line.cc config.h;" '$(CXX) -c $< -DTIMING $(LIBCXXFLAGS) -o $@'
    2026       done > conftest.tmp
    2027     mv conftest.tmp "$timingtargets"
    2028   fi
    2029   if test "x$debouttargets" != x/dev/null; then
    2030     # get difference of debouttargets and debtimingtargets
    2031     sort "$debouttargets" "$debtimingtargets" | uniq -u |
    2032       while read line; do
    2033         echo "$line.o: $line.cc config.h;" '$(CXX) -c $< -DDEBUGOUTPUT $(LIBCXXFLAGS) -o $@'
    2034       done > conftest.tmp
    2035     mv conftest.tmp "$debouttargets"
    2036   fi
    2037   if test "x$debtimingtargets" != x/dev/null; then
    2038     while read line; do
    2039       echo "$line.o: $line.cc config.h;" '$(CXX) -c $< -DTIMING -DDEBUGOUTPUT $(LIBCXXFLAGS) -o $@'
    2040     done < "$debtimingtargets" > conftest.tmp
    2041     mv conftest.tmp "$debtimingtargets"
    2042   fi
    20431991fi
    20441992
     
    20461994# - complete and substitute variables, defines.
    20471995#
    2048 
    2049 
    2050 
    2051 
    20521996
    20531997
     
    21592103    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
    21602104  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
    2161     echo "$CONFIG_STATUS generated by autoconf version 2.9"
     2105    echo "$CONFIG_STATUS generated by autoconf version 2.10"
    21622106    exit 0 ;;
    21632107  -help | --help | --hel | --he | --h)
     
    22122156s%@M4@%$M4%g
    22132157s%@BISON@%$BISON%g
    2214 s%@MKINSTALLDIRS@%$MKINSTALLDIRS%g
    2215 s%@MAKEHEADER@%$MAKEHEADER%g
     2158s%@FACTORY_MKINSTALLDIRS@%$FACTORY_MKINSTALLDIRS%g
     2159s%@FACTORY_MAKEHEADER@%$FACTORY_MAKEHEADER%g
    22162160s%@gftabledir@%$gftabledir%g
    22172161s%@templatedir@%$templatedir%g
     
    22282172s%@installtargets@%$installtargets%g
    22292173s%@uninstalltargets@%$uninstalltargets%g
    2230 /@timingtargets@/r $timingtargets
    2231 s%@timingtargets@%%g
    2232 /@debouttargets@/r $debouttargets
    2233 s%@debouttargets@%%g
    2234 /@debtimingtargets@/r $debtimingtargets
    2235 s%@debtimingtargets@%%g
    22362174
    22372175CEOF
     
    23862324    rm -f conftest.h
    23872325  else
     2326    # Remove last slash and all that follows it.  Not all systems have dirname.
     2327      ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
     2328      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
     2329      # The file is in a subdirectory.
     2330      test ! -d "$ac_dir" && mkdir "$ac_dir"
     2331    fi
    23882332    rm -f $ac_file
    23892333    mv conftest.h $ac_file
Note: See TracChangeset for help on using the changeset viewer.