Bruce Korb <bruce.k...@gmail.com> writes: > On Wed, Nov 18, 2009 at 7:04 AM, Alfred M. Szmidt <a...@gnu.org> wrote: >> Which is exactly what AC_INIT does, it sets PACKAGE_VERSION, >> PACKAGE_NAME and other such variables that should be used instead. > > Except that it cannot get propagated from there until configure time. > I've found that too late and needed at bootstrap (pre-configure) time. > Consequently, I think version stamping should be its own step. > A step done at bootstrap time.
You can run "autoconf -t 'AC_INIT:$2'" to get the version number at bootstrap time. -- Ben Pfaff http://benpfaff.org