bug-gawk
[Top][All Lists]
Advanced

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

Re: [bug-gawk] Gawk 4.0.0 Misreports its Version on Windows


From: Eli Zaretskii
Subject: Re: [bug-gawk] Gawk 4.0.0 Misreports its Version on Windows
Date: Tue, 04 Oct 2011 23:04:05 +0200

> From: Aharon Robbins <address@hidden>
> Date: Tue, 04 Oct 2011 21:47:22 +0200
> Cc: address@hidden
> 
> > > In the source, see gawk-4.0.0/pc/config.h:
> > > #define PACKAGE_STRING "GNU Awk 3.1.5a"
> > > #define PACKAGE_VERSION "3.1.5a"
> > > #define VERSION "3.1.5a"
> >
> > Yes, it looks like these were not updated in ages.  Patch below.
> >
> > Aharon, can you please arrange for this to be automatically updated
> > whenever you tar a release or a pretest?  Maintaining this by hand is
> > entirely unreliable.  TIA.
> 
> Eli - we need a way to autogenerate the pc/config.h file from the
> configh.in in the main directory.

But how will this going to help?  configh.in does not define VERSION
etc., it's the job of the configure script.

I can produce a Sed script that will edit some of the #undef's into
#define's, but I cannot do anything with VERSION and other
version-related strings in the header.  That should be something that
make-dist itself should do, because only it knows the version of the
tarball.



reply via email to

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