This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] Don't require the nm.h file


Hello,

This addresses the problem of a native GDB requiring a "nm.h" file that Kris reported. It tweaks GDB to disable native support when host != target and not when the nm.h file is missing.

committed,
Andrew
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.
	
Index: configure.in
===================================================================
RCS file: /cvs/src/src/gdb/configure.in,v
retrieving revision 1.122
diff -u -r1.122 configure.in
--- configure.in	14 Feb 2003 20:06:59 -0000	1.122
+++ configure.in	17 Feb 2003 16:52:41 -0000
@@ -1398,7 +1398,7 @@
 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/^/# /' \

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]