diff options
author | Linus Nordberg <linus@nordberg.se> | 2000-04-15 23:11:36 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2000-04-15 23:11:36 +0200 |
commit | 122687c62d02fbceaa2817a014e5a8d1819aff4a (patch) | |
tree | 756577562679a8828553db5942a26c25aca7e11a | |
parent | b4638f95d09aacdcd23060b968a9b8cc1086a0cb (diff) | |
download | gmp-122687c62d02fbceaa2817a014e5a8d1819aff4a.tar.gz |
Regenerate for:
If `mpn_path' is set by user on configure command line, use that as path.
-rwxr-xr-x | configure | 258 |
1 files changed, 136 insertions, 122 deletions
@@ -1156,7 +1156,6 @@ case "$target" in gmp_cflags64_cc="-xtarget=native -xarch=v9 -xO4" ;; ultrasparc*-*-* | sparcv9-*-*) - ## FIXME: path=sparc32/v9 gmp_cflags_gcc="$gmp_cflags_gcc -Wa,-xarch=v8plus" gmp_optcflags_gcc="-mcpu=v9" gmp_cflags_cc="-xtarget=native -xarch=v8 -xO4" @@ -1297,7 +1296,7 @@ for c in $gmp_cc_list; do # Extract the first word of "${ac_tool_prefix}$c", so it can be a program name with args. set dummy ${ac_tool_prefix}$c; ac_word=$2 echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6 -echo "configure:1301: checking for $ac_word" 1>&5 +echo "configure:1300: checking for $ac_word" 1>&5 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -1331,7 +1330,7 @@ if test -z "$ac_cv_prog_CC"; then # Extract the first word of "$c", so it can be a program name with args. set dummy $c; ac_word=$2 echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6 -echo "configure:1335: checking for $ac_word" 1>&5 +echo "configure:1334: checking for $ac_word" 1>&5 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -1380,12 +1379,12 @@ CFLAGS="$c_flags" # Simple test for all targets. cat >conftest.$ac_ext <<EOF -#line 1384 "configure" +#line 1383 "configure" #include "confdefs.h" int main(){return(0);} EOF -if { (eval echo configure:1389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then tmp_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then @@ -1405,9 +1404,9 @@ if test "$tmp_works" = "yes"; then case "$target" in *-*-aix*) # Returning a funcptr. echo $ECHO_N "checking if the C compiler ($CC $CFLAGS) works (returning a function pointer)... $ECHO_C" 1>&6 -echo "configure:1409: checking if the C compiler ($CC $CFLAGS) works (returning a function pointer)" 1>&5 +echo "configure:1408: checking if the C compiler ($CC $CFLAGS) works (returning a function pointer)" 1>&5 cat >conftest.$ac_ext <<EOF -#line 1411 "configure" +#line 1410 "configure" #include "confdefs.h" int @@ -1418,7 +1417,7 @@ main () return 0; } EOF -if { (eval echo configure:1422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1421: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* tmp_works=yes else @@ -1453,7 +1452,7 @@ fi gmp_tmp_CC_save="$CC" CC="$c" echo $ECHO_N "checking whether the C compiler ($CC) is 64-bit capable... $ECHO_C" 1>&6 -echo "configure:1457: checking whether the C compiler ($CC) is 64-bit capable" 1>&5 +echo "configure:1456: checking whether the C compiler ($CC) is 64-bit capable" 1>&5 gmp_tmp_CFLAGS_save="$CFLAGS" CFLAGS="$c_flags" @@ -1487,7 +1486,7 @@ echo "configure:1457: checking whether the C compiler ($CC) is 64-bit capable" 1 # Simply try to compile an empty main. If that succeeds return # true. cat >conftest.$ac_ext <<EOF -#line 1491 "configure" +#line 1490 "configure" #include "confdefs.h" int @@ -1498,7 +1497,7 @@ main () return 0; } EOF -if { (eval echo configure:1502: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1501: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* gmp_cv_cc_64bit=yes else @@ -1518,13 +1517,13 @@ rm -f conftest* gmp_cv_cc_64bit=no else cat >conftest.$ac_ext <<EOF -#line 1522 "configure" +#line 1521 "configure" #include "confdefs.h" int main() { return (sizeof (void *) != 8); } EOF -if { (eval echo configure:1528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:1527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then gmp_cv_cc_64bit=yes else @@ -1572,7 +1571,7 @@ CC="$CC32" CFLAGS_save="$CFLAGS" CFLAGS="$CFLAGS $optcflags" echo $ECHO_N "checking whether $CC accepts $optcflags... $ECHO_C" 1>&6 -echo "configure:1576: checking whether $CC accepts $optcflags" 1>&5 +echo "configure:1575: checking whether $CC accepts $optcflags" 1>&5 ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' @@ -1582,12 +1581,12 @@ cross_compiling=$ac_cv_prog_cc_cross cat >conftest.$ac_ext <<EOF -#line 1586 "configure" +#line 1585 "configure" #include "confdefs.h" int main(){return(0);} EOF -if { (eval echo configure:1591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then optok=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then @@ -1613,7 +1612,7 @@ fi # Select chosen compiler. echo $ECHO_N "checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works... $ECHO_C" 1>&6 -echo "configure:1617: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works" 1>&5 +echo "configure:1616: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works" 1>&5 ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. @@ -1624,12 +1623,12 @@ cross_compiling=$ac_cv_prog_cc_cross cat >conftest.$ac_ext <<EOF -#line 1628 "configure" +#line 1627 "configure" #include "confdefs.h" int main(){return(0);} EOF -if { (eval echo configure:1633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ac_cv_prog_cc_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then @@ -1655,12 +1654,12 @@ if test $ac_cv_prog_cc_works = no; then { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 77; } fi echo $ECHO_N "checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) is a cross-compiler... $ECHO_C" 1>&6 -echo "configure:1659: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) is a cross-compiler" 1>&5 +echo "configure:1658: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) is a cross-compiler" 1>&5 echo "$ECHO_T""$ac_cv_prog_cc_cross" 1>&6 cross_compiling=$ac_cv_prog_cc_cross echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" 1>&6 -echo "configure:1664: checking whether we are using GNU C" 1>&5 +echo "configure:1663: checking whether we are using GNU C" 1>&5 if test "${ac_cv_prog_gcc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -1669,7 +1668,7 @@ else yes; #endif EOF -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1673: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1672: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gcc=yes else ac_cv_prog_gcc=no @@ -1683,11 +1682,19 @@ else GCC= fi +# Set CFLAGS if not already set. +if test -z "$CFLAGS"; then + CFLAGS="-g" + if test "$GCC" = "yes"; then + CFLAGS="$CFLAGS -O2" + fi +fi + # How to assemble. CCAS="$CC -c" echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" 1>&6 -echo "configure:1691: checking how to run the C preprocessor" 1>&5 +echo "configure:1698: checking how to run the C preprocessor" 1>&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= @@ -1703,13 +1710,13 @@ else # not just through cpp. cat >conftest.$ac_ext <<EOF -#line 1707 "configure" +#line 1714 "configure" #include "confdefs.h" #include <assert.h> Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1713: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1720: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -1721,13 +1728,13 @@ else CPP="${CC-cc} -E -traditional-cpp" cat >conftest.$ac_ext <<EOF -#line 1725 "configure" +#line 1732 "configure" #include "confdefs.h" #include <assert.h> Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1731: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1738: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -1739,13 +1746,13 @@ else CPP="${CC-cc} -nologo -E" cat >conftest.$ac_ext <<EOF -#line 1743 "configure" +#line 1750 "configure" #include "confdefs.h" #include <assert.h> Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1749: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1756: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -1781,7 +1788,7 @@ echo "$ECHO_T""$CPP" 1>&6 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # ./install, which can be erroneously created by make from ./install.sh. echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" 1>&6 -echo "configure:1785: checking for a BSD compatible install" 1>&5 +echo "configure:1792: checking for a BSD compatible install" 1>&5 if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 @@ -1838,7 +1845,7 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' echo $ECHO_N "checking whether ln -s works... $ECHO_C" 1>&6 -echo "configure:1842: checking whether ln -s works" 1>&5 +echo "configure:1849: checking whether ln -s works" 1>&5 if test "${ac_cv_prog_LN_S+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -1861,7 +1868,7 @@ fi # Extract the first word of "m4", so it can be a program name with args. set dummy m4; ac_word=$2 echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6 -echo "configure:1865: checking for $ac_word" 1>&5 +echo "configure:1872: checking for $ac_word" 1>&5 if test "${ac_cv_prog_M4+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -1899,7 +1906,7 @@ fi # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. set dummy ${ac_tool_prefix}ar; ac_word=$2 echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6 -echo "configure:1903: checking for $ac_word" 1>&5 +echo "configure:1910: checking for $ac_word" 1>&5 if test "${ac_cv_prog_AR+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -1933,7 +1940,7 @@ if test -z "$ac_cv_prog_AR"; then # Extract the first word of "ar", so it can be a program name with args. set dummy ar; ac_word=$2 echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6 -echo "configure:1937: checking for $ac_word" 1>&5 +echo "configure:1944: checking for $ac_word" 1>&5 if test "${ac_cv_prog_AR+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -1971,7 +1978,7 @@ fi # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args. set dummy ${ac_tool_prefix}nm; ac_word=$2 echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6 -echo "configure:1975: checking for $ac_word" 1>&5 +echo "configure:1982: checking for $ac_word" 1>&5 if test "${ac_cv_prog_NM+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -2005,7 +2012,7 @@ if test -z "$ac_cv_prog_NM"; then # Extract the first word of "nm", so it can be a program name with args. set dummy nm; ac_word=$2 echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6 -echo "configure:2009: checking for $ac_word" 1>&5 +echo "configure:2016: checking for $ac_word" 1>&5 if test "${ac_cv_prog_NM+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -2054,7 +2061,7 @@ esac if test "$gmp_no_asm_syntax_testing" != "yes"; then echo $ECHO_N "checking how to switch to text section... $ECHO_C" 1>&6 -echo "configure:2058: checking how to switch to text section" 1>&5 +echo "configure:2065: checking how to switch to text section" 1>&5 if test "${gmp_cv_check_asm_text+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -2073,7 +2080,7 @@ echo "$ECHO_T""$gmp_cv_check_asm_text" 1>&6 echo "define(<TEXT>, <$gmp_cv_check_asm_text>)" >> $gmp_tmpconfigm4 echo $ECHO_N "checking how to switch to data section... $ECHO_C" 1>&6 -echo "configure:2077: checking how to switch to data section" 1>&5 +echo "configure:2084: checking how to switch to data section" 1>&5 if test "${gmp_cv_check_asm_data+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -2091,7 +2098,7 @@ echo "$ECHO_T""$gmp_cv_check_asm_data" 1>&6 echo "define(<DATA>, <$gmp_cv_check_asm_data>)" >> $gmp_tmpconfigm4 echo $ECHO_N "checking how to export a symbol... $ECHO_C" 1>&6 -echo "configure:2095: checking how to export a symbol" 1>&5 +echo "configure:2102: checking how to export a symbol" 1>&5 if test "${gmp_cv_check_asm_globl+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -2105,7 +2112,7 @@ echo "$ECHO_T""$gmp_cv_check_asm_globl" 1>&6 echo "define(<GLOBL>, <$gmp_cv_check_asm_globl>)" >> $gmp_tmpconfigm4 echo $ECHO_N "checking what assembly label suffix to use... $ECHO_C" 1>&6 -echo "configure:2109: checking what assembly label suffix to use" 1>&5 +echo "configure:2116: checking what assembly label suffix to use" 1>&5 if test "${gmp_cv_check_asm_label_suffix+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -2119,14 +2126,14 @@ echo "$ECHO_T""$gmp_cv_check_asm_label_suffix" 1>&6 echo "define(<LABEL_SUFFIX>, <\$1$gmp_cv_check_asm_label_suffix>)" >> $gmp_tmpconfigm4 echo $ECHO_N "checking how the .type assembly directive should be used... $ECHO_C" 1>&6 -echo "configure:2123: checking how the .type assembly directive should be used" 1>&5 +echo "configure:2130: checking how the .type assembly directive should be used" 1>&5 if test "${gmp_cv_check_asm_type+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else ac_assemble="$CCAS $CFLAGS conftest.s 1>&5" for gmp_tmp_prefix in @ \# %; do echo " .type sym,${gmp_tmp_prefix}function" > conftest.s - if { (eval echo configure:2130: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then + if { (eval echo configure:2137: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then gmp_cv_check_asm_type=".type \$1,${gmp_tmp_prefix}\$2" break fi @@ -2140,13 +2147,13 @@ echo "$ECHO_T""$gmp_cv_check_asm_type" 1>&6 echo "define(<TYPE>, <$gmp_cv_check_asm_type>)" >> $gmp_tmpconfigm4 echo $ECHO_N "checking if the .size assembly directive works... $ECHO_C" 1>&6 -echo "configure:2144: checking if the .size assembly directive works" 1>&5 +echo "configure:2151: checking if the .size assembly directive works" 1>&5 if test "${gmp_cv_check_asm_size+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else ac_assemble="$CCAS $CFLAGS conftest.s 1>&5" echo ' .size sym,1' > conftest.s -if { (eval echo configure:2150: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then +if { (eval echo configure:2157: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then gmp_cv_check_asm_size=".size \$1,\$2" else gmp_cv_check_asm_size="dnl" @@ -2157,7 +2164,7 @@ echo "$ECHO_T""$gmp_cv_check_asm_size" 1>&6 echo "define(<SIZE>, <$gmp_cv_check_asm_size>)" >> $gmp_tmpconfigm4 echo $ECHO_N "checking what prefix to use for a local label... $ECHO_C" 1>&6 -echo "configure:2161: checking what prefix to use for a local label" 1>&5 +echo "configure:2168: checking what prefix to use for a local label" 1>&5 if test "${gmp_cv_check_asm_lsym_prefix+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -2173,7 +2180,7 @@ dummy${gmp_cv_check_asm_label_suffix} ${gmp_tmp_pre}gurkmacka${gmp_cv_check_asm_label_suffix} .byte 0 EOF - if { (eval echo configure:2177: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then + if { (eval echo configure:2184: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then $NM conftest.o >/dev/null 2>&1 gmp_rc=$? if test "$gmp_rc" != "0"; then @@ -2197,7 +2204,7 @@ echo "$ECHO_T""$gmp_cv_check_asm_lsym_prefix" 1>&6 echo "define(<LSYM_PREFIX>, <${gmp_cv_check_asm_lsym_prefix}>)" >> $gmp_tmpconfigm4 echo $ECHO_N "checking how to define a 32-bit word... $ECHO_C" 1>&6 -echo "configure:2201: checking how to [define] a 32-bit word" 1>&5 +echo "configure:2208: checking how to [define] a 32-bit word" 1>&5 if test "${gmp_cv_check_asm_w32+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -2226,7 +2233,7 @@ case "$target" in foo${gmp_cv_check_asm_label_suffix} .byte 0 EOF - if { (eval echo configure:2230: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then + if { (eval echo configure:2237: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then gmp_tmp_val=`$NM conftest.o | grep foo | sed -e 's;[[][0-9][]]\(.*\);\1;' \ -e 's;[^1-9]*\([0-9]*\).*;\1;'` @@ -2250,17 +2257,17 @@ echo "$ECHO_T""$gmp_cv_check_asm_w32" 1>&6 echo "define(<W32>, <$gmp_cv_check_asm_w32>)" >> $gmp_tmpconfigm4 echo $ECHO_N "checking if symbols are prefixed by underscore... $ECHO_C" 1>&6 -echo "configure:2254: checking if symbols are prefixed by underscore" 1>&5 +echo "configure:2261: checking if symbols are prefixed by underscore" 1>&5 if test "${gmp_cv_check_asm_underscore+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 2259 "configure" +#line 2266 "configure" #include "confdefs.h" int underscore_test() { return; } EOF -if { (eval echo configure:2264: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2271: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if grep _underscore_test conftest* >/dev/null; then gmp_cv_check_asm_underscore=yes else @@ -2287,7 +2294,7 @@ echo 'define(<GSYM_PREFIX>, <>)' >> $gmp_tmpconfigm4 fi echo $ECHO_N "checking if .align assembly directive is logarithmic... $ECHO_C" 1>&6 -echo "configure:2291: checking if .align assembly directive is logarithmic" 1>&5 +echo "configure:2298: checking if .align assembly directive is logarithmic" 1>&5 if test "${gmp_cv_check_asm_align_log+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -2305,7 +2312,7 @@ foo$gmp_cv_check_asm_label_suffix .byte 2 EOF ac_assemble="$CCAS $CFLAGS conftest.s 1>&5" -if { (eval echo configure:2309: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then +if { (eval echo configure:2316: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then gmp_tmp_val=`$NM conftest.o | grep foo | sed -e 's;[[][0-9][]]\(.*\);\1;' \ -e 's;[^1-9]*\([0-9]*\).*;\1;'` @@ -2418,7 +2425,7 @@ case ${target} in path= echo $ECHO_N "checking if the assembler knows about MMX instructions... $ECHO_C" 1>&6 -echo "configure:2422: checking if the assembler knows about MMX instructions" 1>&5 +echo "configure:2429: checking if the assembler knows about MMX instructions" 1>&5 if test "${gmp_cv_check_asm_mmx+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -2427,7 +2434,7 @@ else por %mm0, %mm0 EOF ac_assemble="$CCAS $CFLAGS conftest.s 1>&5" -if { (eval echo configure:2431: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then +if { (eval echo configure:2438: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then gmp_cv_check_asm_mmx=yes else gmp_cv_check_asm_mmx=no @@ -2462,7 +2469,7 @@ fi path= echo $ECHO_N "checking if the assembler knows about MMX instructions... $ECHO_C" 1>&6 -echo "configure:2466: checking if the assembler knows about MMX instructions" 1>&5 +echo "configure:2473: checking if the assembler knows about MMX instructions" 1>&5 if test "${gmp_cv_check_asm_mmx+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -2471,7 +2478,7 @@ else por %mm0, %mm0 EOF ac_assemble="$CCAS $CFLAGS conftest.s 1>&5" -if { (eval echo configure:2475: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then +if { (eval echo configure:2482: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then gmp_cv_check_asm_mmx=yes else gmp_cv_check_asm_mmx=no @@ -2500,7 +2507,7 @@ fi k6*-*-*) echo $ECHO_N "checking if the assembler knows about MMX instructions... $ECHO_C" 1>&6 -echo "configure:2504: checking if the assembler knows about MMX instructions" 1>&5 +echo "configure:2511: checking if the assembler knows about MMX instructions" 1>&5 if test "${gmp_cv_check_asm_mmx+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -2509,7 +2516,7 @@ else por %mm0, %mm0 EOF ac_assemble="$CCAS $CFLAGS conftest.s 1>&5" -if { (eval echo configure:2513: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then +if { (eval echo configure:2520: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then gmp_cv_check_asm_mmx=yes else gmp_cv_check_asm_mmx=no @@ -2550,7 +2557,7 @@ fi path= echo $ECHO_N "checking if the assembler knows about MMX instructions... $ECHO_C" 1>&6 -echo "configure:2554: checking if the assembler knows about MMX instructions" 1>&5 +echo "configure:2561: checking if the assembler knows about MMX instructions" 1>&5 if test "${gmp_cv_check_asm_mmx+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -2559,7 +2566,7 @@ else por %mm0, %mm0 EOF ac_assemble="$CCAS $CFLAGS conftest.s 1>&5" -if { (eval echo configure:2563: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then +if { (eval echo configure:2570: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then gmp_cv_check_asm_mmx=yes else gmp_cv_check_asm_mmx=no @@ -2633,7 +2640,7 @@ case ${target} in extra_functions="$extra_functions copyi copyd" echo $ECHO_N "checking if the assembler takes cl with shldl... $ECHO_C" 1>&6 -echo "configure:2637: checking if the assembler takes cl with shldl" 1>&5 +echo "configure:2644: checking if the assembler takes cl with shldl" 1>&5 if test "${gmp_cv_check_asm_shldl_cl+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -2642,7 +2649,7 @@ else shldl %cl, %eax, %ebx EOF ac_assemble="$CCAS $CFLAGS conftest.s 1>&5" -if { (eval echo configure:2646: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then +if { (eval echo configure:2653: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then gmp_cv_check_asm_shldl_cl=yes else gmp_cv_check_asm_shldl_cl=no @@ -2665,12 +2672,12 @@ fi esac echo $ECHO_N "checking for Cygwin environment... $ECHO_C" 1>&6 -echo "configure:2669: checking for Cygwin environment" 1>&5 +echo "configure:2676: checking for Cygwin environment" 1>&5 if test "${ac_cv_cygwin+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else cat >conftest.$ac_ext <<EOF -#line 2674 "configure" +#line 2681 "configure" #include "confdefs.h" int @@ -2684,7 +2691,7 @@ return __CYGWIN__; return 0; } EOF -if { (eval echo configure:2688: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2695: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_cygwin=yes else @@ -2699,12 +2706,12 @@ echo "$ECHO_T""$ac_cv_cygwin" 1>&6 CYGWIN= test "$ac_cv_cygwin" = yes && CYGWIN=yes echo $ECHO_N "checking for mingw32 environment... $ECHO_C" 1>&6 -echo "configure:2703: checking for mingw32 environment" 1>&5 +echo "configure:2710: checking for mingw32 environment" 1>&5 if test "${ac_cv_mingw32+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else cat >conftest.$ac_ext <<EOF -#line 2708 "configure" +#line 2715 "configure" #include "confdefs.h" int @@ -2715,7 +2722,7 @@ return __MINGW32__; return 0; } EOF -if { (eval echo configure:2719: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2726: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_mingw32=yes else @@ -2730,12 +2737,12 @@ echo "$ECHO_T""$ac_cv_mingw32" 1>&6 MINGW32= test "$ac_cv_mingw32" = yes && MINGW32=yes echo $ECHO_N "checking for EMX OS/2 environment... $ECHO_C" 1>&6 -echo "configure:2734: checking for EMX OS/2 environment" 1>&5 +echo "configure:2741: checking for EMX OS/2 environment" 1>&5 if test "${ac_cv_emxos2+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else cat >conftest.$ac_ext <<EOF -#line 2739 "configure" +#line 2746 "configure" #include "confdefs.h" int @@ -2746,7 +2753,7 @@ return __EMX__; return 0; } EOF -if { (eval echo configure:2750: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2757: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_emxos2=yes else @@ -2762,7 +2769,7 @@ EMXOS2= test "$ac_cv_emxos2" = yes && EMXOS2=yes echo $ECHO_N "checking for executable suffix... $ECHO_C" 1>&6 -echo "configure:2766: checking for executable suffix" 1>&5 +echo "configure:2773: checking for executable suffix" 1>&5 if test "${ac_cv_exeext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -2772,7 +2779,7 @@ else rm -f conftest* echo 'int main () { return 0; }' >conftest.$ac_ext ac_cv_exeext= - if { (eval echo configure:2776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then + if { (eval echo configure:2783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then for ac_file in conftest.*; do case $ac_file in *.c | *.C | *.o | *.obj | *.xcoff) ;; @@ -2793,13 +2800,13 @@ echo "$ECHO_T""${ac_cv_exeext}" 1>&6 ac_exeext=$EXEEXT echo $ECHO_N "checking for object suffix... $ECHO_C" 1>&6 -echo "configure:2797: checking for object suffix" 1>&5 +echo "configure:2804: checking for object suffix" 1>&5 if test "${ac_cv_objext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else rm -f conftest* echo 'int i = 1;' >conftest.$ac_ext -if { (eval echo configure:2803: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2810: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then for ac_file in conftest.*; do case $ac_file in *.c) ;; @@ -2888,7 +2895,7 @@ else fi echo $ECHO_N "checking build system type... $ECHO_C" 1>&6 -echo "configure:2892: checking build system type" 1>&5 +echo "configure:2899: checking build system type" 1>&5 if test "x$ac_cv_build" = "x" || (test "x$build" != "xNONE" && test "x$build" != "x$ac_cv_build_alias"); then # Make sure we can run config.sub. @@ -2934,7 +2941,7 @@ ac_prog=ld if test "$ac_cv_prog_gcc" = yes; then # Check if gcc -print-prog-name=ld gives a path. echo $ECHO_N "checking for ld used by GCC... $ECHO_C" 1>&6 -echo "configure:2938: checking for ld used by GCC" 1>&5 +echo "configure:2945: checking for ld used by GCC" 1>&5 case $lt_target in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw @@ -2964,10 +2971,10 @@ echo "configure:2938: checking for ld used by GCC" 1>&5 esac elif test "$with_gnu_ld" = yes; then echo $ECHO_N "checking for GNU ld... $ECHO_C" 1>&6 -echo "configure:2968: checking for GNU ld" 1>&5 +echo "configure:2975: checking for GNU ld" 1>&5 else echo $ECHO_N "checking for non-GNU ld... $ECHO_C" 1>&6 -echo "configure:2971: checking for non-GNU ld" 1>&5 +echo "configure:2978: checking for non-GNU ld" 1>&5 fi if test "${ac_cv_path_LD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 @@ -3002,7 +3009,7 @@ else fi test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" 1>&6 -echo "configure:3006: checking if the linker ($LD) is GNU ld" 1>&5 +echo "configure:3013: checking if the linker ($LD) is GNU ld" 1>&5 if test "${ac_cv_prog_gnu_ld+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -3017,7 +3024,7 @@ echo "$ECHO_T""$ac_cv_prog_gnu_ld" 1>&6 with_gnu_ld=$ac_cv_prog_gnu_ld echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" 1>&6 -echo "configure:3021: checking for $LD option to reload object files" 1>&5 +echo "configure:3028: checking for $LD option to reload object files" 1>&5 if test "${lt_cv_ld_reload_flag+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -3028,7 +3035,7 @@ reload_flag=$lt_cv_ld_reload_flag test -n "$reload_flag" && reload_flag=" $reload_flag" echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" 1>&6 -echo "configure:3032: checking for BSD-compatible nm" 1>&5 +echo "configure:3039: checking for BSD-compatible nm" 1>&5 if test "${ac_cv_path_NM+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -3064,7 +3071,7 @@ NM="$ac_cv_path_NM" echo "$ECHO_T""$NM" 1>&6 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" 1>&6 -echo "configure:3068: checking how to recognise dependant libraries" 1>&5 +echo "configure:3075: checking how to recognise dependant libraries" 1>&5 if test "${lt_cv_deplibs_check_method+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -3188,7 +3195,7 @@ file_magic*) if test "$file_magic_cmd" = '${MAGIC}'; then echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" 1>&6 -echo "configure:3192: checking for ${ac_tool_prefix}file" 1>&5 +echo "configure:3199: checking for ${ac_tool_prefix}file" 1>&5 if test "${lt_cv_path_MAGIC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -3250,7 +3257,7 @@ fi if test -z "$lt_cv_path_MAGIC"; then if test -n "$ac_tool_prefix"; then echo $ECHO_N "checking for file... $ECHO_C" 1>&6 -echo "configure:3254: checking for file" 1>&5 +echo "configure:3261: checking for file" 1>&5 if test "${lt_cv_path_MAGIC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -3326,7 +3333,7 @@ esac # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6 -echo "configure:3330: checking for $ac_word" 1>&5 +echo "configure:3337: checking for $ac_word" 1>&5 if test "${ac_cv_prog_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -3360,7 +3367,7 @@ if test -z "$ac_cv_prog_RANLIB"; then # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6 -echo "configure:3364: checking for $ac_word" 1>&5 +echo "configure:3371: checking for $ac_word" 1>&5 if test "${ac_cv_prog_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -3398,7 +3405,7 @@ fi # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6 -echo "configure:3402: checking for $ac_word" 1>&5 +echo "configure:3409: checking for $ac_word" 1>&5 if test "${ac_cv_prog_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -3432,7 +3439,7 @@ if test -z "$ac_cv_prog_STRIP"; then # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6 -echo "configure:3436: checking for $ac_word" 1>&5 +echo "configure:3443: checking for $ac_word" 1>&5 if test "${ac_cv_prog_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -3498,8 +3505,8 @@ test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic" case "$lt_target" in *-*-irix6*) # Find out which ABI we are using. - echo '#line 3502 "configure"' > conftest.$ac_ext - if { (eval echo configure:3503: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + echo '#line 3509 "configure"' > conftest.$ac_ext + if { (eval echo configure:3510: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then case "`/usr/bin/file conftest.o`" in *32-bit*) LD="${LD-ld} -32" @@ -3520,7 +3527,7 @@ case "$lt_target" in SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -belf" echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" 1>&6 -echo "configure:3524: checking whether the C compiler needs -belf" 1>&5 +echo "configure:3531: checking whether the C compiler needs -belf" 1>&5 if test "${lt_cv_cc_needs_belf+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -3533,7 +3540,7 @@ ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$a cross_compiling=$ac_cv_prog_cc_cross cat >conftest.$ac_ext <<EOF -#line 3537 "configure" +#line 3544 "configure" #include "confdefs.h" int @@ -3544,7 +3551,7 @@ main() return 0; } EOF -if { (eval echo configure:3548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* lt_cv_cc_needs_belf=yes else @@ -3588,7 +3595,7 @@ esac # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6 -echo "configure:3592: checking for $ac_word" 1>&5 +echo "configure:3599: checking for $ac_word" 1>&5 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -3621,7 +3628,7 @@ fi # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6 -echo "configure:3625: checking for $ac_word" 1>&5 +echo "configure:3632: checking for $ac_word" 1>&5 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -3675,7 +3682,7 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6 -echo "configure:3679: checking for $ac_word" 1>&5 +echo "configure:3686: checking for $ac_word" 1>&5 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -3713,7 +3720,7 @@ done test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } echo $ECHO_N "checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works... $ECHO_C" 1>&6 -echo "configure:3717: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works" 1>&5 +echo "configure:3724: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works" 1>&5 ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. @@ -3724,12 +3731,12 @@ cross_compiling=$ac_cv_prog_cc_cross cat >conftest.$ac_ext <<EOF -#line 3728 "configure" +#line 3735 "configure" #include "confdefs.h" int main(){return(0);} EOF -if { (eval echo configure:3733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ac_cv_prog_cc_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then @@ -3755,12 +3762,12 @@ if test $ac_cv_prog_cc_works = no; then { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 77; } fi echo $ECHO_N "checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) is a cross-compiler... $ECHO_C" 1>&6 -echo "configure:3759: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) is a cross-compiler" 1>&5 +echo "configure:3766: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) is a cross-compiler" 1>&5 echo "$ECHO_T""$ac_cv_prog_cc_cross" 1>&6 cross_compiling=$ac_cv_prog_cc_cross echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" 1>&6 -echo "configure:3764: checking whether we are using GNU C" 1>&5 +echo "configure:3771: checking whether we are using GNU C" 1>&5 if test "${ac_cv_prog_gcc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -3769,7 +3776,7 @@ else yes; #endif EOF -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:3773: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:3780: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gcc=yes else ac_cv_prog_gcc=no @@ -3787,7 +3794,7 @@ ac_test_CFLAGS="${CFLAGS+set}" ac_save_CFLAGS="$CFLAGS" CFLAGS= echo $ECHO_N "checking whether ${CC-cc} accepts -g... $ECHO_C" 1>&6 -echo "configure:3791: checking whether ${CC-cc} accepts -g" 1>&5 +echo "configure:3798: checking whether ${CC-cc} accepts -g" 1>&5 if test "${ac_cv_prog_cc_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -3820,7 +3827,7 @@ fi depcc="$CC" depcpp="$CPP" echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" 1>&6 -echo "configure:3824: checking dependency style of $depcc" 1>&5 +echo "configure:3831: checking dependency style of $depcc" 1>&5 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -3948,12 +3955,12 @@ LIBTOOL='$(SHELL) $(top_builddir)/libtool' exec 5>>./config.log echo $ECHO_N "checking whether optarg is declared... $ECHO_C" 1>&6 -echo "configure:3952: checking whether optarg is declared" 1>&5 +echo "configure:3959: checking whether optarg is declared" 1>&5 if test "${ac_cv_have_decl_optarg+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else cat >conftest.$ac_ext <<EOF -#line 3957 "configure" +#line 3964 "configure" #include "confdefs.h" $ac_includes_default int @@ -3967,7 +3974,7 @@ main () return 0; } EOF -if { (eval echo configure:3971: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_have_decl_optarg=yes else @@ -3992,13 +3999,13 @@ EOF fi echo $ECHO_N "checking for ANSI C header files... $ECHO_C" 1>&6 -echo "configure:3996: checking for ANSI C header files" 1>&5 +echo "configure:4003: checking for ANSI C header files" 1>&5 if test "${ac_cv_header_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else cat >conftest.$ac_ext <<EOF -#line 4002 "configure" +#line 4009 "configure" #include "confdefs.h" #include <stdlib.h> #include <stdarg.h> @@ -4007,7 +4014,7 @@ cat >conftest.$ac_ext <<EOF EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4011: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:4018: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -4025,7 +4032,7 @@ if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat >conftest.$ac_ext <<EOF -#line 4029 "configure" +#line 4036 "configure" #include "confdefs.h" #include <string.h> @@ -4045,7 +4052,7 @@ if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat >conftest.$ac_ext <<EOF -#line 4049 "configure" +#line 4056 "configure" #include "confdefs.h" #include <stdlib.h> @@ -4067,7 +4074,7 @@ if test "$cross_compiling" = yes; then : else cat >conftest.$ac_ext <<EOF -#line 4071 "configure" +#line 4078 "configure" #include "confdefs.h" #include <ctype.h> #if ((' ' & 0x0FF) == 0x020) @@ -4092,7 +4099,7 @@ main () exit (0); } EOF -if { (eval echo configure:4096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:4103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then : else @@ -4116,12 +4123,12 @@ EOF fi echo $ECHO_N "checking for void... $ECHO_C" 1>&6 -echo "configure:4120: checking for void" 1>&5 +echo "configure:4127: checking for void" 1>&5 if test "${ac_cv_type_void+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else cat >conftest.$ac_ext <<EOF -#line 4125 "configure" +#line 4132 "configure" #include "confdefs.h" $ac_includes_default int @@ -4135,7 +4142,7 @@ if (sizeof (void)) return 0; } EOF -if { (eval echo configure:4139: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4146: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_type_void=yes else @@ -4155,13 +4162,13 @@ EOF fi echo $ECHO_N "checking for preprocessor stringizing operator... $ECHO_C" 1>&6 -echo "configure:4159: checking for preprocessor stringizing operator" 1>&5 +echo "configure:4166: checking for preprocessor stringizing operator" 1>&5 if test "${ac_cv_c_stringize+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else cat >conftest.$ac_ext <<EOF -#line 4165 "configure" +#line 4172 "configure" #include "confdefs.h" #define x(y) #y @@ -4314,7 +4321,14 @@ echo "define_not_for_expansion(\`HAVE_TARGET_CPU_$target_cpu')" >> $gmp_tmpconfi # file contains. The multifunc files are symlinked to <funcname>.asm # and preprocessed with -DOPERATION_<funcname>. -path="$path generic" +# If the user specified `mpn_path', use that instead of the path we've +# come up with. +if test -z "$mpn_path"; then + path="$path generic" +else + path="$mpn_path" +fi + mpn_objects= gmp_mpn_functions="${extra_functions} inlines add_n sub_n mul_1 addmul_1 \ submul_1 lshift rshift diveby3 divmod_1 divrem divrem_1 divrem_2 \ |