Mail Archives: djgpp/1998/08/30/14:30:49
Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:
>On Sun, 30 Aug 1998, Peter J. Farley III wrote:
>
>> I have found the place in configure where the absolute path is set, it
>> uses `pwd`.
>
>I think if you do NOT set PATH_SEPARATOR=:, `pwd` will return the normal
>DOS-style path like h:/foo/bar, and everything will work.
>
>If you need to set PATH_SEPARATOR=: elsewhere in the script/Makefile,
>just unset it on the particular command line that calls `pwd`.
>
>Alternatively, you could replace `pwd` with something like this:
>
> `pwd | sed -e s,^//\([A-z]\)/,\1:/,`
Thanks again for alternatives. I think what I'll do is put a DJGPP
conditional around the setting that uses `pwd` and use your last
suggestion as the action when making for DJGPP.
Thanks again for the (very!) helpful suggestions.
----------------------------------------------------
Peter J. Farley III (pjfarley AT nospam DOT dorsai DOT org OR
pjfarley AT nospam DOT banet DOT net)
- Raw text -