bug-grep
[Top][All Lists]
Advanced

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

pcre.h failure in grep-2.5.4-20090126


From: Karl Berry
Subject: pcre.h failure in grep-2.5.4-20090126
Date: Wed, 28 Jan 2009 02:03:17 +0100

In grep-2.5.4-20090126, search.c says:

#ifdef HAVE_LIBPCRE
# include <pcre.h>
#endif

Unfortunately this does not work on my system, which is the oldish
Red Hat WS 4 (but compiling with the newish gcc 4.2.4).  On that system,
it's <pcre/pcre.h>.  When I change the #include, everything compiles
(with some mbs warnings), and all tests pass.

It would suffice to add a check for <pcre.h> and simply disable pcre if
it doesn't exist -- no real need to cater for this old system (although
if you want to check for <pcre/pcre.h>, fine too).  Hmm, there used to
be a configure option for it, but I see it's been "improved" to use
pcre-config and there is no manual override, so I don't know what to do.

karl




reply via email to

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