summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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