diff options
author | Kevin Ryde <user42@zip.com.au> | 2001-07-28 03:19:50 +0200 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2001-07-28 03:19:50 +0200 |
commit | 520017017199c981f4001a6eefac02938aeed6e8 (patch) | |
tree | aa42a2cdc52a32c6fa5aee7cd0b555876063e7c1 /configure | |
parent | b711f8614a219e9c0de0f56fbab703c11f5625c8 (diff) | |
download | gmp-520017017199c981f4001a6eefac02938aeed6e8.tar.gz |
Regenerate for:
* configure.in, acinclude.m4 (GMP_FUNC_VSNPRINTF): New macro.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 518 |
1 files changed, 336 insertions, 182 deletions
@@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 1.308 . +# From configure.in Revision: 1.309 . # Guess values for system-dependent variables and create Makefiles. # Generated by Autoconf 2.50. # @@ -10805,7 +10805,7 @@ case $host in m68*-*-netbsd1.4*) ac_cv_func_getrusage=no ;; esac -for ac_func in getpagesize getrusage gettimeofday localeconv memset mprotect obstack_vprintf popen processor_info read_real_time snprintf strchr strtoul sysconf sysctl sysctlbyname times vsnprintf +for ac_func in getpagesize getrusage gettimeofday localeconv memset mprotect obstack_vprintf popen processor_info read_real_time strchr strtoul sysconf sysctl sysctlbyname times do ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh` echo "$as_me:10811: checking for $ac_func" >&5 @@ -10874,6 +10874,160 @@ EOF fi done +echo "$as_me:10877: checking for vsnprintf" >&5 +echo $ECHO_N "checking for vsnprintf... $ECHO_C" >&6 +if test "${ac_cv_func_vsnprintf+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line 10883 "configure" +#include "confdefs.h" +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char vsnprintf (); below. */ +#include <assert.h> +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char vsnprintf (); +char (*f) (); + +int +main () +{ +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_vsnprintf) || defined (__stub___vsnprintf) +choke me +#else +f = vsnprintf; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:10914: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:10917: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:10920: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:10923: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_func_vsnprintf=yes +else + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +ac_cv_func_vsnprintf=no +fi +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:10933: result: $ac_cv_func_vsnprintf" >&5 +echo "${ECHO_T}$ac_cv_func_vsnprintf" >&6 +if test $ac_cv_func_vsnprintf = yes; then + gmp_vsnprintf_exists=yes +else + gmp_vsnprintf_exists=no +fi + +if test "$gmp_vsnprintf_exists" = yes; then + echo "$as_me:10942: checking whether vsnprintf works" >&5 +echo $ECHO_N "checking whether vsnprintf works... $ECHO_C" >&6 +if test "${gmp_cv_func_vsnprintf+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then + gmp_cv_func_vsnprintf=probably +else + cat >conftest.$ac_ext <<_ACEOF +#line 10951 "configure" +#include "confdefs.h" + +#if HAVE_STDARG +#include <stdarg.h> +#else +#include <varargs.h> +#endif + +#if HAVE_STDARG +check (const char *fmt, ...) +#else +check (va_alist) + va_dcl +#endif +{ + static char buf[128]; + va_list ap; + int ret; + +#if HAVE_STDARG + va_start (ap, fmt); +#else + char *fmt; + va_start (ap); + fmt = va_arg (ap, char *); +#endif + + ret = vsnprintf (buf, 4, fmt, ap); + if (ret == -1) + exit (1); + if (strlen (buf) > 3) + exit (2); +} + +int +main () +{ + check ("hello world\n"); + exit (0); +} + +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:10995: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:10998: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:11000: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:11003: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + gmp_cv_func_vsnprintf=yes +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +gmp_cv_func_vsnprintf=no +fi +rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext +fi + +fi +echo "$as_me:11016: result: $gmp_cv_func_vsnprintf" >&5 +echo "${ECHO_T}$gmp_cv_func_vsnprintf" >&6 + if test "$gmp_cv_func_vsnprintf" = probably; then + { echo "$as_me:11019: WARNING: cannot check for properly working vsnprintf when cross compiling, will assume it's ok" >&5 +echo "$as_me: WARNING: cannot check for properly working vsnprintf when cross compiling, will assume it's ok" >&2;} + fi + if test "$gmp_cv_func_vsnprintf" != no; then + +cat >>confdefs.h <<\EOF +#define HAVE_VSNPRINTF 1 +EOF + + fi +fi + # Pick the correct source files in $path and link them to mpn/. # $gmp_mpn_functions lists all functions we need. # @@ -10999,7 +11153,7 @@ EOF fi done if test $found = no; then - { { echo "$as_me:11002: error: no version of $tmp_fn found in path: $path" >&5 + { { echo "$as_me:11156: error: no version of $tmp_fn found in path: $path" >&5 echo "$as_me: error: no version of $tmp_fn found in path: $path" >&2;} { (exit 1); exit 1; }; } fi @@ -11014,7 +11168,7 @@ fi # Don't demand an m4 unless it's actually needed. if test $found_asm = yes; then -echo "$as_me:11017: checking for suitable m4" >&5 +echo "$as_me:11171: checking for suitable m4" >&5 echo $ECHO_N "checking for suitable m4... $ECHO_C" >&6 if test "${gmp_cv_prog_m4+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -11050,7 +11204,7 @@ EOF done IFS="$ac_save_ifs" if test -z "$gmp_cv_prog_m4"; then - { { echo "$as_me:11053: error: No usable m4 in \$PATH or /usr/5bin (see config.log for reasons)." >&5 + { { echo "$as_me:11207: error: No usable m4 in \$PATH or /usr/5bin (see config.log for reasons)." >&5 echo "$as_me: error: No usable m4 in \$PATH or /usr/5bin (see config.log for reasons)." >&2;} { (exit 1); exit 1; }; } fi @@ -11058,11 +11212,11 @@ echo "$as_me: error: No usable m4 in \$PATH or /usr/5bin (see config.log for rea rm -f conftest.m4 fi fi -echo "$as_me:11061: result: $gmp_cv_prog_m4" >&5 +echo "$as_me:11215: result: $gmp_cv_prog_m4" >&5 echo "${ECHO_T}$gmp_cv_prog_m4" >&6 M4="$gmp_cv_prog_m4" -echo "$as_me:11065: checking if m4wrap produces spurious output" >&5 +echo "$as_me:11219: checking if m4wrap produces spurious output" >&5 echo $ECHO_N "checking if m4wrap produces spurious output... $ECHO_C" >&6 if test "${gmp_cv_m4_m4wrap_spurious+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -11084,7 +11238,7 @@ else fi fi -echo "$as_me:11087: result: $gmp_cv_m4_m4wrap_spurious" >&5 +echo "$as_me:11241: result: $gmp_cv_m4_m4wrap_spurious" >&5 echo "${ECHO_T}$gmp_cv_m4_m4wrap_spurious" >&6 echo "define(<M4WRAP_SPURIOUS>,<$gmp_cv_m4_m4wrap_spurious>)" >> $gmp_tmpconfigm4 @@ -11099,7 +11253,7 @@ if test $found_asm = no && test $found_S = no; then fi if test "$gmp_asm_syntax_testing" != no; then - echo "$as_me:11102: checking how to switch to text section" >&5 + echo "$as_me:11256: checking how to switch to text section" >&5 echo $ECHO_N "checking how to switch to text section... $ECHO_C" >&6 if test "${gmp_cv_asm_text+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -11111,11 +11265,11 @@ else esac fi -echo "$as_me:11114: result: $gmp_cv_asm_text" >&5 +echo "$as_me:11268: result: $gmp_cv_asm_text" >&5 echo "${ECHO_T}$gmp_cv_asm_text" >&6 echo "define(<TEXT>, <$gmp_cv_asm_text>)" >> $gmp_tmpconfigm4 - echo "$as_me:11118: checking how to switch to data section" >&5 + echo "$as_me:11272: checking how to switch to data section" >&5 echo $ECHO_N "checking how to switch to data section... $ECHO_C" >&6 if test "${gmp_cv_asm_data+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -11126,11 +11280,11 @@ else esac fi -echo "$as_me:11129: result: $gmp_cv_asm_data" >&5 +echo "$as_me:11283: result: $gmp_cv_asm_data" >&5 echo "${ECHO_T}$gmp_cv_asm_data" >&6 echo "define(<DATA>, <$gmp_cv_asm_data>)" >> $gmp_tmpconfigm4 - echo "$as_me:11133: checking what assembly label suffix to use" >&5 + echo "$as_me:11287: checking what assembly label suffix to use" >&5 echo $ECHO_N "checking what assembly label suffix to use... $ECHO_C" >&6 if test "${gmp_cv_asm_label_suffix+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -11142,11 +11296,11 @@ else esac fi -echo "$as_me:11145: result: $gmp_cv_asm_label_suffix" >&5 +echo "$as_me:11299: result: $gmp_cv_asm_label_suffix" >&5 echo "${ECHO_T}$gmp_cv_asm_label_suffix" >&6 echo "define(<LABEL_SUFFIX>, <\$1$gmp_cv_asm_label_suffix>)" >> $gmp_tmpconfigm4 - echo "$as_me:11149: checking how to export a symbol" >&5 + echo "$as_me:11303: checking how to export a symbol" >&5 echo $ECHO_N "checking how to export a symbol... $ECHO_C" >&6 if test "${gmp_cv_asm_globl+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -11157,11 +11311,11 @@ else esac fi -echo "$as_me:11160: result: $gmp_cv_asm_globl" >&5 +echo "$as_me:11314: result: $gmp_cv_asm_globl" >&5 echo "${ECHO_T}$gmp_cv_asm_globl" >&6 echo "define(<GLOBL>, <$gmp_cv_asm_globl>)" >> $gmp_tmpconfigm4 -echo "$as_me:11164: checking if globals are prefixed by underscore" >&5 +echo "$as_me:11318: checking if globals are prefixed by underscore" >&5 echo $ECHO_N "checking if globals are prefixed by underscore... $ECHO_C" >&6 if test "${gmp_cv_asm_underscore+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -11187,10 +11341,10 @@ EOF ;; esac gmp_compile="$CC $CFLAGS $CPPFLAGS conftes1.c conftes2.s 1>&5" - if { (eval echo "$as_me:11190: \"$gmp_compile\"") >&5 + if { (eval echo "$as_me:11344: \"$gmp_compile\"") >&5 (eval $gmp_compile) 2>&5 ac_status=$? - echo "$as_me:11193: \$? = $ac_status" >&5 + echo "$as_me:11347: \$? = $ac_status" >&5 (exit $ac_status); }; then eval tmp_result$tmp_underscore=yes else @@ -11200,7 +11354,7 @@ done if test $tmp_result_ = yes; then if test $tmp_result = yes; then - { { echo "$as_me:11203: error: Test program unexpectedly links both with and without underscore." >&5 + { { echo "$as_me:11357: error: Test program unexpectedly links both with and without underscore." >&5 echo "$as_me: error: Test program unexpectedly links both with and without underscore." >&2;} { (exit 1); exit 1; }; } else @@ -11210,7 +11364,7 @@ else if test $tmp_result = yes; then gmp_cv_asm_underscore=no else - { { echo "$as_me:11213: error: Test program links neither with nor without underscore." >&5 + { { echo "$as_me:11367: error: Test program links neither with nor without underscore." >&5 echo "$as_me: error: Test program links neither with nor without underscore." >&2;} { (exit 1); exit 1; }; } fi @@ -11218,7 +11372,7 @@ fi rm -f conftes1* conftes2* a.out fi -echo "$as_me:11221: result: $gmp_cv_asm_underscore" >&5 +echo "$as_me:11375: result: $gmp_cv_asm_underscore" >&5 echo "${ECHO_T}$gmp_cv_asm_underscore" >&6 if test "$gmp_cv_asm_underscore" = "yes"; then @@ -11230,7 +11384,7 @@ echo 'define(<GSYM_PREFIX>, <>)' >>$gmp_tmpconfigm4 fi -echo "$as_me:11233: checking how to switch to read-only data section" >&5 +echo "$as_me:11387: checking how to switch to read-only data section" >&5 echo $ECHO_N "checking how to switch to read-only data section... $ECHO_C" >&6 if test "${gmp_cv_asm_rodata+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -11247,10 +11401,10 @@ EOF echo "Test program:" >&5 cat conftest.c >&5 gmp_compile="$CC $CFLAGS $CPPFLAGS -S conftest.c >&5" -if { (eval echo "$as_me:11250: \"$gmp_compile\"") >&5 +if { (eval echo "$as_me:11404: \"$gmp_compile\"") >&5 (eval $gmp_compile) 2>&5 ac_status=$? - echo "$as_me:11253: \$? = $ac_status" >&5 + echo "$as_me:11407: \$? = $ac_status" >&5 (exit $ac_status); }; then echo "Compiler output:" >&5 cat conftest.s >&5 @@ -11280,11 +11434,11 @@ if { (eval echo "$as_me:11250: \"$gmp_compile\"") >&5 fi fi -echo "$as_me:11283: result: $gmp_cv_asm_rodata" >&5 +echo "$as_me:11437: result: $gmp_cv_asm_rodata" >&5 echo "${ECHO_T}$gmp_cv_asm_rodata" >&6 echo "define(<RODATA>, <$gmp_cv_asm_rodata>)" >> $gmp_tmpconfigm4 - echo "$as_me:11287: checking if the export directive needs an attribute" >&5 + echo "$as_me:11441: checking if the export directive needs an attribute" >&5 echo $ECHO_N "checking if the export directive needs an attribute... $ECHO_C" >&6 if test "${gmp_cv_asm_globl_attr+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -11295,11 +11449,11 @@ else esac fi -echo "$as_me:11298: result: $gmp_cv_asm_globl_attr" >&5 +echo "$as_me:11452: result: $gmp_cv_asm_globl_attr" >&5 echo "${ECHO_T}$gmp_cv_asm_globl_attr" >&6 echo "define(<GLOBL_ATTR>, <$gmp_cv_asm_globl_attr>)" >> $gmp_tmpconfigm4 - echo "$as_me:11302: checking how the .type assembly directive should be used" >&5 + echo "$as_me:11456: checking how the .type assembly directive should be used" >&5 echo $ECHO_N "checking how the .type assembly directive should be used... $ECHO_C" >&6 if test "${gmp_cv_asm_type+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -11309,10 +11463,10 @@ else .type sym,${gmp_tmp_prefix}function EOF gmp_assemble="$CCAS $CFLAGS conftest.s >conftest.out 2>&1" -if { (eval echo "$as_me:11312: \"$gmp_assemble\"") >&5 +if { (eval echo "$as_me:11466: \"$gmp_assemble\"") >&5 (eval $gmp_assemble) 2>&5 ac_status=$? - echo "$as_me:11315: \$? = $ac_status" >&5 + echo "$as_me:11469: \$? = $ac_status" >&5 (exit $ac_status); }; then cat conftest.out >&5 gmp_cv_asm_type=".type \$1,${gmp_tmp_prefix}\$2" @@ -11332,11 +11486,11 @@ if test -z "$gmp_cv_asm_type"; then fi fi -echo "$as_me:11335: result: $gmp_cv_asm_type" >&5 +echo "$as_me:11489: result: $gmp_cv_asm_type" >&5 echo "${ECHO_T}$gmp_cv_asm_type" >&6 echo "define(<TYPE>, <$gmp_cv_asm_type>)" >> $gmp_tmpconfigm4 - echo "$as_me:11339: checking if the .size assembly directive works" >&5 + echo "$as_me:11493: checking if the .size assembly directive works" >&5 echo $ECHO_N "checking if the .size assembly directive works... $ECHO_C" >&6 if test "${gmp_cv_asm_size+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -11345,10 +11499,10 @@ else .size sym,1 EOF gmp_assemble="$CCAS $CFLAGS conftest.s >conftest.out 2>&1" -if { (eval echo "$as_me:11348: \"$gmp_assemble\"") >&5 +if { (eval echo "$as_me:11502: \"$gmp_assemble\"") >&5 (eval $gmp_assemble) 2>&5 ac_status=$? - echo "$as_me:11351: \$? = $ac_status" >&5 + echo "$as_me:11505: \$? = $ac_status" >&5 (exit $ac_status); }; then cat conftest.out >&5 gmp_cv_asm_size=".size \$1,\$2" @@ -11361,11 +11515,11 @@ fi rm -f conftest* fi -echo "$as_me:11364: result: $gmp_cv_asm_size" >&5 +echo "$as_me:11518: result: $gmp_cv_asm_size" >&5 echo "${ECHO_T}$gmp_cv_asm_size" >&6 echo "define(<SIZE>, <$gmp_cv_asm_size>)" >> $gmp_tmpconfigm4 -echo "$as_me:11368: checking what prefix to use for a local label" >&5 +echo "$as_me:11522: checking what prefix to use for a local label" >&5 echo $ECHO_N "checking what prefix to use for a local label... $ECHO_C" >&6 if test "${gmp_cv_asm_lsym_prefix+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -11380,15 +11534,15 @@ ${gmp_tmp_pre}gurkmacka${gmp_cv_asm_label_suffix} .byte 0 EOF gmp_assemble="$CCAS $CFLAGS conftest.s >conftest.out 2>&1" -if { (eval echo "$as_me:11383: \"$gmp_assemble\"") >&5 +if { (eval echo "$as_me:11537: \"$gmp_assemble\"") >&5 (eval $gmp_assemble) 2>&5 ac_status=$? - echo "$as_me:11386: \$? = $ac_status" >&5 + echo "$as_me:11540: \$? = $ac_status" >&5 (exit $ac_status); }; then cat conftest.out >&5 $NM conftest.o >&5 2>&5 if test $? != 0; then - { echo "$as_me:11391: WARNING: NM failure, using default local label $gmp_cv_asm_lsym_prefix" >&5 + { echo "$as_me:11545: WARNING: NM failure, using default local label $gmp_cv_asm_lsym_prefix" >&5 echo "$as_me: WARNING: NM failure, using default local label $gmp_cv_asm_lsym_prefix" >&2;} gmp_found=yes break @@ -11409,12 +11563,12 @@ rm -f conftest* done rm -f conftest* if test $gmp_found = no; then - { echo "$as_me:11412: WARNING: cannot determine local label, using default $gmp_cv_asm_lsym_prefix" >&5 + { echo "$as_me:11566: WARNING: cannot determine local label, using default $gmp_cv_asm_lsym_prefix" >&5 echo "$as_me: WARNING: cannot determine local label, using default $gmp_cv_asm_lsym_prefix" >&2;} fi fi -echo "$as_me:11417: result: $gmp_cv_asm_lsym_prefix" >&5 +echo "$as_me:11571: result: $gmp_cv_asm_lsym_prefix" >&5 echo "${ECHO_T}$gmp_cv_asm_lsym_prefix" >&6 echo "define(<LSYM_PREFIX>, <${gmp_cv_asm_lsym_prefix}>)" >> $gmp_tmpconfigm4 @@ -11422,7 +11576,7 @@ cat >>confdefs.h <<EOF #define LSYM_PREFIX "$gmp_cv_asm_lsym_prefix" EOF -echo "$as_me:11425: checking how to define a 32-bit word" >&5 +echo "$as_me:11579: checking how to define a 32-bit word" >&5 echo $ECHO_N "checking how to define a 32-bit word... $ECHO_C" >&6 if test "${gmp_cv_asm_w32+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -11447,10 +11601,10 @@ foo$gmp_cv_asm_label_suffix .byte 0 EOF gmp_assemble="$CCAS $CFLAGS conftest.s >conftest.out 2>&1" -if { (eval echo "$as_me:11450: \"$gmp_assemble\"") >&5 +if { (eval echo "$as_me:11604: \"$gmp_assemble\"") >&5 (eval $gmp_assemble) 2>&5 ac_status=$? - echo "$as_me:11453: \$? = $ac_status" >&5 + echo "$as_me:11607: \$? = $ac_status" >&5 (exit $ac_status); }; then cat conftest.out >&5 gmp_tmp_val=`$NM conftest.o | grep foo | \ @@ -11472,17 +11626,17 @@ rm -f conftest* ;; esac if test -z "$gmp_cv_asm_w32"; then - { { echo "$as_me:11475: error: cannot determine how to define a 32-bit word" >&5 + { { echo "$as_me:11629: error: cannot determine how to define a 32-bit word" >&5 echo "$as_me: error: cannot determine how to define a 32-bit word" >&2;} { (exit 1); exit 1; }; } fi fi -echo "$as_me:11481: result: $gmp_cv_asm_w32" >&5 +echo "$as_me:11635: result: $gmp_cv_asm_w32" >&5 echo "${ECHO_T}$gmp_cv_asm_w32" >&6 echo "define(<W32>, <$gmp_cv_asm_w32>)" >> $gmp_tmpconfigm4 -echo "$as_me:11485: checking if .align assembly directive is logarithmic" >&5 +echo "$as_me:11639: checking if .align assembly directive is logarithmic" >&5 echo $ECHO_N "checking if .align assembly directive is logarithmic... $ECHO_C" >&6 if test "${gmp_cv_asm_align_log+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -11497,10 +11651,10 @@ foo$gmp_cv_asm_label_suffix .byte 2 EOF gmp_assemble="$CCAS $CFLAGS conftest.s >conftest.out 2>&1" -if { (eval echo "$as_me:11500: \"$gmp_assemble\"") >&5 +if { (eval echo "$as_me:11654: \"$gmp_assemble\"") >&5 (eval $gmp_assemble) 2>&5 ac_status=$? - echo "$as_me:11503: \$? = $ac_status" >&5 + echo "$as_me:11657: \$? = $ac_status" >&5 (exit $ac_status); }; then cat conftest.out >&5 gmp_tmp_val=`$NM conftest.o | grep foo | \ @@ -11514,14 +11668,14 @@ else cat conftest.out >&5 echo "configure: failed program was:" >&5 cat conftest.s >&5 - { { echo "$as_me:11517: error: cannot assemble alignment test" >&5 + { { echo "$as_me:11671: error: cannot assemble alignment test" >&5 echo "$as_me: error: cannot assemble alignment test" >&2;} { (exit 1); exit 1; }; } fi rm -f conftest* fi -echo "$as_me:11524: result: $gmp_cv_asm_align_log" >&5 +echo "$as_me:11678: result: $gmp_cv_asm_align_log" >&5 echo "${ECHO_T}$gmp_cv_asm_align_log" >&6 echo "define(<ALIGN_LOGARITHMIC>,<$gmp_cv_asm_align_log>)" >> $gmp_tmpconfigm4 @@ -11529,7 +11683,7 @@ echo "define(<ALIGN_LOGARITHMIC>,<$gmp_cv_asm_align_log>)" >> $gmp_tmpconfigm4 case $host in m68*-*-*) -echo "$as_me:11532: checking assembler instruction and register style" >&5 +echo "$as_me:11686: checking assembler instruction and register style" >&5 echo $ECHO_N "checking assembler instruction and register style... $ECHO_C" >&6 if test "${gmp_cv_asm_m68k_instruction+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -11541,10 +11695,10 @@ for i in "addl %d0,%d1" "add.l %d0,%d1" "addl d0,d1" "add.l d0,d1"; do $i EOF gmp_assemble="$CCAS $CFLAGS conftest.s >conftest.out 2>&1" -if { (eval echo "$as_me:11544: \"$gmp_assemble\"") >&5 +if { (eval echo "$as_me:11698: \"$gmp_assemble\"") >&5 (eval $gmp_assemble) 2>&5 ac_status=$? - echo "$as_me:11547: \$? = $ac_status" >&5 + echo "$as_me:11701: \$? = $ac_status" >&5 (exit $ac_status); }; then cat conftest.out >&5 gmp_cv_asm_m68k_instruction=$i @@ -11561,14 +11715,14 @@ rm -f conftest* done fi -echo "$as_me:11564: result: $gmp_cv_asm_m68k_instruction" >&5 +echo "$as_me:11718: result: $gmp_cv_asm_m68k_instruction" >&5 echo "${ECHO_T}$gmp_cv_asm_m68k_instruction" >&6 case $gmp_cv_asm_m68k_instruction in "addl d0,d1") want_dot_size=no; want_register_percent=no ;; "addl %d0,%d1") want_dot_size=no; want_register_percent=yes ;; "add.l d0,d1") want_dot_size=yes; want_register_percent=no ;; "add.l %d0,%d1") want_dot_size=yes; want_register_percent=yes ;; -*) { { echo "$as_me:11571: error: cannot determine assembler instruction and register style" >&5 +*) { { echo "$as_me:11725: error: cannot determine assembler instruction and register style" >&5 echo "$as_me: error: cannot determine assembler instruction and register style" >&2;} { (exit 1); exit 1; }; } ;; esac @@ -11577,7 +11731,7 @@ echo "define(<WANT_REGISTER_PERCENT>, <\`$want_register_percent'>)" >> $gmp_tmpc echo "define(<WANT_DOT_SIZE>, <\`$want_dot_size'>)" >> $gmp_tmpconfigm4 -echo "$as_me:11580: checking assembler addressing style" >&5 +echo "$as_me:11734: checking assembler addressing style" >&5 echo $ECHO_N "checking assembler addressing style... $ECHO_C" >&6 if test "${gmp_cv_asm_m68k_addressing+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -11585,14 +11739,14 @@ else case $gmp_cv_asm_m68k_instruction in addl*) movel=movel ;; add.l*) movel=move.l ;; -*) { { echo "$as_me:11588: error: oops, unrecognised gmp_cv_asm_m68k_instruction" >&5 +*) { { echo "$as_me:11742: error: oops, unrecognised gmp_cv_asm_m68k_instruction" >&5 echo "$as_me: error: oops, unrecognised gmp_cv_asm_m68k_instruction" >&2;} { (exit 1); exit 1; }; } ;; esac case $gmp_cv_asm_m68k_instruction in *"%d0,%d1") dreg=%d0; areg=%a0 ;; *"d0,d1") dreg=d0; areg=a0 ;; -*) { { echo "$as_me:11595: error: oops, unrecognised gmp_cv_asm_m68k_instruction" >&5 +*) { { echo "$as_me:11749: error: oops, unrecognised gmp_cv_asm_m68k_instruction" >&5 echo "$as_me: error: oops, unrecognised gmp_cv_asm_m68k_instruction" >&2;} { (exit 1); exit 1; }; } ;; esac @@ -11601,10 +11755,10 @@ cat >conftest.s <<EOF $movel $dreg, $areg@- EOF gmp_assemble="$CCAS $CFLAGS conftest.s >conftest.out 2>&1" -if { (eval echo "$as_me:11604: \"$gmp_assemble\"") >&5 +if { (eval echo "$as_me:11758: \"$gmp_assemble\"") >&5 (eval $gmp_assemble) 2>&5 ac_status=$? - echo "$as_me:11607: \$? = $ac_status" >&5 + echo "$as_me:11761: \$? = $ac_status" >&5 (exit $ac_status); }; then cat conftest.out >&5 gmp_cv_asm_m68k_addressing=mit @@ -11617,10 +11771,10 @@ else $movel $dreg, -($areg) EOF gmp_assemble="$CCAS $CFLAGS conftest.s >conftest.out 2>&1" -if { (eval echo "$as_me:11620: \"$gmp_assemble\"") >&5 +if { (eval echo "$as_me:11774: \"$gmp_assemble\"") >&5 (eval $gmp_assemble) 2>&5 ac_status=$? - echo "$as_me:11623: \$? = $ac_status" >&5 + echo "$as_me:11777: \$? = $ac_status" >&5 (exit $ac_status); }; then cat conftest.out >&5 gmp_cv_asm_m68k_addressing=motorola @@ -11628,7 +11782,7 @@ else cat conftest.out >&5 echo "configure: failed program was:" >&5 cat conftest.s >&5 - { { echo "$as_me:11631: error: cannot determine assembler addressing style" >&5 + { { echo "$as_me:11785: error: cannot determine assembler addressing style" >&5 echo "$as_me: error: cannot determine assembler addressing style" >&2;} { (exit 1); exit 1; }; } fi @@ -11638,12 +11792,12 @@ fi rm -f conftest* fi -echo "$as_me:11641: result: $gmp_cv_asm_m68k_addressing" >&5 +echo "$as_me:11795: result: $gmp_cv_asm_m68k_addressing" >&5 echo "${ECHO_T}$gmp_cv_asm_m68k_addressing" >&6 echo "define(<WANT_ADDRESSING>, <\`$gmp_cv_asm_m68k_addressing'>)" >> $gmp_tmpconfigm4 -echo "$as_me:11646: checking assembler shortest branches" >&5 +echo "$as_me:11800: checking assembler shortest branches" >&5 echo $ECHO_N "checking assembler shortest branches... $ECHO_C" >&6 if test "${gmp_cv_asm_m68k_branches+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -11656,10 +11810,10 @@ foo$gmp_cv_asm_label_suffix $i foo EOF gmp_assemble="$CCAS $CFLAGS conftest.s >conftest.out 2>&1" -if { (eval echo "$as_me:11659: \"$gmp_assemble\"") >&5 +if { (eval echo "$as_me:11813: \"$gmp_assemble\"") >&5 (eval $gmp_assemble) 2>&5 ac_status=$? - echo "$as_me:11662: \$? = $ac_status" >&5 + echo "$as_me:11816: \$? = $ac_status" >&5 (exit $ac_status); }; then cat conftest.out >&5 gmp_cv_asm_m68k_branches=$i @@ -11676,10 +11830,10 @@ rm -f conftest* done fi -echo "$as_me:11679: result: $gmp_cv_asm_m68k_branches" >&5 +echo "$as_me:11833: result: $gmp_cv_asm_m68k_branches" >&5 echo "${ECHO_T}$gmp_cv_asm_m68k_branches" >&6 if test "$gmp_cv_asm_m68k_branches" = unknown; then - { { echo "$as_me:11682: error: cannot determine assembler branching style" >&5 + { { echo "$as_me:11836: error: cannot determine assembler branching style" >&5 echo "$as_me: error: cannot determine assembler branching style" >&2;} { (exit 1); exit 1; }; } fi @@ -11689,7 +11843,7 @@ echo "define(<WANT_BRANCHES>, <\`$gmp_cv_asm_m68k_branches'>)" >> $gmp_tmpconfig ;; power*-*-*) -echo "$as_me:11692: checking if the assembler needs r on registers" >&5 +echo "$as_me:11846: checking if the assembler needs r on registers" >&5 echo $ECHO_N "checking if the assembler needs r on registers... $ECHO_C" >&6 if test "${gmp_cv_asm_powerpc_r_registers+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -11699,10 +11853,10 @@ else mtctr 6 EOF gmp_assemble="$CCAS $CFLAGS conftest.s >conftest.out 2>&1" -if { (eval echo "$as_me:11702: \"$gmp_assemble\"") >&5 +if { (eval echo "$as_me:11856: \"$gmp_assemble\"") >&5 (eval $gmp_assemble) 2>&5 ac_status=$? - echo "$as_me:11705: \$? = $ac_status" >&5 + echo "$as_me:11859: \$? = $ac_status" >&5 (exit $ac_status); }; then cat conftest.out >&5 gmp_cv_asm_powerpc_r_registers=no @@ -11715,10 +11869,10 @@ else mtctr r6 EOF gmp_assemble="$CCAS $CFLAGS conftest.s >conftest.out 2>&1" -if { (eval echo "$as_me:11718: \"$gmp_assemble\"") >&5 +if { (eval echo "$as_me:11872: \"$gmp_assemble\"") >&5 (eval $gmp_assemble) 2>&5 ac_status=$? - echo "$as_me:11721: \$? = $ac_status" >&5 + echo "$as_me:11875: \$? = $ac_status" >&5 (exit $ac_status); }; then cat conftest.out >&5 gmp_cv_asm_powerpc_r_registers=yes @@ -11726,7 +11880,7 @@ else cat conftest.out >&5 echo "configure: failed program was:" >&5 cat conftest.s >&5 - { { echo "$as_me:11729: error: neither \"mtctr 6\" nor \"mtctr r6\" works" >&5 + { { echo "$as_me:11883: error: neither \"mtctr 6\" nor \"mtctr r6\" works" >&5 echo "$as_me: error: neither \"mtctr 6\" nor \"mtctr r6\" works" >&2;} { (exit 1); exit 1; }; } fi @@ -11736,7 +11890,7 @@ fi rm -f conftest* fi -echo "$as_me:11739: result: $gmp_cv_asm_powerpc_r_registers" >&5 +echo "$as_me:11893: result: $gmp_cv_asm_powerpc_r_registers" >&5 echo "${ECHO_T}$gmp_cv_asm_powerpc_r_registers" >&6 echo "define(<WANT_R_REGISTERS>,<$gmp_cv_asm_powerpc_r_registers>)" >> $gmp_tmpconfigm4 @@ -11755,7 +11909,7 @@ echo "include_mpn(\`powerpc32/aix.m4')" >> $gmp_tmpconfigm4i i?86*-*-* | k[5-8]*-*-* | pentium*-*-* | athlon-*-*) -echo "$as_me:11758: checking if the .align directive accepts an 0x90 fill in .text" >&5 +echo "$as_me:11912: checking if the .align directive accepts an 0x90 fill in .text" >&5 echo $ECHO_N "checking if the .align directive accepts an 0x90 fill in .text... $ECHO_C" >&6 if test "${gmp_cv_asm_align_fill_0x90+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -11767,10 +11921,10 @@ else .align 4, 0x90 EOF gmp_assemble="$CCAS $CFLAGS conftest.s >conftest.out 2>&1" -if { (eval echo "$as_me:11770: \"$gmp_assemble\"") >&5 +if { (eval echo "$as_me:11924: \"$gmp_assemble\"") >&5 (eval $gmp_assemble) 2>&5 ac_status=$? - echo "$as_me:11773: \$? = $ac_status" >&5 + echo "$as_me:11927: \$? = $ac_status" >&5 (exit $ac_status); }; then cat conftest.out >&5 if grep "Warning: Fill parameter ignored for executable section" conftest.out >/dev/null; then @@ -11788,12 +11942,12 @@ fi rm -f conftest* fi -echo "$as_me:11791: result: $gmp_cv_asm_align_fill_0x90" >&5 +echo "$as_me:11945: result: $gmp_cv_asm_align_fill_0x90" >&5 echo "${ECHO_T}$gmp_cv_asm_align_fill_0x90" >&6 echo "define(<ALIGN_FILL_0x90>,<$gmp_cv_asm_align_fill_0x90>)" >> $gmp_tmpconfigm4 -echo "$as_me:11796: checking if the assembler takes cl with shldl" >&5 +echo "$as_me:11950: checking if the assembler takes cl with shldl" >&5 echo $ECHO_N "checking if the assembler takes cl with shldl... $ECHO_C" >&6 if test "${gmp_cv_asm_x86_shldl_cl+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -11803,10 +11957,10 @@ else shldl %cl, %eax, %ebx EOF gmp_assemble="$CCAS $CFLAGS conftest.s >conftest.out 2>&1" -if { (eval echo "$as_me:11806: \"$gmp_assemble\"") >&5 +if { (eval echo "$as_me:11960: \"$gmp_assemble\"") >&5 (eval $gmp_assemble) 2>&5 ac_status=$? - echo "$as_me:11809: \$? = $ac_status" >&5 + echo "$as_me:11963: \$? = $ac_status" >&5 (exit $ac_status); }; then cat conftest.out >&5 gmp_cv_asm_x86_shldl_cl=yes @@ -11819,7 +11973,7 @@ fi rm -f conftest* fi -echo "$as_me:11822: result: $gmp_cv_asm_x86_shldl_cl" >&5 +echo "$as_me:11976: result: $gmp_cv_asm_x86_shldl_cl" >&5 echo "${ECHO_T}$gmp_cv_asm_x86_shldl_cl" >&6 if test "$gmp_cv_asm_x86_shldl_cl" = "yes"; then @@ -11833,7 +11987,7 @@ fi if test "$enable_profiling" != no; then -echo "$as_me:11836: checking how to call x86 mcount" >&5 +echo "$as_me:11990: checking how to call x86 mcount" >&5 echo $ECHO_N "checking how to call x86 mcount... $ECHO_C" >&6 cat >conftest.c <<EOF foo(){bar();} @@ -11841,10 +11995,10 @@ EOF if test "$enable_static" = yes; then gmp_asmout_compile="$CC $CFLAGS $CPPFLAGS -S conftest.c 1>&5" - if { (eval echo "$as_me:11844: \"$gmp_asmout_compile\"") >&5 + if { (eval echo "$as_me:11998: \"$gmp_asmout_compile\"") >&5 (eval $gmp_asmout_compile) 2>&5 ac_status=$? - echo "$as_me:11847: \$? = $ac_status" >&5 + echo "$as_me:12001: \$? = $ac_status" >&5 (exit $ac_status); }; then if grep '\.data' conftest.s >/dev/null; then mcount_nonpic_reg=`sed -n '/esp/!s/.*movl.*,\(%[a-z]*\).*$/\1/p' conftest.s` @@ -11853,12 +12007,12 @@ if test "$enable_static" = yes; then fi mcount_nonpic_call=`grep 'call.*mcount' conftest.s` if test -z "$mcount_nonpic_call"; then - { { echo "$as_me:11856: error: Cannot find mcount call for non-PIC" >&5 + { { echo "$as_me:12010: error: Cannot find mcount call for non-PIC" >&5 echo "$as_me: error: Cannot find mcount call for non-PIC" >&2;} { (exit 1); exit 1; }; } fi else - { { echo "$as_me:11861: error: Cannot compile test program for non-PIC" >&5 + { { echo "$as_me:12015: error: Cannot compile test program for non-PIC" >&5 echo "$as_me: error: Cannot compile test program for non-PIC" >&2;} { (exit 1); exit 1; }; } fi @@ -11866,10 +12020,10 @@ fi if test "$enable_shared" = yes; then gmp_asmout_compile="$CC $CFLAGS $CPPFLAGS $ac_cv_prog_cc_pic -S conftest.c 1>&5" - if { (eval echo "$as_me:11869: \"$gmp_asmout_compile\"") >&5 + if { (eval echo "$as_me:12023: \"$gmp_asmout_compile\"") >&5 (eval $gmp_asmout_compile) 2>&5 ac_status=$? - echo "$as_me:11872: \$? = $ac_status" >&5 + echo "$as_me:12026: \$? = $ac_status" >&5 (exit $ac_status); }; then if grep '\.data' conftest.s >/dev/null; then mcount_pic_reg=`sed -n 's/.*GOTOFF.*,\(%[a-z]*\).*$/\1/p' conftest.s` @@ -11878,12 +12032,12 @@ if test "$enable_shared" = yes; then fi mcount_pic_call=`grep 'call.*mcount' conftest.s` if test -z "$mcount_pic_call"; then - { { echo "$as_me:11881: error: Cannot find mcount call for PIC" >&5 + { { echo "$as_me:12035: error: Cannot find mcount call for PIC" >&5 echo "$as_me: error: Cannot find mcount call for PIC" >&2;} { (exit 1); exit 1; }; } fi else - { { echo "$as_me:11886: error: Cannot compile test program for PIC" >&5 + { { echo "$as_me:12040: error: Cannot compile test program for PIC" >&5 echo "$as_me: error: Cannot compile test program for PIC" >&2;} { (exit 1); exit 1; }; } fi @@ -11898,7 +12052,7 @@ echo "define(<MCOUNT_PIC_REG>, <\`$mcount_pic_reg'>)" >> $gmp_tmpconfigm4 echo "define(<MCOUNT_PIC_CALL>, <\`$mcount_pic_call'>)" >> $gmp_tmpconfigm4 rm -f conftest.* -echo "$as_me:11901: result: determined" >&5 +echo "$as_me:12055: result: determined" >&5 echo "${ECHO_T}determined" >&6 fi @@ -11920,7 +12074,7 @@ for tmp_dir in $path; do fi done if test -z "$gmp_mparam_source"; then - { { echo "$as_me:11923: error: no version of gmp-mparam.h found in path: $path" >&5 + { { echo "$as_me:12077: error: no version of gmp-mparam.h found in path: $path" >&5 echo "$as_me: error: no version of gmp-mparam.h found in path: $path" >&2;} { (exit 1); exit 1; }; } fi @@ -11939,13 +12093,13 @@ __GMP_BITS_PER_MP_LIMB=`sed -n 's/^#define BITS_PER_MP_LIMB[ ][ ]*\([0-9]*\).* if test -n "$__GMP_BITS_PER_MP_LIMB" \ && grep "^#define BYTES_PER_MP_LIMB" $gmp_mparam_source >/dev/null; then : ; else - echo "$as_me:11942: checking for mp_limb_t" >&5 + echo "$as_me:12096: checking for mp_limb_t" >&5 echo $ECHO_N "checking for mp_limb_t... $ECHO_C" >&6 if test "${ac_cv_type_mp_limb_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 11948 "configure" +#line 12102 "configure" #include "confdefs.h" #include <stdio.h> #define __GMP_WITHIN_CONFIGURE 1 /* ignore template stuff */ @@ -11965,16 +12119,16 @@ if (sizeof (mp_limb_t)) } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:11968: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:12122: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:11971: \$? = $ac_status" >&5 + echo "$as_me:12125: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:11974: \"$ac_try\"") >&5 + { (eval echo "$as_me:12128: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:11977: \$? = $ac_status" >&5 + echo "$as_me:12131: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_mp_limb_t=yes else @@ -11984,10 +12138,10 @@ ac_cv_type_mp_limb_t=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:11987: result: $ac_cv_type_mp_limb_t" >&5 +echo "$as_me:12141: result: $ac_cv_type_mp_limb_t" >&5 echo "${ECHO_T}$ac_cv_type_mp_limb_t" >&6 -echo "$as_me:11990: checking size of mp_limb_t" >&5 +echo "$as_me:12144: checking size of mp_limb_t" >&5 echo $ECHO_N "checking size of mp_limb_t... $ECHO_C" >&6 if test "${ac_cv_sizeof_mp_limb_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -11996,7 +12150,7 @@ else if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat >conftest.$ac_ext <<_ACEOF -#line 11999 "configure" +#line 12153 "configure" #include "confdefs.h" #include <stdio.h> #define __GMP_WITHIN_CONFIGURE 1 /* ignore template stuff */ @@ -12013,21 +12167,21 @@ int _array_ [1 - 2 * !((sizeof (mp_limb_t)) >= 0)] } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:12016: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:12170: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:12019: \$? = $ac_status" >&5 + echo "$as_me:12173: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:12022: \"$ac_try\"") >&5 + { (eval echo "$as_me:12176: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12025: \$? = $ac_status" >&5 + echo "$as_me:12179: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=0 ac_mid=0 while :; do cat >conftest.$ac_ext <<_ACEOF -#line 12030 "configure" +#line 12184 "configure" #include "confdefs.h" #include <stdio.h> #define __GMP_WITHIN_CONFIGURE 1 /* ignore template stuff */ @@ -12044,16 +12198,16 @@ int _array_ [1 - 2 * !((sizeof (mp_limb_t)) <= $ac_mid)] } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:12047: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:12201: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:12050: \$? = $ac_status" >&5 + echo "$as_me:12204: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:12053: \"$ac_try\"") >&5 + { (eval echo "$as_me:12207: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12056: \$? = $ac_status" >&5 + echo "$as_me:12210: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid; break else @@ -12069,7 +12223,7 @@ cat conftest.$ac_ext >&5 ac_hi=-1 ac_mid=-1 while :; do cat >conftest.$ac_ext <<_ACEOF -#line 12072 "configure" +#line 12226 "configure" #include "confdefs.h" #include <stdio.h> #define __GMP_WITHIN_CONFIGURE 1 /* ignore template stuff */ @@ -12086,16 +12240,16 @@ int _array_ [1 - 2 * !((sizeof (mp_limb_t)) >= $ac_mid)] } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:12089: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:12243: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:12092: \$? = $ac_status" >&5 + echo "$as_me:12246: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:12095: \"$ac_try\"") >&5 + { (eval echo "$as_me:12249: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12098: \$? = $ac_status" >&5 + echo "$as_me:12252: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=$ac_mid; break else @@ -12111,7 +12265,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext while test "x$ac_lo" != "x$ac_hi"; do ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` cat >conftest.$ac_ext <<_ACEOF -#line 12114 "configure" +#line 12268 "configure" #include "confdefs.h" #include <stdio.h> #define __GMP_WITHIN_CONFIGURE 1 /* ignore template stuff */ @@ -12128,16 +12282,16 @@ int _array_ [1 - 2 * !((sizeof (mp_limb_t)) <= $ac_mid)] } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:12131: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:12285: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:12134: \$? = $ac_status" >&5 + echo "$as_me:12288: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:12137: \"$ac_try\"") >&5 + { (eval echo "$as_me:12291: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12140: \$? = $ac_status" >&5 + echo "$as_me:12294: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid else @@ -12150,12 +12304,12 @@ done ac_cv_sizeof_mp_limb_t=$ac_lo else if test "$cross_compiling" = yes; then - { { echo "$as_me:12153: error: cannot run test program while cross compiling" >&5 + { { echo "$as_me:12307: error: cannot run test program while cross compiling" >&5 echo "$as_me: error: cannot run test program while cross compiling" >&2;} { (exit 1); exit 1; }; } else cat >conftest.$ac_ext <<_ACEOF -#line 12158 "configure" +#line 12312 "configure" #include "confdefs.h" #include <stdio.h> #define __GMP_WITHIN_CONFIGURE 1 /* ignore template stuff */ @@ -12176,15 +12330,15 @@ fclose (f); } _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:12179: \"$ac_link\"") >&5 +if { (eval echo "$as_me:12333: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:12182: \$? = $ac_status" >&5 + echo "$as_me:12336: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:12184: \"$ac_try\"") >&5 + { (eval echo "$as_me:12338: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12187: \$? = $ac_status" >&5 + echo "$as_me:12341: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sizeof_mp_limb_t=`cat conftest.val` else @@ -12200,14 +12354,14 @@ else ac_cv_sizeof_mp_limb_t=0 fi fi -echo "$as_me:12203: result: $ac_cv_sizeof_mp_limb_t" >&5 +echo "$as_me:12357: result: $ac_cv_sizeof_mp_limb_t" >&5 echo "${ECHO_T}$ac_cv_sizeof_mp_limb_t" >&6 cat >>confdefs.h <<EOF #define SIZEOF_MP_LIMB_T $ac_cv_sizeof_mp_limb_t EOF if test "$ac_cv_sizeof_mp_limb_t" = 0; then - { { echo "$as_me:12210: error: some sort of compiler problem, mp_limb_t doesn't seem to work" >&5 + { { echo "$as_me:12364: error: some sort of compiler problem, mp_limb_t doesn't seem to work" >&5 echo "$as_me: error: some sort of compiler problem, mp_limb_t doesn't seem to work" >&2;} { (exit 1); exit 1; }; } fi @@ -12228,13 +12382,13 @@ if grep "^#define BITS_PER_ULONG" $gmp_mparam_source >/dev/null; then : ; else case $limb_chosen in longlong) - echo "$as_me:12231: checking for unsigned long" >&5 + echo "$as_me:12385: checking for unsigned long" >&5 echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6 if test "${ac_cv_type_unsigned_long+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 12237 "configure" +#line 12391 "configure" #include "confdefs.h" $ac_includes_default int @@ -12249,16 +12403,16 @@ if (sizeof (unsigned long)) } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:12252: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:12406: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:12255: \$? = $ac_status" >&5 + echo "$as_me:12409: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:12258: \"$ac_try\"") >&5 + { (eval echo "$as_me:12412: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12261: \$? = $ac_status" >&5 + echo "$as_me:12415: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_unsigned_long=yes else @@ -12268,10 +12422,10 @@ ac_cv_type_unsigned_long=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:12271: result: $ac_cv_type_unsigned_long" >&5 +echo "$as_me:12425: result: $ac_cv_type_unsigned_long" >&5 echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6 -echo "$as_me:12274: checking size of unsigned long" >&5 +echo "$as_me:12428: checking size of unsigned long" >&5 echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6 if test "${ac_cv_sizeof_unsigned_long+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -12280,7 +12434,7 @@ else if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat >conftest.$ac_ext <<_ACEOF -#line 12283 "configure" +#line 12437 "configure" #include "confdefs.h" $ac_includes_default int @@ -12292,21 +12446,21 @@ int _array_ [1 - 2 * !((sizeof (unsigned long)) >= 0)] } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:12295: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:12449: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:12298: \$? = $ac_status" >&5 + echo "$as_me:12452: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:12301: \"$ac_try\"") >&5 + { (eval echo "$as_me:12455: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12304: \$? = $ac_status" >&5 + echo "$as_me:12458: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=0 ac_mid=0 while :; do cat >conftest.$ac_ext <<_ACEOF -#line 12309 "configure" +#line 12463 "configure" #include "confdefs.h" $ac_includes_default int @@ -12318,16 +12472,16 @@ int _array_ [1 - 2 * !((sizeof (unsigned long)) <= $ac_mid)] } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:12321: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:12475: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:12324: \$? = $ac_status" >&5 + echo "$as_me:12478: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:12327: \"$ac_try\"") >&5 + { (eval echo "$as_me:12481: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12330: \$? = $ac_status" >&5 + echo "$as_me:12484: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid; break else @@ -12343,7 +12497,7 @@ cat conftest.$ac_ext >&5 ac_hi=-1 ac_mid=-1 while :; do cat >conftest.$ac_ext <<_ACEOF -#line 12346 "configure" +#line 12500 "configure" #include "confdefs.h" $ac_includes_default int @@ -12355,16 +12509,16 @@ int _array_ [1 - 2 * !((sizeof (unsigned long)) >= $ac_mid)] } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:12358: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:12512: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:12361: \$? = $ac_status" >&5 + echo "$as_me:12515: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:12364: \"$ac_try\"") >&5 + { (eval echo "$as_me:12518: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12367: \$? = $ac_status" >&5 + echo "$as_me:12521: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=$ac_mid; break else @@ -12380,7 +12534,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext while test "x$ac_lo" != "x$ac_hi"; do ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` cat >conftest.$ac_ext <<_ACEOF -#line 12383 "configure" +#line 12537 "configure" #include "confdefs.h" $ac_includes_default int @@ -12392,16 +12546,16 @@ int _array_ [1 - 2 * !((sizeof (unsigned long)) <= $ac_mid)] } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:12395: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:12549: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:12398: \$? = $ac_status" >&5 + echo "$as_me:12552: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:12401: \"$ac_try\"") >&5 + { (eval echo "$as_me:12555: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12404: \$? = $ac_status" >&5 + echo "$as_me:12558: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid else @@ -12414,12 +12568,12 @@ done ac_cv_sizeof_unsigned_long=$ac_lo else if test "$cross_compiling" = yes; then - { { echo "$as_me:12417: error: cannot run test program while cross compiling" >&5 + { { echo "$as_me:12571: error: cannot run test program while cross compiling" >&5 echo "$as_me: error: cannot run test program while cross compiling" >&2;} { (exit 1); exit 1; }; } else cat >conftest.$ac_ext <<_ACEOF -#line 12422 "configure" +#line 12576 "configure" #include "confdefs.h" $ac_includes_default int @@ -12435,15 +12589,15 @@ fclose (f); } _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:12438: \"$ac_link\"") >&5 +if { (eval echo "$as_me:12592: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:12441: \$? = $ac_status" >&5 + echo "$as_me:12595: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:12443: \"$ac_try\"") >&5 + { (eval echo "$as_me:12597: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:12446: \$? = $ac_status" >&5 + echo "$as_me:12600: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sizeof_unsigned_long=`cat conftest.val` else @@ -12459,7 +12613,7 @@ else ac_cv_sizeof_unsigned_long=0 fi fi -echo "$as_me:12462: result: $ac_cv_sizeof_unsigned_long" >&5 +echo "$as_me:12616: result: $ac_cv_sizeof_unsigned_long" >&5 echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6 cat >>confdefs.h <<EOF #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long @@ -12641,7 +12795,7 @@ DEFS=-DHAVE_CONFIG_H : ${CONFIG_STATUS=./config.status} ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" -{ echo "$as_me:12644: creating $CONFIG_STATUS" >&5 +{ echo "$as_me:12798: creating $CONFIG_STATUS" >&5 echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >$CONFIG_STATUS <<_ACEOF #! $SHELL @@ -12820,7 +12974,7 @@ cat >>$CONFIG_STATUS <<\EOF echo "$ac_cs_version"; exit 0 ;; --he | --h) # Conflict between --help and --header - { { echo "$as_me:12823: error: ambiguous option: $1 + { { echo "$as_me:12977: error: ambiguous option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: ambiguous option: $1 Try \`$0 --help' for more information." >&2;} @@ -12871,12 +13025,12 @@ Try \`$0 --help' for more information." >&2;} 'config.h' ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;; # This is an error. - -*) { { echo "$as_me:12874: error: unrecognized option: $1 + -*) { { echo "$as_me:13028: error: unrecognized option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: unrecognized option: $1 Try \`$0 --help' for more information." >&2;} { (exit 1); exit 1; }; } ;; - *) { { echo "$as_me:12879: error: invalid argument: $1" >&5 + *) { { echo "$as_me:13033: error: invalid argument: $1" >&5 echo "$as_me: error: invalid argument: $1" >&2;} { (exit 1); exit 1; }; };; esac @@ -13195,7 +13349,7 @@ done; } esac if test x"$ac_file" != x-; then - { echo "$as_me:13198: creating $ac_file" >&5 + { echo "$as_me:13352: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} rm -f "$ac_file" fi @@ -13213,7 +13367,7 @@ echo "$as_me: creating $ac_file" >&6;} -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) - test -f "$f" || { { echo "$as_me:13216: error: cannot find input file: $f" >&5 + test -f "$f" || { { echo "$as_me:13370: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo $f;; @@ -13226,7 +13380,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;} echo $srcdir/$f else # /dev/null tree - { { echo "$as_me:13229: error: cannot find input file: $f" >&5 + { { echo "$as_me:13383: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; @@ -13287,7 +13441,7 @@ for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue * ) ac_file_in=$ac_file.in ;; esac - test x"$ac_file" != x- && { echo "$as_me:13290: creating $ac_file" >&5 + test x"$ac_file" != x- && { echo "$as_me:13444: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} # First look for the input files in the build tree, otherwise in the @@ -13298,7 +13452,7 @@ echo "$as_me: creating $ac_file" >&6;} -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) - test -f "$f" || { { echo "$as_me:13301: error: cannot find input file: $f" >&5 + test -f "$f" || { { echo "$as_me:13455: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo $f;; @@ -13311,7 +13465,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;} echo $srcdir/$f else # /dev/null tree - { { echo "$as_me:13314: error: cannot find input file: $f" >&5 + { { echo "$as_me:13468: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; @@ -13428,7 +13582,7 @@ cat >>$CONFIG_STATUS <<\EOF rm -f $tmp/in if test x"$ac_file" != x-; then if cmp -s $ac_file $tmp/config.h 2>/dev/null; then - { echo "$as_me:13431: $ac_file is unchanged" >&5 + { echo "$as_me:13585: $ac_file is unchanged" >&5 echo "$as_me: $ac_file is unchanged" >&6;} else ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ @@ -13479,11 +13633,11 @@ for ac_file in : $CONFIG_LINKS; do test "x$ac_file" = x: && continue ac_dest=`echo "$ac_file" | sed 's,:.*,,'` ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` - { echo "$as_me:13482: linking $srcdir/$ac_source to $ac_dest" >&5 + { echo "$as_me:13636: linking $srcdir/$ac_source to $ac_dest" >&5 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;} if test ! -r $srcdir/$ac_source; then - { { echo "$as_me:13486: error: $srcdir/$ac_source: File not found" >&5 + { { echo "$as_me:13640: error: $srcdir/$ac_source: File not found" >&5 echo "$as_me: error: $srcdir/$ac_source: File not found" >&2;} { (exit 1); exit 1; }; } fi @@ -13533,7 +13687,7 @@ done; } # Make a symlink if possible; otherwise try a hard link. ln -s $ac_rel_source $ac_dest 2>/dev/null || ln $srcdir/$ac_source $ac_dest || - { { echo "$as_me:13536: error: cannot link $ac_dest to $srcdir/$ac_source" >&5 + { { echo "$as_me:13690: error: cannot link $ac_dest to $srcdir/$ac_source" >&5 echo "$as_me: error: cannot link $ac_dest to $srcdir/$ac_source" >&2;} { (exit 1); exit 1; }; } done |