<p>Alexander Traud has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/9063">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">pjproject_bundled: Repair ./configure --with-ssl=PATH.<br><br>Previously, Asterisk did not tell its bundled PJProject about this configure<br>parameter. Therefore, PJProject used the platform provided OpenSSL always.<br><br>ASTERISK-27880<br><br>Change-Id: Iea545aec854dd0e2c061c69bb118a76ce56c5dc6<br>---<br>M configure<br>M third-party/pjproject/configure.m4<br>2 files changed, 34 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/63/9063/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/configure b/configure<br>index 30aabfd..88cc23e 100755<br>--- a/configure<br>+++ b/configure<br>@@ -9213,6 +9213,23 @@<br> if test "$host" != "$this_host" ; then<br> PJPROJECT_CONFIGURE_OPTS+=" --host=$host"<br> fi<br>+ # This was a copy of the autoconf generated code from the root ./configure.<br>+ # Hopefully, when you read this, the code is still the same.<br>+ if test "${with_ssl+set}" = set; then :<br>+ case $with_ssl in<br>+ n|no)<br>+ PJPROJECT_CONFIGURE_OPTS+=" --disable-ssl"<br>+ ;;<br>+ y|ye|yes)<br>+ # This is the default value in PJProject and means "autodetect".<br>+ # In Asterisk, "./configure --with-ssl" means "must be present".<br>+ PJPROJECT_CONFIGURE_OPTS+=" --enable-ssl"<br>+ ;;<br>+ *)<br>+ PJPROJECT_CONFIGURE_OPTS+=" --with-ssl=${with_ssl}"<br>+ ;;<br>+ esac<br>+ fi<br> <br> export TAR PATCH SED NM EXTERNALS_CACHE_DIR AST_DOWNLOAD_CACHE DOWNLOAD_TO_STDOUT DOWNLOAD_TIMEOUT DOWNLOAD MD5 CAT CUT GREP<br> export NOISY_BUILD<br>diff --git a/third-party/pjproject/configure.m4 b/third-party/pjproject/configure.m4<br>index 42482b2..0e7edab 100644<br>--- a/third-party/pjproject/configure.m4<br>+++ b/third-party/pjproject/configure.m4<br>@@ -54,6 +54,23 @@<br> if test "$host" != "$this_host" ; then<br> PJPROJECT_CONFIGURE_OPTS+=" --host=$host"<br> fi<br>+ # This was a copy of the autoconf generated code from the root ./configure.<br>+ # Hopefully, when you read this, the code is still the same.<br>+ if test "${with_ssl+set}" = set; then :<br>+ case $with_ssl in<br>+ n|no)<br>+ PJPROJECT_CONFIGURE_OPTS+=" --disable-ssl"<br>+ ;;<br>+ y|ye|yes)<br>+ # This is the default value in PJProject and means "autodetect".<br>+ # In Asterisk, "./configure --with-ssl" means "must be present".<br>+ PJPROJECT_CONFIGURE_OPTS+=" --enable-ssl"<br>+ ;;<br>+ *)<br>+ PJPROJECT_CONFIGURE_OPTS+=" --with-ssl=${with_ssl}"<br>+ ;;<br>+ esac<br>+ fi<br> <br> export TAR PATCH SED NM EXTERNALS_CACHE_DIR AST_DOWNLOAD_CACHE DOWNLOAD_TO_STDOUT DOWNLOAD_TIMEOUT DOWNLOAD MD5 CAT CUT GREP<br> export NOISY_BUILD<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/9063">change 9063</a>. To unsubscribe, 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/9063"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Iea545aec854dd0e2c061c69bb118a76ce56c5dc6 </div>
<div style="display:none"> Gerrit-Change-Number: 9063 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Alexander Traud <pabstraud@compuserve.com> </div>