From: Andrew Cagney Date: Mon, 17 Feb 2003 16:58:02 +0000 (+0000) Subject: 2003-02-17 Andrew Cagney X-Git-Tag: binutils-2_14-branchpoint~828 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2846da9bd2e6fa52c3385de01a8d84dce8a613bb;p=thirdparty%2Fbinutils-gdb.git 2003-02-17 Andrew Cagney * 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. --- 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 + + * 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 From Brian Ford 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/^/# /' \