* configure.in: Fix test for whether a compiler has a 64 bit
authorIan Lance Taylor <ian@airs.com>
Fri, 19 Jul 1996 22:16:50 +0000 (22:16 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 19 Jul 1996 22:16:50 +0000 (22:16 +0000)
type.  From Jim Wilson <wilson@cygnus.com>.
VS: ----------------------------------------------------------------------

bfd/ChangeLog
bfd/configure
bfd/configure.in

index ca299e4..9cca445 100644 (file)
@@ -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.
index e5220af..0dd26bf 100755 (executable)
@@ -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
index 20a67ad..2f91884 100644 (file)
@@ -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