merge changes from gmp-3.1.1
# 3.0 3:0:0 3:0:0
# 3.0.1 3:1:0 3:0:0
# 3.1 4:0:1 4:0:1
# 3.0 3:0:0 3:0:0
# 3.0.1 3:1:0 3:0:0
# 3.1 4:0:1 4:0:1
#
#
# Starting at 3:0:0 is a slight abuse of the versioning system, but it
#
#
# Starting at 3:0:0 is a slight abuse of the versioning system, but it
LIBGMP_LT_AGE = 1
LIBMP_LT_CURRENT = 4
LIBGMP_LT_AGE = 1
LIBMP_LT_CURRENT = 4
LIBMP_LT_AGE = 1
AUTOMAKE_OPTIONS = gnu check-news no-dependencies ansi2knr
LIBMP_LT_AGE = 1
AUTOMAKE_OPTIONS = gnu check-news no-dependencies ansi2knr
-# From configure.in Revision: 1.129
+# From configure.in Revision: 1.129.2.2
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using Autoconf version 2.14a.
# Copyright (C) 1992, 93, 94, 95, 96, 98, 99, 2000
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using Autoconf version 2.14a.
# Copyright (C) 1992, 93, 94, 95, 96, 98, 99, 2000
if test "`CDPATH=: && cd $srcdir && pwd`" != "`pwd`" &&
test -f $srcdir/config.status; then
if test "`CDPATH=: && cd $srcdir && pwd`" != "`pwd`" &&
test -f $srcdir/config.status; then
gmp_cflags64_cc="-xtarget=native -xarch=v9 -xO4"
;;
sparc64-*-linux*)
gmp_cflags64_cc="-xtarget=native -xarch=v9 -xO4"
;;
sparc64-*-linux*)
+ # Need to think more about the options passed here. This isn't good for
+ # some sparc64 linux distros, since we end up not optimizing when all the
+ # options below fail.
os_64bit=yes
gmp_cflags64_gcc="$gmp_cflags64_gcc -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9"
gmp_cflags_gcc="$gmp_cflags_gcc -m32"
os_64bit=yes
gmp_cflags64_gcc="$gmp_cflags64_gcc -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9"
gmp_cflags_gcc="$gmp_cflags_gcc -m32"
esac
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" 1>&6
esac
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" 1>&6
-echo "configure:1349: checking for BSD-compatible nm" 1>&5
+echo "configure:1352: 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
if test "${ac_cv_path_NM+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
# 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
# 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:1415: checking for $ac_word" 1>&5
+echo "configure:1418: checking for $ac_word" 1>&5
if test "${ac_cv_prog_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
if test "${ac_cv_prog_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
# 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
# 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:1449: checking for $ac_word" 1>&5
+echo "configure:1452: checking for $ac_word" 1>&5
if test "${ac_cv_prog_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
if test "${ac_cv_prog_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
CC="$CC"
CFLAGS="$c_flags"
echo $ECHO_N "checking if the C compiler ($CC) works with flags $CFLAGS... $ECHO_C" 1>&6
CC="$CC"
CFLAGS="$c_flags"
echo $ECHO_N "checking if the C compiler ($CC) works with flags $CFLAGS... $ECHO_C" 1>&6
-echo "configure:1495: checking if the C compiler ($CC) works with flags $CFLAGS" 1>&5
+echo "configure:1498: checking if the C compiler ($CC) works with flags $CFLAGS" 1>&5
# Simple test for all targets.
cat >conftest.$ac_ext <<EOF
# Simple test for all targets.
cat >conftest.$ac_ext <<EOF
#include "confdefs.h"
int main(){return(0);}
EOF
#include "confdefs.h"
int main(){return(0);}
EOF
-if { (eval echo configure:1505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:1508: \"$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
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
case "$target" in
*-*-aix*) # Returning a funcptr.
cat >conftest.$ac_ext <<EOF
case "$target" in
*-*-aix*) # Returning a funcptr.
cat >conftest.$ac_ext <<EOF
#include "confdefs.h"
int
#include "confdefs.h"
int
-if { (eval echo configure:1536: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1539: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
tmp_works=yes
else
rm -rf conftest*
tmp_works=yes
else
CC="$c"
CFLAGS="$c_flags"
echo $ECHO_N "checking if the C compiler ($CC) works with flags $CFLAGS... $ECHO_C" 1>&6
CC="$c"
CFLAGS="$c_flags"
echo $ECHO_N "checking if the C compiler ($CC) works with flags $CFLAGS... $ECHO_C" 1>&6
-echo "configure:1580: checking if the C compiler ($CC) works with flags $CFLAGS" 1>&5
+echo "configure:1583: checking if the C compiler ($CC) works with flags $CFLAGS" 1>&5
# Simple test for all targets.
cat >conftest.$ac_ext <<EOF
# Simple test for all targets.
cat >conftest.$ac_ext <<EOF
#include "confdefs.h"
int main(){return(0);}
EOF
#include "confdefs.h"
int main(){return(0);}
EOF
-if { (eval echo configure:1590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:1593: \"$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
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
case "$target" in
*-*-aix*) # Returning a funcptr.
cat >conftest.$ac_ext <<EOF
case "$target" in
*-*-aix*) # Returning a funcptr.
cat >conftest.$ac_ext <<EOF
#include "confdefs.h"
int
#include "confdefs.h"
int
-if { (eval echo configure:1621: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1624: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
tmp_works=yes
else
rm -rf conftest*
tmp_works=yes
else
gmp_tmp_CC_save="$CC"
CC="$c"
echo $ECHO_N "checking whether the C compiler ($CC) is 64-bit capable... $ECHO_C" 1>&6
gmp_tmp_CC_save="$CC"
CC="$c"
echo $ECHO_N "checking whether the C compiler ($CC) is 64-bit capable... $ECHO_C" 1>&6
-echo "configure:1648: checking whether the C compiler ($CC) is 64-bit capable" 1>&5
+echo "configure:1651: checking whether the C compiler ($CC) is 64-bit capable" 1>&5
if test -z "$NM"; then
echo; echo "configure: GMP_CHECK_CC_64BIT: fatal: need nm"
exit 1
if test -z "$NM"; then
echo; echo "configure: GMP_CHECK_CC_64BIT: fatal: need nm"
exit 1
# Simply try to compile an empty main. If that succeeds return
# true.
cat >conftest.$ac_ext <<EOF
# Simply try to compile an empty main. If that succeeds return
# true.
cat >conftest.$ac_ext <<EOF
#include "confdefs.h"
int
#include "confdefs.h"
int
-if { (eval echo configure:1697: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1700: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gmp_cv_cc_64bit=yes
else
rm -rf conftest*
gmp_cv_cc_64bit=yes
else
char post=0;
EOF
gmp_compile="$CC $CFLAGS -c conftest.c 1>&5"
char post=0;
EOF
gmp_compile="$CC $CFLAGS -c conftest.c 1>&5"
- if { (eval echo configure:1716: \"$gmp_compile\") 1>&5; (eval $gmp_compile) 2>&5; }; then
+ if { (eval echo configure:1719: \"$gmp_compile\") 1>&5; (eval $gmp_compile) 2>&5; }; then
gmp_tmp_val=`$NM conftest.o | grep post | sed -e 's;[[][0-9][]]\(.*\);\1;' \
-e 's;[^1-9]*\([0-9]*\).*;\1;'`
if test "$gmp_tmp_val" = "8"; then
gmp_tmp_val=`$NM conftest.o | grep post | sed -e 's;[[][0-9][]]\(.*\);\1;' \
-e 's;[^1-9]*\([0-9]*\).*;\1;'`
if test "$gmp_tmp_val" = "8"; then
CFLAGS_save="$CFLAGS"
CFLAGS="$CFLAGS $optcflags"
echo $ECHO_N "checking whether $CC accepts $optcflags... $ECHO_C" 1>&6
CFLAGS_save="$CFLAGS"
CFLAGS="$CFLAGS $optcflags"
echo $ECHO_N "checking whether $CC accepts $optcflags... $ECHO_C" 1>&6
-echo "configure:1767: checking whether $CC accepts $optcflags" 1>&5
+echo "configure:1770: 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'
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
cat >conftest.$ac_ext <<EOF
cat >conftest.$ac_ext <<EOF
#include "confdefs.h"
int main(){return(0);}
EOF
#include "confdefs.h"
int main(){return(0);}
EOF
-if { (eval echo configure:1782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:1785: \"$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
optok=yes
# If we can't run a trivial program, we are probably using a cross compiler.
if (./conftest; exit) 2>/dev/null; then
CFLAGS_save="$CFLAGS"
CFLAGS="$CFLAGS $xopt"
echo $ECHO_N "checking whether $CC accepts $xopt... $ECHO_C" 1>&6
CFLAGS_save="$CFLAGS"
CFLAGS="$CFLAGS $xopt"
echo $ECHO_N "checking whether $CC accepts $xopt... $ECHO_C" 1>&6
-echo "configure:1811: checking whether $CC accepts $xopt" 1>&5
+echo "configure:1814: 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'
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
cat >conftest.$ac_ext <<EOF
cat >conftest.$ac_ext <<EOF
#include "confdefs.h"
int main(){return(0);}
EOF
#include "confdefs.h"
int main(){return(0);}
EOF
-if { (eval echo configure:1826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:1829: \"$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
optok=yes
# If we can't run a trivial program, we are probably using a cross compiler.
if (./conftest; exit) 2>/dev/null; then
# Select chosen compiler.
echo $ECHO_N "checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works... $ECHO_C" 1>&6
# Select chosen compiler.
echo $ECHO_N "checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works... $ECHO_C" 1>&6
-echo "configure:1865: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works" 1>&5
+echo "configure:1868: 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.
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
cat >conftest.$ac_ext <<EOF
cat >conftest.$ac_ext <<EOF
#include "confdefs.h"
int main(){return(0);}
EOF
#include "confdefs.h"
int main(){return(0);}
EOF
-if { (eval echo configure:1881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:1884: \"$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
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
{ 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: 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:1907: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) is a cross-compiler" 1>&5
+echo "configure:1910: 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 "$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:1912: checking whether we are using GNU C" 1>&5
+echo "configure:1915: 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
if test "${ac_cv_prog_gcc+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1921: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
+if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1924: \"$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
ac_cv_prog_gcc=yes
else
ac_cv_prog_gcc=no
CCAS="$CC -c"
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" 1>&6
CCAS="$CC -c"
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" 1>&6
-echo "configure:1953: checking how to run the C preprocessor" 1>&5
+echo "configure:1956: 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=
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
CPP=
# not just through cpp.
cat >conftest.$ac_ext <<EOF
# not just through cpp.
cat >conftest.$ac_ext <<EOF
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1975: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:1978: \"$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
:
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
CPP="${CC-cc} -E -traditional-cpp"
cat >conftest.$ac_ext <<EOF
CPP="${CC-cc} -E -traditional-cpp"
cat >conftest.$ac_ext <<EOF
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:1996: \"$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
:
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
CPP="${CC-cc} -nologo -E"
cat >conftest.$ac_ext <<EOF
CPP="${CC-cc} -nologo -E"
cat >conftest.$ac_ext <<EOF
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:2011: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:2014: \"$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
:
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
# 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
# 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:2047: checking for a BSD compatible install" 1>&5
+echo "configure:2050: 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
if test -z "$INSTALL"; then
if test "${ac_cv_path_install+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
echo $ECHO_N "checking whether ln -s works... $ECHO_C" 1>&6
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
echo $ECHO_N "checking whether ln -s works... $ECHO_C" 1>&6
-echo "configure:2104: checking whether ln -s works" 1>&5
+echo "configure:2107: 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
if test "${ac_cv_prog_LN_S+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
fi
echo $ECHO_N "checking for suitable m4... $ECHO_C" 1>&6
fi
echo $ECHO_N "checking for suitable m4... $ECHO_C" 1>&6
-echo "configure:2125: checking for suitable m4" 1>&5
+echo "configure:2128: checking for suitable m4" 1>&5
if test "${gmp_cv_prog_m4+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
if test "${gmp_cv_prog_m4+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
# 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
# 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:2175: checking for $ac_word" 1>&5
+echo "configure:2178: checking for $ac_word" 1>&5
if test "${ac_cv_prog_AR+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
if test "${ac_cv_prog_AR+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
if test "$gmp_no_asm_syntax_testing" != "yes"; then
echo $ECHO_N "checking how to switch to text section... $ECHO_C" 1>&6
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:2213: checking how to switch to text section" 1>&5
+echo "configure:2216: 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
if test "${gmp_cv_check_asm_text+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
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 "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:2232: checking how to switch to data section" 1>&5
+echo "configure:2235: 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
if test "${gmp_cv_check_asm_data+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
echo "define(<DATA>, <$gmp_cv_check_asm_data>)" >> $gmp_tmpconfigm4
echo $ECHO_N "checking how to export a symbol... $ECHO_C" 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:2250: checking how to export a symbol" 1>&5
+echo "configure:2253: 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
if test "${gmp_cv_check_asm_globl+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
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 "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:2264: checking what assembly label suffix to use" 1>&5
+echo "configure:2267: 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
if test "${gmp_cv_check_asm_label_suffix+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
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 "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:2278: checking how the .type assembly directive should be used" 1>&5
+echo "configure:2281: 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 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:2285: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then
+ if { (eval echo configure:2288: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then
gmp_cv_check_asm_type=".type \$1,${gmp_tmp_prefix}\$2"
break
fi
gmp_cv_check_asm_type=".type \$1,${gmp_tmp_prefix}\$2"
break
fi
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 "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:2299: checking if the .size assembly directive works" 1>&5
+echo "configure:2302: 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 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:2305: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then
+if { (eval echo configure:2308: \"$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"
gmp_cv_check_asm_size=".size \$1,\$2"
else
gmp_cv_check_asm_size="dnl"
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 "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:2316: checking what prefix to use for a local label" 1>&5
+echo "configure:2319: 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
if test "${gmp_cv_check_asm_lsym_prefix+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
${gmp_tmp_pre}gurkmacka${gmp_cv_check_asm_label_suffix}
.byte 0
EOF
${gmp_tmp_pre}gurkmacka${gmp_cv_check_asm_label_suffix}
.byte 0
EOF
- if { (eval echo configure:2332: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then
+ if { (eval echo configure:2335: \"$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
$NM conftest.o >/dev/null 2>&1
gmp_rc=$?
if test "$gmp_rc" != "0"; then
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 "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:2356: checking how to [define] a 32-bit word" 1>&5
+echo "configure:2359: 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
if test "${gmp_cv_check_asm_w32+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
foo${gmp_cv_check_asm_label_suffix}
.byte 0
EOF
foo${gmp_cv_check_asm_label_suffix}
.byte 0
EOF
- if { (eval echo configure:2385: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then
+ if { (eval echo configure:2388: \"$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;'`
gmp_tmp_val=`$NM conftest.o | grep foo | sed -e 's;[[][0-9][]]\(.*\);\1;' \
-e 's;[^1-9]*\([0-9]*\).*;\1;'`
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 "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:2409: checking if symbols are prefixed by underscore" 1>&5
+echo "configure:2412: 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
if test "${gmp_cv_check_asm_underscore+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
cat > conftest.$ac_ext <<EOF
#include "confdefs.h"
int underscore_test() {
return; }
EOF
#include "confdefs.h"
int underscore_test() {
return; }
EOF
-if { (eval echo configure:2419: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2422: \"$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
if grep _underscore_test conftest* >/dev/null; then
gmp_cv_check_asm_underscore=yes
else
fi
echo $ECHO_N "checking if .align assembly directive is logarithmic... $ECHO_C" 1>&6
fi
echo $ECHO_N "checking if .align assembly directive is logarithmic... $ECHO_C" 1>&6
-echo "configure:2446: checking if .align assembly directive is logarithmic" 1>&5
+echo "configure:2449: 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
if test "${gmp_cv_check_asm_align_log+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
.byte 2
EOF
ac_assemble="$CCAS $CFLAGS conftest.s 1>&5"
.byte 2
EOF
ac_assemble="$CCAS $CFLAGS conftest.s 1>&5"
-if { (eval echo configure:2464: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then
+if { (eval echo configure:2467: \"$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;'`
gmp_tmp_val=`$NM conftest.o | grep foo | sed -e 's;[[][0-9][]]\(.*\);\1;' \
-e 's;[^1-9]*\([0-9]*\).*;\1;'`
path="arm"
;;
sparcv9*-*-solaris2.[789]* | sparc64*-*-solaris2.[789]* | ultrasparc*-*-solaris2.[789]*)
path="arm"
;;
sparcv9*-*-solaris2.[789]* | sparc64*-*-solaris2.[789]* | ultrasparc*-*-solaris2.[789]*)
- if test -n "$CC64"; then
- path="sparc64"
- else
- path="sparc32/v9 sparc32/v8 sparc32"
+ if test -n "$CC64"
+ then path="sparc64"
+ else path="sparc32/v9 sparc32/v8 sparc32"
+ if test -n "$CC64"
+ then path="sparc64"
+ else path="sparc32/v9 sparc32/v8 sparc32"
+ fi
;;
sparcv8*-*-* | microsparc*-*-*)
path="sparc32/v8 sparc32"
;;
sparcv8*-*-* | microsparc*-*-*)
path="sparc32/v8 sparc32"
CALLING_CONVENTIONS_OBJS="x86call.o x86check.o"
echo $ECHO_N "checking if the assembler takes cl with shldl... $ECHO_C" 1>&6
CALLING_CONVENTIONS_OBJS="x86call.o x86check.o"
echo $ECHO_N "checking if the assembler takes cl with shldl... $ECHO_C" 1>&6
-echo "configure:2578: checking if the assembler takes cl with shldl" 1>&5
+echo "configure:2583: 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
if test "${gmp_cv_check_asm_shldl_cl+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
shldl %cl, %eax, %ebx
EOF
ac_assemble="$CCAS $CFLAGS conftest.s 1>&5"
shldl %cl, %eax, %ebx
EOF
ac_assemble="$CCAS $CFLAGS conftest.s 1>&5"
-if { (eval echo configure:2587: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then
+if { (eval echo configure:2592: \"$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
gmp_cv_check_asm_shldl_cl=yes
else
gmp_cv_check_asm_shldl_cl=no
fi
echo $ECHO_N "checking if the .align directive accepts an 0x90 fill in .text... $ECHO_C" 1>&6
fi
echo $ECHO_N "checking if the .align directive accepts an 0x90 fill in .text... $ECHO_C" 1>&6
-echo "configure:2607: checking if the .align directive accepts an 0x90 fill in .text" 1>&5
+echo "configure:2612: checking if the .align directive accepts an 0x90 fill in .text" 1>&5
if test "${gmp_cv_check_asm_align_fill_0x90+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
if test "${gmp_cv_check_asm_align_fill_0x90+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
pentiummmx-*-* | pentium[23]-*-* | k6*-*-* | athlon-*-*)
echo $ECHO_N "checking if the assembler knows about MMX instructions... $ECHO_C" 1>&6
pentiummmx-*-* | pentium[23]-*-* | k6*-*-* | athlon-*-*)
echo $ECHO_N "checking if the assembler knows about MMX instructions... $ECHO_C" 1>&6
-echo "configure:2644: checking if the assembler knows about MMX instructions" 1>&5
+echo "configure:2649: 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
if test "${gmp_cv_check_asm_mmx+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
por %mm0, %mm0
EOF
ac_assemble="$CCAS $CFLAGS conftest.s 1>&5"
por %mm0, %mm0
EOF
ac_assemble="$CCAS $CFLAGS conftest.s 1>&5"
-if { (eval echo configure:2653: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then
+if { (eval echo configure:2658: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then
gmp_cv_check_asm_mmx=yes
else
gmp_cv_check_asm_mmx=no
gmp_cv_check_asm_mmx=yes
else
gmp_cv_check_asm_mmx=no
fi
echo $ECHO_N "checking for Cygwin environment... $ECHO_C" 1>&6
fi
echo $ECHO_N "checking for Cygwin environment... $ECHO_C" 1>&6
-echo "configure:2817: checking for Cygwin environment" 1>&5
+echo "configure:2822: 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
if test "${ac_cv_cygwin+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
cat >conftest.$ac_ext <<EOF
#include "confdefs.h"
int
#include "confdefs.h"
int
-if { (eval echo configure:2836: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2841: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cygwin=yes
else
rm -rf conftest*
ac_cv_cygwin=yes
else
CYGWIN=
test "$ac_cv_cygwin" = yes && CYGWIN=yes
echo $ECHO_N "checking for mingw32 environment... $ECHO_C" 1>&6
CYGWIN=
test "$ac_cv_cygwin" = yes && CYGWIN=yes
echo $ECHO_N "checking for mingw32 environment... $ECHO_C" 1>&6
-echo "configure:2851: checking for mingw32 environment" 1>&5
+echo "configure:2856: 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
if test "${ac_cv_mingw32+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
cat >conftest.$ac_ext <<EOF
#include "confdefs.h"
int
#include "confdefs.h"
int
-if { (eval echo configure:2867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2872: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_mingw32=yes
else
rm -rf conftest*
ac_cv_mingw32=yes
else
MINGW32=
test "$ac_cv_mingw32" = yes && MINGW32=yes
echo $ECHO_N "checking for EMX OS/2 environment... $ECHO_C" 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:2882: checking for EMX OS/2 environment" 1>&5
+echo "configure:2887: 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
if test "${ac_cv_emxos2+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
cat >conftest.$ac_ext <<EOF
#include "confdefs.h"
int
#include "confdefs.h"
int
-if { (eval echo configure:2898: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_emxos2=yes
else
rm -rf conftest*
ac_cv_emxos2=yes
else
test "$ac_cv_emxos2" = yes && EMXOS2=yes
echo $ECHO_N "checking for executable suffix... $ECHO_C" 1>&6
test "$ac_cv_emxos2" = yes && EMXOS2=yes
echo $ECHO_N "checking for executable suffix... $ECHO_C" 1>&6
-echo "configure:2914: checking for executable suffix" 1>&5
+echo "configure:2919: checking for executable suffix" 1>&5
if test "${ac_cv_exeext+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
if test "${ac_cv_exeext+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
rm -f conftest*
echo 'int main () { return 0; }' >conftest.$ac_ext
ac_cv_exeext=
rm -f conftest*
echo 'int main () { return 0; }' >conftest.$ac_ext
ac_cv_exeext=
- if { (eval echo configure:2924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
+ if { (eval echo configure:2929: \"$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) ;;
for ac_file in conftest.*; do
case $ac_file in
*.c | *.C | *.o | *.obj | *.xcoff) ;;
ac_exeext=$EXEEXT
echo $ECHO_N "checking for object suffix... $ECHO_C" 1>&6
ac_exeext=$EXEEXT
echo $ECHO_N "checking for object suffix... $ECHO_C" 1>&6
-echo "configure:2945: checking for object suffix" 1>&5
+echo "configure:2950: 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 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:2951: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2956: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
for ac_file in conftest.*; do
case $ac_file in
*.c) ;;
for ac_file in conftest.*; do
case $ac_file in
*.c) ;;
fi
echo $ECHO_N "checking build system type... $ECHO_C" 1>&6
fi
echo $ECHO_N "checking build system type... $ECHO_C" 1>&6
-echo "configure:3039: checking build system type" 1>&5
+echo "configure:3044: 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.
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.
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
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:3085: checking for ld used by GCC" 1>&5
+echo "configure:3090: checking for ld used by GCC" 1>&5
case $lt_target in
*-*-mingw*)
# gcc leaves a trailing carriage return which upsets mingw
case $lt_target in
*-*-mingw*)
# gcc leaves a trailing carriage return which upsets mingw
esac
elif test "$with_gnu_ld" = yes; then
echo $ECHO_N "checking for GNU ld... $ECHO_C" 1>&6
esac
elif test "$with_gnu_ld" = yes; then
echo $ECHO_N "checking for GNU ld... $ECHO_C" 1>&6
-echo "configure:3115: checking for GNU ld" 1>&5
+echo "configure:3120: checking for GNU ld" 1>&5
else
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" 1>&6
else
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" 1>&6
-echo "configure:3118: checking for non-GNU ld" 1>&5
+echo "configure:3123: 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
fi
if test "${ac_cv_path_LD+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
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
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:3153: checking if the linker ($LD) is GNU ld" 1>&5
+echo "configure:3158: 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
if test "${ac_cv_prog_gnu_ld+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
with_gnu_ld=$ac_cv_prog_gnu_ld
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" 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:3168: checking for $LD option to reload object files" 1>&5
+echo "configure:3173: 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
if test "${lt_cv_ld_reload_flag+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
test -n "$reload_flag" && reload_flag=" $reload_flag"
echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" 1>&6
test -n "$reload_flag" && reload_flag=" $reload_flag"
echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" 1>&6
-echo "configure:3179: checking how to recognise dependant libraries" 1>&5
+echo "configure:3184: 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
if test "${lt_cv_deplibs_check_method+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
if test "$file_magic_cmd" = '${MAGIC}'; then
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" 1>&6
if test "$file_magic_cmd" = '${MAGIC}'; then
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" 1>&6
-echo "configure:3303: checking for ${ac_tool_prefix}file" 1>&5
+echo "configure:3308: 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
if test "${lt_cv_path_MAGIC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
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
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:3365: checking for file" 1>&5
+echo "configure:3370: checking for file" 1>&5
if test "${lt_cv_path_MAGIC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
if test "${lt_cv_path_MAGIC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
# 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
# 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:3441: checking for $ac_word" 1>&5
+echo "configure:3446: checking for $ac_word" 1>&5
if test "${ac_cv_prog_RANLIB+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
if test "${ac_cv_prog_RANLIB+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
# 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
# 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:3475: checking for $ac_word" 1>&5
+echo "configure:3480: checking for $ac_word" 1>&5
if test "${ac_cv_prog_RANLIB+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
if test "${ac_cv_prog_RANLIB+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
# 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
# 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:3513: checking for $ac_word" 1>&5
+echo "configure:3518: checking for $ac_word" 1>&5
if test "${ac_cv_prog_STRIP+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
if test "${ac_cv_prog_STRIP+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
# 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
# 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:3547: checking for $ac_word" 1>&5
+echo "configure:3552: checking for $ac_word" 1>&5
if test "${ac_cv_prog_STRIP+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
if test "${ac_cv_prog_STRIP+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
case "$lt_target" in
*-*-irix6*)
# Find out which ABI we are using.
case "$lt_target" in
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 3613 "configure"' > conftest.$ac_ext
- if { (eval echo configure:3614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ echo '#line 3618 "configure"' > conftest.$ac_ext
+ if { (eval echo configure:3619: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
case "`/usr/bin/file conftest.o`" in
*32-bit*)
LD="${LD-ld} -32"
case "`/usr/bin/file conftest.o`" in
*32-bit*)
LD="${LD-ld} -32"
SAVE_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -belf"
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" 1>&6
SAVE_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -belf"
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" 1>&6
-echo "configure:3635: checking whether the C compiler needs -belf" 1>&5
+echo "configure:3640: 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
if test "${lt_cv_cc_needs_belf+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
cross_compiling=$ac_cv_prog_cc_cross
cat >conftest.$ac_ext <<EOF
cross_compiling=$ac_cv_prog_cc_cross
cat >conftest.$ac_ext <<EOF
#include "confdefs.h"
int
#include "confdefs.h"
int
-if { (eval echo configure:3659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:3664: \"$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
rm -rf conftest*
lt_cv_cc_needs_belf=yes
else
exec 5>>./config.log
echo $ECHO_N "checking whether optarg is declared... $ECHO_C" 1>&6
exec 5>>./config.log
echo $ECHO_N "checking whether optarg is declared... $ECHO_C" 1>&6
-echo "configure:3764: checking whether optarg is declared" 1>&5
+echo "configure:3769: 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
if test "${ac_cv_have_decl_optarg+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
cat >conftest.$ac_ext <<EOF
#include "confdefs.h"
$ac_includes_default
int
#include "confdefs.h"
$ac_includes_default
int
-if { (eval echo configure:3783: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:3788: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_have_decl_optarg=yes
else
rm -rf conftest*
ac_cv_have_decl_optarg=yes
else
fi
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" 1>&6
fi
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" 1>&6
-echo "configure:3808: checking for ANSI C header files" 1>&5
+echo "configure:3813: 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
if test "${ac_cv_header_stdc+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
cat >conftest.$ac_ext <<EOF
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:3823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:3828: \"$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*
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat >conftest.$ac_ext <<EOF
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat >conftest.$ac_ext <<EOF
#include "confdefs.h"
#include <string.h>
#include "confdefs.h"
#include <string.h>
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat >conftest.$ac_ext <<EOF
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat >conftest.$ac_ext <<EOF
#include "confdefs.h"
#include <stdlib.h>
#include "confdefs.h"
#include <stdlib.h>
:
else
cat >conftest.$ac_ext <<EOF
:
else
cat >conftest.$ac_ext <<EOF
#include "confdefs.h"
#include <ctype.h>
#if ((' ' & 0x0FF) == 0x020)
#include "confdefs.h"
#include <ctype.h>
#if ((' ' & 0x0FF) == 0x020)
-if { (eval echo configure:3908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:3913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
do
ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
echo $ECHO_N "checking for $ac_header... $ECHO_C" 1>&6
do
ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
echo $ECHO_N "checking for $ac_header... $ECHO_C" 1>&6
-echo "configure:3935: checking for $ac_header" 1>&5
+echo "configure:3940: checking for $ac_header" 1>&5
if eval "test \"\${$ac_ac_Header+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
cat >conftest.$ac_ext <<EOF
if eval "test \"\${$ac_ac_Header+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
cat >conftest.$ac_ext <<EOF
#include "confdefs.h"
#include <$ac_header>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
#include "confdefs.h"
#include <$ac_header>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:3947: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:3952: \"$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*
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
done
echo $ECHO_N "checking for void... $ECHO_C" 1>&6
done
echo $ECHO_N "checking for void... $ECHO_C" 1>&6
-echo "configure:3971: checking for void" 1>&5
+echo "configure:3976: 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
if test "${ac_cv_type_void+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
cat >conftest.$ac_ext <<EOF
#include "confdefs.h"
$ac_includes_default
int
#include "confdefs.h"
$ac_includes_default
int
-if { (eval echo configure:3990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:3995: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_type_void=yes
else
rm -rf conftest*
ac_cv_type_void=yes
else
fi
echo $ECHO_N "checking for preprocessor stringizing operator... $ECHO_C" 1>&6
fi
echo $ECHO_N "checking for preprocessor stringizing operator... $ECHO_C" 1>&6
-echo "configure:4010: checking for preprocessor stringizing operator" 1>&5
+echo "configure:4015: 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
if test "${ac_cv_c_stringize+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
cat >conftest.$ac_ext <<EOF
#include "confdefs.h"
#define x(y) #y
#include "confdefs.h"
#define x(y) #y
do
ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
echo $ECHO_N "checking for $ac_func... $ECHO_C" 1>&6
do
ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
echo $ECHO_N "checking for $ac_func... $ECHO_C" 1>&6
-echo "configure:4048: checking for $ac_func" 1>&5
+echo "configure:4053: checking for $ac_func" 1>&5
if eval "test \"\${$ac_ac_var+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
cat >conftest.$ac_ext <<EOF
if eval "test \"\${$ac_ac_var+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
cat >conftest.$ac_ext <<EOF
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
-if { (eval echo configure:4081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:4086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "$ac_ac_var=yes"
else
rm -rf conftest*
eval "$ac_ac_var=yes"
else
done
echo $ECHO_N "checking if ansi2knr should be used... $ECHO_C" 1>&6
done
echo $ECHO_N "checking if ansi2knr should be used... $ECHO_C" 1>&6
-echo "configure:4103: checking if ansi2knr should be used" 1>&5
+echo "configure:4108: checking if ansi2knr should be used" 1>&5
if test "${gmp_cv_c_ansi2knr+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
cat >conftest.c <<EOF
int main (int argc, char *argv) { return 0; }
EOF
if test "${gmp_cv_c_ansi2knr+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
cat >conftest.c <<EOF
int main (int argc, char *argv) { return 0; }
EOF
-if { (eval echo configure:4110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:4115: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
gmp_cv_c_ansi2knr=no
else
gmp_cv_c_ansi2knr=yes
gmp_cv_c_ansi2knr=no
else
gmp_cv_c_ansi2knr=yes
# Ensure some checks needed by ansi2knr itself.
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" 1>&6
# Ensure some checks needed by ansi2knr itself.
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" 1>&6
-echo "configure:4126: checking for ANSI C header files" 1>&5
+echo "configure:4131: 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
if test "${ac_cv_header_stdc+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
cat >conftest.$ac_ext <<EOF
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:4141: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:4146: \"$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*
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat >conftest.$ac_ext <<EOF
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat >conftest.$ac_ext <<EOF
#include "confdefs.h"
#include <string.h>
#include "confdefs.h"
#include <string.h>
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat >conftest.$ac_ext <<EOF
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat >conftest.$ac_ext <<EOF
#include "confdefs.h"
#include <stdlib.h>
#include "confdefs.h"
#include <stdlib.h>
:
else
cat >conftest.$ac_ext <<EOF
:
else
cat >conftest.$ac_ext <<EOF
#include "confdefs.h"
#include <ctype.h>
#if ((' ' & 0x0FF) == 0x020)
#include "confdefs.h"
#include <ctype.h>
#if ((' ' & 0x0FF) == 0x020)
-if { (eval echo configure:4226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:4231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
do
ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
echo $ECHO_N "checking for $ac_header... $ECHO_C" 1>&6
do
ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
echo $ECHO_N "checking for $ac_header... $ECHO_C" 1>&6
-echo "configure:4253: checking for $ac_header" 1>&5
+echo "configure:4258: checking for $ac_header" 1>&5
if eval "test \"\${$ac_ac_Header+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
cat >conftest.$ac_ext <<EOF
if eval "test \"\${$ac_ac_Header+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" 1>&6
else
cat >conftest.$ac_ext <<EOF
#include "confdefs.h"
#include <$ac_header>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
#include "confdefs.h"
#include <$ac_header>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:4265: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:4270: \"$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*
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
# that multi-function files get grepped here repeatedly
gmp_ep="`
sed -n 's/^[ ]*MULFUNC_PROLOGUE(\(.*\))/\1/p' $tmp_file ;
# that multi-function files get grepped here repeatedly
gmp_ep="`
sed -n 's/^[ ]*MULFUNC_PROLOGUE(\(.*\))/\1/p' $tmp_file ;
- sed -n 's/^[ ]*PROLOGUE(\(.*\))/\1/p' $tmp_file
+ sed -n 's/^[ ]*PROLOGUE.*(\(.*\))/\1/p' $tmp_file
`"
for gmp_tmp in $gmp_ep; do
cat >>confdefs.h <<EOF
`"
for gmp_tmp in $gmp_ep; do
cat >>confdefs.h <<EOF
-AC_REVISION($Revision: 1.6 $)dnl
+AC_REVISION($Revision: 1.7 $)dnl
AC_PREREQ(2.14)dnl
AC_INIT(gmp-impl.h)
AC_PREREQ(2.14)dnl
AC_INIT(gmp-impl.h)
gmp_cflags64_cc="-xtarget=native -xarch=v9 -xO4"
;;
sparc64-*-linux*)
gmp_cflags64_cc="-xtarget=native -xarch=v9 -xO4"
;;
sparc64-*-linux*)
+ # Need to think more about the options passed here. This isn't good for
+ # some sparc64 linux distros, since we end up not optimizing when all the
+ # options below fail.
os_64bit=yes
gmp_cflags64_gcc="$gmp_cflags64_gcc -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9"
gmp_cflags_gcc="$gmp_cflags_gcc -m32"
os_64bit=yes
gmp_cflags64_gcc="$gmp_cflags64_gcc -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9"
gmp_cflags_gcc="$gmp_cflags_gcc -m32"
path="arm"
;;
[sparcv9*-*-solaris2.[789]* | sparc64*-*-solaris2.[789]* | ultrasparc*-*-solaris2.[789]*])
path="arm"
;;
[sparcv9*-*-solaris2.[789]* | sparc64*-*-solaris2.[789]* | ultrasparc*-*-solaris2.[789]*])
- if test -n "$CC64"; then
- path="sparc64"
- else
- path="sparc32/v9 sparc32/v8 sparc32"
+ if test -n "$CC64"
+ then path="sparc64"
+ else path="sparc32/v9 sparc32/v8 sparc32"
+ if test -n "$CC64"
+ then path="sparc64"
+ else path="sparc32/v9 sparc32/v8 sparc32"
+ fi
;;
sparcv8*-*-* | microsparc*-*-*)
path="sparc32/v8 sparc32"
;;
sparcv8*-*-* | microsparc*-*-*)
path="sparc32/v8 sparc32"
# that multi-function files get grepped here repeatedly
gmp_ep=["`
sed -n 's/^[ ]*MULFUNC_PROLOGUE(\(.*\))/\1/p' $tmp_file ;
# that multi-function files get grepped here repeatedly
gmp_ep=["`
sed -n 's/^[ ]*MULFUNC_PROLOGUE(\(.*\))/\1/p' $tmp_file ;
- sed -n 's/^[ ]*PROLOGUE(\(.*\))/\1/p' $tmp_file
+ sed -n 's/^[ ]*PROLOGUE.*(\(.*\))/\1/p' $tmp_file
`"]
for gmp_tmp in $gmp_ep; do
AC_DEFINE_UNQUOTED(HAVE_NATIVE_${gmp_tmp})
`"]
for gmp_tmp in $gmp_ep; do
AC_DEFINE_UNQUOTED(HAVE_NATIVE_${gmp_tmp})
#define mpn_sb_divrem_mn __MPN(sb_divrem_mn)
#define mpn_bz_divrem_n __MPN(bz_divrem_n)
#define mpn_sb_divrem_mn __MPN(sb_divrem_mn)
#define mpn_bz_divrem_n __MPN(bz_divrem_n)
-#define mpn_tdiv_qr __MPN(tdiv_qr)
/* #define mpn_tdiv_q __MPN(tdiv_q) */
#define mpn_kara_mul_n __MPN(kara_mul_n)
/* #define mpn_tdiv_q __MPN(tdiv_q) */
#define mpn_kara_mul_n __MPN(kara_mul_n)
mp_limb_t mpn_sb_divrem_mn _PROTO ((mp_ptr, mp_ptr, mp_size_t, mp_srcptr, mp_size_t));
mp_limb_t mpn_bz_divrem_n _PROTO ((mp_ptr, mp_ptr, mp_srcptr, mp_size_t));
mp_limb_t mpn_sb_divrem_mn _PROTO ((mp_ptr, mp_ptr, mp_size_t, mp_srcptr, mp_size_t));
mp_limb_t mpn_bz_divrem_n _PROTO ((mp_ptr, mp_ptr, mp_srcptr, mp_size_t));
-void mpn_tdiv_qr _PROTO ((mp_ptr, mp_ptr, mp_size_t, mp_srcptr, mp_size_t, mp_srcptr, mp_size_t));
/* void mpn_tdiv_q _PROTO ((mp_ptr, mp_size_t, mp_srcptr, mp_size_t, mp_srcptr, mp_size_t)); */
/* Copy NLIMBS *limbs* from SRC to DST, NLIMBS==0 allowed. */
/* void mpn_tdiv_q _PROTO ((mp_ptr, mp_size_t, mp_srcptr, mp_size_t, mp_srcptr, mp_size_t)); */
/* Copy NLIMBS *limbs* from SRC to DST, NLIMBS==0 allowed. */
mp_srcptr __s = (s); \
mp_size_t __n = (n); \
do \
mp_srcptr __s = (s); \
mp_size_t __n = (n); \
do \
while (--__n); \
} \
while (0)
while (--__n); \
} \
while (0)
#define mpn_submul_1c __MPN(submul_1c)
DLL_IMPORT mp_limb_t mpn_submul_1c _PROTO ((mp_ptr, mp_srcptr, mp_size_t, mp_limb_t, mp_limb_t));
#define mpn_submul_1c __MPN(submul_1c)
DLL_IMPORT mp_limb_t mpn_submul_1c _PROTO ((mp_ptr, mp_srcptr, mp_size_t, mp_limb_t, mp_limb_t));
+#define mpn_tdiv_qr __MPN(tdiv_qr)
+DLL_IMPORT void mpn_tdiv_qr _PROTO ((mp_ptr, mp_ptr, mp_size_t, mp_srcptr, mp_size_t, mp_srcptr, mp_size_t));
+
#if defined (__cplusplus)
}
#endif
#if defined (__cplusplus)
}
#endif
/* Note: major version number is in mp.h too */
#define __GNU_MP_VERSION 3
#define __GNU_MP_VERSION_MINOR 1
/* Note: major version number is in mp.h too */
#define __GNU_MP_VERSION 3
#define __GNU_MP_VERSION_MINOR 1
-#define __GNU_MP_VERSION_PATCHLEVEL 0
+#define __GNU_MP_VERSION_PATCHLEVEL 1
#define gmp_version __gmp_version
extern __gmp_const char *gmp_version;
#define gmp_version __gmp_version
extern __gmp_const char *gmp_version;