automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: patch: stamp-h? files in subdirs


From: Derek R. Price
Subject: Re: patch: stamp-h? files in subdirs
Date: Wed, 31 Jan 2001 14:28:23 -0500

"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:address@hidden     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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]