mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
daemon: use pkg-config to detect pcre
Change-Id: Ic46a78c1da87319b46d65cac5d50fe1bb196aa8e Refs: #54009
This commit is contained in:
@ -366,9 +366,7 @@ AC_ARG_WITH([sdes],
|
||||
[],
|
||||
[with_sdes=yes])
|
||||
AS_IF([test "x$with_sdes" = "xyes"], [
|
||||
AX_PATH_LIB_PCRE
|
||||
]);
|
||||
|
||||
PKG_CHECK_MODULES(PCRE, [libpcre],,AC_MSG_ERROR([libpcre not found]))]);
|
||||
|
||||
AC_DEFINE_UNQUOTED([HAVE_SDES], `if test "x$with_sdes" = "xyes"; then echo 1; else echo 0; fi`, [Define if you have sdes support])
|
||||
AM_CONDITIONAL(BUILD_SDES, test "x$with_sdes" = "xyes" )
|
||||
|
Reference in New Issue
Block a user