aboutsummaryrefslogtreecommitdiff
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
commit2846da9bd2e6fa52c3385de01a8d84dce8a613bb (patch)
treec094b83232b8dffc804d7423a7cba3598db395ab /gdb/configure.in
parent4fdc42af6e58fe31addd0460862e22268d87bdba (diff)
downloadgdb-2846da9bd2e6fa52c3385de01a8d84dce8a613bb.zip
gdb-2846da9bd2e6fa52c3385de01a8d84dce8a613bb.tar.gz
gdb-2846da9bd2e6fa52c3385de01a8d84dce8a613bb.tar.bz2
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 eb946f3..ea24ea2 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/^/# /' \