This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Honor DESTDIR in w32api and mingw


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.

    cheers,
      DaveK


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]