bug-automake
[Top][All Lists]
Advanced

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

Re: auto{conf,make} & DJGPP: DESTDIR


From: Earnie Boyd
Subject: Re: auto{conf,make} & DJGPP: DESTDIR
Date: Fri, 10 Jan 2003 09:21:12 -0500
User-agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.1) Gecko/20020826

Richard Dawe wrote:
Hello.

I've ported autoconf 2.57 and automake 1.7.2 to DJGPP, based on Tim van
Holder's work.

Unfortunately DESTDIR support is currently broken for DJGPP.
The reason is that the generated Makefiles do things like
$(DESTDIR)$(binprefix). $(binprefix) could be something like c:/djgpp/bin and
$(DESTDIR) could be, say, d:/put/packages/here/. So $(DESTDIR)$(binprefix)
becomes d:/put/packages/here/c:/djgpp/bin, which doesn't make sense.

DJGPP supports referring to c: as /dev/c. So one possible solution to this
problem is to ensure that $(prefix) and its derivatives are always mapped to
/dev/<letter>/ paths from <letter>: paths. But where would this mapping take
place? In autoconf alone? Or would both autoconf and automake require
modification?


That sounds as if it's a modification to the way you define prefix during the configure process. ./configure --prefix=/dev/c/djgpp. But that still sounds bothersome when combining DESTDIR. Check out: http;//www.mingw.org/msys.shtml for a Minimal SYStem alternative that can cope with this problem. Curious, what does DJGPP return for ``uname -s''?

Earnie.





reply via email to

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