|
From: | Paul Eggert |
Subject: | Re: Gnulib on Windows (native / mingw32) / VMS / etc. |
Date: | Wed, 16 May 2018 08:36:26 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
On 05/16/2018 05:43 AM, Paul Smith wrote:
The only makefiles the GNU make distribution will support will be standard make makefiles. The model is: If you have a configure-capable system, use autotools to compile GNU make. If you don't have a configure-capable system, use the provided bootstrap script (or create your own) to build GNU make.
Such a bootstrap script should be able to use the approach I mentioned earlier, by copying FOO.h.in files to FOO.h and replacing "@" with "_GLat" or something similar, and then by augmenting config.h with the appropriate #defines. If you can't assume 'sed', you can compile and run a simple program that does the "@" replacement.
Alternatively, we could change Gnulib to use "_GLat" instead of "@" uniformly, so that you don't need to do the "@" replacement in GNU Make; but before doing that I'd like to know that the approach actually works for GNU Make.
[Prev in Thread] | Current Thread | [Next in Thread] |