This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


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

fix silly mistake in mkconfig.sh patch


Kaveh pointed out a silly mistake I made in the patch to generate
*config.h from the makefile.  This fixes it.

Bootstrapped i686-linux, tconfig.h inspected for sanity, applied as
obvious bugfix.

zw

	* configure.in: AC_SUBST xm_defines.
	* configure: Regenerate.
	* Makefile.in: Set DEFINES=$(xm_defines) when building
	tconfig.h.

===================================================================
Index: configure.in
--- configure.in	2001/03/10 00:19:37	1.493
+++ configure.in	2001/03/11 21:07:29
@@ -1914,6 +1914,7 @@ AC_SUBST(tm_file)
 AC_SUBST(tm_p_file_list)
 AC_SUBST(tm_p_file)
 AC_SUBST(xm_file)
+AC_SUBST(xm_defines)
 AC_SUBST(will_use_collect2)
 AC_SUBST(c_target_objs)
 AC_SUBST(cxx_target_objs)
===================================================================
Index: Makefile.in
--- Makefile.in	2001/03/09 20:53:52	1.619
+++ Makefile.in	2001/03/11 21:07:29
@@ -271,6 +271,7 @@ host_xm_file_list=@host_xm_file_list@
 host_xm_file=@host_xm_file@
 host_xm_defines=@host_xm_defines@
 xm_file=@xm_file@
+xm_defines=@xm_defines@
 lang_specs_files=@lang_specs_files@
 lang_options_files=@lang_options_files@
 lang_tree_files=@lang_tree_files@
@@ -886,7 +887,8 @@ cs-hconfig.h: Makefile
 	$(SHELL) $(srcdir)/mkconfig.sh hconfig.h
 
 cs-tconfig.h: Makefile
-	HEADERS="$(xm_file)" DEFINES="" TARGET_CPU_DEFAULT="" \
+	HEADERS="$(xm_file)" DEFINES="$(xm_defines)" \
+	TARGET_CPU_DEFAULT="" \
 	$(SHELL) $(srcdir)/mkconfig.sh tconfig.h
 
 cs-tm_p.h: Makefile


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