cvs commit: src/gnu/usr.bin/binutils/gasp Makefile src/gnu/usr.bin/binutils/gdb Makefile src/gnu/usr.bin/cvs/cvs Makefile src/gnu/usr.bin/cvs/lib Makefile src/gnu/usr.bin/cvs/libdiff Makefile src/gnu/usr.bin/diff Makefile src/gnu/usr.bin/grep Makefile

Andrey Chernov ache at
Thu Feb 19 00:59:53 PST 2004

On Thu, Feb 19, 2004 at 10:43:45AM +0200, Ruslan Ermilov wrote:
> I have an idea: how about introducing the WANT_GNU_REGEX_H, and having
> the standard <regex.h> deal with it, by including the <gnu/regex.h> if
> the latter is defined, and using BSD's regex.h otherwise?

I don't want our headers to be polluted with unrelated stuff. Next thing
will be WANT_LINUX_ etc... Lets keep code bases separate, at least to
minimize diffs with other BSDs.

Your suggested way not reduces porter efforts, he needs to use 
-DWANT_GNU_REGEX_H, but in my case it is -I/usr/include/gnu - I see no 
gain here at all. Moreover, if we place more GNU headers under 
/usr/include/gnu, only single -I/usr/include/gnu is needed in my case and 
one-per-header -DWANT_GNU_<something>_H in yours.

Andrey Chernov |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 305 bytes
Desc: not available
Url :

More information about the cvs-src mailing list