[Asterisk-code-review] configure: Fix HAVE PJSIP EVSUB GRP LOCK not set with exter... (asterisk[13.10])

Joshua Colp asteriskteam at digium.com
Thu Jun 30 14:37:34 CDT 2016


Joshua Colp 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
  Joshua Colp: Looks good to me, approved; Verified



diff --git a/configure b/configure
index e5fc071..7c0864b 100755
--- a/configure
+++ b/configure
@@ -25202,7 +25202,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 a576ae3..ba74c0e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2195,7 +2195,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/3114
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I709af70428e125fb5ccd44b171d25dd29141f0ae
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13.10
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-code-review mailing list