diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-02-17 16:58:02 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-02-17 16:58:02 +0000 |
commit | 4a294ca80b7cd1a39286d65cb0f7cf1a24baa16f (patch) | |
tree | 47c62599e7fe216aa8a2239c58ee60ffc9c96129 /gdb | |
parent | 71e578e51cb48a28d336c817a343cb5e4cc2f554 (diff) | |
download | gdb-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')
-rw-r--r-- | gdb/ChangeLog | 7 | ||||
-rwxr-xr-x | gdb/configure | 2 | ||||
-rw-r--r-- | gdb/configure.in | 2 |
3 files changed, 9 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f90af6bc42d..fa9813b6114 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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> diff --git a/gdb/configure b/gdb/configure index 9b36c9b4617..ca92123305e 100755 --- a/gdb/configure +++ b/gdb/configure @@ -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/^/# /' \ 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/^/# /' \ |