Honor DESTDIR in w32api and mingw

Dave Korn dave.korn.cygwin@googlemail.com
Sun Oct 18 15:53:00 GMT 2009

Charles Wilson wrote:
> Corinna Vinschen wrote:
>> The Mingw developers should approve mingw stuff, usually.
> Then any interested parties should read the ongoing thread here:
> http://thread.gmane.org/gmane.comp.gnu.mingw.devel/3478
> IMO, Keith is being unreasonable about "if DESTDIR doesn't work on
> win32, we shouldn't add support for it even for those platforms where it
> will work".  He's graciously allowed that this patch could go in, IF I
> convince the automake and autoconf developers to completely redesign the
>  way DESTDIR works so that it accommodates X: paths.

  Well, I can think of a possible counter-proposal: how about a patch that
adds DESTDIR in the normal manner, but only on platforms that support DESTDIR
correctly?  This could be done by testing the --host setting in the Makefile
and either warning, erroring, or just silently overriding the definition of
DESTDIR to empty on platforms that don't can't or won't honour it.  There
shouldn't be anything particularly controversial about the concept of using a
feature on some platforms where it's implemented and not on others where it isn't.


More information about the Cygwin-patches mailing list