summaryrefslogtreecommitdiff
path: root/gdb/configure.in
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-02-17 16:58:02 +0000
committerAndrew Cagney <cagney@redhat.com>2003-02-17 16:58:02 +0000
commit4a294ca80b7cd1a39286d65cb0f7cf1a24baa16f (patch)
tree47c62599e7fe216aa8a2239c58ee60ffc9c96129 /gdb/configure.in
parent71e578e51cb48a28d336c817a343cb5e4cc2f554 (diff)
downloadgdb-4a294ca80b7cd1a39286d65cb0f7cf1a24baa16f.tar.gz
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.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r--gdb/configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/configure.in b/gdb/configure.in
index eb946f33f51..ea24ea278c2 100644
--- a/gdb/configure.in
+++ b/gdb/configure.in
@@ -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/^/# /' \