From 5c92694a8c8eaa09a17700fa2115cb87af3d1265 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Mon, 17 Apr 2000 16:09:11 +0200 Subject: Regenerate for: (ns32k*-*-*): Fix typo in path. Change by Kevin. (alpha*-*-osf*): New case. Pass assembly flags for architecture to gcc. (alpha*-*-*): Don't bother searching for cc. --- configure | 238 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 124 insertions(+), 114 deletions(-) diff --git a/configure b/configure index 027ac22a2..f7e8fb4b3 100755 --- a/configure +++ b/configure @@ -1119,13 +1119,23 @@ case "$target" in cclist=cc gmp_cflags_cc="$gmp_cflags_cc -O" ;; - alpha*-*-*) + alpha*-*-osf*) flavour=`echo $target_cpu | sed 's/^alpha//g'` if test -n "$flavour"; then gmp_optcflags_gcc="-mcpu=$flavour" + # FIXME: We shouldn't fail fatally if none of these work, but that's + # how xoptcflags work and we don't have any other mechanism right now. + gmp_xoptcflags_gcc="-Wa,-arch,${flavour} -Wa,-m${flavour}" gmp_cflags_cc="$gmp_cflags_cc -arch $flavour -tune $flavour" fi ;; + alpha*-*-*) + cclist="gcc" + flavour=`echo $target_cpu | sed 's/^alpha//g'` + if test -n "$flavour"; then + gmp_optcflags_gcc="-mcpu=$flavour" + fi + ;; # x86 *-*-freebsd[34]*) # hides generic *bsd* alternative @@ -1298,7 +1308,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:1302: checking for $ac_word" 1>&5 +echo "configure:1312: checking for $ac_word" 1>&5 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -1332,7 +1342,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:1336: checking for $ac_word" 1>&5 +echo "configure:1346: checking for $ac_word" 1>&5 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -1381,12 +1391,12 @@ CFLAGS="$c_flags" # Simple test for all targets. cat >conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1400: \"$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 @@ -1406,9 +1416,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:1410: checking if the C compiler ($CC $CFLAGS) works (returning a function pointer)" 1>&5 +echo "configure:1420: checking if the C compiler ($CC $CFLAGS) works (returning a function pointer)" 1>&5 cat >conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1433: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* tmp_works=yes else @@ -1454,7 +1464,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:1458: checking whether the C compiler ($CC) is 64-bit capable" 1>&5 +echo "configure:1468: checking whether the C compiler ($CC) is 64-bit capable" 1>&5 gmp_tmp_CFLAGS_save="$CFLAGS" CFLAGS="$c_flags" @@ -1488,7 +1498,7 @@ echo "configure:1458: 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 <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1513: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* gmp_cv_cc_64bit=yes else @@ -1519,13 +1529,13 @@ rm -f conftest* gmp_cv_cc_64bit=no else cat >conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:1539: \"$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 @@ -1574,7 +1584,7 @@ CC="$CC32" CFLAGS_save="$CFLAGS" CFLAGS="$CFLAGS $optcflags" echo $ECHO_N "checking whether $CC accepts $optcflags... $ECHO_C" 1>&6 -echo "configure:1578: checking whether $CC accepts $optcflags" 1>&5 +echo "configure:1588: 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' @@ -1584,12 +1594,12 @@ cross_compiling=$ac_cv_prog_cc_cross cat >conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1603: \"$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 @@ -1618,7 +1628,7 @@ rm -fr conftest* CFLAGS_save="$CFLAGS" CFLAGS="$CFLAGS $xopt" echo $ECHO_N "checking whether $CC accepts $xopt... $ECHO_C" 1>&6 -echo "configure:1622: checking whether $CC accepts $xopt" 1>&5 +echo "configure:1632: checking whether $CC accepts $xopt" 1>&5 ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' @@ -1628,12 +1638,12 @@ cross_compiling=$ac_cv_prog_cc_cross cat >conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1647: \"$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 @@ -1672,7 +1682,7 @@ test -n "$gmp_user_CFLAGS" && CFLAGS="$gmp_user_CFLAGS" # Select chosen compiler. echo $ECHO_N "checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works... $ECHO_C" 1>&6 -echo "configure:1676: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works" 1>&5 +echo "configure:1686: 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. @@ -1683,12 +1693,12 @@ cross_compiling=$ac_cv_prog_cc_cross cat >conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1702: \"$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 @@ -1714,12 +1724,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:1718: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) is a cross-compiler" 1>&5 +echo "configure:1728: 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:1723: checking whether we are using GNU C" 1>&5 +echo "configure:1733: 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 @@ -1728,7 +1738,7 @@ else yes; #endif EOF -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1732: \"$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:1742: \"$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 @@ -1760,7 +1770,7 @@ fi CCAS="$CC -c" echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" 1>&6 -echo "configure:1764: checking how to run the C preprocessor" 1>&5 +echo "configure:1774: 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= @@ -1776,13 +1786,13 @@ else # not just through cpp. cat >conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1796: \"$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 : @@ -1794,13 +1804,13 @@ else CPP="${CC-cc} -E -traditional-cpp" cat >conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1804: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1814: \"$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 : @@ -1812,13 +1822,13 @@ else CPP="${CC-cc} -nologo -E" cat >conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1822: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1832: \"$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 : @@ -1854,7 +1864,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:1858: checking for a BSD compatible install" 1>&5 +echo "configure:1868: 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 @@ -1911,7 +1921,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:1915: checking whether ln -s works" 1>&5 +echo "configure:1925: 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 @@ -1934,7 +1944,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:1938: checking for $ac_word" 1>&5 +echo "configure:1948: checking for $ac_word" 1>&5 if test "${ac_cv_prog_M4+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -1972,7 +1982,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:1976: checking for $ac_word" 1>&5 +echo "configure:1986: checking for $ac_word" 1>&5 if test "${ac_cv_prog_AR+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -2006,7 +2016,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:2010: checking for $ac_word" 1>&5 +echo "configure:2020: checking for $ac_word" 1>&5 if test "${ac_cv_prog_AR+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -2044,7 +2054,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:2048: checking for $ac_word" 1>&5 +echo "configure:2058: checking for $ac_word" 1>&5 if test "${ac_cv_prog_NM+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -2078,7 +2088,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:2082: checking for $ac_word" 1>&5 +echo "configure:2092: checking for $ac_word" 1>&5 if test "${ac_cv_prog_NM+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -2127,7 +2137,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:2131: checking how to switch to text section" 1>&5 +echo "configure:2141: 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 @@ -2146,7 +2156,7 @@ echo "$ECHO_T""$gmp_cv_check_asm_text" 1>&6 echo "define(, <$gmp_cv_check_asm_text>)" >> $gmp_tmpconfigm4 echo $ECHO_N "checking how to switch to data section... $ECHO_C" 1>&6 -echo "configure:2150: checking how to switch to data section" 1>&5 +echo "configure:2160: 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 @@ -2164,7 +2174,7 @@ echo "$ECHO_T""$gmp_cv_check_asm_data" 1>&6 echo "define(, <$gmp_cv_check_asm_data>)" >> $gmp_tmpconfigm4 echo $ECHO_N "checking how to export a symbol... $ECHO_C" 1>&6 -echo "configure:2168: checking how to export a symbol" 1>&5 +echo "configure:2178: 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 @@ -2178,7 +2188,7 @@ echo "$ECHO_T""$gmp_cv_check_asm_globl" 1>&6 echo "define(, <$gmp_cv_check_asm_globl>)" >> $gmp_tmpconfigm4 echo $ECHO_N "checking what assembly label suffix to use... $ECHO_C" 1>&6 -echo "configure:2182: checking what assembly label suffix to use" 1>&5 +echo "configure:2192: 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 @@ -2192,14 +2202,14 @@ echo "$ECHO_T""$gmp_cv_check_asm_label_suffix" 1>&6 echo "define(, <\$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:2196: checking how the .type assembly directive should be used" 1>&5 +echo "configure:2206: 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:2203: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then + if { (eval echo configure:2213: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then gmp_cv_check_asm_type=".type \$1,${gmp_tmp_prefix}\$2" break fi @@ -2213,13 +2223,13 @@ echo "$ECHO_T""$gmp_cv_check_asm_type" 1>&6 echo "define(, <$gmp_cv_check_asm_type>)" >> $gmp_tmpconfigm4 echo $ECHO_N "checking if the .size assembly directive works... $ECHO_C" 1>&6 -echo "configure:2217: checking if the .size assembly directive works" 1>&5 +echo "configure:2227: 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:2223: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then +if { (eval echo configure:2233: \"$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" @@ -2230,7 +2240,7 @@ echo "$ECHO_T""$gmp_cv_check_asm_size" 1>&6 echo "define(, <$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:2234: checking what prefix to use for a local label" 1>&5 +echo "configure:2244: 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 @@ -2246,7 +2256,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:2250: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then + if { (eval echo configure:2260: \"$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 @@ -2270,7 +2280,7 @@ echo "$ECHO_T""$gmp_cv_check_asm_lsym_prefix" 1>&6 echo "define(, <${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:2274: checking how to [define] a 32-bit word" 1>&5 +echo "configure:2284: 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 @@ -2299,7 +2309,7 @@ case "$target" in foo${gmp_cv_check_asm_label_suffix} .byte 0 EOF - if { (eval echo configure:2303: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then + if { (eval echo configure:2313: \"$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;'` @@ -2323,17 +2333,17 @@ echo "$ECHO_T""$gmp_cv_check_asm_w32" 1>&6 echo "define(, <$gmp_cv_check_asm_w32>)" >> $gmp_tmpconfigm4 echo $ECHO_N "checking if symbols are prefixed by underscore... $ECHO_C" 1>&6 -echo "configure:2327: checking if symbols are prefixed by underscore" 1>&5 +echo "configure:2337: 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 <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2347: \"$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 @@ -2360,7 +2370,7 @@ echo 'define(, <>)' >> $gmp_tmpconfigm4 fi echo $ECHO_N "checking if .align assembly directive is logarithmic... $ECHO_C" 1>&6 -echo "configure:2364: checking if .align assembly directive is logarithmic" 1>&5 +echo "configure:2374: 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 @@ -2378,7 +2388,7 @@ foo$gmp_cv_check_asm_label_suffix .byte 2 EOF ac_assemble="$CCAS $CFLAGS conftest.s 1>&5" -if { (eval echo configure:2382: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then +if { (eval echo configure:2392: \"$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;'` @@ -2491,7 +2501,7 @@ case ${target} in path= echo $ECHO_N "checking if the assembler knows about MMX instructions... $ECHO_C" 1>&6 -echo "configure:2495: checking if the assembler knows about MMX instructions" 1>&5 +echo "configure:2505: 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 @@ -2500,7 +2510,7 @@ else por %mm0, %mm0 EOF ac_assemble="$CCAS $CFLAGS conftest.s 1>&5" -if { (eval echo configure:2504: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then +if { (eval echo configure:2514: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then gmp_cv_check_asm_mmx=yes else gmp_cv_check_asm_mmx=no @@ -2535,7 +2545,7 @@ fi path= echo $ECHO_N "checking if the assembler knows about MMX instructions... $ECHO_C" 1>&6 -echo "configure:2539: checking if the assembler knows about MMX instructions" 1>&5 +echo "configure:2549: 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 @@ -2544,7 +2554,7 @@ else por %mm0, %mm0 EOF ac_assemble="$CCAS $CFLAGS conftest.s 1>&5" -if { (eval echo configure:2548: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then +if { (eval echo configure:2558: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then gmp_cv_check_asm_mmx=yes else gmp_cv_check_asm_mmx=no @@ -2573,7 +2583,7 @@ fi k6*-*-*) echo $ECHO_N "checking if the assembler knows about MMX instructions... $ECHO_C" 1>&6 -echo "configure:2577: checking if the assembler knows about MMX instructions" 1>&5 +echo "configure:2587: 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 @@ -2582,7 +2592,7 @@ else por %mm0, %mm0 EOF ac_assemble="$CCAS $CFLAGS conftest.s 1>&5" -if { (eval echo configure:2586: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then +if { (eval echo configure:2596: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then gmp_cv_check_asm_mmx=yes else gmp_cv_check_asm_mmx=no @@ -2623,7 +2633,7 @@ fi path= echo $ECHO_N "checking if the assembler knows about MMX instructions... $ECHO_C" 1>&6 -echo "configure:2627: checking if the assembler knows about MMX instructions" 1>&5 +echo "configure:2637: 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 @@ -2632,7 +2642,7 @@ else por %mm0, %mm0 EOF ac_assemble="$CCAS $CFLAGS conftest.s 1>&5" -if { (eval echo configure:2636: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then +if { (eval echo configure:2646: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then gmp_cv_check_asm_mmx=yes else gmp_cv_check_asm_mmx=no @@ -2674,7 +2684,7 @@ fi m88k*-*-* | m88k*-*-*) path="m88k";; m88110*-*-*) path="m88k/mc88110 m88k";; - ns32k*-*-*) path="n32k";; + ns32k*-*-*) path="ns32k";; pyramid-*-*) path="pyr";; @@ -2706,7 +2716,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:2710: checking if the assembler takes cl with shldl" 1>&5 +echo "configure:2720: 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 @@ -2715,7 +2725,7 @@ else shldl %cl, %eax, %ebx EOF ac_assemble="$CCAS $CFLAGS conftest.s 1>&5" -if { (eval echo configure:2719: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then +if { (eval echo configure:2729: \"$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 @@ -2738,12 +2748,12 @@ fi esac echo $ECHO_N "checking for Cygwin environment... $ECHO_C" 1>&6 -echo "configure:2742: checking for Cygwin environment" 1>&5 +echo "configure:2752: 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 <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2771: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_cygwin=yes else @@ -2772,12 +2782,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:2776: checking for mingw32 environment" 1>&5 +echo "configure:2786: 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 <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2802: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_mingw32=yes else @@ -2803,12 +2813,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:2807: checking for EMX OS/2 environment" 1>&5 +echo "configure:2817: 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 <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2833: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_emxos2=yes else @@ -2835,7 +2845,7 @@ EMXOS2= test "$ac_cv_emxos2" = yes && EMXOS2=yes echo $ECHO_N "checking for executable suffix... $ECHO_C" 1>&6 -echo "configure:2839: checking for executable suffix" 1>&5 +echo "configure:2849: checking for executable suffix" 1>&5 if test "${ac_cv_exeext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -2845,7 +2855,7 @@ else rm -f conftest* echo 'int main () { return 0; }' >conftest.$ac_ext ac_cv_exeext= - if { (eval echo configure:2849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then + if { (eval echo configure:2859: \"$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) ;; @@ -2866,13 +2876,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:2870: checking for object suffix" 1>&5 +echo "configure:2880: 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:2876: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2886: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then for ac_file in conftest.*; do case $ac_file in *.c) ;; @@ -2961,7 +2971,7 @@ else fi echo $ECHO_N "checking build system type... $ECHO_C" 1>&6 -echo "configure:2965: checking build system type" 1>&5 +echo "configure:2975: 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. @@ -3007,7 +3017,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:3011: checking for ld used by GCC" 1>&5 +echo "configure:3021: checking for ld used by GCC" 1>&5 case $lt_target in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw @@ -3037,10 +3047,10 @@ echo "configure:3011: 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:3041: checking for GNU ld" 1>&5 +echo "configure:3051: checking for GNU ld" 1>&5 else echo $ECHO_N "checking for non-GNU ld... $ECHO_C" 1>&6 -echo "configure:3044: checking for non-GNU ld" 1>&5 +echo "configure:3054: 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 @@ -3075,7 +3085,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:3079: checking if the linker ($LD) is GNU ld" 1>&5 +echo "configure:3089: 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 @@ -3090,7 +3100,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:3094: checking for $LD option to reload object files" 1>&5 +echo "configure:3104: 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 @@ -3101,7 +3111,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:3105: checking for BSD-compatible nm" 1>&5 +echo "configure:3115: 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 @@ -3137,7 +3147,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:3141: checking how to recognise dependant libraries" 1>&5 +echo "configure:3151: 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 @@ -3261,7 +3271,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:3265: checking for ${ac_tool_prefix}file" 1>&5 +echo "configure:3275: 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 @@ -3323,7 +3333,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:3327: checking for file" 1>&5 +echo "configure:3337: checking for file" 1>&5 if test "${lt_cv_path_MAGIC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -3399,7 +3409,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:3403: checking for $ac_word" 1>&5 +echo "configure:3413: checking for $ac_word" 1>&5 if test "${ac_cv_prog_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -3433,7 +3443,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:3437: checking for $ac_word" 1>&5 +echo "configure:3447: checking for $ac_word" 1>&5 if test "${ac_cv_prog_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -3471,7 +3481,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:3475: checking for $ac_word" 1>&5 +echo "configure:3485: checking for $ac_word" 1>&5 if test "${ac_cv_prog_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -3505,7 +3515,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:3509: checking for $ac_word" 1>&5 +echo "configure:3519: checking for $ac_word" 1>&5 if test "${ac_cv_prog_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" 1>&6 else @@ -3571,8 +3581,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 3575 "configure"' > conftest.$ac_ext - if { (eval echo configure:3576: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + echo '#line 3585 "configure"' > conftest.$ac_ext + if { (eval echo configure:3586: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then case "`/usr/bin/file conftest.o`" in *32-bit*) LD="${LD-ld} -32" @@ -3593,7 +3603,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:3597: checking whether the C compiler needs -belf" 1>&5 +echo "configure:3607: 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 @@ -3606,7 +3616,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 <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3631: \"$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 @@ -3722,12 +3732,12 @@ LIBTOOL='$(SHELL) $(top_builddir)/libtool' exec 5>>./config.log echo $ECHO_N "checking whether optarg is declared... $ECHO_C" 1>&6 -echo "configure:3726: checking whether optarg is declared" 1>&5 +echo "configure:3736: 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 <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3755: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_have_decl_optarg=yes else @@ -3766,13 +3776,13 @@ EOF fi echo $ECHO_N "checking for ANSI C header files... $ECHO_C" 1>&6 -echo "configure:3770: checking for ANSI C header files" 1>&5 +echo "configure:3780: 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 < #include @@ -3781,7 +3791,7 @@ cat >conftest.$ac_ext <&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3795: \"$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* @@ -3799,7 +3809,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 < @@ -3819,7 +3829,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 < @@ -3841,7 +3851,7 @@ if test "$cross_compiling" = yes; then : else cat >conftest.$ac_ext < #if ((' ' & 0x0FF) == 0x020) @@ -3866,7 +3876,7 @@ main () exit (0); } EOF -if { (eval echo configure:3870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then : else @@ -3890,12 +3900,12 @@ EOF fi echo $ECHO_N "checking for void... $ECHO_C" 1>&6 -echo "configure:3894: checking for void" 1>&5 +echo "configure:3904: 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 <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3923: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_type_void=yes else @@ -3929,13 +3939,13 @@ EOF fi echo $ECHO_N "checking for preprocessor stringizing operator... $ECHO_C" 1>&6 -echo "configure:3933: checking for preprocessor stringizing operator" 1>&5 +echo "configure:3943: 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 <