2003-02-17 Andrew Cagney <ac131313@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Mon, 17 Feb 2003 16:58:02 +0000 (16:58 +0000)
committerAndrew Cagney <cagney@redhat.com>
Mon, 17 Feb 2003 16:58:02 +0000 (16:58 +0000)
* configure.in (Makefile): Use the test ${target} != ${host},
instead of the absence of the "nm.h" file, to determine of the
configuration non-native.
* configure: Regenerate.

gdb/ChangeLog
gdb/configure
gdb/configure.in

index f90af6b..fa9813b 100644 (file)
@@ -1,3 +1,10 @@
+2003-02-17  Andrew Cagney  <ac131313@redhat.com>
+
+       * configure.in (Makefile): Use the test ${target} != ${host},
+       instead of the absence of the "nm.h" file, to determine of the
+       configuration non-native.
+       * configure: Regenerate.
+       
 2003-02-14  Elena Zannoni  <ezannoni@redhat.com>
 
         From Brian Ford  <ford@vss.fsi.com>
index 9b36c9b..ca92123 100755 (executable)
@@ -10889,7 +10889,7 @@ nativefile=$nativefile
 EOF
 cat >> $CONFIG_STATUS <<\EOF
 
-if test "${nativefile}" = ""; then
+if test "${target}" != "${host}"; then
         < Makefile \
         sed -e '/^NATDEPFILES[         ]*=.*\\$/,/[^\\]$/s/^/# /' \
             -e '/^NATDEPFILES[         ]*=/s/^/# /' \
index eb946f3..ea24ea2 100644 (file)
@@ -1398,7 +1398,7 @@ AC_OUTPUT(Makefile .gdbinit:gdbinit.in,
 dnl Autoconf doesn't provide a mechanism for modifying definitions 
 dnl provided by makefile fragments.
 dnl
-if test "${nativefile}" = ""; then
+if test "${target}" != "${host}"; then
         < Makefile \
         sed -e '/^NATDEPFILES[[        ]]*=.*\\$/,/[[^\\]]$/s/^/# /' \
             -e '/^NATDEPFILES[[        ]]*=/s/^/# /' \