"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:[EMAIL PROTECTED]     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