<p>Alexander Traud has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/14218">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">pjproject_bundled: Honor --without-pjproject.<br><br>ASTERISK-28837<br><br>Change-Id: Id057324912a3cfe6f50af372675626bb515907d9<br>---<br>M third-party/pjproject/configure.m4<br>1 file changed, 103 insertions(+), 99 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/18/14218/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/third-party/pjproject/configure.m4 b/third-party/pjproject/configure.m4</span><br><span>index 81a6559..eab20f7 100644</span><br><span>--- a/third-party/pjproject/configure.m4</span><br><span>+++ b/third-party/pjproject/configure.m4</span><br><span>@@ -9,111 +9,115 @@</span><br><span> AC_MSG_ERROR(--with-pjproject and --with-pjproject-bundled can't both be specified)</span><br><span> fi</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- ac_mandatory_list="$ac_mandatory_list PJPROJECT"</span><br><span style="color: hsl(0, 100%, 40%);">- PJPROJECT_DIR="${ac_top_build_prefix}third-party/pjproject"</span><br><span style="color: hsl(120, 100%, 40%);">+ if test "${with_pjproject}" != "no" && test "${with_pjproject}" != "n" ; then</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- AC_MSG_CHECKING(for embedded pjproject (may have to download))</span><br><span style="color: hsl(0, 100%, 40%);">- AC_MSG_RESULT(configuring)</span><br><span style="color: hsl(120, 100%, 40%);">+ ac_mandatory_list="$ac_mandatory_list PJPROJECT"</span><br><span style="color: hsl(120, 100%, 40%);">+ PJPROJECT_DIR="${ac_top_build_prefix}third-party/pjproject"</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- if test "x${DOWNLOAD_TO_STDOUT}" = "x" ; then</span><br><span style="color: hsl(0, 100%, 40%);">- AC_MSG_ERROR(A download utility (wget, curl, or fetch) is required to download bundled pjproject)</span><br><span style="color: hsl(0, 100%, 40%);">- fi</span><br><span style="color: hsl(0, 100%, 40%);">- if test "${BZIP2}" = ":" ; then</span><br><span style="color: hsl(0, 100%, 40%);">- AC_MSG_ERROR(bzip2 is required to extract the pjproject tar file)</span><br><span style="color: hsl(0, 100%, 40%);">- fi</span><br><span style="color: hsl(0, 100%, 40%);">- if test "${TAR}" = ":" ; then</span><br><span style="color: hsl(0, 100%, 40%);">- AC_MSG_ERROR(tar is required to extract the pjproject tar file)</span><br><span style="color: hsl(0, 100%, 40%);">- fi</span><br><span style="color: hsl(0, 100%, 40%);">- if test "${PATCH}" = ":" ; then</span><br><span style="color: hsl(0, 100%, 40%);">- AC_MSG_ERROR(patch is required to configure bundled pjproject)</span><br><span style="color: hsl(0, 100%, 40%);">- fi</span><br><span style="color: hsl(0, 100%, 40%);">- if test "${SED}" = ":" ; then</span><br><span style="color: hsl(0, 100%, 40%);">- AC_MSG_ERROR(sed is required to configure bundled pjproject)</span><br><span style="color: hsl(0, 100%, 40%);">- fi</span><br><span style="color: hsl(0, 100%, 40%);">- if test "${NM}" = ":" ; then</span><br><span style="color: hsl(0, 100%, 40%);">- AC_MSG_ERROR(nm is required to build bundled pjproject)</span><br><span style="color: hsl(0, 100%, 40%);">- fi</span><br><span style="color: hsl(0, 100%, 40%);">- if test "${MD5}" = ":" ; then</span><br><span style="color: hsl(0, 100%, 40%);">- AC_MSG_ERROR(md5sum is required to build bundled pjproject)</span><br><span style="color: hsl(0, 100%, 40%);">- fi</span><br><span style="color: hsl(0, 100%, 40%);">- if test "${CAT}" = ":" ; then</span><br><span style="color: hsl(0, 100%, 40%);">- AC_MSG_ERROR(cat is required to build bundled pjproject)</span><br><span style="color: hsl(0, 100%, 40%);">- fi</span><br><span style="color: hsl(0, 100%, 40%);">- if test "${CUT}" = ":" ; then</span><br><span style="color: hsl(0, 100%, 40%);">- AC_MSG_ERROR(cut is required to build bundled pjproject)</span><br><span style="color: hsl(0, 100%, 40%);">- fi</span><br><span style="color: hsl(0, 100%, 40%);">- if test "${GREP}" = ":" ; then</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_MSG_CHECKING(for embedded pjproject (may have to download))</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_MSG_RESULT(configuring)</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+ if test "x${DOWNLOAD_TO_STDOUT}" = "x" ; then</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_MSG_ERROR(A download utility (wget, curl, or fetch) is required to download bundled pjproject)</span><br><span style="color: hsl(120, 100%, 40%);">+ fi</span><br><span style="color: hsl(120, 100%, 40%);">+ if test "${BZIP2}" = ":" ; then</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_MSG_ERROR(bzip2 is required to extract the pjproject tar file)</span><br><span style="color: hsl(120, 100%, 40%);">+ fi</span><br><span style="color: hsl(120, 100%, 40%);">+ if test "${TAR}" = ":" ; then</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_MSG_ERROR(tar is required to extract the pjproject tar file)</span><br><span style="color: hsl(120, 100%, 40%);">+ fi</span><br><span style="color: hsl(120, 100%, 40%);">+ if test "${PATCH}" = ":" ; then</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_MSG_ERROR(patch is required to configure bundled pjproject)</span><br><span style="color: hsl(120, 100%, 40%);">+ fi</span><br><span style="color: hsl(120, 100%, 40%);">+ if test "${SED}" = ":" ; then</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_MSG_ERROR(sed is required to configure bundled pjproject)</span><br><span style="color: hsl(120, 100%, 40%);">+ fi</span><br><span style="color: hsl(120, 100%, 40%);">+ if test "${NM}" = ":" ; then</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_MSG_ERROR(nm is required to build bundled pjproject)</span><br><span style="color: hsl(120, 100%, 40%);">+ fi</span><br><span style="color: hsl(120, 100%, 40%);">+ if test "${MD5}" = ":" ; then</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_MSG_ERROR(md5sum is required to build bundled pjproject)</span><br><span style="color: hsl(120, 100%, 40%);">+ fi</span><br><span style="color: hsl(120, 100%, 40%);">+ if test "${CAT}" = ":" ; then</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_MSG_ERROR(cat is required to build bundled pjproject)</span><br><span style="color: hsl(120, 100%, 40%);">+ fi</span><br><span style="color: hsl(120, 100%, 40%);">+ if test "${CUT}" = ":" ; then</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_MSG_ERROR(cut is required to build bundled pjproject)</span><br><span style="color: hsl(120, 100%, 40%);">+ fi</span><br><span style="color: hsl(120, 100%, 40%);">+ if test "${GREP}" = ":" ; then</span><br><span> AC_MSG_ERROR(grep is required to build bundled pjproject)</span><br><span style="color: hsl(0, 100%, 40%);">- fi</span><br><span style="color: hsl(120, 100%, 40%);">+ fi</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- AC_ARG_VAR([PJPROJECT_CONFIGURE_OPTS],[Additional configure options to pass to bundled pjproject])</span><br><span style="color: hsl(0, 100%, 40%);">- this_host=$(./config.sub $(./config.guess))</span><br><span style="color: hsl(0, 100%, 40%);">- if test "$build" != "$this_host" ; then</span><br><span style="color: hsl(0, 100%, 40%);">- PJPROJECT_CONFIGURE_OPTS+=" --build=$build_alias"</span><br><span style="color: hsl(0, 100%, 40%);">- fi</span><br><span style="color: hsl(0, 100%, 40%);">- if test "$host" != "$this_host" ; then</span><br><span style="color: hsl(0, 100%, 40%);">- PJPROJECT_CONFIGURE_OPTS+=" --host=$host_alias"</span><br><span style="color: hsl(0, 100%, 40%);">- fi</span><br><span style="color: hsl(0, 100%, 40%);">- # This was a copy of the autoconf generated code from the root ./configure.</span><br><span style="color: hsl(0, 100%, 40%);">- # Hopefully, when you read this, the code is still the same.</span><br><span style="color: hsl(0, 100%, 40%);">- if test "${with_ssl+set}" = set; then :</span><br><span style="color: hsl(0, 100%, 40%);">- case $with_ssl in</span><br><span style="color: hsl(0, 100%, 40%);">- n|no)</span><br><span style="color: hsl(0, 100%, 40%);">- PJPROJECT_CONFIGURE_OPTS+=" --disable-ssl"</span><br><span style="color: hsl(0, 100%, 40%);">- ;;</span><br><span style="color: hsl(0, 100%, 40%);">- y|ye|yes)</span><br><span style="color: hsl(0, 100%, 40%);">- # Not to mention SSL is the default in PJProject and means "autodetect".</span><br><span style="color: hsl(0, 100%, 40%);">- # In Asterisk, "./configure --with-ssl" means "must be present".</span><br><span style="color: hsl(0, 100%, 40%);">- PJPROJECT_CONFIGURE_OPTS+=""</span><br><span style="color: hsl(0, 100%, 40%);">- ;;</span><br><span style="color: hsl(0, 100%, 40%);">- *)</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_ARG_VAR([PJPROJECT_CONFIGURE_OPTS],[Additional configure options to pass to bundled pjproject])</span><br><span style="color: hsl(120, 100%, 40%);">+ this_host=$(./config.sub $(./config.guess))</span><br><span style="color: hsl(120, 100%, 40%);">+ if test "$build" != "$this_host" ; then</span><br><span style="color: hsl(120, 100%, 40%);">+ PJPROJECT_CONFIGURE_OPTS+=" --build=$build_alias"</span><br><span style="color: hsl(120, 100%, 40%);">+ fi</span><br><span style="color: hsl(120, 100%, 40%);">+ if test "$host" != "$this_host" ; then</span><br><span style="color: hsl(120, 100%, 40%);">+ PJPROJECT_CONFIGURE_OPTS+=" --host=$host_alias"</span><br><span style="color: hsl(120, 100%, 40%);">+ fi</span><br><span style="color: hsl(120, 100%, 40%);">+ # This was a copy of the autoconf generated code from the root ./configure.</span><br><span style="color: hsl(120, 100%, 40%);">+ # Hopefully, when you read this, the code is still the same.</span><br><span style="color: hsl(120, 100%, 40%);">+ if test "${with_ssl+set}" = set; then :</span><br><span style="color: hsl(120, 100%, 40%);">+ case $with_ssl in</span><br><span style="color: hsl(120, 100%, 40%);">+ n|no)</span><br><span style="color: hsl(120, 100%, 40%);">+ PJPROJECT_CONFIGURE_OPTS+=" --disable-ssl"</span><br><span style="color: hsl(120, 100%, 40%);">+ ;;</span><br><span style="color: hsl(120, 100%, 40%);">+ y|ye|yes)</span><br><span style="color: hsl(120, 100%, 40%);">+ # Not to mention SSL is the default in PJProject and means "autodetect".</span><br><span style="color: hsl(120, 100%, 40%);">+ # In Asterisk, "./configure --with-ssl" means "must be present".</span><br><span style="color: hsl(120, 100%, 40%);">+ PJPROJECT_CONFIGURE_OPTS+=""</span><br><span style="color: hsl(120, 100%, 40%);">+ ;;</span><br><span style="color: hsl(120, 100%, 40%);">+ *)</span><br><span> PJPROJECT_CONFIGURE_OPTS+=" --with-ssl=${with_ssl}"</span><br><span style="color: hsl(0, 100%, 40%);">- ;;</span><br><span style="color: hsl(0, 100%, 40%);">- esac</span><br><span style="color: hsl(120, 100%, 40%);">+ ;;</span><br><span style="color: hsl(120, 100%, 40%);">+ esac</span><br><span style="color: hsl(120, 100%, 40%);">+ fi</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+ export TAR PATCH SED NM EXTERNALS_CACHE_DIR AST_DOWNLOAD_CACHE DOWNLOAD_TO_STDOUT DOWNLOAD_TIMEOUT DOWNLOAD MD5 CAT CUT GREP</span><br><span style="color: hsl(120, 100%, 40%);">+ export NOISY_BUILD AST_DEVMODE</span><br><span style="color: hsl(120, 100%, 40%);">+ ${GNU_MAKE} --quiet --no-print-directory -C ${PJPROJECT_DIR} \</span><br><span style="color: hsl(120, 100%, 40%);">+ PJPROJECT_CONFIGURE_OPTS="$PJPROJECT_CONFIGURE_OPTS" \</span><br><span style="color: hsl(120, 100%, 40%);">+ EXTERNALS_CACHE_DIR="${EXTERNALS_CACHE_DIR:-${AST_DOWNLOAD_CACHE}}" \</span><br><span style="color: hsl(120, 100%, 40%);">+ configure</span><br><span style="color: hsl(120, 100%, 40%);">+ if test $? -ne 0 ; then</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_MSG_RESULT(failed)</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_MSG_NOTICE(Unable to configure ${PJPROJECT_DIR})</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_MSG_ERROR(Re-run the ./configure command with 'NOISY_BUILD=yes' appended to see error details.)</span><br><span style="color: hsl(120, 100%, 40%);">+ fi</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_MSG_CHECKING(for bundled pjproject)</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+ PJPROJECT_INCLUDE=$(${GNU_MAKE} --quiet --no-print-directory -C ${PJPROJECT_DIR} PJPROJECT_CONFIGURE_OPTS="$PJPROJECT_CONFIGURE_OPTS" EXTERNALS_CACHE_DIR="${EXTERNALS_CACHE_DIR:-${AST_DOWNLOAD_CACHE}}" echo_cflags)</span><br><span style="color: hsl(120, 100%, 40%);">+ PJPROJECT_CFLAGS="$PJPROJECT_INCLUDE"</span><br><span style="color: hsl(120, 100%, 40%);">+ PBX_PJPROJECT=1</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_DEFINE([HAVE_PJPROJECT], 1, [Define if your system has PJPROJECT])</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_DEFINE([HAVE_PJPROJECT_BUNDLED], 1, [Define if your system has PJPROJECT_BUNDLED])</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_DEFINE([HAVE_PJSIP_DLG_CREATE_UAS_AND_INC_LOCK], 1, [Define if your system has pjsip_dlg_create_uas_and_inc_lock declared.])</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_DEFINE([HAVE_PJ_TRANSACTION_GRP_LOCK], 1, [Define if your system has pjsip_tsx_create_uac2 declared.])</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_DEFINE([HAVE_PJSIP_REPLACE_MEDIA_STREAM], 1, [Define if your system has PJSIP_REPLACE_MEDIA_STREAM declared])</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_DEFINE([HAVE_PJSIP_GET_DEST_INFO], 1, [Define if your system has pjsip_get_dest_info declared.])</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_DEFINE([HAVE_PJ_SSL_CERT_LOAD_FROM_FILES2], 1, [Define if your system has pj_ssl_cert_load_from_files2 declared.])</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_DEFINE([HAVE_PJSIP_EXTERNAL_RESOLVER], 1, [Define if your system has pjsip_endpt_set_ext_resolver declared.])</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_DEFINE([HAVE_PJSIP_TLS_TRANSPORT_PROTO], 1, [Define if your system has PJSIP_TLS_TRANSPORT_PROTO])</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_DEFINE([HAVE_PJSIP_EVSUB_GRP_LOCK], 1, [Define if your system has PJSIP_EVSUB_GRP_LOCK])</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_DEFINE([HAVE_PJSIP_INV_SESSION_REF], 1, [Define if your system has PJSIP_INV_SESSION_REF])</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_DEFINE([HAVE_PJSIP_AUTH_CLT_DEINIT], 1, [Define if your system has pjsip_auth_clt_deinit declared.])</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_DEFINE([HAVE_PJSIP_TSX_LAYER_FIND_TSX2], 1, [Define if your system has pjsip_tsx_layer_find_tsx2 declared.])</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_DEFINE([HAVE_PJSIP_INV_ACCEPT_MULTIPLE_SDP_ANSWERS], 1, [Define if your system has HAVE_PJSIP_INV_ACCEPT_MULTIPLE_SDP_ANSWERS declared.])</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_DEFINE([HAVE_PJSIP_ENDPOINT_COMPACT_FORM], 1, [Define if your system has HAVE_PJSIP_ENDPOINT_COMPACT_FORM declared.])</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_DEFINE([HAVE_PJPROJECT_ON_VALID_ICE_PAIR_CALLBACK], 1, [Define if your system has the on_valid_pair pjnath callback.])</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_SUBST([PJPROJECT_BUNDLED])</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_SUBST([PJPROJECT_DIR])</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_SUBST([PBX_PJPROJECT])</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_SUBST([PJPROJECT_LIB])</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_SUBST([PJPROJECT_INCLUDE])</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_MSG_RESULT(yes)</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> fi</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- export TAR PATCH SED NM EXTERNALS_CACHE_DIR AST_DOWNLOAD_CACHE DOWNLOAD_TO_STDOUT DOWNLOAD_TIMEOUT DOWNLOAD MD5 CAT CUT GREP</span><br><span style="color: hsl(0, 100%, 40%);">- export NOISY_BUILD AST_DEVMODE</span><br><span style="color: hsl(0, 100%, 40%);">- ${GNU_MAKE} --quiet --no-print-directory -C ${PJPROJECT_DIR} \</span><br><span style="color: hsl(0, 100%, 40%);">- PJPROJECT_CONFIGURE_OPTS="$PJPROJECT_CONFIGURE_OPTS" \</span><br><span style="color: hsl(0, 100%, 40%);">- EXTERNALS_CACHE_DIR="${EXTERNALS_CACHE_DIR:-${AST_DOWNLOAD_CACHE}}" \</span><br><span style="color: hsl(0, 100%, 40%);">- configure</span><br><span style="color: hsl(0, 100%, 40%);">- if test $? -ne 0 ; then</span><br><span style="color: hsl(0, 100%, 40%);">- AC_MSG_RESULT(failed)</span><br><span style="color: hsl(0, 100%, 40%);">- AC_MSG_NOTICE(Unable to configure ${PJPROJECT_DIR})</span><br><span style="color: hsl(0, 100%, 40%);">- AC_MSG_ERROR(Re-run the ./configure command with 'NOISY_BUILD=yes' appended to see error details.)</span><br><span style="color: hsl(0, 100%, 40%);">- fi</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- AC_MSG_CHECKING(for bundled pjproject)</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- PJPROJECT_INCLUDE=$(${GNU_MAKE} --quiet --no-print-directory -C ${PJPROJECT_DIR} PJPROJECT_CONFIGURE_OPTS="$PJPROJECT_CONFIGURE_OPTS" EXTERNALS_CACHE_DIR="${EXTERNALS_CACHE_DIR:-${AST_DOWNLOAD_CACHE}}" echo_cflags)</span><br><span style="color: hsl(0, 100%, 40%);">- PJPROJECT_CFLAGS="$PJPROJECT_INCLUDE"</span><br><span style="color: hsl(0, 100%, 40%);">- PBX_PJPROJECT=1</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- AC_DEFINE([HAVE_PJPROJECT], 1, [Define if your system has PJPROJECT])</span><br><span style="color: hsl(0, 100%, 40%);">- AC_DEFINE([HAVE_PJPROJECT_BUNDLED], 1, [Define if your system has PJPROJECT_BUNDLED])</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- AC_DEFINE([HAVE_PJSIP_DLG_CREATE_UAS_AND_INC_LOCK], 1, [Define if your system has pjsip_dlg_create_uas_and_inc_lock declared.])</span><br><span style="color: hsl(0, 100%, 40%);">- AC_DEFINE([HAVE_PJ_TRANSACTION_GRP_LOCK], 1, [Define if your system has pjsip_tsx_create_uac2 declared.])</span><br><span style="color: hsl(0, 100%, 40%);">- AC_DEFINE([HAVE_PJSIP_REPLACE_MEDIA_STREAM], 1, [Define if your system has PJSIP_REPLACE_MEDIA_STREAM declared])</span><br><span style="color: hsl(0, 100%, 40%);">- AC_DEFINE([HAVE_PJSIP_GET_DEST_INFO], 1, [Define if your system has pjsip_get_dest_info declared.])</span><br><span style="color: hsl(0, 100%, 40%);">- AC_DEFINE([HAVE_PJ_SSL_CERT_LOAD_FROM_FILES2], 1, [Define if your system has pj_ssl_cert_load_from_files2 declared.])</span><br><span style="color: hsl(0, 100%, 40%);">- AC_DEFINE([HAVE_PJSIP_EXTERNAL_RESOLVER], 1, [Define if your system has pjsip_endpt_set_ext_resolver declared.])</span><br><span style="color: hsl(0, 100%, 40%);">- AC_DEFINE([HAVE_PJSIP_TLS_TRANSPORT_PROTO], 1, [Define if your system has PJSIP_TLS_TRANSPORT_PROTO])</span><br><span style="color: hsl(0, 100%, 40%);">- AC_DEFINE([HAVE_PJSIP_EVSUB_GRP_LOCK], 1, [Define if your system has PJSIP_EVSUB_GRP_LOCK])</span><br><span style="color: hsl(0, 100%, 40%);">- AC_DEFINE([HAVE_PJSIP_INV_SESSION_REF], 1, [Define if your system has PJSIP_INV_SESSION_REF])</span><br><span style="color: hsl(0, 100%, 40%);">- AC_DEFINE([HAVE_PJSIP_AUTH_CLT_DEINIT], 1, [Define if your system has pjsip_auth_clt_deinit declared.])</span><br><span style="color: hsl(0, 100%, 40%);">- AC_DEFINE([HAVE_PJSIP_TSX_LAYER_FIND_TSX2], 1, [Define if your system has pjsip_tsx_layer_find_tsx2 declared.])</span><br><span style="color: hsl(0, 100%, 40%);">- AC_DEFINE([HAVE_PJSIP_INV_ACCEPT_MULTIPLE_SDP_ANSWERS], 1, [Define if your system has HAVE_PJSIP_INV_ACCEPT_MULTIPLE_SDP_ANSWERS declared.])</span><br><span style="color: hsl(0, 100%, 40%);">- AC_DEFINE([HAVE_PJSIP_ENDPOINT_COMPACT_FORM], 1, [Define if your system has HAVE_PJSIP_ENDPOINT_COMPACT_FORM declared.])</span><br><span style="color: hsl(0, 100%, 40%);">- AC_DEFINE([HAVE_PJPROJECT_ON_VALID_ICE_PAIR_CALLBACK], 1, [Define if your system has the on_valid_pair pjnath callback.])</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- AC_SUBST([PJPROJECT_BUNDLED])</span><br><span style="color: hsl(0, 100%, 40%);">- AC_SUBST([PJPROJECT_DIR])</span><br><span style="color: hsl(0, 100%, 40%);">- AC_SUBST([PBX_PJPROJECT])</span><br><span style="color: hsl(0, 100%, 40%);">- AC_SUBST([PJPROJECT_LIB])</span><br><span style="color: hsl(0, 100%, 40%);">- AC_SUBST([PJPROJECT_INCLUDE])</span><br><span style="color: hsl(0, 100%, 40%);">- AC_MSG_RESULT(yes)</span><br><span> ])</span><br><span> </span><br><span> AC_DEFUN([PJPROJECT_CONFIGURE],</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/14218">change 14218</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/+/14218"/><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: Id057324912a3cfe6f50af372675626bb515907d9 </div>
<div style="display:none"> Gerrit-Change-Number: 14218 </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>