From c321b1f454e96d3b9ebe77b8b9ae1677ff422db1 Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Tue, 26 Nov 2013 22:34:08 +0000 Subject: Fix a configure issue with PJSIP transaction group lock detection. The configure check did not use the provided paths for pjproject if provided when looking for transaction group lock support. ........ Merged revisions 403160 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@403161 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- configure | 6 +++--- configure.ac | 2 +- include/asterisk/autoconfig.h.in | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/configure b/configure index 9e414e1e0..30ec6b586 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.ac Revision: 400770 . +# From configure.ac Revision: 402865 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.69 for asterisk trunk. # @@ -10156,8 +10156,8 @@ fi PJ_TRANSACTION_GRP_LOCK_DESCRIP="PJSIP Transaction Group Lock Support" - -PJ_TRANSACTION_GRP_LOCK_DIR=${pjsip_DIR} +PJ_TRANSACTION_GRP_LOCK_OPTION=pjsip +PJ_TRANSACTION_GRP_LOCK_DIR=${PJPROJECT_DIR} PBX_PJ_TRANSACTION_GRP_LOCK=0 diff --git a/configure.ac b/configure.ac index 75b13fb9b..918c7970b 100644 --- a/configure.ac +++ b/configure.ac @@ -433,7 +433,7 @@ AST_EXT_LIB_SETUP([OSS], [Open Sound System], [oss]) AST_EXT_LIB_SETUP([PGSQL], [PostgreSQL], [postgres]) AST_EXT_LIB_SETUP([PJPROJECT], [PJPROJECT], [pjproject]) AST_EXT_LIB_SETUP([POPT], [popt], [popt]) -AST_EXT_LIB_SETUP_OPTIONAL([PJ_TRANSACTION_GRP_LOCK], [PJSIP Transaction Group Lock Support], [pjsip]) +AST_EXT_LIB_SETUP_OPTIONAL([PJ_TRANSACTION_GRP_LOCK], [PJSIP Transaction Group Lock Support], [PJPROJECT], [pjsip]) AST_EXT_LIB_SETUP([PORTAUDIO], [PortAudio], [portaudio]) AST_EXT_LIB_SETUP([PRI], [ISDN PRI], [pri]) AST_EXT_LIB_SETUP_OPTIONAL([PRI_L2_PERSISTENCE], [ISDN Layer 2 persistence option], [PRI], [pri]) diff --git a/include/asterisk/autoconfig.h.in b/include/asterisk/autoconfig.h.in index 31d8efc9a..3f9eb55dc 100644 --- a/include/asterisk/autoconfig.h.in +++ b/include/asterisk/autoconfig.h.in @@ -569,8 +569,8 @@ /* Define if your system has the PJPROJECT libraries. */ #undef HAVE_PJPROJECT -/* Define to 1 if pjsip has the PJSIP Transaction Group Lock Support feature. - */ +/* Define to 1 if PJPROJECT has the PJSIP Transaction Group Lock Support + feature. */ #undef HAVE_PJ_TRANSACTION_GRP_LOCK /* Define to 1 if your system defines IP_PKTINFO. */ -- cgit v1.2.3