bug-grep
[Top][All Lists]
Advanced

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

bug#25971: POSIX path separator used in cfg.mk breaks makefiles for all


From: Jim Meyering
Subject: bug#25971: POSIX path separator used in cfg.mk breaks makefiles for all OS that do not use colon as path separator
Date: Sun, 5 Mar 2017 09:54:36 -0800

On Sat, Mar 4, 2017 at 11:03 PM, Juan Manuel Guerrero
<address@hidden> wrote:
> I do not known if this has already been reported, but the prepending of
> $(srcdir)/src to the PATH in cfg.mk makes it impossible to build grep on
> all OS where the path separator is different from colon.  I would suggest
> to use PATH_SEPARATOR instead of hard coding the UNIX path separator making
> the implicit assumption that this will DTRT for all other OS too.  The
> current implementation ruins the syntax of the PATH because of mixed path
> separator characters and inhibits make to find any program at all.
> Please see patch below.

Thank you. I've applied the attached in your name.
I also fixed a minor problem s/srcdir/builddir/ and a nit in that same
line in a second patch, also attached.

Attachment: grep-PATH-vs-PATH_SEPARATOR.diff
Description: Text document


reply via email to

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