summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Joseph <gjoseph@digium.com>2016-06-30 07:25:09 -0600
committerGeorge Joseph <gjoseph@digium.com>2016-06-30 08:29:21 -0500
commit5ad7e1c09a7db698f0e4dd95f9153a70f8a1c667 (patch)
treed0978b063f251f2471278431e8fa0b14b5178c1a
parent5a1b3861ce488ec4d7529576530b5c2fb8f6a97a (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-xconfigure2
-rw-r--r--configure.ac2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 7f3d09c74..5e5667c97 100755
--- a/configure
+++ b/configure
@@ -25446,7 +25446,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 0698834aa..6256ef7fb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2209,7 +2209,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