<p>Alexander Traud has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/14212">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">BuildSystem: Only if found external PJProject, check its optional parts.<br><br>Change-Id: I11d5693d25c166c99d8cebffc16184d58f6362de<br>---<br>M configure<br>M configure.ac<br>2 files changed, 74 insertions(+), 72 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/12/14212/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/configure b/configure</span><br><span>index 33376a6..bbfa9aa 100755</span><br><span>--- a/configure</span><br><span>+++ b/configure</span><br><span>@@ -24907,7 +24907,7 @@</span><br><span> fi</span><br><span> fi</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(120, 100%, 40%);">+ if test "x$PBX_PJPROJECT" = "x1" ; then</span><br><span> </span><br><span> if test "x${PBX_PJSIP_DLG_CREATE_UAS_AND_INC_LOCK}" != "x1" -a "${USE_PJSIP_DLG_CREATE_UAS_AND_INC_LOCK}" != "no"; then</span><br><span> pbxlibdir=""</span><br><span>@@ -25101,10 +25101,10 @@</span><br><span> </span><br><span> </span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- saved_cppflags="${CPPFLAGS}"</span><br><span style="color: hsl(0, 100%, 40%);">- saved_libs="${LIBS}"</span><br><span style="color: hsl(0, 100%, 40%);">- CPPFLAGS="${CPPFLAGS} ${PJPROJECT_CFLAGS}"</span><br><span style="color: hsl(0, 100%, 40%);">- LIBS="${LIBS} ${PJPROJECT_LIB}"</span><br><span style="color: hsl(120, 100%, 40%);">+ saved_cppflags="${CPPFLAGS}"</span><br><span style="color: hsl(120, 100%, 40%);">+ saved_libs="${LIBS}"</span><br><span style="color: hsl(120, 100%, 40%);">+ CPPFLAGS="${CPPFLAGS} ${PJPROJECT_CFLAGS}"</span><br><span style="color: hsl(120, 100%, 40%);">+ LIBS="${LIBS} ${PJPROJECT_LIB}"</span><br><span> </span><br><span> if test "x${PBX_PJSIP_REPLACE_MEDIA_STREAM}" != "x1" -a "${USE_PJSIP_REPLACE_MEDIA_STREAM}" != "no"; then</span><br><span> { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \"pjmedia_mod_offer_flag flag = PJMEDIA_SDP_NEG_ALLOW_MEDIA_CHANGE\" compiles using pjmedia.h" >&5</span><br><span>@@ -25145,8 +25145,8 @@</span><br><span> CPPFLAGS="${saved_cppflags}"</span><br><span> fi</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- LIBS="${saved_libs}"</span><br><span style="color: hsl(0, 100%, 40%);">- CPPFLAGS="${saved_cppflags}"</span><br><span style="color: hsl(120, 100%, 40%);">+ LIBS="${saved_libs}"</span><br><span style="color: hsl(120, 100%, 40%);">+ CPPFLAGS="${saved_cppflags}"</span><br><span> </span><br><span> </span><br><span> if test "x${PBX_PJSIP_GET_DEST_INFO}" != "x1" -a "${USE_PJSIP_GET_DEST_INFO}" != "no"; then</span><br><span>@@ -25437,10 +25437,10 @@</span><br><span> </span><br><span> </span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- saved_cppflags="${CPPFLAGS}"</span><br><span style="color: hsl(0, 100%, 40%);">- saved_libs="${LIBS}"</span><br><span style="color: hsl(0, 100%, 40%);">- CPPFLAGS="${CPPFLAGS} ${PJPROJECT_CFLAGS}"</span><br><span style="color: hsl(0, 100%, 40%);">- LIBS="${LIBS} ${PJPROJECT_LIB}"</span><br><span style="color: hsl(120, 100%, 40%);">+ saved_cppflags="${CPPFLAGS}"</span><br><span style="color: hsl(120, 100%, 40%);">+ saved_libs="${LIBS}"</span><br><span style="color: hsl(120, 100%, 40%);">+ CPPFLAGS="${CPPFLAGS} ${PJPROJECT_CFLAGS}"</span><br><span style="color: hsl(120, 100%, 40%);">+ LIBS="${LIBS} ${PJPROJECT_LIB}"</span><br><span> </span><br><span> if test "x${PBX_PJSIP_TLS_TRANSPORT_PROTO}" != "x1" -a "${USE_PJSIP_TLS_TRANSPORT_PROTO}" != "no"; then</span><br><span> { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \"struct pjsip_tls_setting setting; int proto; proto = setting.proto;\" compiles using pjsip.h" >&5</span><br><span>@@ -25561,26 +25561,26 @@</span><br><span> CPPFLAGS="${saved_cppflags}"</span><br><span> fi</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pjproject on_valid_pair callback" >&5</span><br><span style="color: hsl(120, 100%, 40%);">+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pjproject on_valid_pair callback" >&5</span><br><span> $as_echo_n "checking for pjproject on_valid_pair callback... " >&6; }</span><br><span style="color: hsl(0, 100%, 40%);">- cat confdefs.h - <<_ACEOF >conftest.$ac_ext</span><br><span style="color: hsl(120, 100%, 40%);">+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext</span><br><span> /* end confdefs.h. */</span><br><span> #include <pjsip.h></span><br><span style="color: hsl(0, 100%, 40%);">- #include <pjsip_ua.h></span><br><span style="color: hsl(0, 100%, 40%);">- #include <pjnath.h></span><br><span style="color: hsl(0, 100%, 40%);">- void on_valid_pair(pj_ice_sess *ice) {}</span><br><span style="color: hsl(0, 100%, 40%);">- void on_ice_complete(pj_ice_sess *ice, pj_status_t status) {}</span><br><span style="color: hsl(0, 100%, 40%);">- void on_rx_data(pj_ice_sess *ice, unsigned comp_id, unsigned transport_id, void *pkt, pj_size_t size, const pj_sockaddr_t *src_addr, unsigned src_addr_len) {}</span><br><span style="color: hsl(0, 100%, 40%);">- pj_status_t on_tx_pkt(pj_ice_sess *ice, unsigned comp_id, unsigned transport_id, const void *pkt, pj_size_t size, const pj_sockaddr_t *dst_addr, unsigned dst_addr_len) {}</span><br><span style="color: hsl(120, 100%, 40%);">+ #include <pjsip_ua.h></span><br><span style="color: hsl(120, 100%, 40%);">+ #include <pjnath.h></span><br><span style="color: hsl(120, 100%, 40%);">+ void on_valid_pair(pj_ice_sess *ice) {}</span><br><span style="color: hsl(120, 100%, 40%);">+ void on_ice_complete(pj_ice_sess *ice, pj_status_t status) {}</span><br><span style="color: hsl(120, 100%, 40%);">+ void on_rx_data(pj_ice_sess *ice, unsigned comp_id, unsigned transport_id, void *pkt, pj_size_t size, const pj_sockaddr_t *src_addr, unsigned src_addr_len) {}</span><br><span style="color: hsl(120, 100%, 40%);">+ pj_status_t on_tx_pkt(pj_ice_sess *ice, unsigned comp_id, unsigned transport_id, const void *pkt, pj_size_t size, const pj_sockaddr_t *dst_addr, unsigned dst_addr_len) {}</span><br><span> int</span><br><span> main ()</span><br><span> {</span><br><span> pj_ice_sess_cb ice_sess_cb = {</span><br><span style="color: hsl(0, 100%, 40%);">- .on_valid_pair = on_valid_pair,</span><br><span style="color: hsl(0, 100%, 40%);">- .on_ice_complete = on_ice_complete,</span><br><span style="color: hsl(0, 100%, 40%);">- .on_rx_data = on_rx_data,</span><br><span style="color: hsl(0, 100%, 40%);">- .on_tx_pkt = on_tx_pkt,</span><br><span style="color: hsl(0, 100%, 40%);">- };</span><br><span style="color: hsl(120, 100%, 40%);">+ .on_valid_pair = on_valid_pair,</span><br><span style="color: hsl(120, 100%, 40%);">+ .on_ice_complete = on_ice_complete,</span><br><span style="color: hsl(120, 100%, 40%);">+ .on_rx_data = on_rx_data,</span><br><span style="color: hsl(120, 100%, 40%);">+ .on_tx_pkt = on_tx_pkt,</span><br><span style="color: hsl(120, 100%, 40%);">+ };</span><br><span> ;</span><br><span> return 0;</span><br><span> }</span><br><span>@@ -25598,8 +25598,8 @@</span><br><span> fi</span><br><span> rm -f core conftest.err conftest.$ac_objext \</span><br><span> conftest$ac_exeext conftest.$ac_ext</span><br><span style="color: hsl(0, 100%, 40%);">- LIBS="${saved_libs}"</span><br><span style="color: hsl(0, 100%, 40%);">- CPPFLAGS="${saved_cppflags}"</span><br><span style="color: hsl(120, 100%, 40%);">+ LIBS="${saved_libs}"</span><br><span style="color: hsl(120, 100%, 40%);">+ CPPFLAGS="${saved_cppflags}"</span><br><span> </span><br><span> </span><br><span> if test "x${PBX_PJSIP_EVSUB_GRP_LOCK}" != "x1" -a "${USE_PJSIP_EVSUB_GRP_LOCK}" != "no"; then</span><br><span>@@ -25985,6 +25985,7 @@</span><br><span> fi</span><br><span> </span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+ fi</span><br><span> fi</span><br><span> </span><br><span> if test "x$PBX_PJPROJECT" = "x1" ; then</span><br><span>diff --git a/configure.ac b/configure.ac</span><br><span>index 2651171..c6ef45b 100644</span><br><span>--- a/configure.ac</span><br><span>+++ b/configure.ac</span><br><span>@@ -2407,56 +2407,57 @@</span><br><span> if test "$USE_PJPROJECT" != "no" ; then</span><br><span> if test "$PJPROJECT_BUNDLED" = "no" ; then</span><br><span> AST_PKG_CONFIG_CHECK([PJPROJECT], [libpjproject])</span><br><span style="color: hsl(120, 100%, 40%);">+ if test "x$PBX_PJPROJECT" = "x1" ; then</span><br><span style="color: hsl(120, 100%, 40%);">+ AST_EXT_LIB_CHECK([PJSIP_DLG_CREATE_UAS_AND_INC_LOCK], [pjsip], [pjsip_dlg_create_uas_and_inc_lock], [pjsip.h], [$PJPROJECT_LIB], [$PJPROJECT_CFLAGS])</span><br><span style="color: hsl(120, 100%, 40%);">+ AST_EXT_LIB_CHECK([PJ_TRANSACTION_GRP_LOCK], [pjsip], [pjsip_tsx_create_uac2], [pjsip.h], [$PJPROJECT_LIB], [$PJPROJECT_CFLAGS])</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- AST_EXT_LIB_CHECK([PJSIP_DLG_CREATE_UAS_AND_INC_LOCK], [pjsip], [pjsip_dlg_create_uas_and_inc_lock], [pjsip.h], [$PJPROJECT_LIB], [$PJPROJECT_CFLAGS])</span><br><span style="color: hsl(0, 100%, 40%);">- AST_EXT_LIB_CHECK([PJ_TRANSACTION_GRP_LOCK], [pjsip], [pjsip_tsx_create_uac2], [pjsip.h], [$PJPROJECT_LIB], [$PJPROJECT_CFLAGS])</span><br><span style="color: hsl(120, 100%, 40%);">+ saved_cppflags="${CPPFLAGS}"</span><br><span style="color: hsl(120, 100%, 40%);">+ saved_libs="${LIBS}"</span><br><span style="color: hsl(120, 100%, 40%);">+ CPPFLAGS="${CPPFLAGS} ${PJPROJECT_CFLAGS}"</span><br><span style="color: hsl(120, 100%, 40%);">+ LIBS="${LIBS} ${PJPROJECT_LIB}"</span><br><span style="color: hsl(120, 100%, 40%);">+ AST_C_COMPILE_CHECK([PJSIP_REPLACE_MEDIA_STREAM], [pjmedia_mod_offer_flag flag = PJMEDIA_SDP_NEG_ALLOW_MEDIA_CHANGE], [pjmedia.h])</span><br><span style="color: hsl(120, 100%, 40%);">+ LIBS="${saved_libs}"</span><br><span style="color: hsl(120, 100%, 40%);">+ CPPFLAGS="${saved_cppflags}"</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- saved_cppflags="${CPPFLAGS}"</span><br><span style="color: hsl(0, 100%, 40%);">- saved_libs="${LIBS}"</span><br><span style="color: hsl(0, 100%, 40%);">- CPPFLAGS="${CPPFLAGS} ${PJPROJECT_CFLAGS}"</span><br><span style="color: hsl(0, 100%, 40%);">- LIBS="${LIBS} ${PJPROJECT_LIB}"</span><br><span style="color: hsl(0, 100%, 40%);">- AST_C_COMPILE_CHECK([PJSIP_REPLACE_MEDIA_STREAM], [pjmedia_mod_offer_flag flag = PJMEDIA_SDP_NEG_ALLOW_MEDIA_CHANGE], [pjmedia.h])</span><br><span style="color: hsl(0, 100%, 40%);">- LIBS="${saved_libs}"</span><br><span style="color: hsl(0, 100%, 40%);">- CPPFLAGS="${saved_cppflags}"</span><br><span style="color: hsl(120, 100%, 40%);">+ AST_EXT_LIB_CHECK([PJSIP_GET_DEST_INFO], [pjsip], [pjsip_get_dest_info], [pjsip.h], [$PJPROJECT_LIB], [$PJPROJECT_CFLAGS])</span><br><span style="color: hsl(120, 100%, 40%);">+ AST_EXT_LIB_CHECK([PJ_SSL_CERT_LOAD_FROM_FILES2], [pj], [pj_ssl_cert_load_from_files2], [pjlib.h], [$PJPROJECT_LIB], [$PJPROJECT_CFLAGS])</span><br><span style="color: hsl(120, 100%, 40%);">+ AST_EXT_LIB_CHECK([PJSIP_EXTERNAL_RESOLVER], [pjsip], [pjsip_endpt_set_ext_resolver], [pjsip.h], [$PJPROJECT_LIB], [$PJPROJECT_CFLAGS])</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- AST_EXT_LIB_CHECK([PJSIP_GET_DEST_INFO], [pjsip], [pjsip_get_dest_info], [pjsip.h], [$PJPROJECT_LIB], [$PJPROJECT_CFLAGS])</span><br><span style="color: hsl(0, 100%, 40%);">- AST_EXT_LIB_CHECK([PJ_SSL_CERT_LOAD_FROM_FILES2], [pj], [pj_ssl_cert_load_from_files2], [pjlib.h], [$PJPROJECT_LIB], [$PJPROJECT_CFLAGS])</span><br><span style="color: hsl(0, 100%, 40%);">- AST_EXT_LIB_CHECK([PJSIP_EXTERNAL_RESOLVER], [pjsip], [pjsip_endpt_set_ext_resolver], [pjsip.h], [$PJPROJECT_LIB], [$PJPROJECT_CFLAGS])</span><br><span style="color: hsl(120, 100%, 40%);">+ saved_cppflags="${CPPFLAGS}"</span><br><span style="color: hsl(120, 100%, 40%);">+ saved_libs="${LIBS}"</span><br><span style="color: hsl(120, 100%, 40%);">+ CPPFLAGS="${CPPFLAGS} ${PJPROJECT_CFLAGS}"</span><br><span style="color: hsl(120, 100%, 40%);">+ LIBS="${LIBS} ${PJPROJECT_LIB}"</span><br><span style="color: hsl(120, 100%, 40%);">+ AST_C_COMPILE_CHECK([PJSIP_TLS_TRANSPORT_PROTO], [struct pjsip_tls_setting setting; int proto; proto = setting.proto;], [pjsip.h])</span><br><span style="color: hsl(120, 100%, 40%);">+ AST_C_COMPILE_CHECK([PJSIP_INV_ACCEPT_MULTIPLE_SDP_ANSWERS], [pjsip_cfg()->endpt.accept_multiple_sdp_answers = 0;], [pjsip.h])</span><br><span style="color: hsl(120, 100%, 40%);">+ AST_C_COMPILE_CHECK([PJSIP_ENDPOINT_COMPACT_FORM], [pjsip_cfg()->endpt.use_compact_form = PJ_TRUE;], [pjsip.h])</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_MSG_CHECKING(for pjproject on_valid_pair callback)</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_LINK_IFELSE(</span><br><span style="color: hsl(120, 100%, 40%);">+ [AC_LANG_PROGRAM(</span><br><span style="color: hsl(120, 100%, 40%);">+ [#include <pjsip.h></span><br><span style="color: hsl(120, 100%, 40%);">+ #include <pjsip_ua.h></span><br><span style="color: hsl(120, 100%, 40%);">+ #include <pjnath.h></span><br><span style="color: hsl(120, 100%, 40%);">+ void on_valid_pair(pj_ice_sess *ice) {}</span><br><span style="color: hsl(120, 100%, 40%);">+ void on_ice_complete(pj_ice_sess *ice, pj_status_t status) {}</span><br><span style="color: hsl(120, 100%, 40%);">+ void on_rx_data(pj_ice_sess *ice, unsigned comp_id, unsigned transport_id, void *pkt, pj_size_t size, const pj_sockaddr_t *src_addr, unsigned src_addr_len) {}</span><br><span style="color: hsl(120, 100%, 40%);">+ pj_status_t on_tx_pkt(pj_ice_sess *ice, unsigned comp_id, unsigned transport_id, const void *pkt, pj_size_t size, const pj_sockaddr_t *dst_addr, unsigned dst_addr_len) {}],</span><br><span style="color: hsl(120, 100%, 40%);">+ [pj_ice_sess_cb ice_sess_cb = {</span><br><span style="color: hsl(120, 100%, 40%);">+ .on_valid_pair = on_valid_pair,</span><br><span style="color: hsl(120, 100%, 40%);">+ .on_ice_complete = on_ice_complete,</span><br><span style="color: hsl(120, 100%, 40%);">+ .on_rx_data = on_rx_data,</span><br><span style="color: hsl(120, 100%, 40%);">+ .on_tx_pkt = on_tx_pkt,</span><br><span style="color: hsl(120, 100%, 40%);">+ };])],</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_MSG_RESULT(yes)</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_DEFINE(HAVE_PJPROJECT_ON_VALID_ICE_PAIR_CALLBACK, 1, [Define to 1 if on_valid_pair callback is present.]),</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_MSG_RESULT(no)</span><br><span style="color: hsl(120, 100%, 40%);">+ )</span><br><span style="color: hsl(120, 100%, 40%);">+ LIBS="${saved_libs}"</span><br><span style="color: hsl(120, 100%, 40%);">+ CPPFLAGS="${saved_cppflags}"</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- saved_cppflags="${CPPFLAGS}"</span><br><span style="color: hsl(0, 100%, 40%);">- saved_libs="${LIBS}"</span><br><span style="color: hsl(0, 100%, 40%);">- CPPFLAGS="${CPPFLAGS} ${PJPROJECT_CFLAGS}"</span><br><span style="color: hsl(0, 100%, 40%);">- LIBS="${LIBS} ${PJPROJECT_LIB}"</span><br><span style="color: hsl(0, 100%, 40%);">- AST_C_COMPILE_CHECK([PJSIP_TLS_TRANSPORT_PROTO], [struct pjsip_tls_setting setting; int proto; proto = setting.proto;], [pjsip.h])</span><br><span style="color: hsl(0, 100%, 40%);">- AST_C_COMPILE_CHECK([PJSIP_INV_ACCEPT_MULTIPLE_SDP_ANSWERS], [pjsip_cfg()->endpt.accept_multiple_sdp_answers = 0;], [pjsip.h])</span><br><span style="color: hsl(0, 100%, 40%);">- AST_C_COMPILE_CHECK([PJSIP_ENDPOINT_COMPACT_FORM], [pjsip_cfg()->endpt.use_compact_form = PJ_TRUE;], [pjsip.h])</span><br><span style="color: hsl(0, 100%, 40%);">- AC_MSG_CHECKING(for pjproject on_valid_pair callback)</span><br><span style="color: hsl(0, 100%, 40%);">- AC_LINK_IFELSE(</span><br><span style="color: hsl(0, 100%, 40%);">- [AC_LANG_PROGRAM(</span><br><span style="color: hsl(0, 100%, 40%);">- [#include <pjsip.h></span><br><span style="color: hsl(0, 100%, 40%);">- #include <pjsip_ua.h></span><br><span style="color: hsl(0, 100%, 40%);">- #include <pjnath.h></span><br><span style="color: hsl(0, 100%, 40%);">- void on_valid_pair(pj_ice_sess *ice) {}</span><br><span style="color: hsl(0, 100%, 40%);">- void on_ice_complete(pj_ice_sess *ice, pj_status_t status) {}</span><br><span style="color: hsl(0, 100%, 40%);">- void on_rx_data(pj_ice_sess *ice, unsigned comp_id, unsigned transport_id, void *pkt, pj_size_t size, const pj_sockaddr_t *src_addr, unsigned src_addr_len) {}</span><br><span style="color: hsl(0, 100%, 40%);">- pj_status_t on_tx_pkt(pj_ice_sess *ice, unsigned comp_id, unsigned transport_id, const void *pkt, pj_size_t size, const pj_sockaddr_t *dst_addr, unsigned dst_addr_len) {}],</span><br><span style="color: hsl(0, 100%, 40%);">- [pj_ice_sess_cb ice_sess_cb = {</span><br><span style="color: hsl(0, 100%, 40%);">- .on_valid_pair = on_valid_pair,</span><br><span style="color: hsl(0, 100%, 40%);">- .on_ice_complete = on_ice_complete,</span><br><span style="color: hsl(0, 100%, 40%);">- .on_rx_data = on_rx_data,</span><br><span style="color: hsl(0, 100%, 40%);">- .on_tx_pkt = on_tx_pkt,</span><br><span style="color: hsl(0, 100%, 40%);">- };])],</span><br><span style="color: hsl(0, 100%, 40%);">- AC_MSG_RESULT(yes)</span><br><span style="color: hsl(0, 100%, 40%);">- AC_DEFINE(HAVE_PJPROJECT_ON_VALID_ICE_PAIR_CALLBACK, 1, [Define to 1 if on_valid_pair callback is present.]),</span><br><span style="color: hsl(0, 100%, 40%);">- AC_MSG_RESULT(no)</span><br><span style="color: hsl(0, 100%, 40%);">- )</span><br><span style="color: hsl(0, 100%, 40%);">- LIBS="${saved_libs}"</span><br><span style="color: hsl(0, 100%, 40%);">- CPPFLAGS="${saved_cppflags}"</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- AST_EXT_LIB_CHECK([PJSIP_EVSUB_GRP_LOCK], [pjsip], [pjsip_evsub_add_ref], [pjsip.h], [$PJPROJECT_LIB], [$PJPROJECT_CFLAGS])</span><br><span style="color: hsl(0, 100%, 40%);">- AST_EXT_LIB_CHECK([PJSIP_INV_SESSION_REF], [pjsip], [pjsip_inv_add_ref], [pjsip.h], [$PJPROJECT_LIB], [$PJPROJECT_CFLAGS])</span><br><span style="color: hsl(0, 100%, 40%);">- AST_EXT_LIB_CHECK([PJSIP_AUTH_CLT_DEINIT], [pjsip], [pjsip_auth_clt_deinit], [pjsip.h], [$PJPROJECT_LIB], [$PJPROJECT_CFLAGS])</span><br><span style="color: hsl(0, 100%, 40%);">- AST_EXT_LIB_CHECK([PJSIP_TSX_LAYER_FIND_TSX2], [pjsip], [pjsip_tsx_layer_find_tsx2], [pjsip.h], [$PJPROJECT_LIB], [$PJPROJECT_CFLAGS])</span><br><span style="color: hsl(120, 100%, 40%);">+ AST_EXT_LIB_CHECK([PJSIP_EVSUB_GRP_LOCK], [pjsip], [pjsip_evsub_add_ref], [pjsip.h], [$PJPROJECT_LIB], [$PJPROJECT_CFLAGS])</span><br><span style="color: hsl(120, 100%, 40%);">+ AST_EXT_LIB_CHECK([PJSIP_INV_SESSION_REF], [pjsip], [pjsip_inv_add_ref], [pjsip.h], [$PJPROJECT_LIB], [$PJPROJECT_CFLAGS])</span><br><span style="color: hsl(120, 100%, 40%);">+ AST_EXT_LIB_CHECK([PJSIP_AUTH_CLT_DEINIT], [pjsip], [pjsip_auth_clt_deinit], [pjsip.h], [$PJPROJECT_LIB], [$PJPROJECT_CFLAGS])</span><br><span style="color: hsl(120, 100%, 40%);">+ AST_EXT_LIB_CHECK([PJSIP_TSX_LAYER_FIND_TSX2], [pjsip], [pjsip_tsx_layer_find_tsx2], [pjsip.h], [$PJPROJECT_LIB], [$PJPROJECT_CFLAGS])</span><br><span style="color: hsl(120, 100%, 40%);">+ fi</span><br><span> fi</span><br><span> </span><br><span> if test "x$PBX_PJPROJECT" = "x1" ; then</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/14212">change 14212</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/c/asterisk/+/14212"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 16 </div>
<div style="display:none"> Gerrit-Change-Id: I11d5693d25c166c99d8cebffc16184d58f6362de </div>
<div style="display:none"> Gerrit-Change-Number: 14212 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Alexander Traud <pabstraud@compuserve.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>