This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: patch: stamp-h? files in subdirs
- To: automake at gnu dot org, bug-automake at gnu dot org
- Subject: Re: patch: stamp-h? files in subdirs
- From: "Derek R. Price" <derek dot price at openavenue dot com>
- Date: Wed, 31 Jan 2001 14:28:23 -0500
- List-Id: Discussion list for automake <automake.gnu.org><mailto:automake-request@gnu.org?subject=unsubscribe>
- Organization: Open Avenue
- References: <3A7866A0.8A56553F@openavenue.com>
"Derek R. Price" wrote:
> stamp-h? files in subdirs are still being created in the wrong locations
> by an automake configure script. The problem was in AM_CONFIG_HEADERS.
> I fixed it, but is dependent on the autoconf beta. Patch attached.
>
> I was thinking of attempting to eliminate the need for the recreation of
> stamp-h? files in the Makefile.in targets, but it looked like a hassle
> to get the quotes right in an m4 macro. If there's interest in this,
> let me know and I'll spend some more time on it.
>
> * m4/header.m4 (AM_CONFIG_HEADERS): fix stamp-h creation to
> occur in
> the correct locations
> (_AM_DIRNAME): helper function which basically implements an sh
> `dirname` in m4
> * automake.in (scan_one_autoconf_file): change the warning
> exception
> for AC_CONFIG_HEADERS to match the new m4/header.m4
> * stamph2.test: new
> * dirname.test: new
Oh, I also tweaked AM_CONFIG_HEADERS to accept and pass through the same $2 & $3 arguments that
AC_CONFIG_HEADERS uses (COMMANDS & INIT-CMDS). Seemed like the right thing to do.
Derek
--
Derek Price CVS Solutions Architect ( http://CVSHome.org )
mailto:dprice@openavenue.com OpenAvenue ( http://OpenAvenue.com )
--
It does me no injury for my neighbor to say there are twenty gods or no god.
It neither picks my pocket nor breaks my leg.
- Thomas Jefferson