This is the mail archive of the gdb-patches@sourceware.org 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]

Committed, sim: fixes for most minor maintainer issues I raised in September


> Date: Fri, 29 Sep 2006 04:52:23 +0200
> From: Hans-Peter Nilsson <hp@axis.com>

> 2. An autoconf/autoheader 2.59 run over sim reveals
> 
> sim/{arm,common,d10v,erc32,h8300,igen,iq2000,m32r,mips,mn10300,ppc,sh,v850}
> /configure.ac (or whatever) emitting warnings like this:
> Running autoheader in arm ...
> autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
> autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
> autoheader: WARNING: is deprecated and discouraged.

Fixed by removing the stale acconfig.h from those directories.
Pertinent ChangeLogs all similar:

sim/*:
	* acconfig.h: Remove.

> and:
> Running autoheader in testsuite ...
> autoheader: error: AC_CONFIG_HEADERS not found in configure.ac

Fixed by requiring config.in in autoheader'd subdirs:

sim:
        * Makefile.in (autoconf-common autoheader-common): Only run
        autoheader on subdirs with a file config.in.

Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/sim/Makefile.in,v
retrieving revision 1.9
retrieving revision 1.10
diff -p -u -r1.9 -r1.10
--- Makefile.in	20 Dec 2006 12:35:07 -0000	1.9
+++ Makefile.in	21 Dec 2006 04:46:52 -0000	1.10
@@ -216,7 +216,7 @@ autoconf-common autoheader-common:
 	    then \
 		 echo "Running autoconf in $$d ..." ; \
 		 (cd $$d && autoconf --force) ; \
-		 if [ $@ = autoheader-common ] ; \
+		 if [ $@ = autoheader-common ] && [ -f $$d/config.in ] ; \
 		 then \
 		   echo "Running autoheader in $$d ..." ; \
 		   (cd $$d && autoheader --force) ; \


> 3. A cvs diff shows that the files
> sim/{arm,common,d10v,erc32,frv,h8300,igen,iq2000,m32r,m68hc11,mcore,
> mips,mn10300,ppc,sh,sh64,v850}/config.in need regenerating as
> well as sim/{mips,sh64}/configure.  Well ok, sim/cris/config.in
> too, but it was just empty and fixed now anyway.

Done.  Pertinent ChangeLogs all similar:

sim/*:
	* config.in: Regenerate.

and for sh64 and mips also:

sim/{mips,sh64}:

	* configure: Regenerate.

Tested by rebuilding the sims.

brgds, H-P


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