Changeset 23673b in git


Ignore:
Timestamp:
Jun 3, 1998, 6:57:06 PM (26 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
fb2486e0414abee2f7c84a4195d09772eb59d9a5
Parents:
73e491c507b652dcbbebc5d8a3dccad425f4a323
Message:
* added gmp/Makefile.in.in to AC_OUTPUT


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

Legend:

Unmodified
Added
Removed
  • configure

    r73e491 r23673b  
    837837
    838838# expand prefix and pass it to subsequent configures
    839 test "x$prefix" = xNONE && prefix=${ac_default_prefix}; \
    840     ac_configure_args="$ac_configure_args --prefix=${prefix}"
     839if test "x$prefix" = xNONE; then
     840  prefix=${ac_default_prefix}
     841  ac_configure_args="$ac_configure_args --prefix=${prefix}"
     842fi
    841843
    842844# expand exec_prefix
     
    880882
    881883echo $ac_n "checking whether _AIX is defined""... $ac_c" 1>&6
    882 echo "configure:883: checking whether _AIX is defined" >&5
     884echo "configure:885: checking whether _AIX is defined" >&5
    883885if eval "test \"`echo '$''{'ac_cv_is_aix'+set}'`\" = set"; then
    884886  echo $ac_n "(cached) $ac_c" 1>&6
    885887else
    886888  cat > conftest.$ac_ext <<EOF
    887 #line 888 "configure"
     889#line 890 "configure"
    888890#include "confdefs.h"
    889891#ifdef _AIX
     
    912914
    913915echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6
    914 echo "configure:915: checking for atof in -lm" >&5
     916echo "configure:917: checking for atof in -lm" >&5
    915917ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'`
    916918if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    920922LIBS="-lm  $LIBS"
    921923cat > conftest.$ac_ext <<EOF
    922 #line 923 "configure"
     924#line 925 "configure"
    923925#include "confdefs.h"
    924926/* Override any gcc2 internal prototype to avoid an error.  */
     
    931933; return 0; }
    932934EOF
    933 if { (eval echo configure:934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     935if { (eval echo configure:936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    934936  rm -rf conftest*
    935937  eval "ac_cv_lib_$ac_lib_var=yes"
     
    959961
    960962echo $ac_n "checking for socket in -lbsd""... $ac_c" 1>&6
    961 echo "configure:962: checking for socket in -lbsd" >&5
     963echo "configure:964: checking for socket in -lbsd" >&5
    962964ac_lib_var=`echo bsd'_'socket | sed 'y%./+-%__p_%'`
    963965if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    967969LIBS="-lbsd  $LIBS"
    968970cat > conftest.$ac_ext <<EOF
    969 #line 970 "configure"
     971#line 972 "configure"
    970972#include "confdefs.h"
    971973/* Override any gcc2 internal prototype to avoid an error.  */
     
    978980; return 0; }
    979981EOF
    980 if { (eval echo configure:981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     982if { (eval echo configure:983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    981983  rm -rf conftest*
    982984  eval "ac_cv_lib_$ac_lib_var=yes"
     
    10061008
    10071009echo $ac_n "checking for listen in -lsocket""... $ac_c" 1>&6
    1008 echo "configure:1009: checking for listen in -lsocket" >&5
     1010echo "configure:1011: checking for listen in -lsocket" >&5
    10091011ac_lib_var=`echo socket'_'listen | sed 'y%./+-%__p_%'`
    10101012if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    10141016LIBS="-lsocket  $LIBS"
    10151017cat > conftest.$ac_ext <<EOF
    1016 #line 1017 "configure"
     1018#line 1019 "configure"
    10171019#include "confdefs.h"
    10181020/* Override any gcc2 internal prototype to avoid an error.  */
     
    10251027; return 0; }
    10261028EOF
    1027 if { (eval echo configure:1028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1029if { (eval echo configure:1030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    10281030  rm -rf conftest*
    10291031  eval "ac_cv_lib_$ac_lib_var=yes"
     
    10531055
    10541056echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
    1055 echo "configure:1056: checking for gethostbyname in -lnsl" >&5
     1057echo "configure:1058: checking for gethostbyname in -lnsl" >&5
    10561058ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
    10571059if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    10611063LIBS="-lnsl  $LIBS"
    10621064cat > conftest.$ac_ext <<EOF
    1063 #line 1064 "configure"
     1065#line 1066 "configure"
    10641066#include "confdefs.h"
    10651067/* Override any gcc2 internal prototype to avoid an error.  */
     
    10721074; return 0; }
    10731075EOF
    1074 if { (eval echo configure:1075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1076if { (eval echo configure:1077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    10751077  rm -rf conftest*
    10761078  eval "ac_cv_lib_$ac_lib_var=yes"
     
    11001102
    11011103echo $ac_n "checking for mpq_init in -lgmp""... $ac_c" 1>&6
    1102 echo "configure:1103: checking for mpq_init in -lgmp" >&5
     1104echo "configure:1105: checking for mpq_init in -lgmp" >&5
    11031105ac_lib_var=`echo gmp'_'mpq_init | sed 'y%./+-%__p_%'`
    11041106if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    11081110LIBS="-lgmp  $LIBS"
    11091111cat > conftest.$ac_ext <<EOF
    1110 #line 1111 "configure"
     1112#line 1113 "configure"
    11111113#include "confdefs.h"
    11121114/* Override any gcc2 internal prototype to avoid an error.  */
     
    11191121; return 0; }
    11201122EOF
    1121 if { (eval echo configure:1122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1123if { (eval echo configure:1124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    11221124  rm -rf conftest*
    11231125  eval "ac_cv_lib_$ac_lib_var=yes"
     
    11471149
    11481150echo $ac_n "checking for mpz_init in -lsmallgmp""... $ac_c" 1>&6
    1149 echo "configure:1150: checking for mpz_init in -lsmallgmp" >&5
     1151echo "configure:1152: checking for mpz_init in -lsmallgmp" >&5
    11501152ac_lib_var=`echo smallgmp'_'mpz_init | sed 'y%./+-%__p_%'`
    11511153if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    11551157LIBS="-lsmallgmp  $LIBS"
    11561158cat > conftest.$ac_ext <<EOF
    1157 #line 1158 "configure"
     1159#line 1160 "configure"
    11581160#include "confdefs.h"
    11591161/* Override any gcc2 internal prototype to avoid an error.  */
     
    11661168; return 0; }
    11671169EOF
    1168 if { (eval echo configure:1169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1170if { (eval echo configure:1171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    11691171  rm -rf conftest*
    11701172  eval "ac_cv_lib_$ac_lib_var=yes"
     
    11941196
    11951197echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6
    1196 echo "configure:1197: checking for IMP_PutGmpInt in -lMP" >&5
     1198echo "configure:1199: checking for IMP_PutGmpInt in -lMP" >&5
    11971199ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'`
    11981200if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    12021204LIBS="-lMP  $LIBS"
    12031205cat > conftest.$ac_ext <<EOF
    1204 #line 1205 "configure"
     1206#line 1207 "configure"
    12051207#include "confdefs.h"
    12061208/* Override any gcc2 internal prototype to avoid an error.  */
     
    12131215; return 0; }
    12141216EOF
    1215 if { (eval echo configure:1216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1217if { (eval echo configure:1218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    12161218  rm -rf conftest*
    12171219  eval "ac_cv_lib_$ac_lib_var=yes"
     
    12411243
    12421244echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6
    1243 echo "configure:1244: checking for MPT_GetTree in -lMPT" >&5
     1245echo "configure:1246: checking for MPT_GetTree in -lMPT" >&5
    12441246ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'`
    12451247if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    12491251LIBS="-lMPT  $LIBS"
    12501252cat > conftest.$ac_ext <<EOF
    1251 #line 1252 "configure"
     1253#line 1254 "configure"
    12521254#include "confdefs.h"
    12531255/* Override any gcc2 internal prototype to avoid an error.  */
     
    12601262; return 0; }
    12611263EOF
    1262 if { (eval echo configure:1263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1264if { (eval echo configure:1265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    12631265  rm -rf conftest*
    12641266  eval "ac_cv_lib_$ac_lib_var=yes"
     
    12881290
    12891291echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6
    1290 echo "configure:1291: checking for atof in -lsingcf" >&5
     1292echo "configure:1293: checking for atof in -lsingcf" >&5
    12911293ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'`
    12921294if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    12961298LIBS="-lsingcf  $LIBS"
    12971299cat > conftest.$ac_ext <<EOF
    1298 #line 1299 "configure"
     1300#line 1301 "configure"
    12991301#include "confdefs.h"
    13001302/* Override any gcc2 internal prototype to avoid an error.  */
     
    13071309; return 0; }
    13081310EOF
    1309 if { (eval echo configure:1310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1311if { (eval echo configure:1312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    13101312  rm -rf conftest*
    13111313  eval "ac_cv_lib_$ac_lib_var=yes"
     
    13351337
    13361338echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6
    1337 echo "configure:1338: checking for atof in -lsingfac" >&5
     1339echo "configure:1340: checking for atof in -lsingfac" >&5
    13381340ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'`
    13391341if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    13431345LIBS="-lsingfac  $LIBS"
    13441346cat > conftest.$ac_ext <<EOF
    1345 #line 1346 "configure"
     1347#line 1348 "configure"
    13461348#include "confdefs.h"
    13471349/* Override any gcc2 internal prototype to avoid an error.  */
     
    13541356; return 0; }
    13551357EOF
    1356 if { (eval echo configure:1357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1358if { (eval echo configure:1359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    13571359  rm -rf conftest*
    13581360  eval "ac_cv_lib_$ac_lib_var=yes"
     
    13861388ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    13871389echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1388 echo "configure:1389: checking for $ac_hdr" >&5
     1390echo "configure:1391: checking for $ac_hdr" >&5
    13891391if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    13901392  echo $ac_n "(cached) $ac_c" 1>&6
    13911393else
    13921394  cat > conftest.$ac_ext <<EOF
    1393 #line 1394 "configure"
     1395#line 1396 "configure"
    13941396#include "confdefs.h"
    13951397#include <$ac_hdr>
    13961398EOF
    13971399ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1398 { (eval echo configure:1399: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1400{ (eval echo configure:1401: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    13991401ac_err=`grep -v '^ *+' conftest.out`
    14001402if test -z "$ac_err"; then
     
    15221524
    15231525echo $ac_n "checking whether to configure and build gmp lib""... $ac_c" 1>&6
    1524 echo "configure:1525: checking whether to configure and build gmp lib" >&5
     1526echo "configure:1527: checking whether to configure and build gmp lib" >&5
    15251527if test "$enable_gmp" != yes && test "$enable_gmp" != no; then
    15261528  if test "$ac_gmp_ok" != yes && test -d gmp; then
     
    15461548
    15471549echo $ac_n "checking whether to configure and build smallgmp lib""... $ac_c" 1>&6
    1548 echo "configure:1549: checking whether to configure and build smallgmp lib" >&5
     1550echo "configure:1551: checking whether to configure and build smallgmp lib" >&5
    15491551if test "$enable_smallgmp" != yes && test "$enable_smallgmp" != no; then
    15501552  if test "$ac_smallgmp_ok" != yes && test "$ac_gmp_ok" != yes && \
     
    15851587
    15861588echo $ac_n "checking whether to configure and build MP lib""... $ac_c" 1>&6
    1587 echo "configure:1588: checking whether to configure and build MP lib" >&5
     1589echo "configure:1590: checking whether to configure and build MP lib" >&5
    15881590if test "$enable_MP" != yes && test "$enable_MP" != no; then
    15891591  if test "$with_MP" != no && test "$ac_MP_ok" != yes && test -d MP && \
     
    16151617 
    16161618echo $ac_n "checking whether to configure and build factory lib""... $ac_c" 1>&6
    1617 echo "configure:1618: checking whether to configure and build factory lib" >&5
     1619echo "configure:1620: checking whether to configure and build factory lib" >&5
    16181620if test "$enable_factory" != yes && test "$enable_factory" != no; then
    16191621  if test "$with_factory" != no && test "$ac_factory_ok" != yes && \
     
    16401642
    16411643echo $ac_n "checking whether to configure and build libfac lib""... $ac_c" 1>&6
    1642 echo "configure:1643: checking whether to configure and build libfac lib" >&5
     1644echo "configure:1645: checking whether to configure and build libfac lib" >&5
    16431645if test "$enable_libfac" != yes && test "$enable_libfac" != no; then
    16441646  if test "$with_libfac" != no && test "$ac_libfac_ok" != yes && \
     
    16701672
    16711673echo $ac_n "checking whether to configure and build sgroup lib""... $ac_c" 1>&6
    1672 echo "configure:1673: checking whether to configure and build sgroup lib" >&5
     1674echo "configure:1675: checking whether to configure and build sgroup lib" >&5
    16731675if test "$enable_sgroup" != yes && test "$enable_sgroup" != no; then
    16741676  if test "$with_sgroup" != no && test "$ac_sgroup_ok" != yes && \
     
    17011703
    17021704echo $ac_n "checking whether to configure and build Singular""... $ac_c" 1>&6
    1703 echo "configure:1704: checking whether to configure and build Singular" >&5
     1705echo "configure:1706: checking whether to configure and build Singular" >&5
    17041706if test "$enable_Singular" != yes && test "$enable_Singular" != no; then
    17051707  if test "$with_Singular" != no && test -d Singular; then
     
    17261728
    17271729echo $ac_n "checking wich apint package to use""... $ac_c" 1>&6
    1728 echo "configure:1729: checking wich apint package to use" >&5
     1730echo "configure:1731: checking wich apint package to use" >&5
    17291731if test "$with_apint" = gmp; then
    17301732  if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then
     
    17501752
    17511753echo $ac_n "checking whether to use with MP""... $ac_c" 1>&6
    1752 echo "configure:1753: checking whether to use with MP" >&5
     1754echo "configure:1755: checking whether to use with MP" >&5
    17531755if test "$with_MP" = yes; then
    17541756  if test "$ac_MP_ok" = yes || test "$enable_MP" = yes; then
     
    17691771
    17701772echo $ac_n "checking whether to use with factory""... $ac_c" 1>&6
    1771 echo "configure:1772: checking whether to use with factory" >&5
     1773echo "configure:1774: checking whether to use with factory" >&5
    17721774if test "$with_factory" = yes; then
    17731775  if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then
     
    17881790 
    17891791echo $ac_n "checking whether to use with libfac""... $ac_c" 1>&6
    1790 echo "configure:1791: checking whether to use with libfac" >&5
     1792echo "configure:1793: checking whether to use with libfac" >&5
    17911793if test "$with_libfac" = yes; then
    17921794  if test "$ac_libfac_ok" = yes || test "$enable_libfac" = yes; then
     
    18081810
    18091811echo $ac_n "checking whether to use with Singular""... $ac_c" 1>&6
    1810 echo "configure:1811: checking whether to use with Singular" >&5
     1812echo "configure:1813: checking whether to use with Singular" >&5
    18111813if test "$with_Singular" != no && test "$with_Singular" != yes; then
    18121814  if test "$enable_Singular" = yes; then
     
    18481850
    18491851echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    1850 echo "configure:1851: checking whether ${MAKE-make} sets \${MAKE}" >&5
     1852echo "configure:1853: checking whether ${MAKE-make} sets \${MAKE}" >&5
    18511853set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    18521854if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    18981900 
    18991901
    1900 trap '' 1 2 15
     1902if test "$enable_gmp" = yes; then
     1903  trap '' 1 2 15
    19011904cat > confcache <<\EOF
    19021905# This file is a shell script that caches the results of configure
     
    20102013ac_given_srcdir=$srcdir
    20112014
    2012 trap 'rm -fr `echo "Makefile doc/Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
     2015trap 'rm -fr `echo "Makefile doc/Makefile gmp/Makefile.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
    20132016EOF
    20142017cat >> $CONFIG_STATUS <<EOF
     
    20912094cat >> $CONFIG_STATUS <<EOF
    20922095
    2093 CONFIG_FILES=\${CONFIG_FILES-"Makefile doc/Makefile"}
     2096CONFIG_FILES=\${CONFIG_FILES-"Makefile doc/Makefile gmp/Makefile.in"}
    20942097EOF
    20952098cat >> $CONFIG_STATUS <<\EOF
     
    22502253fi
    22512254
     2255else
     2256  trap '' 1 2 15
     2257cat > confcache <<\EOF
     2258# This file is a shell script that caches the results of configure
     2259# tests run on this system so they can be shared between configure
     2260# scripts and configure runs.  It is not useful on other systems.
     2261# If it contains results you don't want to keep, you may remove or edit it.
     2262#
     2263# By default, configure uses ./config.cache as the cache file,
     2264# creating it if it does not exist already.  You can give configure
     2265# the --cache-file=FILE option to use a different cache file; that is
     2266# what configure does when it calls configure scripts in
     2267# subdirectories, so they share the cache.
     2268# Giving --cache-file=/dev/null disables caching, for debugging configure.
     2269# config.status only pays attention to the cache file if you give it the
     2270# --recheck option to rerun configure.
     2271#
     2272EOF
     2273# The following way of writing the cache mishandles newlines in values,
     2274# but we know of no workaround that is simple, portable, and efficient.
     2275# So, don't put newlines in cache variables' values.
     2276# Ultrix sh set writes to stderr and can't be redirected directly,
     2277# and sets the high bit in the cache file unless we assign to the vars.
     2278(set) 2>&1 |
     2279  case `(ac_space=' '; set) 2>&1` in
     2280  *ac_space=\ *)
     2281    # `set' does not quote correctly, so add quotes (double-quote substitution
     2282    # turns \\\\ into \\, and sed turns \\ into \).
     2283    sed -n \
     2284      -e "s/'/'\\\\''/g" \
     2285      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
     2286    ;;
     2287  *)
     2288    # `set' quotes correctly as required by POSIX, so do not add quotes.
     2289    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
     2290    ;;
     2291  esac >> confcache
     2292if cmp -s $cache_file confcache; then
     2293  :
     2294else
     2295  if test -w $cache_file; then
     2296    echo "updating cache $cache_file"
     2297    cat confcache > $cache_file
     2298  else
     2299    echo "not updating unwritable cache $cache_file"
     2300  fi
     2301fi
     2302rm -f confcache
     2303
     2304trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
     2305
     2306test "x$prefix" = xNONE && prefix=$ac_default_prefix
     2307# Let make expand exec_prefix.
     2308test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
     2309
     2310# Any assignment to VPATH causes Sun make to only execute
     2311# the first set of double-colon rules, so remove it if not needed.
     2312# If there is a colon in the path, we need to keep it.
     2313if test "x$srcdir" = x.; then
     2314  ac_vpsub='/^[         ]*VPATH[        ]*=[^:]*$/d'
     2315fi
     2316
     2317trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
     2318
     2319# Transform confdefs.h into DEFS.
     2320# Protect against shell expansion while executing Makefile rules.
     2321# Protect against Makefile macro expansion.
     2322cat > conftest.defs <<\EOF
     2323s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
     2324s%[     `~#$^&*(){}\\|;'"<>?]%\\&%g
     2325s%\[%\\&%g
     2326s%\]%\\&%g
     2327s%\$%$$%g
     2328EOF
     2329DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
     2330rm -f conftest.defs
     2331
     2332
     2333# Without the "./", some shells look in PATH for config.status.
     2334: ${CONFIG_STATUS=./config.status}
     2335
     2336echo creating $CONFIG_STATUS
     2337rm -f $CONFIG_STATUS
     2338cat > $CONFIG_STATUS <<EOF
     2339#! /bin/sh
     2340# Generated automatically by configure.
     2341# Run this file to recreate the current configuration.
     2342# This directory was configured as follows,
     2343# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
     2344#
     2345# $0 $ac_configure_args
     2346#
     2347# Compiler output produced by configure, useful for debugging
     2348# configure, is in ./config.log if it exists.
     2349
     2350ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
     2351for ac_option
     2352do
     2353  case "\$ac_option" in
     2354  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
     2355    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
     2356    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
     2357  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
     2358    echo "$CONFIG_STATUS generated by autoconf version 2.12"
     2359    exit 0 ;;
     2360  -help | --help | --hel | --he | --h)
     2361    echo "\$ac_cs_usage"; exit 0 ;;
     2362  *) echo "\$ac_cs_usage"; exit 1 ;;
     2363  esac
     2364done
     2365
     2366ac_given_srcdir=$srcdir
     2367
     2368trap 'rm -fr `echo "Makefile doc/Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
     2369EOF
     2370cat >> $CONFIG_STATUS <<EOF
     2371
     2372# Protect against being on the right side of a sed subst in config.status.
     2373sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
     2374 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
     2375$ac_vpsub
     2376$extrasub
     2377
     2378CEOF
     2379EOF
     2380
     2381cat >> $CONFIG_STATUS <<\EOF
     2382
     2383# Split the substitutions into bite-sized pieces for seds with
     2384# small command number limits, like on Digital OSF/1 and HP-UX.
     2385ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
     2386ac_file=1 # Number of current file.
     2387ac_beg=1 # First line for current file.
     2388ac_end=$ac_max_sed_cmds # Line after last line for current file.
     2389ac_more_lines=:
     2390ac_sed_cmds=""
     2391while $ac_more_lines; do
     2392  if test $ac_beg -gt 1; then
     2393    sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
     2394  else
     2395    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
     2396  fi
     2397  if test ! -s conftest.s$ac_file; then
     2398    ac_more_lines=false
     2399    rm -f conftest.s$ac_file
     2400  else
     2401    if test -z "$ac_sed_cmds"; then
     2402      ac_sed_cmds="sed -f conftest.s$ac_file"
     2403    else
     2404      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
     2405    fi
     2406    ac_file=`expr $ac_file + 1`
     2407    ac_beg=$ac_end
     2408    ac_end=`expr $ac_end + $ac_max_sed_cmds`
     2409  fi
     2410done
     2411if test -z "$ac_sed_cmds"; then
     2412  ac_sed_cmds=cat
     2413fi
     2414EOF
     2415
     2416cat >> $CONFIG_STATUS <<EOF
     2417
     2418CONFIG_FILES=\${CONFIG_FILES-"Makefile doc/Makefile"}
     2419EOF
     2420cat >> $CONFIG_STATUS <<\EOF
     2421for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
     2422  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
     2423  case "$ac_file" in
     2424  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
     2425       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
     2426  *) ac_file_in="${ac_file}.in" ;;
     2427  esac
     2428
     2429  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
     2430
     2431  # Remove last slash and all that follows it.  Not all systems have dirname.
     2432  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
     2433  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
     2434    # The file is in a subdirectory.
     2435    test ! -d "$ac_dir" && mkdir "$ac_dir"
     2436    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
     2437    # A "../" for each directory in $ac_dir_suffix.
     2438    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
     2439  else
     2440    ac_dir_suffix= ac_dots=
     2441  fi
     2442
     2443  case "$ac_given_srcdir" in
     2444  .)  srcdir=.
     2445      if test -z "$ac_dots"; then top_srcdir=.
     2446      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
     2447  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
     2448  *) # Relative path.
     2449    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
     2450    top_srcdir="$ac_dots$ac_given_srcdir" ;;
     2451  esac
     2452
     2453
     2454  echo creating "$ac_file"
     2455  rm -f "$ac_file"
     2456  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
     2457  case "$ac_file" in
     2458  *Makefile*) ac_comsub="1i\\
     2459# $configure_input" ;;
     2460  *) ac_comsub= ;;
     2461  esac
     2462
     2463  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
     2464  sed -e "$ac_comsub
     2465s%@configure_input@%$configure_input%g
     2466s%@srcdir@%$srcdir%g
     2467s%@top_srcdir@%$top_srcdir%g
     2468" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
     2469fi; done
     2470rm -f conftest.s*
     2471
     2472EOF
     2473cat >> $CONFIG_STATUS <<EOF
     2474
     2475EOF
     2476cat >> $CONFIG_STATUS <<\EOF
     2477
     2478exit 0
     2479EOF
     2480chmod +x $CONFIG_STATUS
     2481rm -fr confdefs* $ac_clean_files
     2482test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
     2483
     2484if test "$no_recursion" != yes; then
     2485
     2486  # Remove --cache-file and --srcdir arguments so they do not pile up.
     2487  ac_sub_configure_args=
     2488  ac_prev=
     2489  for ac_arg in $ac_configure_args; do
     2490    if test -n "$ac_prev"; then
     2491      ac_prev=
     2492      continue
     2493    fi
     2494    case "$ac_arg" in
     2495    -cache-file | --cache-file | --cache-fil | --cache-fi \
     2496    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
     2497      ac_prev=cache_file ;;
     2498    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
     2499    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
     2500      ;;
     2501    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
     2502      ac_prev=srcdir ;;
     2503    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
     2504      ;;
     2505    *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
     2506    esac
     2507  done
     2508
     2509  for ac_config_dir in $CONFIG_SUBDIRS; do
     2510
     2511    # Do not complain, so a configure script can configure whichever
     2512    # parts of a large source tree are present.
     2513    if test ! -d $srcdir/$ac_config_dir; then
     2514      continue
     2515    fi
     2516
     2517    echo configuring in $ac_config_dir
     2518
     2519    case "$srcdir" in
     2520    .) ;;
     2521    *)
     2522      if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
     2523      else
     2524        { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
     2525      fi
     2526      ;;
     2527    esac
     2528
     2529    ac_popdir=`pwd`
     2530    cd $ac_config_dir
     2531
     2532      # A "../" for each directory in /$ac_config_dir.
     2533      ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
     2534
     2535    case "$srcdir" in
     2536    .) # No --srcdir option.  We are building in place.
     2537      ac_sub_srcdir=$srcdir ;;
     2538    /*) # Absolute path.
     2539      ac_sub_srcdir=$srcdir/$ac_config_dir ;;
     2540    *) # Relative path.
     2541      ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
     2542    esac
     2543
     2544    # Check for guested configure; otherwise get Cygnus style configure.
     2545    if test -f $ac_sub_srcdir/configure; then
     2546      ac_sub_configure=$ac_sub_srcdir/configure
     2547    elif test -f $ac_sub_srcdir/configure.in; then
     2548      ac_sub_configure=$ac_configure
     2549    else
     2550      echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
     2551      ac_sub_configure=
     2552    fi
     2553
     2554    # The recursion is here.
     2555    if test -n "$ac_sub_configure"; then
     2556
     2557      # Make the cache file name correct relative to the subdirectory.
     2558      case "$cache_file" in
     2559      /*) ac_sub_cache_file=$cache_file ;;
     2560      *) # Relative path.
     2561        ac_sub_cache_file="$ac_dots$cache_file" ;;
     2562      esac
     2563
     2564      echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
     2565      # The eval makes quoting arguments work.
     2566      if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
     2567      then :
     2568      else
     2569        { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
     2570      fi
     2571    fi
     2572
     2573    cd $ac_popdir
     2574  done
     2575fi
     2576
     2577fi
     2578
  • configure.in

    r73e491 r23673b  
    512512AC_CONFIG_SUBDIRS($CONFIG_SUBDIRS)
    513513
    514 AC_OUTPUT(Makefile doc/Makefile)
     514if test "$enable_gmp" = yes; then
     515  AC_OUTPUT(Makefile doc/Makefile gmp/Makefile.in)
     516else
     517  AC_OUTPUT(Makefile doc/Makefile)
     518fi
     519
Note: See TracChangeset for help on using the changeset viewer.