diff options
Diffstat (limited to 'ext/pcre/config.m4')
| -rw-r--r-- | ext/pcre/config.m4 | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ext/pcre/config.m4 b/ext/pcre/config.m4 new file mode 100644 index 0000000000..f564884b9c --- /dev/null +++ b/ext/pcre/config.m4 @@ -0,0 +1,18 @@ +dnl $Id$ +dnl config.m4 for extension pcre + +AC_MSG_CHECKING(for PCRE support) +AC_ARG_WITH(pcre, +[ --with-pcre Include Perl Compatible Regular Expressions support],[ + if test "$withval" = "yes"; then + PCRE_LIBS="-lpcre" + AC_DEFINE(HAVE_LIBPCRE, 1) + AC_MSG_RESULT(yes) + PHP_EXTENSION(pcre) + EXTRA_LIBS="$EXTRA_LIBS $PCRE_LIBS" + else + AC_MSG_RESULT(no) + fi +],[ + AC_MSG_RESULT(no) +]) |
