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.
This commit is contained in:
Andrew Cagney 2003-02-17 16:58:02 +00:00
parent 4fdc42af6e
commit 2846da9bd2
3 changed files with 9 additions and 2 deletions

View File

@ -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>

2
gdb/configure vendored
View File

@ -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/^/# /' \

View File

@ -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/^/# /' \