aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rwxr-xr-xgdb/configure2
-rw-r--r--gdb/configure.in2
3 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index fa9813b..b123ea6 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2003-02-17 Andrew Cagney <cagney@redhat.com>
+
+ * configure.in: Revert ${target} != ${host}.
+
2003-02-17 Andrew Cagney <ac131313@redhat.com>
* configure.in (Makefile): Use the test ${target} != ${host},
diff --git a/gdb/configure b/gdb/configure
index ca92123..9b36c9b 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -10889,7 +10889,7 @@ nativefile=$nativefile
EOF
cat >> $CONFIG_STATUS <<\EOF
-if test "${target}" != "${host}"; then
+if test "${nativefile}" = ""; then
< Makefile \
sed -e '/^NATDEPFILES[ ]*=.*\\$/,/[^\\]$/s/^/# /' \
-e '/^NATDEPFILES[ ]*=/s/^/# /' \
diff --git a/gdb/configure.in b/gdb/configure.in
index ea24ea2..eb946f3 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 "${target}" != "${host}"; then
+if test "${nativefile}" = ""; then
< Makefile \
sed -e '/^NATDEPFILES[[ ]]*=.*\\$/,/[[^\\]]$/s/^/# /' \
-e '/^NATDEPFILES[[ ]]*=/s/^/# /' \