[asterisk-commits] configure: Fix HAVE PJSIP EVSUB GRP LOCK not set with exter... (asterisk[13])

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jun 30 15:41:26 CDT 2016


Anonymous Coward #1000019 has submitted this change and it was merged.

Change subject: configure:  Fix HAVE_PJSIP_EVSUB_GRP_LOCK not set with external pjproject
......................................................................


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
---
M configure
M configure.ac
2 files changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Richard Mudgett: Looks good to me, but someone else must approve
  Anonymous Coward #1000019: Verified
  Joshua Colp: Looks good to me, approved



diff --git a/configure b/configure
index 505a318..0809326 100755
--- a/configure
+++ b/configure
@@ -25169,7 +25169,7 @@
          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 27b448b..9544060 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2194,7 +2194,7 @@
       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
 

-- 
To view, visit https://gerrit.asterisk.org/3112
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I709af70428e125fb5ccd44b171d25dd29141f0ae
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>



More information about the asterisk-commits mailing list