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: arnold
Subject: Re: [bug-gawk] Gawk 4.0.0 Misreports its Version on Windows
Date: Wed, 5 Oct 2011 06:50:19 GMT

> > 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.

Harumph.  I hate it when I say stupid things in public.

How 'bout a script to turn configh.in into pc/configh.in and then
configure can do AC_SUBSTITUTE on that file also? Would that work?
We then "just" have to take care not nuke pc/config.h if it's there.

Or some such rigamarole.

Let's work on this offline, and start with your sed script.

Thanks,

Arnold



reply via email to

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