14 lines
457 B
Diff
14 lines
457 B
Diff
Index: configure.ac
|
|
===================================================================
|
|
--- configure.ac.orig
|
|
+++ configure.ac
|
|
@@ -157,7 +157,7 @@ if test x"$testpcre" = x"yes"; then
|
|
CPPFLAGS="$CPPFLAGS `pcre-config --cflags`"
|
|
LIBS="$LIBS `pcre-config --libs`"
|
|
fi
|
|
- AC_CHECK_LIB(pcre, pcre_exec)
|
|
+ AC_SEARCH_LIBS(pcre_exec, pcre, [AC_DEFINE(HAVE_LIBPCRE, 1, [Define to 1 if you have the `pcre' library (-lpcre).])])
|
|
fi
|
|
|
|
AC_CONFIG_FILES([Makefile
|