This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[COMMIT] Make it possible to omit NAT_FILE in *.mh files
- From: Mark Kettenis <kettenis at gnu dot org>
- To: gdb-patches at sources dot redhat dot com
- Date: Mon, 27 Sep 2004 20:41:31 +0200 (CEST)
- Subject: [COMMIT] Make it possible to omit NAT_FILE in *.mh files
I agree with Andrew that this is effectively dead code. It's
defenitely unwanted with the current state of affairs.
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* configure.in: Don't comment out NATDEPFILES in the generated
Makefile if NAT_FILE is unset.
* configure: Regenerate.
Index: configure.in
===================================================================
RCS file: /cvs/src/src/gdb/configure.in,v
retrieving revision 1.173
diff -u -p -r1.173 configure.in
--- configure.in 25 Sep 2004 09:17:45 -0000 1.173
+++ configure.in 27 Sep 2004 18:38:27 -0000
@@ -1564,14 +1564,6 @@ 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
- < Makefile \
- sed -e '/^NATDEPFILES[[ ]]*=.*\\$/,/[[^\\]]$/s/^/# /' \
- -e '/^NATDEPFILES[[ ]]*=/s/^/# /' \
- | sed -e '/^\(NATDEPFILES[[ ]]*[[+]]=[[ ]]*\)/s//# \1/' \
- > Makefile.tem
-mv -f Makefile.tem Makefile
-fi
changequote(,)dnl
sed -e '/^DEPRECATED_TM_FILE[ ]*=/s,^DEPRECATED_TM_FILE[ ]*=[ ]*,&config/'"${gdb_target_cpu}"'/,