diff options
author | George Joseph <gjoseph@digium.com> | 2016-06-30 07:25:09 -0600 |
---|---|---|
committer | George Joseph <gjoseph@digium.com> | 2016-06-30 07:25:09 -0600 |
commit | 43a78100c0e51117e7e5c91ed2800c772f767f8a (patch) | |
tree | 3f07fdaee12538c5954311e6a0eaa1aef5b3a0b9 | |
parent | 77c49ac1a142b1665a986ed7354eb33c2279851b (diff) |
configure: Fix HAVE_PJSIP_EVSUB_GRP_LOCK not set with external pjproject
There was a typo in configure.ac preventing HAVE_PJSIP_EVSUB_GRP_LOCK
from getting set when using an external pjproject.
ASTERISK-26099 #close
Reported-by: Ross Beer
Change-Id: I709af70428e125fb5ccd44b171d25dd29141f0ae
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | configure.ac | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -25169,7 +25169,7 @@ if test "x${PBX_PJSIP_EVSUB_GRP_LOCK}" != "x1" -a "${USE_PJSIP_EVSUB_GRP_LOCK}" pbxlibdir="-L${PJSIP_EVSUB_GRP_LOCK_DIR}" fi fi - pbxfuncname="pjsip_evsub_add_lock" + pbxfuncname="pjsip_evsub_add_ref" if test "x${pbxfuncname}" = "x" ; then # empty lib, assume only headers AST_PJSIP_EVSUB_GRP_LOCK_FOUND=yes else diff --git a/configure.ac b/configure.ac index 27b448bdf..9544060cd 100644 --- a/configure.ac +++ b/configure.ac @@ -2194,7 +2194,7 @@ if test "$USE_PJPROJECT" != "no" ; then LIBS="${saved_libs}" CPPFLAGS="${saved_cppflags}" - AST_EXT_LIB_CHECK([PJSIP_EVSUB_GRP_LOCK], [pjsip], [pjsip_evsub_add_lock], [pjsip.h], [$PJPROJECT_LIB], [$PJPROJECT_CFLAGS]) + AST_EXT_LIB_CHECK([PJSIP_EVSUB_GRP_LOCK], [pjsip], [pjsip_evsub_add_ref], [pjsip.h], [$PJPROJECT_LIB], [$PJPROJECT_CFLAGS]) fi fi |