summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2003-10-15 03:28:10 +0200
committerKevin Ryde <user42@zip.com.au>2003-10-15 03:28:10 +0200
commit4ff40d2dd3a982590c73c1c03de3b970be03937c (patch)
treed5a52fedcd57b0fcfb00f6f9f8e82664ea7995d1 /configure
parentf5b9c2c8f5e6d42595260190b02519184ad247d2 (diff)
downloadgmp-4ff40d2dd3a982590c73c1c03de3b970be03937c.tar.gz
Regenerate for:
* configure.in, acinclude.m4 (GMP_C_RIGHT_SHIFT): New test. * mpn/amd64/amd64-defs.m4: New file, with a non-aligning PROLOGUE. * configure.in (amd64-*-*): Use it.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure112
1 files changed, 84 insertions, 28 deletions
diff --git a/configure b/configure
index 23dd8e86c..466b2bf01 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Revision: 1.571 .
+# From configure.in Revision: 1.573 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.57 for GNU MP 4.1.
#
@@ -2551,6 +2551,9 @@ echo "include_mpn(\`alpha/default.m4')" >> $gmp_tmpconfigm4i
amd64-*-*)
SPEED_CYCLECOUNTER_OBJ=amd64.lo
path="amd64"
+
+echo "include_mpn(\`amd64/amd64-defs.m4')" >> $gmp_tmpconfigm4i
+
;;
@@ -8924,7 +8927,7 @@ ia64-*-hpux*)
;;
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 8927 "configure"' > conftest.$ac_ext
+ echo '#line 8930 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
@@ -10344,11 +10347,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:10347: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:10350: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:10351: \$? = $ac_status" >&5
+ echo "$as_me:10354: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -10576,11 +10579,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:10579: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:10582: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:10583: \$? = $ac_status" >&5
+ echo "$as_me:10586: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -10643,11 +10646,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:10646: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:10649: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:10650: \$? = $ac_status" >&5
+ echo "$as_me:10653: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -12655,7 +12658,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 12658 "configure"
+#line 12661 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12753,7 +12756,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 12756 "configure"
+#line 12759 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -14885,11 +14888,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:14888: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:14891: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:14892: \$? = $ac_status" >&5
+ echo "$as_me:14895: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -14952,11 +14955,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:14955: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:14958: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:14959: \$? = $ac_status" >&5
+ echo "$as_me:14962: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -16195,7 +16198,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 16198 "configure"
+#line 16201 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -16293,7 +16296,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 16296 "configure"
+#line 16299 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -17115,11 +17118,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:17118: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:17121: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:17122: \$? = $ac_status" >&5
+ echo "$as_me:17125: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -17182,11 +17185,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:17185: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:17188: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:17189: \$? = $ac_status" >&5
+ echo "$as_me:17192: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -19122,11 +19125,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:19125: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:19128: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:19129: \$? = $ac_status" >&5
+ echo "$as_me:19132: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -19354,11 +19357,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:19357: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:19360: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:19361: \$? = $ac_status" >&5
+ echo "$as_me:19364: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -19421,11 +19424,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:19424: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:19427: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:19428: \$? = $ac_status" >&5
+ echo "$as_me:19431: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -21433,7 +21436,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 21436 "configure"
+#line 21439 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -21531,7 +21534,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 21534 "configure"
+#line 21537 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -24344,6 +24347,59 @@ _ACEOF
fi
+echo "$as_me:$LINENO: checking whether signed right shifts are arithmetic" >&5
+echo $ECHO_N "checking whether signed right shifts are arithmetic... $ECHO_C" >&6
+if test "${gmp_cv_c_right_shift+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+int foo [(-1L >> 1) < 0L ? 1 : -1];
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ gmp_cv_c_right_shift=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+gmp_cv_c_right_shift=no
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+
+fi
+echo "$as_me:$LINENO: result: $gmp_cv_c_right_shift" >&5
+echo "${ECHO_T}$gmp_cv_c_right_shift" >&6
+if test $gmp_cv_c_right_shift = yes; then
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_RIGHT_SHIFT_ARITHMETIC 1
+_ACEOF
+
+fi
+
echo "$as_me:$LINENO: checking for inline" >&5
echo $ECHO_N "checking for inline... $ECHO_C" >&6