Bob Friesenhahn wrote:

> It does not make sense to manually edit configure.ac each time a new
> package needs to be produced.
> 
> Is there a way that some of my own script code can be executed prior to
> AC_INIT and a way to pass this information in a shell variable to
> AC_INIT?  If so, then I can move ahead, but otherwise I am forced to
> ignore these major updates to Automake.
> 
> Please advise.
> 

Hi Bob,
You can use m4_easycmd to run your scripts at autoconf time. E.g. (from
autoconf itself):
AC_INIT([GNU Autoconf],
        m4_esyscmd([build-aux/git-version-gen .tarball-version]),
        [bug-autoc...@gnu.org])

Peter
-- 
Peter O'Gorman
http://pogma.com


Reply via email to