]> sjero.net Git - wget/blobdiff - configure.ac
Add support for -accept-regex and --reject-regex.
[wget] / configure.ac
index eb1b8b7d6d10ca1ea18a3a67232d787c95273f4b..45cebcabf836ca6966886c8d87d9bb2d1cf88fb9 100644 (file)
@@ -532,6 +532,18 @@ AC_CHECK_HEADER(uuid/uuid.h,
                   ])
 )
 
+dnl
+dnl Check for PCRE
+dnl
+
+AC_CHECK_HEADER(pcre.h,
+                AC_CHECK_LIB(pcre, pcre_compile,
+                  [LIBS="${LIBS} -lpcre"
+                   AC_DEFINE([HAVE_LIBPCRE], 1,
+                             [Define if libpcre is available.])
+                  ])
+)
+
  
 dnl Needed by src/Makefile.am
 AM_CONDITIONAL([IRI_IS_ENABLED], [test "X$iri" != "Xno"])