From dd4f9d03a889a7c37522268b1c72032ffd8acf6e Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 25 May 2014 13:42:03 -0700 Subject: [PATCH] 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. --- m4/pcre.m4 | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/m4/pcre.m4 b/m4/pcre.m4 index b9270ed..66e1c9a 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 -- 1.9.0