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

George Joseph asteriskteam at digium.com
Thu Jun 30 08:31:14 CDT 2016


George Joseph has uploaded a new change for review.

  https://gerrit.asterisk.org/3115

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(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/15/3115/1

diff --git a/configure b/configure
index b4db561..a799095 100755
--- a/configure
+++ b/configure
@@ -25199,7 +25199,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 d67b1a0..982bd78 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2196,7 +2196,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/3115
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I709af70428e125fb5ccd44b171d25dd29141f0ae
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: certified/13.8
Gerrit-Owner: George Joseph <gjoseph at digium.com>



More information about the asterisk-code-review mailing list