diff options
author | Kent Boortz <kent@mysql.se> | 2000-08-02 18:51:15 +0200 |
---|---|---|
committer | Kent Boortz <kent@mysql.se> | 2000-08-02 18:51:15 +0200 |
commit | 5902538af28d09f7b143a0db16b660ad16df7972 (patch) | |
tree | 80be356c9b162886f6064875038e151b18cf789f | |
parent | efe82bb8e93212508c8b292754422df81ef8fbc2 (diff) | |
download | gmp-5902538af28d09f7b143a0db16b660ad16df7972.tar.gz |
regenerate
-rw-r--r-- | Makefile.in | 27 | ||||
-rwxr-xr-x | configure | 297 |
2 files changed, 182 insertions, 142 deletions
diff --git a/Makefile.in b/Makefile.in index 423713dee..5f13fae63 100644 --- a/Makefile.in +++ b/Makefile.in @@ -173,10 +173,10 @@ LIBMP_LT_AGE = 1 AUTOMAKE_OPTIONS = gnu check-news no-dependencies ansi2knr -SUBDIRS = mpn mpz mpq mpf mpbsd tests demos tune +SUBDIRS = mpn mpz mpq mpf mpbsd mpfr tests demos tune -include_HEADERS = gmp.h $(MPBSD_HEADERS_OPTION) -EXTRA_HEADERS = mp.h +include_HEADERS = gmp.h $(MPBSD_HEADERS_OPTION) $(MPFR_HEADERS_OPTION) +EXTRA_HEADERS = mp.h $(MPFR_HEADERS_OPTION) lib_LTLIBRARIES = libgmp.la $(MPBSD_LTLIBRARIES_OPTION) @@ -240,15 +240,31 @@ MPBSD_OBJECTS = mpbsd/add.lo mpbsd/tdiv_qr.lo mpbsd/move.lo mpbsd/powm.lo \ mpbsd/pow_ui.lo mpbsd/sdiv.lo mpbsd/sqrtrem.lo mpbsd/xtom.lo +# FIXME: Add mpfr/rnd_mode.lo when it's clean. +MPFR_OBJECTS = mpfr/add.lo mpfr/div_2exp.lo mpfr/neg.lo mpfr/set_dfl_prec.lo \ + mpfr/set_str_raw.lo mpfr/agm.lo mpfr/get_str.lo mpfr/print_raw.lo \ + mpfr/set_dfl_rnd.lo mpfr/sqrt.lo mpfr/clear.lo mpfr/init.lo \ + mpfr/set_f.lo mpfr/sub.lo mpfr/cmp.lo mpfr/mul.lo mpfr/round.lo \ + mpfr/set_prec.lo mpfr/cmp_ui.lo mpfr/mul_2exp.lo mpfr/set.lo mpfr/set_si.lo \ + mpfr/div.lo mpfr/mul_ui.lo mpfr/set_d.lo mpfr/pow.lo mpfr/out_str.lo \ + mpfr/pi.lo mpfr/set_z.lo mpfr/add_ulp.lo mpfr/log2.lo mpfr/random.lo \ + mpfr/log.lo mpfr/exp.lo mpfr/div_ui.lo mpfr/zeta.lo mpfr/karadiv.lo \ + mpfr/karasqrt.lo mpfr/print_rnd_mode.lo + + +@WANT_MPFR_TRUE@MPFR_HEADERS_OPTION = @WANT_MPFR_TRUE@mpfr/mpfr.h +@WANT_MPFR_TRUE@MPFR_OBJECTS_OPTION = @WANT_MPFR_TRUE@$(MPFR_OBJECTS) +@WANT_MPFR_TRUE@MPFR_LIBADD_OPTION = @WANT_MPFR_TRUE@-lm libgmp_la_SOURCES = assert.c compat.c errno.c memory.c mp_set_fns.c \ mp_clz_tab.c mp_minv_tab.c \ rand.c randclr.c randlc.c randlc2x.c randraw.c randsd.c \ randsdui.c version.c stack-alloc.c mp_bpl.c extract-dbl.c insert-dbl.c libgmp_la_DEPENDENCIES = \ - $(MPF_OBJECTS) $(MPZ_OBJECTS) $(MPN_OBJECTS) $(MPQ_OBJECTS) + $(MPF_OBJECTS) $(MPZ_OBJECTS) $(MPN_OBJECTS) $(MPQ_OBJECTS) \ + $(MPFR_OBJECTS_OPTION) -libgmp_la_LIBADD = $(libgmp_la_DEPENDENCIES) +libgmp_la_LIBADD = $(libgmp_la_DEPENDENCIES) $(MPFR_LIBADD_OPTION) libgmp_la_LDFLAGS = \ -version-info $(LIBGMP_LT_CURRENT):$(LIBGMP_LT_REVISION):$(LIBGMP_LT_AGE) @@ -803,6 +819,7 @@ distdir: $(DISTFILES) fi -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir) mkdir $(distdir) + $(mkinstalldirs) $(distdir)/mpfr @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 1.128 +# From configure.in Revision: 1.129 # Guess values for system-dependent variables and create Makefiles. # Generated automatically using Autoconf version 2.14a. # Copyright (C) 1992, 93, 94, 95, 96, 98, 99, 2000 @@ -425,6 +425,7 @@ Optional Features: --enable-alloca use alloca for temp space default=yes --enable-fft enable FFTs for multiplication default=no --enable-mpbsd build Berkley MP compatibility library default=no + --enable-mpfr build MPFR default=no --enable-shared=PKGS build shared libraries default=yes --enable-static=PKGS build static libraries default=yes --enable-fast-install=PKGS optimize for fast installation default=yes @@ -631,7 +632,7 @@ ac_config_sub="$SHELL $ac_aux_dir/config.sub" ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. echo $ECHO_N "checking host system type... $ECHO_C" 1>&6 -echo "configure:635: checking host system type" 1>&5 +echo "configure:636: checking host system type" 1>&5 if test "x$ac_cv_host" = "x" || (test "x$host" != "xNONE" && test "x$host" != "x$ac_cv_host_alias"); then # Make sure we can run config.sub. @@ -667,7 +668,7 @@ host_vendor=$ac_cv_host_vendor host_os=$ac_cv_host_os echo $ECHO_N "checking target system type... $ECHO_C" 1>&6 -echo "configure:671: checking target system type" 1>&5 +echo "configure:672: checking target system type" 1>&5 if test "x$ac_cv_target" = "x" || (test "x$target" != "xNONE" && test "x$target" != "x$ac_cv_target_alias"); then # Make sure we can run config.sub. @@ -702,7 +703,7 @@ target_vendor=$ac_cv_target_vendor target_os=$ac_cv_target_os echo $ECHO_N "checking build system type... $ECHO_C" 1>&6 -echo "configure:706: checking build system type" 1>&5 +echo "configure:707: checking build system type" 1>&5 if test "x$ac_cv_build" = "x" || (test "x$build" != "xNONE" && test "x$build" != "x$ac_cv_build_alias"); then # Make sure we can run config.sub. @@ -773,7 +774,7 @@ test "$host_alias" != "$target_alias" && # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # ./install, which can be erroneously created by make from ./install.sh. echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" 1>&6 -echo "configure:777: checking for a BSD compatible install" 1>&5 +echo "configure:778: checking for a BSD compatible install" 1>&5 if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 @@ -830,7 +831,7 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' echo $ECHO_N "checking whether build environment is sane... $ECHO_C" 1>&6 -echo "configure:834: checking whether build environment is sane" 1>&5 +echo "configure:835: checking whether build environment is sane" 1>&5 # Just in case sleep 1 echo timestamp > conftestfile @@ -901,7 +902,7 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6 -echo "configure:905: checking for $ac_word" 1>&5 +echo "configure:906: checking for $ac_word" 1>&5 if test "${ac_cv_prog_AWK+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -934,7 +935,7 @@ test -n "$AWK" && break done echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" 1>&6 -echo "configure:938: checking whether ${MAKE-make} sets \${MAKE}" 1>&5 +echo "configure:939: checking whether ${MAKE-make} sets \${MAKE}" 1>&5 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 @@ -1024,7 +1025,7 @@ if test -z "$install_sh"; then fi echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" 1>&6 -echo "configure:1028: checking whether to enable maintainer-specific portions of Makefiles" 1>&5 +echo "configure:1029: checking whether to enable maintainer-specific portions of Makefiles" 1>&5 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. if test "${enable_maintainer_mode+set}" = set; then enableval="$enable_maintainer_mode" @@ -1124,6 +1125,25 @@ else WANT_MPBSD_FALSE= fi +# Check whether --enable-mpfr or --disable-mpfr was given. +if test "${enable_mpfr+set}" = set; then + enableval="$enable_mpfr" + case "${enableval}" in +yes|no) ;; +*) { echo "configure: error: bad value ${enableval} for --enable-mpfr, need yes or no" 1>&2; exit 1; } ;; +esac +else + enable_mpfr=no +fi + +if test "$enable_mpfr" = "yes"; then + WANT_MPFR_TRUE= + WANT_MPFR_FALSE='#' +else + WANT_MPFR_TRUE='#' + WANT_MPFR_FALSE= +fi + os_64bit="no" cclist="gcc cc" # FIXME: Prefer c89 to cc. gmp_cflags_gcc="-g -O2" @@ -1325,7 +1345,7 @@ EOF esac echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" 1>&6 -echo "configure:1329: checking for BSD-compatible nm" 1>&5 +echo "configure:1349: checking for BSD-compatible nm" 1>&5 if test "${ac_cv_path_NM+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -1391,7 +1411,7 @@ for c in $gmp_cc_list; do # Extract the first word of "${ac_tool_prefix}$c", so it can be a program name with args. set dummy ${ac_tool_prefix}$c; ac_word=$2 echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6 -echo "configure:1395: checking for $ac_word" 1>&5 +echo "configure:1415: checking for $ac_word" 1>&5 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -1425,7 +1445,7 @@ if test -z "$ac_cv_prog_CC"; then # Extract the first word of "$c", so it can be a program name with args. set dummy $c; ac_word=$2 echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6 -echo "configure:1429: checking for $ac_word" 1>&5 +echo "configure:1449: checking for $ac_word" 1>&5 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -1471,17 +1491,17 @@ cross_compiling=$ac_cv_prog_cc_cross CC="$CC" CFLAGS="$c_flags" echo $ECHO_N "checking if the C compiler ($CC) works with flags $CFLAGS... $ECHO_C" 1>&6 -echo "configure:1475: checking if the C compiler ($CC) works with flags $CFLAGS" 1>&5 +echo "configure:1495: checking if the C compiler ($CC) works with flags $CFLAGS" 1>&5 # Simple test for all targets. cat >conftest.$ac_ext <<EOF -#line 1480 "configure" +#line 1500 "configure" #include "confdefs.h" int main(){return(0);} EOF -if { (eval echo configure:1485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then tmp_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then @@ -1501,7 +1521,7 @@ if test "$tmp_works" = "yes"; then case "$target" in *-*-aix*) # Returning a funcptr. cat >conftest.$ac_ext <<EOF -#line 1505 "configure" +#line 1525 "configure" #include "confdefs.h" int @@ -1512,7 +1532,7 @@ main () return 0; } EOF -if { (eval echo configure:1516: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1536: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* tmp_works=yes else @@ -1556,17 +1576,17 @@ cross_compiling=$ac_cv_prog_cc_cross CC="$c" CFLAGS="$c_flags" echo $ECHO_N "checking if the C compiler ($CC) works with flags $CFLAGS... $ECHO_C" 1>&6 -echo "configure:1560: checking if the C compiler ($CC) works with flags $CFLAGS" 1>&5 +echo "configure:1580: checking if the C compiler ($CC) works with flags $CFLAGS" 1>&5 # Simple test for all targets. cat >conftest.$ac_ext <<EOF -#line 1565 "configure" +#line 1585 "configure" #include "confdefs.h" int main(){return(0);} EOF -if { (eval echo configure:1570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then tmp_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then @@ -1586,7 +1606,7 @@ if test "$tmp_works" = "yes"; then case "$target" in *-*-aix*) # Returning a funcptr. cat >conftest.$ac_ext <<EOF -#line 1590 "configure" +#line 1610 "configure" #include "confdefs.h" int @@ -1597,7 +1617,7 @@ main () return 0; } EOF -if { (eval echo configure:1601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1621: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* tmp_works=yes else @@ -1624,7 +1644,7 @@ echo "$ECHO_T""$tmp_works" 1>&6 gmp_tmp_CC_save="$CC" CC="$c" echo $ECHO_N "checking whether the C compiler ($CC) is 64-bit capable... $ECHO_C" 1>&6 -echo "configure:1628: checking whether the C compiler ($CC) is 64-bit capable" 1>&5 +echo "configure:1648: checking whether the C compiler ($CC) is 64-bit capable" 1>&5 if test -z "$NM"; then echo; echo "configure: GMP_CHECK_CC_64BIT: fatal: need nm" exit 1 @@ -1662,7 +1682,7 @@ echo "configure:1628: checking whether the C compiler ($CC) is 64-bit capable" 1 # Simply try to compile an empty main. If that succeeds return # true. cat >conftest.$ac_ext <<EOF -#line 1666 "configure" +#line 1686 "configure" #include "confdefs.h" int @@ -1673,7 +1693,7 @@ main () return 0; } EOF -if { (eval echo configure:1677: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1697: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* gmp_cv_cc_64bit=yes else @@ -1692,7 +1712,7 @@ char arr[sizeof (void *)]={0}; char post=0; EOF gmp_compile="$CC $CFLAGS -c conftest.c 1>&5" - if { (eval echo configure:1696: \"$gmp_compile\") 1>&5; (eval $gmp_compile) 2>&5; }; then + if { (eval echo configure:1716: \"$gmp_compile\") 1>&5; (eval $gmp_compile) 2>&5; }; then gmp_tmp_val=`$NM conftest.o | grep post | sed -e 's;[[][0-9][]]\(.*\);\1;' \ -e 's;[^1-9]*\([0-9]*\).*;\1;'` if test "$gmp_tmp_val" = "8"; then @@ -1743,7 +1763,7 @@ CC="$CC32" CFLAGS_save="$CFLAGS" CFLAGS="$CFLAGS $optcflags" echo $ECHO_N "checking whether $CC accepts $optcflags... $ECHO_C" 1>&6 -echo "configure:1747: checking whether $CC accepts $optcflags" 1>&5 +echo "configure:1767: checking whether $CC accepts $optcflags" 1>&5 ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' @@ -1753,12 +1773,12 @@ cross_compiling=$ac_cv_prog_cc_cross cat >conftest.$ac_ext <<EOF -#line 1757 "configure" +#line 1777 "configure" #include "confdefs.h" int main(){return(0);} EOF -if { (eval echo configure:1762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then optok=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then @@ -1787,7 +1807,7 @@ rm -fr conftest* CFLAGS_save="$CFLAGS" CFLAGS="$CFLAGS $xopt" echo $ECHO_N "checking whether $CC accepts $xopt... $ECHO_C" 1>&6 -echo "configure:1791: checking whether $CC accepts $xopt" 1>&5 +echo "configure:1811: checking whether $CC accepts $xopt" 1>&5 ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' @@ -1797,12 +1817,12 @@ cross_compiling=$ac_cv_prog_cc_cross cat >conftest.$ac_ext <<EOF -#line 1801 "configure" +#line 1821 "configure" #include "confdefs.h" int main(){return(0);} EOF -if { (eval echo configure:1806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then optok=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then @@ -1841,7 +1861,7 @@ test -n "$gmp_user_CFLAGS" && CFLAGS="$gmp_user_CFLAGS" # Select chosen compiler. echo $ECHO_N "checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works... $ECHO_C" 1>&6 -echo "configure:1845: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works" 1>&5 +echo "configure:1865: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works" 1>&5 ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. @@ -1852,12 +1872,12 @@ cross_compiling=$ac_cv_prog_cc_cross cat >conftest.$ac_ext <<EOF -#line 1856 "configure" +#line 1876 "configure" #include "confdefs.h" int main(){return(0);} EOF -if { (eval echo configure:1861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ac_cv_prog_cc_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then @@ -1883,12 +1903,12 @@ if test $ac_cv_prog_cc_works = no; then { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 77; } fi echo $ECHO_N "checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) is a cross-compiler... $ECHO_C" 1>&6 -echo "configure:1887: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) is a cross-compiler" 1>&5 +echo "configure:1907: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) is a cross-compiler" 1>&5 echo "$ECHO_T""$ac_cv_prog_cc_cross" 1>&6 cross_compiling=$ac_cv_prog_cc_cross echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" 1>&6 -echo "configure:1892: checking whether we are using GNU C" 1>&5 +echo "configure:1912: checking whether we are using GNU C" 1>&5 if test "${ac_cv_prog_gcc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -1897,7 +1917,7 @@ else yes; #endif EOF -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1901: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1921: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gcc=yes else ac_cv_prog_gcc=no @@ -1929,7 +1949,7 @@ fi CCAS="$CC -c" echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" 1>&6 -echo "configure:1933: checking how to run the C preprocessor" 1>&5 +echo "configure:1953: checking how to run the C preprocessor" 1>&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= @@ -1945,13 +1965,13 @@ else # not just through cpp. cat >conftest.$ac_ext <<EOF -#line 1949 "configure" +#line 1969 "configure" #include "confdefs.h" #include <assert.h> Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1975: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -1963,13 +1983,13 @@ else CPP="${CC-cc} -E -traditional-cpp" cat >conftest.$ac_ext <<EOF -#line 1967 "configure" +#line 1987 "configure" #include "confdefs.h" #include <assert.h> Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1973: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -1981,13 +2001,13 @@ else CPP="${CC-cc} -nologo -E" cat >conftest.$ac_ext <<EOF -#line 1985 "configure" +#line 2005 "configure" #include "confdefs.h" #include <assert.h> Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1991: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2011: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -2023,7 +2043,7 @@ echo "$ECHO_T""$CPP" 1>&6 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # ./install, which can be erroneously created by make from ./install.sh. echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" 1>&6 -echo "configure:2027: checking for a BSD compatible install" 1>&5 +echo "configure:2047: checking for a BSD compatible install" 1>&5 if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 @@ -2080,7 +2100,7 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' echo $ECHO_N "checking whether ln -s works... $ECHO_C" 1>&6 -echo "configure:2084: checking whether ln -s works" 1>&5 +echo "configure:2104: checking whether ln -s works" 1>&5 if test "${ac_cv_prog_LN_S+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -2101,7 +2121,7 @@ else fi echo $ECHO_N "checking for suitable m4... $ECHO_C" 1>&6 -echo "configure:2105: checking for suitable m4" 1>&5 +echo "configure:2125: checking for suitable m4" 1>&5 if test "${gmp_cv_prog_m4+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -2151,7 +2171,7 @@ M4="$gmp_cv_prog_m4" # Extract the first word of "ar", so it can be a program name with args. set dummy ar; ac_word=$2 echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6 -echo "configure:2155: checking for $ac_word" 1>&5 +echo "configure:2175: checking for $ac_word" 1>&5 if test "${ac_cv_prog_AR+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -2189,7 +2209,7 @@ esac if test "$gmp_no_asm_syntax_testing" != "yes"; then echo $ECHO_N "checking how to switch to text section... $ECHO_C" 1>&6 -echo "configure:2193: checking how to switch to text section" 1>&5 +echo "configure:2213: checking how to switch to text section" 1>&5 if test "${gmp_cv_check_asm_text+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -2208,7 +2228,7 @@ echo "$ECHO_T""$gmp_cv_check_asm_text" 1>&6 echo "define(<TEXT>, <$gmp_cv_check_asm_text>)" >> $gmp_tmpconfigm4 echo $ECHO_N "checking how to switch to data section... $ECHO_C" 1>&6 -echo "configure:2212: checking how to switch to data section" 1>&5 +echo "configure:2232: checking how to switch to data section" 1>&5 if test "${gmp_cv_check_asm_data+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -2226,7 +2246,7 @@ echo "$ECHO_T""$gmp_cv_check_asm_data" 1>&6 echo "define(<DATA>, <$gmp_cv_check_asm_data>)" >> $gmp_tmpconfigm4 echo $ECHO_N "checking how to export a symbol... $ECHO_C" 1>&6 -echo "configure:2230: checking how to export a symbol" 1>&5 +echo "configure:2250: checking how to export a symbol" 1>&5 if test "${gmp_cv_check_asm_globl+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -2240,7 +2260,7 @@ echo "$ECHO_T""$gmp_cv_check_asm_globl" 1>&6 echo "define(<GLOBL>, <$gmp_cv_check_asm_globl>)" >> $gmp_tmpconfigm4 echo $ECHO_N "checking what assembly label suffix to use... $ECHO_C" 1>&6 -echo "configure:2244: checking what assembly label suffix to use" 1>&5 +echo "configure:2264: checking what assembly label suffix to use" 1>&5 if test "${gmp_cv_check_asm_label_suffix+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -2254,14 +2274,14 @@ echo "$ECHO_T""$gmp_cv_check_asm_label_suffix" 1>&6 echo "define(<LABEL_SUFFIX>, <\$1$gmp_cv_check_asm_label_suffix>)" >> $gmp_tmpconfigm4 echo $ECHO_N "checking how the .type assembly directive should be used... $ECHO_C" 1>&6 -echo "configure:2258: checking how the .type assembly directive should be used" 1>&5 +echo "configure:2278: checking how the .type assembly directive should be used" 1>&5 if test "${gmp_cv_check_asm_type+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else ac_assemble="$CCAS $CFLAGS conftest.s 1>&5" for gmp_tmp_prefix in @ \# %; do echo " .type sym,${gmp_tmp_prefix}function" > conftest.s - if { (eval echo configure:2265: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then + if { (eval echo configure:2285: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then gmp_cv_check_asm_type=".type \$1,${gmp_tmp_prefix}\$2" break fi @@ -2275,13 +2295,13 @@ echo "$ECHO_T""$gmp_cv_check_asm_type" 1>&6 echo "define(<TYPE>, <$gmp_cv_check_asm_type>)" >> $gmp_tmpconfigm4 echo $ECHO_N "checking if the .size assembly directive works... $ECHO_C" 1>&6 -echo "configure:2279: checking if the .size assembly directive works" 1>&5 +echo "configure:2299: checking if the .size assembly directive works" 1>&5 if test "${gmp_cv_check_asm_size+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else ac_assemble="$CCAS $CFLAGS conftest.s 1>&5" echo ' .size sym,1' > conftest.s -if { (eval echo configure:2285: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then +if { (eval echo configure:2305: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then gmp_cv_check_asm_size=".size \$1,\$2" else gmp_cv_check_asm_size="dnl" @@ -2292,7 +2312,7 @@ echo "$ECHO_T""$gmp_cv_check_asm_size" 1>&6 echo "define(<SIZE>, <$gmp_cv_check_asm_size>)" >> $gmp_tmpconfigm4 echo $ECHO_N "checking what prefix to use for a local label... $ECHO_C" 1>&6 -echo "configure:2296: checking what prefix to use for a local label" 1>&5 +echo "configure:2316: checking what prefix to use for a local label" 1>&5 if test "${gmp_cv_check_asm_lsym_prefix+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -2308,7 +2328,7 @@ dummy${gmp_cv_check_asm_label_suffix} ${gmp_tmp_pre}gurkmacka${gmp_cv_check_asm_label_suffix} .byte 0 EOF - if { (eval echo configure:2312: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then + if { (eval echo configure:2332: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then $NM conftest.o >/dev/null 2>&1 gmp_rc=$? if test "$gmp_rc" != "0"; then @@ -2332,7 +2352,7 @@ echo "$ECHO_T""$gmp_cv_check_asm_lsym_prefix" 1>&6 echo "define(<LSYM_PREFIX>, <${gmp_cv_check_asm_lsym_prefix}>)" >> $gmp_tmpconfigm4 echo $ECHO_N "checking how to define a 32-bit word... $ECHO_C" 1>&6 -echo "configure:2336: checking how to [define] a 32-bit word" 1>&5 +echo "configure:2356: checking how to [define] a 32-bit word" 1>&5 if test "${gmp_cv_check_asm_w32+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -2361,7 +2381,7 @@ case "$target" in foo${gmp_cv_check_asm_label_suffix} .byte 0 EOF - if { (eval echo configure:2365: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then + if { (eval echo configure:2385: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then gmp_tmp_val=`$NM conftest.o | grep foo | sed -e 's;[[][0-9][]]\(.*\);\1;' \ -e 's;[^1-9]*\([0-9]*\).*;\1;'` @@ -2385,17 +2405,17 @@ echo "$ECHO_T""$gmp_cv_check_asm_w32" 1>&6 echo "define(<W32>, <$gmp_cv_check_asm_w32>)" >> $gmp_tmpconfigm4 echo $ECHO_N "checking if symbols are prefixed by underscore... $ECHO_C" 1>&6 -echo "configure:2389: checking if symbols are prefixed by underscore" 1>&5 +echo "configure:2409: checking if symbols are prefixed by underscore" 1>&5 if test "${gmp_cv_check_asm_underscore+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 2394 "configure" +#line 2414 "configure" #include "confdefs.h" int underscore_test() { return; } EOF -if { (eval echo configure:2399: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2419: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if grep _underscore_test conftest* >/dev/null; then gmp_cv_check_asm_underscore=yes else @@ -2422,7 +2442,7 @@ echo 'define(<GSYM_PREFIX>, <>)' >> $gmp_tmpconfigm4 fi echo $ECHO_N "checking if .align assembly directive is logarithmic... $ECHO_C" 1>&6 -echo "configure:2426: checking if .align assembly directive is logarithmic" 1>&5 +echo "configure:2446: checking if .align assembly directive is logarithmic" 1>&5 if test "${gmp_cv_check_asm_align_log+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -2440,7 +2460,7 @@ foo$gmp_cv_check_asm_label_suffix .byte 2 EOF ac_assemble="$CCAS $CFLAGS conftest.s 1>&5" -if { (eval echo configure:2444: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then +if { (eval echo configure:2464: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then gmp_tmp_val=`$NM conftest.o | grep foo | sed -e 's;[[][0-9][]]\(.*\);\1;' \ -e 's;[^1-9]*\([0-9]*\).*;\1;'` @@ -2554,7 +2574,7 @@ case ${target} in CALLING_CONVENTIONS_OBJS="x86call.o x86check.o" echo $ECHO_N "checking if the assembler takes cl with shldl... $ECHO_C" 1>&6 -echo "configure:2558: checking if the assembler takes cl with shldl" 1>&5 +echo "configure:2578: checking if the assembler takes cl with shldl" 1>&5 if test "${gmp_cv_check_asm_shldl_cl+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -2563,7 +2583,7 @@ else shldl %cl, %eax, %ebx EOF ac_assemble="$CCAS $CFLAGS conftest.s 1>&5" -if { (eval echo configure:2567: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then +if { (eval echo configure:2587: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then gmp_cv_check_asm_shldl_cl=yes else gmp_cv_check_asm_shldl_cl=no @@ -2583,7 +2603,7 @@ echo 'define(<WANT_SHLDL_CL>, <0>)' >> $gmp_tmpconfigm4 fi echo $ECHO_N "checking if the .align directive accepts an 0x90 fill in .text... $ECHO_C" 1>&6 -echo "configure:2587: checking if the .align directive accepts an 0x90 fill in .text" 1>&5 +echo "configure:2607: checking if the .align directive accepts an 0x90 fill in .text" 1>&5 if test "${gmp_cv_check_asm_align_fill_0x90+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -2620,7 +2640,7 @@ echo "define(<ALIGN_FILL_0x90>,<$gmp_cv_check_asm_align_fill_0x90>)" >> $gmp_tmp pentiummmx-*-* | pentium[23]-*-* | k6*-*-* | athlon-*-*) echo $ECHO_N "checking if the assembler knows about MMX instructions... $ECHO_C" 1>&6 -echo "configure:2624: checking if the assembler knows about MMX instructions" 1>&5 +echo "configure:2644: checking if the assembler knows about MMX instructions" 1>&5 if test "${gmp_cv_check_asm_mmx+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -2629,7 +2649,7 @@ else por %mm0, %mm0 EOF ac_assemble="$CCAS $CFLAGS conftest.s 1>&5" -if { (eval echo configure:2633: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then +if { (eval echo configure:2653: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then gmp_cv_check_asm_mmx=yes else gmp_cv_check_asm_mmx=no @@ -2793,12 +2813,12 @@ EOF fi echo $ECHO_N "checking for Cygwin environment... $ECHO_C" 1>&6 -echo "configure:2797: checking for Cygwin environment" 1>&5 +echo "configure:2817: checking for Cygwin environment" 1>&5 if test "${ac_cv_cygwin+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else cat >conftest.$ac_ext <<EOF -#line 2802 "configure" +#line 2822 "configure" #include "confdefs.h" int @@ -2812,7 +2832,7 @@ return __CYGWIN__; return 0; } EOF -if { (eval echo configure:2816: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2836: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_cygwin=yes else @@ -2827,12 +2847,12 @@ echo "$ECHO_T""$ac_cv_cygwin" 1>&6 CYGWIN= test "$ac_cv_cygwin" = yes && CYGWIN=yes echo $ECHO_N "checking for mingw32 environment... $ECHO_C" 1>&6 -echo "configure:2831: checking for mingw32 environment" 1>&5 +echo "configure:2851: checking for mingw32 environment" 1>&5 if test "${ac_cv_mingw32+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else cat >conftest.$ac_ext <<EOF -#line 2836 "configure" +#line 2856 "configure" #include "confdefs.h" int @@ -2843,7 +2863,7 @@ return __MINGW32__; return 0; } EOF -if { (eval echo configure:2847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_mingw32=yes else @@ -2858,12 +2878,12 @@ echo "$ECHO_T""$ac_cv_mingw32" 1>&6 MINGW32= test "$ac_cv_mingw32" = yes && MINGW32=yes echo $ECHO_N "checking for EMX OS/2 environment... $ECHO_C" 1>&6 -echo "configure:2862: checking for EMX OS/2 environment" 1>&5 +echo "configure:2882: checking for EMX OS/2 environment" 1>&5 if test "${ac_cv_emxos2+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else cat >conftest.$ac_ext <<EOF -#line 2867 "configure" +#line 2887 "configure" #include "confdefs.h" int @@ -2874,7 +2894,7 @@ return __EMX__; return 0; } EOF -if { (eval echo configure:2878: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2898: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_emxos2=yes else @@ -2890,7 +2910,7 @@ EMXOS2= test "$ac_cv_emxos2" = yes && EMXOS2=yes echo $ECHO_N "checking for executable suffix... $ECHO_C" 1>&6 -echo "configure:2894: checking for executable suffix" 1>&5 +echo "configure:2914: checking for executable suffix" 1>&5 if test "${ac_cv_exeext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -2900,7 +2920,7 @@ else rm -f conftest* echo 'int main () { return 0; }' >conftest.$ac_ext ac_cv_exeext= - if { (eval echo configure:2904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then + if { (eval echo configure:2924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then for ac_file in conftest.*; do case $ac_file in *.c | *.C | *.o | *.obj | *.xcoff) ;; @@ -2921,13 +2941,13 @@ echo "$ECHO_T""${ac_cv_exeext}" 1>&6 ac_exeext=$EXEEXT echo $ECHO_N "checking for object suffix... $ECHO_C" 1>&6 -echo "configure:2925: checking for object suffix" 1>&5 +echo "configure:2945: checking for object suffix" 1>&5 if test "${ac_cv_objext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else rm -f conftest* echo 'int i = 1;' >conftest.$ac_ext -if { (eval echo configure:2931: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2951: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then for ac_file in conftest.*; do case $ac_file in *.c) ;; @@ -3015,7 +3035,7 @@ else fi echo $ECHO_N "checking build system type... $ECHO_C" 1>&6 -echo "configure:3019: checking build system type" 1>&5 +echo "configure:3039: checking build system type" 1>&5 if test "x$ac_cv_build" = "x" || (test "x$build" != "xNONE" && test "x$build" != "x$ac_cv_build_alias"); then # Make sure we can run config.sub. @@ -3061,7 +3081,7 @@ ac_prog=ld if test "$ac_cv_prog_gcc" = yes; then # Check if gcc -print-prog-name=ld gives a path. echo $ECHO_N "checking for ld used by GCC... $ECHO_C" 1>&6 -echo "configure:3065: checking for ld used by GCC" 1>&5 +echo "configure:3085: checking for ld used by GCC" 1>&5 case $lt_target in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw @@ -3091,10 +3111,10 @@ echo "configure:3065: checking for ld used by GCC" 1>&5 esac elif test "$with_gnu_ld" = yes; then echo $ECHO_N "checking for GNU ld... $ECHO_C" 1>&6 -echo "configure:3095: checking for GNU ld" 1>&5 +echo "configure:3115: checking for GNU ld" 1>&5 else echo $ECHO_N "checking for non-GNU ld... $ECHO_C" 1>&6 -echo "configure:3098: checking for non-GNU ld" 1>&5 +echo "configure:3118: checking for non-GNU ld" 1>&5 fi if test "${ac_cv_path_LD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 @@ -3129,7 +3149,7 @@ else fi test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" 1>&6 -echo "configure:3133: checking if the linker ($LD) is GNU ld" 1>&5 +echo "configure:3153: checking if the linker ($LD) is GNU ld" 1>&5 if test "${ac_cv_prog_gnu_ld+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -3144,7 +3164,7 @@ echo "$ECHO_T""$ac_cv_prog_gnu_ld" 1>&6 with_gnu_ld=$ac_cv_prog_gnu_ld echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" 1>&6 -echo "configure:3148: checking for $LD option to reload object files" 1>&5 +echo "configure:3168: checking for $LD option to reload object files" 1>&5 if test "${lt_cv_ld_reload_flag+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -3155,7 +3175,7 @@ reload_flag=$lt_cv_ld_reload_flag test -n "$reload_flag" && reload_flag=" $reload_flag" echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" 1>&6 -echo "configure:3159: checking how to recognise dependant libraries" 1>&5 +echo "configure:3179: checking how to recognise dependant libraries" 1>&5 if test "${lt_cv_deplibs_check_method+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -3279,7 +3299,7 @@ file_magic*) if test "$file_magic_cmd" = '${MAGIC}'; then echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" 1>&6 -echo "configure:3283: checking for ${ac_tool_prefix}file" 1>&5 +echo "configure:3303: checking for ${ac_tool_prefix}file" 1>&5 if test "${lt_cv_path_MAGIC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -3341,7 +3361,7 @@ fi if test -z "$lt_cv_path_MAGIC"; then if test -n "$ac_tool_prefix"; then echo $ECHO_N "checking for file... $ECHO_C" 1>&6 -echo "configure:3345: checking for file" 1>&5 +echo "configure:3365: checking for file" 1>&5 if test "${lt_cv_path_MAGIC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -3417,7 +3437,7 @@ esac # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6 -echo "configure:3421: checking for $ac_word" 1>&5 +echo "configure:3441: checking for $ac_word" 1>&5 if test "${ac_cv_prog_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -3451,7 +3471,7 @@ if test -z "$ac_cv_prog_RANLIB"; then # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6 -echo "configure:3455: checking for $ac_word" 1>&5 +echo "configure:3475: checking for $ac_word" 1>&5 if test "${ac_cv_prog_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -3489,7 +3509,7 @@ fi # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6 -echo "configure:3493: checking for $ac_word" 1>&5 +echo "configure:3513: checking for $ac_word" 1>&5 if test "${ac_cv_prog_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -3523,7 +3543,7 @@ if test -z "$ac_cv_prog_STRIP"; then # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6 -echo "configure:3527: checking for $ac_word" 1>&5 +echo "configure:3547: checking for $ac_word" 1>&5 if test "${ac_cv_prog_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -3589,8 +3609,8 @@ test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic" case "$lt_target" in *-*-irix6*) # Find out which ABI we are using. - echo '#line 3593 "configure"' > conftest.$ac_ext - if { (eval echo configure:3594: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + echo '#line 3613 "configure"' > conftest.$ac_ext + if { (eval echo configure:3614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then case "`/usr/bin/file conftest.o`" in *32-bit*) LD="${LD-ld} -32" @@ -3611,7 +3631,7 @@ case "$lt_target" in SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -belf" echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" 1>&6 -echo "configure:3615: checking whether the C compiler needs -belf" 1>&5 +echo "configure:3635: checking whether the C compiler needs -belf" 1>&5 if test "${lt_cv_cc_needs_belf+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -3624,7 +3644,7 @@ ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$a cross_compiling=$ac_cv_prog_cc_cross cat >conftest.$ac_ext <<EOF -#line 3628 "configure" +#line 3648 "configure" #include "confdefs.h" int @@ -3635,7 +3655,7 @@ main() return 0; } EOF -if { (eval echo configure:3639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* lt_cv_cc_needs_belf=yes else @@ -3740,12 +3760,12 @@ LIBTOOL='$(SHELL) $(top_builddir)/libtool' exec 5>>./config.log echo $ECHO_N "checking whether optarg is declared... $ECHO_C" 1>&6 -echo "configure:3744: checking whether optarg is declared" 1>&5 +echo "configure:3764: checking whether optarg is declared" 1>&5 if test "${ac_cv_have_decl_optarg+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else cat >conftest.$ac_ext <<EOF -#line 3749 "configure" +#line 3769 "configure" #include "confdefs.h" $ac_includes_default int @@ -3759,7 +3779,7 @@ main () return 0; } EOF -if { (eval echo configure:3763: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3783: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_have_decl_optarg=yes else @@ -3784,13 +3804,13 @@ EOF fi echo $ECHO_N "checking for ANSI C header files... $ECHO_C" 1>&6 -echo "configure:3788: checking for ANSI C header files" 1>&5 +echo "configure:3808: checking for ANSI C header files" 1>&5 if test "${ac_cv_header_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else cat >conftest.$ac_ext <<EOF -#line 3794 "configure" +#line 3814 "configure" #include "confdefs.h" #include <stdlib.h> #include <stdarg.h> @@ -3799,7 +3819,7 @@ cat >conftest.$ac_ext <<EOF EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:3803: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -3817,7 +3837,7 @@ if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat >conftest.$ac_ext <<EOF -#line 3821 "configure" +#line 3841 "configure" #include "confdefs.h" #include <string.h> @@ -3837,7 +3857,7 @@ if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat >conftest.$ac_ext <<EOF -#line 3841 "configure" +#line 3861 "configure" #include "confdefs.h" #include <stdlib.h> @@ -3859,7 +3879,7 @@ if test "$cross_compiling" = yes; then : else cat >conftest.$ac_ext <<EOF -#line 3863 "configure" +#line 3883 "configure" #include "confdefs.h" #include <ctype.h> #if ((' ' & 0x0FF) == 0x020) @@ -3884,7 +3904,7 @@ main () exit (0); } EOF -if { (eval echo configure:3888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then : else @@ -3911,19 +3931,19 @@ for ac_header in getopt.h unistd.h sys/sysctl.h sys/time.h do ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh` echo $ECHO_N "checking for $ac_header... $ECHO_C" 1>&6 -echo "configure:3915: checking for $ac_header" 1>&5 +echo "configure:3935: checking for $ac_header" 1>&5 if eval "test \"\${$ac_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else cat >conftest.$ac_ext <<EOF -#line 3921 "configure" +#line 3941 "configure" #include "confdefs.h" #include <$ac_header> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:3927: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3947: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -3947,12 +3967,12 @@ fi done echo $ECHO_N "checking for void... $ECHO_C" 1>&6 -echo "configure:3951: checking for void" 1>&5 +echo "configure:3971: checking for void" 1>&5 if test "${ac_cv_type_void+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else cat >conftest.$ac_ext <<EOF -#line 3956 "configure" +#line 3976 "configure" #include "confdefs.h" $ac_includes_default int @@ -3966,7 +3986,7 @@ if (sizeof (void)) return 0; } EOF -if { (eval echo configure:3970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_type_void=yes else @@ -3986,13 +4006,13 @@ EOF fi echo $ECHO_N "checking for preprocessor stringizing operator... $ECHO_C" 1>&6 -echo "configure:3990: checking for preprocessor stringizing operator" 1>&5 +echo "configure:4010: checking for preprocessor stringizing operator" 1>&5 if test "${ac_cv_c_stringize+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else cat >conftest.$ac_ext <<EOF -#line 3996 "configure" +#line 4016 "configure" #include "confdefs.h" #define x(y) #y @@ -4024,12 +4044,12 @@ for ac_func in getopt_long getpagesize popen processor_info strtoul sysconf sysc do ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh` echo $ECHO_N "checking for $ac_func... $ECHO_C" 1>&6 -echo "configure:4028: checking for $ac_func" 1>&5 +echo "configure:4048: checking for $ac_func" 1>&5 if eval "test \"\${$ac_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else cat >conftest.$ac_ext <<EOF -#line 4033 "configure" +#line 4053 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -4057,7 +4077,7 @@ f = $ac_func; return 0; } EOF -if { (eval echo configure:4061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "$ac_ac_var=yes" else @@ -4079,14 +4099,14 @@ fi done echo $ECHO_N "checking if ansi2knr should be used... $ECHO_C" 1>&6 -echo "configure:4083: checking if ansi2knr should be used" 1>&5 +echo "configure:4103: checking if ansi2knr should be used" 1>&5 if test "${gmp_cv_c_ansi2knr+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else cat >conftest.c <<EOF int main (int argc, char *argv) { return 0; } EOF -if { (eval echo configure:4090: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then gmp_cv_c_ansi2knr=no else gmp_cv_c_ansi2knr=yes @@ -4102,13 +4122,13 @@ else # Ensure some checks needed by ansi2knr itself. echo $ECHO_N "checking for ANSI C header files... $ECHO_C" 1>&6 -echo "configure:4106: checking for ANSI C header files" 1>&5 +echo "configure:4126: checking for ANSI C header files" 1>&5 if test "${ac_cv_header_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else cat >conftest.$ac_ext <<EOF -#line 4112 "configure" +#line 4132 "configure" #include "confdefs.h" #include <stdlib.h> #include <stdarg.h> @@ -4117,7 +4137,7 @@ cat >conftest.$ac_ext <<EOF EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4121: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:4141: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -4135,7 +4155,7 @@ if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat >conftest.$ac_ext <<EOF -#line 4139 "configure" +#line 4159 "configure" #include "confdefs.h" #include <string.h> @@ -4155,7 +4175,7 @@ if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat >conftest.$ac_ext <<EOF -#line 4159 "configure" +#line 4179 "configure" #include "confdefs.h" #include <stdlib.h> @@ -4177,7 +4197,7 @@ if test "$cross_compiling" = yes; then : else cat >conftest.$ac_ext <<EOF -#line 4181 "configure" +#line 4201 "configure" #include "confdefs.h" #include <ctype.h> #if ((' ' & 0x0FF) == 0x020) @@ -4202,7 +4222,7 @@ main () exit (0); } EOF -if { (eval echo configure:4206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:4226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then : else @@ -4229,19 +4249,19 @@ fi do ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh` echo $ECHO_N "checking for $ac_header... $ECHO_C" 1>&6 -echo "configure:4233: checking for $ac_header" 1>&5 +echo "configure:4253: checking for $ac_header" 1>&5 if eval "test \"\${$ac_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else cat >conftest.$ac_ext <<EOF -#line 4239 "configure" +#line 4259 "configure" #include "confdefs.h" #include <$ac_header> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4245: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:4265: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -4583,7 +4603,7 @@ config_files="\\ Makefile mpf/Makefile mpz/Makefile mpn/Makefile mpq/Makefile mpf/tests/Makefile mpz/tests/Makefile mpq/tests/Makefile mpn/tests/Makefile tests/Makefile tests/rand/Makefile demos/Makefile tune/Makefile - mpbsd/Makefile mpbsd/tests/Makefile" + mpbsd/Makefile mpbsd/tests/Makefile mpfr/Makefile mpfr/tests/Makefile" config_headers="\\ config.h:config.in" config_links="\\ @@ -4687,6 +4707,8 @@ Try \\\`$CONFIG_STATUS --help' for more information."; exit 1 ;; 'tune/Makefile' ) CONFIG_FILES="\$CONFIG_FILES tune/Makefile" ;; 'mpbsd/Makefile' ) CONFIG_FILES="\$CONFIG_FILES mpbsd/Makefile" ;; 'mpbsd/tests/Makefile' ) CONFIG_FILES="\$CONFIG_FILES mpbsd/tests/Makefile" ;; + 'mpfr/Makefile' ) CONFIG_FILES="\$CONFIG_FILES mpfr/Makefile" ;; + 'mpfr/tests/Makefile' ) CONFIG_FILES="\$CONFIG_FILES mpfr/tests/Makefile" ;; '$gmp_links' ) CONFIG_LINKS="\$CONFIG_LINKS $gmp_links" ;; 'default-1' ) CONFIG_COMMANDS="\$CONFIG_COMMANDS default-1" ;; 'config.h' ) CONFIG_HEADERS="\$CONFIG_HEADERS config.h:config.in" ;; @@ -4798,6 +4820,8 @@ s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%;t t s%@MAINT@%$MAINT%;t t s%@WANT_MPBSD_TRUE@%$WANT_MPBSD_TRUE%;t t s%@WANT_MPBSD_FALSE@%$WANT_MPBSD_FALSE%;t t +s%@WANT_MPFR_TRUE@%$WANT_MPFR_TRUE%;t t +s%@WANT_MPFR_FALSE@%$WANT_MPFR_FALSE%;t t s%@CC@%$CC%;t t s%@CCAS@%$CCAS%;t t s%@CPP@%$CPP%;t t @@ -5150,4 +5174,3 @@ rm -fr confdefs* $ac_clean_files trap 'exit 1' 1 2 15 test "$no_create" = yes || $SHELL $CONFIG_STATUS || exit 1 - |