autoconf
[Top][All Lists]
Advanced

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

Re: AC_INIT receiving PACKAGE_VERSION from outside


From: Bruce Korb
Subject: Re: AC_INIT receiving PACKAGE_VERSION from outside
Date: Sat, 12 Mar 2005 06:48:55 -0800
User-agent: KMail/1.7.1

On Friday 11 March 2005 08:49 am, Sam Steingold wrote:
> > * Bruno Haible <address@hidden> [2005-03-11 17:31:51 +0100]:
> >
> > Sam Steingold wrote:
> >> > But this one works:
> >> >
> >> >   AC_INIT
> >> >   AC_CONFIG_SRCDIR(foo.c)
> >> >   . $srcdir/version.sh
> >> >   AM_INIT_AUTOMAKE(my package, $VERSION_NUMBER)

It would be very nice indeed if there were a way to disentangle
the authentic, original version from the configure.ac file.
"autoconf" is very often not the first step in preparing a fresh
CVS checkout for building, and very often some of those earlier
steps want to either know or to compute the version.  sed/grep/awk
hackery to insert or extract the version from configure.ac is
a gross nuisance.   It would be very nice indeed if there were a
way to disentangle the authentic, original version from the
configure.ac file.  :)  Cheers - Bruce




reply via email to

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