diff options
author | Kevin Ryde <user42@zip.com.au> | 2001-10-26 02:25:36 +0200 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2001-10-26 02:25:36 +0200 |
commit | b113c19877a39591f817623ae5983e815d205df0 (patch) | |
tree | c43de90a6b78b87e08330f93d29b50e8a483cd7b /configure | |
parent | 75967267b434df2194992a971893126934bca10b (diff) | |
download | gmp-b113c19877a39591f817623ae5983e815d205df0.tar.gz |
Regenerate for:
* printf/repl-vsnprintf.c: New file.
* configure.in, acinclude.m4, Makefile.am, printf/Makefile.am: Use it
if libc vsnprintf missing or bad.
* configure.in (AC_CHECK_FUNCS): Add strnlen.
* acinclude.m4 (GMP_FUNC_VSNPRINTF): Remove warning about omissions
when vsnprintf not available.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 427 |
1 files changed, 212 insertions, 215 deletions
@@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 1.333 . +# From configure.in Revision: 1.334 . # Guess values for system-dependent variables and create Makefiles. # Generated by Autoconf 2.52. # @@ -17595,7 +17595,7 @@ case $host in m68*-*-netbsd1.4*) ac_cv_func_getrusage=no ;; esac -for ac_func in alarm getpagesize getrusage gettimeofday localeconv memset mmap mprotect obstack_vprintf popen processor_info read_real_time strchr strtoul sysconf sysctl sysctlbyname times +for ac_func in alarm getpagesize getrusage gettimeofday localeconv memset mmap mprotect obstack_vprintf popen processor_info read_real_time strchr strnlen strtoul sysconf sysctl sysctlbyname times do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:17601: checking for $ac_func" >&5 @@ -17664,13 +17664,16 @@ EOF fi done -echo "$as_me:17667: checking for vsnprintf" >&5 +# FIXME: Would have done this with an AM_CONDITIONAL, but automake 1.5 +# doesn't like that under libgmp_la_DEPENDENCIES. + +echo "$as_me:17670: 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 17673 "configure" +#line 17676 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char vsnprintf (); below. */ @@ -17701,16 +17704,16 @@ f = vsnprintf; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:17704: \"$ac_link\"") >&5 +if { (eval echo "$as_me:17707: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:17707: \$? = $ac_status" >&5 + echo "$as_me:17710: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:17710: \"$ac_try\"") >&5 + { (eval echo "$as_me:17713: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:17713: \$? = $ac_status" >&5 + echo "$as_me:17716: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_vsnprintf=yes else @@ -17720,7 +17723,7 @@ ac_cv_func_vsnprintf=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:17723: result: $ac_cv_func_vsnprintf" >&5 +echo "$as_me:17726: 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 @@ -17728,8 +17731,10 @@ else gmp_vsnprintf_exists=no fi -if test "$gmp_vsnprintf_exists" = yes; then - echo "$as_me:17732: checking whether vsnprintf works" >&5 +if test "$gmp_vsnprintf_exists" = no; then + gmp_cv_func_vsnprintf=no +else + echo "$as_me:17737: 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 @@ -17738,7 +17743,7 @@ else gmp_cv_func_vsnprintf=probably else cat >conftest.$ac_ext <<_ACEOF -#line 17741 "configure" +#line 17746 "configure" #include "confdefs.h" #if HAVE_STDARG @@ -17785,15 +17790,15 @@ main () _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:17788: \"$ac_link\"") >&5 +if { (eval echo "$as_me:17793: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:17791: \$? = $ac_status" >&5 + echo "$as_me:17796: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:17793: \"$ac_try\"") >&5 + { (eval echo "$as_me:17798: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:17796: \$? = $ac_status" >&5 + echo "$as_me:17801: \$? = $ac_status" >&5 (exit $ac_status); }; }; then gmp_cv_func_vsnprintf=yes else @@ -17806,10 +17811,10 @@ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi -echo "$as_me:17809: result: $gmp_cv_func_vsnprintf" >&5 +echo "$as_me:17814: 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:17812: WARNING: cannot check for properly working vsnprintf when cross compiling, will assume it's ok" >&5 + { echo "$as_me:17817: 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 @@ -17820,23 +17825,13 @@ EOF fi fi -case $gmp_cv_func_vsnprintf in - yes|probably) ;; - *) - { echo "$as_me:17826: WARNING: +----------------------------------------------------------" >&5 -echo "$as_me: WARNING: +----------------------------------------------------------" >&2;} - { echo "$as_me:17828: WARNING: | WARNING WARNING WARNING" >&5 -echo "$as_me: WARNING: | WARNING WARNING WARNING" >&2;} - { echo "$as_me:17830: WARNING: | Usable C library vsnprintf is not available." >&5 -echo "$as_me: WARNING: | Usable C library vsnprintf is not available." >&2;} - { echo "$as_me:17832: WARNING: | The following GMP functions will not be built:" >&5 -echo "$as_me: WARNING: | The following GMP functions will not be built:" >&2;} - { echo "$as_me:17834: WARNING: | gmp_asprintf, gmp_snprintf, gmp_vasprintf, gmp_vsnprintf" >&5 -echo "$as_me: WARNING: | gmp_asprintf, gmp_snprintf, gmp_vasprintf, gmp_vsnprintf" >&2;} - { echo "$as_me:17836: WARNING: +----------------------------------------------------------" >&5 -echo "$as_me: WARNING: +----------------------------------------------------------" >&2;} - ;; -esac + +if test "$gmp_cv_func_vsnprintf" = no; then + REPL_VSNPRINTF_PRINTF_OBJ='printf/repl-vsnprintf$U.lo' + + REPL_VSNPRINTF_OBJ='repl-vsnprintf$U.lo' + +fi # Pick the correct source files in $path and link them to mpn/. # $gmp_mpn_functions lists all functions we need. @@ -17963,7 +17958,7 @@ EOF fi done if test $found = no; then - { { echo "$as_me:17966: error: no version of $tmp_fn found in path: $path" >&5 + { { echo "$as_me:17961: 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 @@ -17978,7 +17973,7 @@ fi # Don't demand an m4 unless it's actually needed. if test $found_asm = yes; then -echo "$as_me:17981: checking for suitable m4" >&5 +echo "$as_me:17976: 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 @@ -18014,7 +18009,7 @@ EOF done IFS="$ac_save_ifs" if test -z "$gmp_cv_prog_m4"; then - { { echo "$as_me:18017: error: No usable m4 in \$PATH or /usr/5bin (see config.log for reasons)." >&5 + { { echo "$as_me:18012: 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 @@ -18022,11 +18017,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:18025: result: $gmp_cv_prog_m4" >&5 +echo "$as_me:18020: result: $gmp_cv_prog_m4" >&5 echo "${ECHO_T}$gmp_cv_prog_m4" >&6 M4="$gmp_cv_prog_m4" -echo "$as_me:18029: checking if m4wrap produces spurious output" >&5 +echo "$as_me:18024: 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 @@ -18048,7 +18043,7 @@ else fi fi -echo "$as_me:18051: result: $gmp_cv_m4_m4wrap_spurious" >&5 +echo "$as_me:18046: 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 @@ -18063,7 +18058,7 @@ if test $found_asm = no && test $found_S = no; then fi if test "$gmp_asm_syntax_testing" != no; then - echo "$as_me:18066: checking how to switch to text section" >&5 + echo "$as_me:18061: 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 @@ -18075,11 +18070,11 @@ else esac fi -echo "$as_me:18078: result: $gmp_cv_asm_text" >&5 +echo "$as_me:18073: 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:18082: checking how to switch to data section" >&5 + echo "$as_me:18077: 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 @@ -18090,11 +18085,11 @@ else esac fi -echo "$as_me:18093: result: $gmp_cv_asm_data" >&5 +echo "$as_me:18088: 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:18097: checking what assembly label suffix to use" >&5 + echo "$as_me:18092: 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 @@ -18106,11 +18101,11 @@ else esac fi -echo "$as_me:18109: result: $gmp_cv_asm_label_suffix" >&5 +echo "$as_me:18104: 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:18113: checking how to export a symbol" >&5 + echo "$as_me:18108: 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 @@ -18121,11 +18116,11 @@ else esac fi -echo "$as_me:18124: result: $gmp_cv_asm_globl" >&5 +echo "$as_me:18119: 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:18128: checking if globals are prefixed by underscore" >&5 +echo "$as_me:18123: 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 @@ -18151,10 +18146,10 @@ EOF ;; esac gmp_compile="$CC $CFLAGS $CPPFLAGS conftes1.c conftes2.s >&5" - if { (eval echo "$as_me:18154: \"$gmp_compile\"") >&5 + if { (eval echo "$as_me:18149: \"$gmp_compile\"") >&5 (eval $gmp_compile) 2>&5 ac_status=$? - echo "$as_me:18157: \$? = $ac_status" >&5 + echo "$as_me:18152: \$? = $ac_status" >&5 (exit $ac_status); }; then eval tmp_result$tmp_underscore=yes else @@ -18164,7 +18159,7 @@ done if test $tmp_result_ = yes; then if test $tmp_result = yes; then - { { echo "$as_me:18167: error: Test program unexpectedly links both with and without underscore." >&5 + { { echo "$as_me:18162: 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 @@ -18174,7 +18169,7 @@ else if test $tmp_result = yes; then gmp_cv_asm_underscore=no else - { { echo "$as_me:18177: error: Test program links neither with nor without underscore." >&5 + { { echo "$as_me:18172: 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 @@ -18182,7 +18177,7 @@ fi rm -f conftes1* conftes2* a.out fi -echo "$as_me:18185: result: $gmp_cv_asm_underscore" >&5 +echo "$as_me:18180: result: $gmp_cv_asm_underscore" >&5 echo "${ECHO_T}$gmp_cv_asm_underscore" >&6 if test "$gmp_cv_asm_underscore" = "yes"; then @@ -18194,7 +18189,7 @@ echo 'define(<GSYM_PREFIX>, <>)' >>$gmp_tmpconfigm4 fi -echo "$as_me:18197: checking how to switch to read-only data section" >&5 +echo "$as_me:18192: 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 @@ -18211,10 +18206,10 @@ EOF echo "Test program:" >&5 cat conftest.c >&5 gmp_compile="$CC $CFLAGS $CPPFLAGS -S conftest.c >&5" -if { (eval echo "$as_me:18214: \"$gmp_compile\"") >&5 +if { (eval echo "$as_me:18209: \"$gmp_compile\"") >&5 (eval $gmp_compile) 2>&5 ac_status=$? - echo "$as_me:18217: \$? = $ac_status" >&5 + echo "$as_me:18212: \$? = $ac_status" >&5 (exit $ac_status); }; then echo "Compiler output:" >&5 cat conftest.s >&5 @@ -18244,11 +18239,11 @@ if { (eval echo "$as_me:18214: \"$gmp_compile\"") >&5 fi fi -echo "$as_me:18247: result: $gmp_cv_asm_rodata" >&5 +echo "$as_me:18242: 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:18251: checking if the export directive needs an attribute" >&5 + echo "$as_me:18246: 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 @@ -18259,11 +18254,11 @@ else esac fi -echo "$as_me:18262: result: $gmp_cv_asm_globl_attr" >&5 +echo "$as_me:18257: 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:18266: checking for assembler .type directive" >&5 + echo "$as_me:18261: checking for assembler .type directive" >&5 echo $ECHO_N "checking for assembler .type directive... $ECHO_C" >&6 if test "${gmp_cv_asm_type+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -18274,10 +18269,10 @@ for gmp_tmp_prefix in @ \# %; do .type sym,${gmp_tmp_prefix}function EOF gmp_assemble="$CCAS $CFLAGS conftest.s >conftest.out 2>&1" -if { (eval echo "$as_me:18277: \"$gmp_assemble\"") >&5 +if { (eval echo "$as_me:18272: \"$gmp_assemble\"") >&5 (eval $gmp_assemble) 2>&5 ac_status=$? - echo "$as_me:18280: \$? = $ac_status" >&5 + echo "$as_me:18275: \$? = $ac_status" >&5 (exit $ac_status); }; then cat conftest.out >&5 if grep "\.type pseudo-op used outside of \.def/\.endef ignored" conftest.out >/dev/null; then : ; @@ -18297,11 +18292,11 @@ done rm -f conftest* fi -echo "$as_me:18300: result: $gmp_cv_asm_type" >&5 +echo "$as_me:18295: 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:18304: checking for assembler .size directive" >&5 + echo "$as_me:18299: checking for assembler .size directive" >&5 echo $ECHO_N "checking for assembler .size directive... $ECHO_C" >&6 if test "${gmp_cv_asm_size+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -18311,10 +18306,10 @@ cat >conftest.s <<EOF .size sym,1 EOF gmp_assemble="$CCAS $CFLAGS conftest.s >conftest.out 2>&1" -if { (eval echo "$as_me:18314: \"$gmp_assemble\"") >&5 +if { (eval echo "$as_me:18309: \"$gmp_assemble\"") >&5 (eval $gmp_assemble) 2>&5 ac_status=$? - echo "$as_me:18317: \$? = $ac_status" >&5 + echo "$as_me:18312: \$? = $ac_status" >&5 (exit $ac_status); }; then cat conftest.out >&5 if grep "\.size pseudo-op used outside of \.def/\.endef ignored" conftest.out >/dev/null; then : ; @@ -18330,11 +18325,11 @@ fi rm -f conftest* fi -echo "$as_me:18333: result: $gmp_cv_asm_size" >&5 +echo "$as_me:18328: 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:18337: checking what prefix to use for a local label" >&5 +echo "$as_me:18332: 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 @@ -18349,15 +18344,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:18352: \"$gmp_assemble\"") >&5 +if { (eval echo "$as_me:18347: \"$gmp_assemble\"") >&5 (eval $gmp_assemble) 2>&5 ac_status=$? - echo "$as_me:18355: \$? = $ac_status" >&5 + echo "$as_me:18350: \$? = $ac_status" >&5 (exit $ac_status); }; then cat conftest.out >&5 $NM conftest.o >&5 2>&5 if test $? != 0; then - { echo "$as_me:18360: WARNING: NM failure, using default local label $gmp_cv_asm_lsym_prefix" >&5 + { echo "$as_me:18355: 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 @@ -18378,12 +18373,12 @@ rm -f conftest* done rm -f conftest* if test $gmp_found = no; then - { echo "$as_me:18381: WARNING: cannot determine local label, using default $gmp_cv_asm_lsym_prefix" >&5 + { echo "$as_me:18376: 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:18386: result: $gmp_cv_asm_lsym_prefix" >&5 +echo "$as_me:18381: 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 @@ -18391,7 +18386,7 @@ cat >>confdefs.h <<EOF #define LSYM_PREFIX "$gmp_cv_asm_lsym_prefix" EOF -echo "$as_me:18394: checking how to define a 32-bit word" >&5 +echo "$as_me:18389: 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 @@ -18416,10 +18411,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:18419: \"$gmp_assemble\"") >&5 +if { (eval echo "$as_me:18414: \"$gmp_assemble\"") >&5 (eval $gmp_assemble) 2>&5 ac_status=$? - echo "$as_me:18422: \$? = $ac_status" >&5 + echo "$as_me:18417: \$? = $ac_status" >&5 (exit $ac_status); }; then cat conftest.out >&5 gmp_tmp_val=`$NM conftest.o | grep foo | \ @@ -18441,17 +18436,17 @@ rm -f conftest* ;; esac if test -z "$gmp_cv_asm_w32"; then - { { echo "$as_me:18444: error: cannot determine how to define a 32-bit word" >&5 + { { echo "$as_me:18439: 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:18450: result: $gmp_cv_asm_w32" >&5 +echo "$as_me:18445: 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:18454: checking if .align assembly directive is logarithmic" >&5 +echo "$as_me:18449: 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 @@ -18466,10 +18461,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:18469: \"$gmp_assemble\"") >&5 +if { (eval echo "$as_me:18464: \"$gmp_assemble\"") >&5 (eval $gmp_assemble) 2>&5 ac_status=$? - echo "$as_me:18472: \$? = $ac_status" >&5 + echo "$as_me:18467: \$? = $ac_status" >&5 (exit $ac_status); }; then cat conftest.out >&5 gmp_tmp_val=`$NM conftest.o | grep foo | \ @@ -18483,14 +18478,14 @@ else cat conftest.out >&5 echo "configure: failed program was:" >&5 cat conftest.s >&5 - { { echo "$as_me:18486: error: cannot assemble alignment test" >&5 + { { echo "$as_me:18481: 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:18493: result: $gmp_cv_asm_align_log" >&5 +echo "$as_me:18488: 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 @@ -18498,7 +18493,7 @@ echo "define(<ALIGN_LOGARITHMIC>,<$gmp_cv_asm_align_log>)" >> $gmp_tmpconfigm4 case $host in m68*-*-*) -echo "$as_me:18501: checking assembler instruction and register style" >&5 +echo "$as_me:18496: 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 @@ -18510,10 +18505,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:18513: \"$gmp_assemble\"") >&5 +if { (eval echo "$as_me:18508: \"$gmp_assemble\"") >&5 (eval $gmp_assemble) 2>&5 ac_status=$? - echo "$as_me:18516: \$? = $ac_status" >&5 + echo "$as_me:18511: \$? = $ac_status" >&5 (exit $ac_status); }; then cat conftest.out >&5 gmp_cv_asm_m68k_instruction=$i @@ -18530,14 +18525,14 @@ rm -f conftest* done fi -echo "$as_me:18533: result: $gmp_cv_asm_m68k_instruction" >&5 +echo "$as_me:18528: 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:18540: error: cannot determine assembler instruction and register style" >&5 +*) { { echo "$as_me:18535: 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 @@ -18546,7 +18541,7 @@ echo "define(<WANT_REGISTER_PERCENT>, <\`$want_register_percent'>)" >> $gmp_tmpc echo "define(<WANT_DOT_SIZE>, <\`$want_dot_size'>)" >> $gmp_tmpconfigm4 -echo "$as_me:18549: checking assembler addressing style" >&5 +echo "$as_me:18544: 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 @@ -18554,14 +18549,14 @@ else case $gmp_cv_asm_m68k_instruction in addl*) movel=movel ;; add.l*) movel=move.l ;; -*) { { echo "$as_me:18557: error: oops, unrecognised gmp_cv_asm_m68k_instruction" >&5 +*) { { echo "$as_me:18552: 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:18564: error: oops, unrecognised gmp_cv_asm_m68k_instruction" >&5 +*) { { echo "$as_me:18559: 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 @@ -18570,10 +18565,10 @@ cat >conftest.s <<EOF $movel $dreg, $areg@- EOF gmp_assemble="$CCAS $CFLAGS conftest.s >conftest.out 2>&1" -if { (eval echo "$as_me:18573: \"$gmp_assemble\"") >&5 +if { (eval echo "$as_me:18568: \"$gmp_assemble\"") >&5 (eval $gmp_assemble) 2>&5 ac_status=$? - echo "$as_me:18576: \$? = $ac_status" >&5 + echo "$as_me:18571: \$? = $ac_status" >&5 (exit $ac_status); }; then cat conftest.out >&5 gmp_cv_asm_m68k_addressing=mit @@ -18586,10 +18581,10 @@ else $movel $dreg, -($areg) EOF gmp_assemble="$CCAS $CFLAGS conftest.s >conftest.out 2>&1" -if { (eval echo "$as_me:18589: \"$gmp_assemble\"") >&5 +if { (eval echo "$as_me:18584: \"$gmp_assemble\"") >&5 (eval $gmp_assemble) 2>&5 ac_status=$? - echo "$as_me:18592: \$? = $ac_status" >&5 + echo "$as_me:18587: \$? = $ac_status" >&5 (exit $ac_status); }; then cat conftest.out >&5 gmp_cv_asm_m68k_addressing=motorola @@ -18597,7 +18592,7 @@ else cat conftest.out >&5 echo "configure: failed program was:" >&5 cat conftest.s >&5 - { { echo "$as_me:18600: error: cannot determine assembler addressing style" >&5 + { { echo "$as_me:18595: error: cannot determine assembler addressing style" >&5 echo "$as_me: error: cannot determine assembler addressing style" >&2;} { (exit 1); exit 1; }; } fi @@ -18607,12 +18602,12 @@ fi rm -f conftest* fi -echo "$as_me:18610: result: $gmp_cv_asm_m68k_addressing" >&5 +echo "$as_me:18605: 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:18615: checking assembler shortest branches" >&5 +echo "$as_me:18610: 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 @@ -18625,10 +18620,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:18628: \"$gmp_assemble\"") >&5 +if { (eval echo "$as_me:18623: \"$gmp_assemble\"") >&5 (eval $gmp_assemble) 2>&5 ac_status=$? - echo "$as_me:18631: \$? = $ac_status" >&5 + echo "$as_me:18626: \$? = $ac_status" >&5 (exit $ac_status); }; then cat conftest.out >&5 gmp_cv_asm_m68k_branches=$i @@ -18645,10 +18640,10 @@ rm -f conftest* done fi -echo "$as_me:18648: result: $gmp_cv_asm_m68k_branches" >&5 +echo "$as_me:18643: 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:18651: error: cannot determine assembler branching style" >&5 + { { echo "$as_me:18646: error: cannot determine assembler branching style" >&5 echo "$as_me: error: cannot determine assembler branching style" >&2;} { (exit 1); exit 1; }; } fi @@ -18658,7 +18653,7 @@ echo "define(<WANT_BRANCHES>, <\`$gmp_cv_asm_m68k_branches'>)" >> $gmp_tmpconfig ;; power*-*-*) -echo "$as_me:18661: checking if the assembler needs r on registers" >&5 +echo "$as_me:18656: 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 @@ -18668,10 +18663,10 @@ else mtctr 6 EOF gmp_assemble="$CCAS $CFLAGS conftest.s >conftest.out 2>&1" -if { (eval echo "$as_me:18671: \"$gmp_assemble\"") >&5 +if { (eval echo "$as_me:18666: \"$gmp_assemble\"") >&5 (eval $gmp_assemble) 2>&5 ac_status=$? - echo "$as_me:18674: \$? = $ac_status" >&5 + echo "$as_me:18669: \$? = $ac_status" >&5 (exit $ac_status); }; then cat conftest.out >&5 gmp_cv_asm_powerpc_r_registers=no @@ -18684,10 +18679,10 @@ else mtctr r6 EOF gmp_assemble="$CCAS $CFLAGS conftest.s >conftest.out 2>&1" -if { (eval echo "$as_me:18687: \"$gmp_assemble\"") >&5 +if { (eval echo "$as_me:18682: \"$gmp_assemble\"") >&5 (eval $gmp_assemble) 2>&5 ac_status=$? - echo "$as_me:18690: \$? = $ac_status" >&5 + echo "$as_me:18685: \$? = $ac_status" >&5 (exit $ac_status); }; then cat conftest.out >&5 gmp_cv_asm_powerpc_r_registers=yes @@ -18695,7 +18690,7 @@ else cat conftest.out >&5 echo "configure: failed program was:" >&5 cat conftest.s >&5 - { { echo "$as_me:18698: error: neither \"mtctr 6\" nor \"mtctr r6\" works" >&5 + { { echo "$as_me:18693: 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 @@ -18705,7 +18700,7 @@ fi rm -f conftest* fi -echo "$as_me:18708: result: $gmp_cv_asm_powerpc_r_registers" >&5 +echo "$as_me:18703: 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 @@ -18724,7 +18719,7 @@ echo "include_mpn(\`powerpc32/aix.m4')" >> $gmp_tmpconfigm4i i?86*-*-* | k[5-8]*-*-* | pentium*-*-* | athlon-*-*) -echo "$as_me:18727: checking if the .align directive accepts an 0x90 fill in .text" >&5 +echo "$as_me:18722: 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 @@ -18736,10 +18731,10 @@ else .align 4, 0x90 EOF gmp_assemble="$CCAS $CFLAGS conftest.s >conftest.out 2>&1" -if { (eval echo "$as_me:18739: \"$gmp_assemble\"") >&5 +if { (eval echo "$as_me:18734: \"$gmp_assemble\"") >&5 (eval $gmp_assemble) 2>&5 ac_status=$? - echo "$as_me:18742: \$? = $ac_status" >&5 + echo "$as_me:18737: \$? = $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 @@ -18757,12 +18752,12 @@ fi rm -f conftest* fi -echo "$as_me:18760: result: $gmp_cv_asm_align_fill_0x90" >&5 +echo "$as_me:18755: 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:18765: checking if the assembler takes cl with shldl" >&5 +echo "$as_me:18760: 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 @@ -18772,10 +18767,10 @@ else shldl %cl, %eax, %ebx EOF gmp_assemble="$CCAS $CFLAGS conftest.s >conftest.out 2>&1" -if { (eval echo "$as_me:18775: \"$gmp_assemble\"") >&5 +if { (eval echo "$as_me:18770: \"$gmp_assemble\"") >&5 (eval $gmp_assemble) 2>&5 ac_status=$? - echo "$as_me:18778: \$? = $ac_status" >&5 + echo "$as_me:18773: \$? = $ac_status" >&5 (exit $ac_status); }; then cat conftest.out >&5 gmp_cv_asm_x86_shldl_cl=yes @@ -18788,7 +18783,7 @@ fi rm -f conftest* fi -echo "$as_me:18791: result: $gmp_cv_asm_x86_shldl_cl" >&5 +echo "$as_me:18786: 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 @@ -18802,7 +18797,7 @@ fi if test "$enable_profiling" != no; then -echo "$as_me:18805: checking how to call x86 mcount" >&5 +echo "$as_me:18800: 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();} @@ -18810,10 +18805,10 @@ EOF if test "$enable_static" = yes; then gmp_asmout_compile="$CC $CFLAGS $CPPFLAGS -S conftest.c 1>&5" - if { (eval echo "$as_me:18813: \"$gmp_asmout_compile\"") >&5 + if { (eval echo "$as_me:18808: \"$gmp_asmout_compile\"") >&5 (eval $gmp_asmout_compile) 2>&5 ac_status=$? - echo "$as_me:18816: \$? = $ac_status" >&5 + echo "$as_me:18811: \$? = $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` @@ -18822,12 +18817,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:18825: error: Cannot find mcount call for non-PIC" >&5 + { { echo "$as_me:18820: 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:18830: error: Cannot compile test program for non-PIC" >&5 + { { echo "$as_me:18825: 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 @@ -18835,10 +18830,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:18838: \"$gmp_asmout_compile\"") >&5 + if { (eval echo "$as_me:18833: \"$gmp_asmout_compile\"") >&5 (eval $gmp_asmout_compile) 2>&5 ac_status=$? - echo "$as_me:18841: \$? = $ac_status" >&5 + echo "$as_me:18836: \$? = $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` @@ -18847,12 +18842,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:18850: error: Cannot find mcount call for PIC" >&5 + { { echo "$as_me:18845: 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:18855: error: Cannot compile test program for PIC" >&5 + { { echo "$as_me:18850: error: Cannot compile test program for PIC" >&5 echo "$as_me: error: Cannot compile test program for PIC" >&2;} { (exit 1); exit 1; }; } fi @@ -18867,7 +18862,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:18870: result: determined" >&5 +echo "$as_me:18865: result: determined" >&5 echo "${ECHO_T}determined" >&6 fi @@ -18889,7 +18884,7 @@ for tmp_dir in $path; do fi done if test -z "$gmp_mparam_source"; then - { { echo "$as_me:18892: error: no version of gmp-mparam.h found in path: $path" >&5 + { { echo "$as_me:18887: 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 @@ -18908,13 +18903,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:18911: checking for mp_limb_t" >&5 + echo "$as_me:18906: 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 18917 "configure" +#line 18912 "configure" #include "confdefs.h" #include <stdio.h> #define __GMP_WITHIN_CONFIGURE 1 /* ignore template stuff */ @@ -18934,16 +18929,16 @@ if (sizeof (mp_limb_t)) } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:18937: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:18932: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:18940: \$? = $ac_status" >&5 + echo "$as_me:18935: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:18943: \"$ac_try\"") >&5 + { (eval echo "$as_me:18938: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:18946: \$? = $ac_status" >&5 + echo "$as_me:18941: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_mp_limb_t=yes else @@ -18953,10 +18948,10 @@ ac_cv_type_mp_limb_t=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:18956: result: $ac_cv_type_mp_limb_t" >&5 +echo "$as_me:18951: result: $ac_cv_type_mp_limb_t" >&5 echo "${ECHO_T}$ac_cv_type_mp_limb_t" >&6 -echo "$as_me:18959: checking size of mp_limb_t" >&5 +echo "$as_me:18954: 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 @@ -18965,7 +18960,7 @@ else if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat >conftest.$ac_ext <<_ACEOF -#line 18968 "configure" +#line 18963 "configure" #include "confdefs.h" #include <stdio.h> #define __GMP_WITHIN_CONFIGURE 1 /* ignore template stuff */ @@ -18982,21 +18977,21 @@ int _array_ [1 - 2 * !((sizeof (mp_limb_t)) >= 0)] } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:18985: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:18980: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:18988: \$? = $ac_status" >&5 + echo "$as_me:18983: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:18991: \"$ac_try\"") >&5 + { (eval echo "$as_me:18986: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:18994: \$? = $ac_status" >&5 + echo "$as_me:18989: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=0 ac_mid=0 while :; do cat >conftest.$ac_ext <<_ACEOF -#line 18999 "configure" +#line 18994 "configure" #include "confdefs.h" #include <stdio.h> #define __GMP_WITHIN_CONFIGURE 1 /* ignore template stuff */ @@ -19013,16 +19008,16 @@ int _array_ [1 - 2 * !((sizeof (mp_limb_t)) <= $ac_mid)] } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:19016: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:19011: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:19019: \$? = $ac_status" >&5 + echo "$as_me:19014: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:19022: \"$ac_try\"") >&5 + { (eval echo "$as_me:19017: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19025: \$? = $ac_status" >&5 + echo "$as_me:19020: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid; break else @@ -19038,7 +19033,7 @@ cat conftest.$ac_ext >&5 ac_hi=-1 ac_mid=-1 while :; do cat >conftest.$ac_ext <<_ACEOF -#line 19041 "configure" +#line 19036 "configure" #include "confdefs.h" #include <stdio.h> #define __GMP_WITHIN_CONFIGURE 1 /* ignore template stuff */ @@ -19055,16 +19050,16 @@ int _array_ [1 - 2 * !((sizeof (mp_limb_t)) >= $ac_mid)] } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:19058: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:19053: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:19061: \$? = $ac_status" >&5 + echo "$as_me:19056: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:19064: \"$ac_try\"") >&5 + { (eval echo "$as_me:19059: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19067: \$? = $ac_status" >&5 + echo "$as_me:19062: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=$ac_mid; break else @@ -19080,7 +19075,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 19083 "configure" +#line 19078 "configure" #include "confdefs.h" #include <stdio.h> #define __GMP_WITHIN_CONFIGURE 1 /* ignore template stuff */ @@ -19097,16 +19092,16 @@ int _array_ [1 - 2 * !((sizeof (mp_limb_t)) <= $ac_mid)] } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:19100: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:19095: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:19103: \$? = $ac_status" >&5 + echo "$as_me:19098: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:19106: \"$ac_try\"") >&5 + { (eval echo "$as_me:19101: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19109: \$? = $ac_status" >&5 + echo "$as_me:19104: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid else @@ -19119,12 +19114,12 @@ done ac_cv_sizeof_mp_limb_t=$ac_lo else if test "$cross_compiling" = yes; then - { { echo "$as_me:19122: error: cannot run test program while cross compiling" >&5 + { { echo "$as_me:19117: 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 19127 "configure" +#line 19122 "configure" #include "confdefs.h" #include <stdio.h> #define __GMP_WITHIN_CONFIGURE 1 /* ignore template stuff */ @@ -19145,15 +19140,15 @@ fclose (f); } _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:19148: \"$ac_link\"") >&5 +if { (eval echo "$as_me:19143: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:19151: \$? = $ac_status" >&5 + echo "$as_me:19146: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:19153: \"$ac_try\"") >&5 + { (eval echo "$as_me:19148: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19156: \$? = $ac_status" >&5 + echo "$as_me:19151: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sizeof_mp_limb_t=`cat conftest.val` else @@ -19169,14 +19164,14 @@ else ac_cv_sizeof_mp_limb_t=0 fi fi -echo "$as_me:19172: result: $ac_cv_sizeof_mp_limb_t" >&5 +echo "$as_me:19167: 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:19179: error: some sort of compiler problem, mp_limb_t doesn't seem to work" >&5 + { { echo "$as_me:19174: 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 @@ -19197,13 +19192,13 @@ if grep "^#define BITS_PER_ULONG" $gmp_mparam_source >/dev/null; then : ; else case $limb_chosen in longlong) - echo "$as_me:19200: checking for unsigned long" >&5 + echo "$as_me:19195: 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 19206 "configure" +#line 19201 "configure" #include "confdefs.h" $ac_includes_default int @@ -19218,16 +19213,16 @@ if (sizeof (unsigned long)) } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:19221: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:19216: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:19224: \$? = $ac_status" >&5 + echo "$as_me:19219: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:19227: \"$ac_try\"") >&5 + { (eval echo "$as_me:19222: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19230: \$? = $ac_status" >&5 + echo "$as_me:19225: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_unsigned_long=yes else @@ -19237,10 +19232,10 @@ ac_cv_type_unsigned_long=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:19240: result: $ac_cv_type_unsigned_long" >&5 +echo "$as_me:19235: result: $ac_cv_type_unsigned_long" >&5 echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6 -echo "$as_me:19243: checking size of unsigned long" >&5 +echo "$as_me:19238: 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 @@ -19249,7 +19244,7 @@ else if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat >conftest.$ac_ext <<_ACEOF -#line 19252 "configure" +#line 19247 "configure" #include "confdefs.h" $ac_includes_default int @@ -19261,21 +19256,21 @@ int _array_ [1 - 2 * !((sizeof (unsigned long)) >= 0)] } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:19264: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:19259: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:19267: \$? = $ac_status" >&5 + echo "$as_me:19262: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:19270: \"$ac_try\"") >&5 + { (eval echo "$as_me:19265: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19273: \$? = $ac_status" >&5 + echo "$as_me:19268: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=0 ac_mid=0 while :; do cat >conftest.$ac_ext <<_ACEOF -#line 19278 "configure" +#line 19273 "configure" #include "confdefs.h" $ac_includes_default int @@ -19287,16 +19282,16 @@ int _array_ [1 - 2 * !((sizeof (unsigned long)) <= $ac_mid)] } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:19290: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:19285: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:19293: \$? = $ac_status" >&5 + echo "$as_me:19288: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:19296: \"$ac_try\"") >&5 + { (eval echo "$as_me:19291: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19299: \$? = $ac_status" >&5 + echo "$as_me:19294: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid; break else @@ -19312,7 +19307,7 @@ cat conftest.$ac_ext >&5 ac_hi=-1 ac_mid=-1 while :; do cat >conftest.$ac_ext <<_ACEOF -#line 19315 "configure" +#line 19310 "configure" #include "confdefs.h" $ac_includes_default int @@ -19324,16 +19319,16 @@ int _array_ [1 - 2 * !((sizeof (unsigned long)) >= $ac_mid)] } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:19327: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:19322: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:19330: \$? = $ac_status" >&5 + echo "$as_me:19325: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:19333: \"$ac_try\"") >&5 + { (eval echo "$as_me:19328: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19336: \$? = $ac_status" >&5 + echo "$as_me:19331: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_lo=$ac_mid; break else @@ -19349,7 +19344,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 19352 "configure" +#line 19347 "configure" #include "confdefs.h" $ac_includes_default int @@ -19361,16 +19356,16 @@ int _array_ [1 - 2 * !((sizeof (unsigned long)) <= $ac_mid)] } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:19364: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:19359: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:19367: \$? = $ac_status" >&5 + echo "$as_me:19362: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:19370: \"$ac_try\"") >&5 + { (eval echo "$as_me:19365: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19373: \$? = $ac_status" >&5 + echo "$as_me:19368: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_hi=$ac_mid else @@ -19383,12 +19378,12 @@ done ac_cv_sizeof_unsigned_long=$ac_lo else if test "$cross_compiling" = yes; then - { { echo "$as_me:19386: error: cannot run test program while cross compiling" >&5 + { { echo "$as_me:19381: 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 19391 "configure" +#line 19386 "configure" #include "confdefs.h" $ac_includes_default int @@ -19404,15 +19399,15 @@ fclose (f); } _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:19407: \"$ac_link\"") >&5 +if { (eval echo "$as_me:19402: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:19410: \$? = $ac_status" >&5 + echo "$as_me:19405: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:19412: \"$ac_try\"") >&5 + { (eval echo "$as_me:19407: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19415: \$? = $ac_status" >&5 + echo "$as_me:19410: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sizeof_unsigned_long=`cat conftest.val` else @@ -19428,7 +19423,7 @@ else ac_cv_sizeof_unsigned_long=0 fi fi -echo "$as_me:19431: result: $ac_cv_sizeof_unsigned_long" >&5 +echo "$as_me:19426: 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 @@ -19610,7 +19605,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:19613: creating $CONFIG_STATUS" >&5 +{ echo "$as_me:19608: creating $CONFIG_STATUS" >&5 echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >$CONFIG_STATUS <<_ACEOF #! $SHELL @@ -19789,7 +19784,7 @@ cat >>$CONFIG_STATUS <<\EOF echo "$ac_cs_version"; exit 0 ;; --he | --h) # Conflict between --help and --header - { { echo "$as_me:19792: error: ambiguous option: $1 + { { echo "$as_me:19787: 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;} @@ -19808,7 +19803,7 @@ Try \`$0 --help' for more information." >&2;} ac_need_defaults=false;; # This is an error. - -*) { { echo "$as_me:19811: error: unrecognized option: $1 + -*) { { echo "$as_me:19806: 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;} @@ -19884,7 +19879,7 @@ do "gmp-mparam.h" ) CONFIG_LINKS="$CONFIG_LINKS gmp-mparam.h:mpn/$tmp_dir/gmp-mparam.h" ;; "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;; - *) { { echo "$as_me:19887: error: invalid argument: $ac_config_target" >&5 + *) { { echo "$as_me:19882: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; esac @@ -20048,6 +20043,8 @@ s,@__GMP_LIBGMP_STATIC@,$__GMP_LIBGMP_STATIC,;t t s,@CCAS@,$CCAS,;t t s,@LIBM@,$LIBM,;t t s,@TAL_OBJECT@,$TAL_OBJECT,;t t +s,@REPL_VSNPRINTF_PRINTF_OBJ@,$REPL_VSNPRINTF_PRINTF_OBJ,;t t +s,@REPL_VSNPRINTF_OBJ@,$REPL_VSNPRINTF_OBJ,;t t s,@M4@,$M4,;t t s,@__GMP_BITS_PER_MP_LIMB@,$__GMP_BITS_PER_MP_LIMB,;t t s,@mpn_objs_in_libmp@,$mpn_objs_in_libmp,;t t @@ -20170,7 +20167,7 @@ done; } esac if test x"$ac_file" != x-; then - { echo "$as_me:20173: creating $ac_file" >&5 + { echo "$as_me:20170: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} rm -f "$ac_file" fi @@ -20188,7 +20185,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:20191: error: cannot find input file: $f" >&5 + test -f "$f" || { { echo "$as_me:20188: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo $f;; @@ -20201,7 +20198,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;} echo $srcdir/$f else # /dev/null tree - { { echo "$as_me:20204: error: cannot find input file: $f" >&5 + { { echo "$as_me:20201: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; @@ -20262,7 +20259,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:20265: creating $ac_file" >&5 + test x"$ac_file" != x- && { echo "$as_me:20262: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} # First look for the input files in the build tree, otherwise in the @@ -20273,7 +20270,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:20276: error: cannot find input file: $f" >&5 + test -f "$f" || { { echo "$as_me:20273: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo $f;; @@ -20286,7 +20283,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;} echo $srcdir/$f else # /dev/null tree - { { echo "$as_me:20289: error: cannot find input file: $f" >&5 + { { echo "$as_me:20286: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; @@ -20403,7 +20400,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:20406: $ac_file is unchanged" >&5 + { echo "$as_me:20403: $ac_file is unchanged" >&5 echo "$as_me: $ac_file is unchanged" >&6;} else ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ @@ -20460,11 +20457,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:20463: linking $srcdir/$ac_source to $ac_dest" >&5 + { echo "$as_me:20460: 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:20467: error: $srcdir/$ac_source: File not found" >&5 + { { echo "$as_me:20464: error: $srcdir/$ac_source: File not found" >&5 echo "$as_me: error: $srcdir/$ac_source: File not found" >&2;} { (exit 1); exit 1; }; } fi @@ -20514,7 +20511,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:20517: error: cannot link $ac_dest to $srcdir/$ac_source" >&5 + { { echo "$as_me:20514: 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 |