mirror of
https://github.com/matrix-construct/construct
synced 2024-09-28 19:58:53 +02:00
configure: check for PCRE2
This commit is contained in:
parent
1a2426007f
commit
2be307e059
1 changed files with 8 additions and 0 deletions
|
@ -30,6 +30,7 @@ AM_PROG_AR
|
||||||
LT_INIT([dlopen disable-static])
|
LT_INIT([dlopen disable-static])
|
||||||
LT_CONFIG_LTDL_DIR([libltdl])
|
LT_CONFIG_LTDL_DIR([libltdl])
|
||||||
LTDL_INIT
|
LTDL_INIT
|
||||||
|
PKG_PROG_PKG_CONFIG
|
||||||
|
|
||||||
build_ltdl=$with_included_ltdl
|
build_ltdl=$with_included_ltdl
|
||||||
AM_CONDITIONAL([BUILD_LTDL], [test x"$build_ltdl" = x"yes"])
|
AM_CONDITIONAL([BUILD_LTDL], [test x"$build_ltdl" = x"yes"])
|
||||||
|
@ -364,6 +365,12 @@ AC_SUBST(SQLITE_LD, "$SQLITE_LIBS")
|
||||||
AC_SUBST(SQLITE_INCLUDES, "$SQLITE_CFLAGS")
|
AC_SUBST(SQLITE_INCLUDES, "$SQLITE_CFLAGS")
|
||||||
AC_SUBST(SQLITE_OBJ)
|
AC_SUBST(SQLITE_OBJ)
|
||||||
|
|
||||||
|
dnl Check for PCRE2
|
||||||
|
dnl ===============
|
||||||
|
|
||||||
|
PKG_CHECK_MODULES(PCRE, [libpcre2-8], [have_pcre="yes"], [have_pcre="no"])
|
||||||
|
AM_CONDITIONAL([PCRE], [test "x$have_pcre" = "xyes"])
|
||||||
|
|
||||||
dnl **********************************************************************
|
dnl **********************************************************************
|
||||||
dnl Check for --with-confdir [deprecated, use --sysconfdir instead]
|
dnl Check for --with-confdir [deprecated, use --sysconfdir instead]
|
||||||
dnl **********************************************************************
|
dnl **********************************************************************
|
||||||
|
@ -681,6 +688,7 @@ Configuration of ${BRANDING_NAME}-${BRANDING_VERSION}:
|
||||||
|
|
||||||
Ziplinks : $zlib
|
Ziplinks : $zlib
|
||||||
OpenSSL : $openssl
|
OpenSSL : $openssl
|
||||||
|
PCRE : $have_pcre
|
||||||
|
|
||||||
Nickname length : $NICKLEN
|
Nickname length : $NICKLEN
|
||||||
Topic length : $TOPICLEN
|
Topic length : $TOPICLEN
|
||||||
|
|
Loading…
Reference in a new issue