|
|
@ -358,16 +358,13 @@ AC_INIT(configure.ac)
|
|
|
|
if test "$with_libpcre_includes" != "no"; then
|
|
|
|
if test "$with_libpcre_includes" != "no"; then
|
|
|
|
CPPFLAGS="${CPPFLAGS} -I${with_libpcre_includes}"
|
|
|
|
CPPFLAGS="${CPPFLAGS} -I${with_libpcre_includes}"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
AC_CHECK_HEADER(pcre.h,,[AC_ERROR(pcre.h not found ...)])
|
|
|
|
AC_CHECK_HEADER(pcre.h,,[AC_ERROR(pcre.h not found ...)])
|
|
|
|
|
|
|
|
|
|
|
|
if test "$with_libpcre_libraries" != "no"; then
|
|
|
|
if test "$with_libpcre_libraries" != "no"; then
|
|
|
|
LDFLAGS="${LDFLAGS} -L${with_libpcre_libraries}"
|
|
|
|
LDFLAGS="${LDFLAGS} -L${with_libpcre_libraries}"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
PCRE=""
|
|
|
|
PCRE=""
|
|
|
|
AC_CHECK_LIB(pcre, pcre_get_substring,, PCRE="no")
|
|
|
|
AC_CHECK_LIB(pcre, pcre_get_substring,, PCRE="no")
|
|
|
|
|
|
|
|
|
|
|
|
if test "$PCRE" = "no"; then
|
|
|
|
if test "$PCRE" = "no"; then
|
|
|
|
echo
|
|
|
|
echo
|
|
|
|
echo " ERROR! pcre library not found, go get it"
|
|
|
|
echo " ERROR! pcre library not found, go get it"
|
|
|
|