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 | 2846da9bd2e6fa52c3385de01a8d84dce8a613bb (patch) | |
tree | c094b83232b8dffc804d7423a7cba3598db395ab | |
parent | 4fdc42af6e58fe31addd0460862e22268d87bdba (diff) | |
download | gdb-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.
-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 f90af6b..fa9813b 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 9b36c9b..ca92123 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 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/^/# /' \ |