Re: AC_INIT receiving PACKAGE_VERSION from outside

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

 



On Friday 11 March 2005 08:49 am, Sam Steingold wrote:
> > * Bruno Haible <oehab@xxxxxxxxx> [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


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux