summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2015-04-06 15:50:16 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2015-04-06 16:10:56 -0700
commit6d569b5cd719bd367581fb62b32a228900d43a70 (patch)
tree6b927d769983f781f1a0d2fc157c5883de155836 /m4
parent936ae4a5e6c8fd27d86c2f9e0f46c61c8c15c4ff (diff)
downloadgrep-6d569b5cd719bd367581fb62b32a228900d43a70.tar.gz
build: remove typo and don't bother with /usr/include/pcre
Problem reported by Holger Bruenjes. * m4/pcre.m4: Remove test for /usr/include/libpng (a typo). Come to think of it, don't bother worrying about /usr/include/pcre, as hosts with that problem can use pkg-config or configure with CFLAGS by hand.
Diffstat (limited to 'm4')
-rw-r--r--m4/pcre.m48
1 files changed, 1 insertions, 7 deletions
diff --git a/m4/pcre.m4 b/m4/pcre.m4
index ccb9dbc4..37de4c53 100644
--- a/m4/pcre.m4
+++ b/m4/pcre.m4
@@ -23,13 +23,7 @@ AC_DEFUN([gl_FUNC_PCRE],
use_pcre=no
if test $test_pcre = yes; then
- PKG_CHECK_MODULES([PCRE], [libpcre], [],
- [if test -r /usr/include/pcre/pcre.h &&
- test ! -r /usr/include/pcre.h
- then
- PCRE_CFLAGS=-I/usr/include/libpng
- fi
- PCRE_LIBS=-lpcre])
+ PKG_CHECK_MODULES([PCRE], [libpcre], [], [PCRE_LIBS=-lpcre])
AC_CACHE_CHECK([for pcre_compile], [pcre_cv_have_pcre_compile],
[pcre_saved_CFLAGS=$CFLAGS