aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/ChangeLog5
-rwxr-xr-xbfd/configure2
-rw-r--r--bfd/configure.in2
3 files changed, 7 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index ca299e4..9cca445 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+Fri Jul 19 18:15:51 1996 Ian Lance Taylor <ian@cygnus.com>
+
+ * configure.in: Fix test for whether a compiler has a 64 bit
+ type. From Jim Wilson <wilson@cygnus.com>.
+
Thu Jul 18 15:39:10 1996 Ian Lance Taylor <ian@cygnus.com>
* configure.host (mips-sgi-irix6*): New host.
diff --git a/bfd/configure b/bfd/configure
index e5220af..0dd26bf 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -1946,7 +1946,7 @@ case ${host64}-${target64}-${want64} in
*true*)
wordsize=64
all_backends='$(BFD64_BACKENDS) $(BFD32_BACKENDS)'
- if test -z "$GCC" && test "$HOST_64BIT_LONG" = "0"; then
+ if test -z "$GCC" && test "$BFD_HOST_64BIT_LONG" = "0" && test "$BFD_HOST_64_BIT_DEFINED" = "0"; then
echo "configure: warning: You have requested a 64 bit BFD configuration, but" 1>&2
echo "configure: warning: your compiler may not have a 64 bit integral type" 1>&2
fi
diff --git a/bfd/configure.in b/bfd/configure.in
index 20a67ad..2f91884 100644
--- a/bfd/configure.in
+++ b/bfd/configure.in
@@ -580,7 +580,7 @@ case ${host64}-${target64}-${want64} in
*true*)
wordsize=64
all_backends='$(BFD64_BACKENDS) $(BFD32_BACKENDS)'
- if test -z "$GCC" && test "$HOST_64BIT_LONG" = "0"; then
+ if test -z "$GCC" && test "$BFD_HOST_64BIT_LONG" = "0" && test "$BFD_HOST_64_BIT_DEFINED" = "0"; then
AC_MSG_WARN([You have requested a 64 bit BFD configuration, but])
AC_MSG_WARN([your compiler may not have a 64 bit integral type])
fi