<p>Guido Falsi has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/14336">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">pjproject: Remove bashism from configure.m4 script<br><br>The configure.m4 script for pjproject contains some += syntax, which<br>is specific to bash, replacing it with string substitutions makes<br>the script compatible with traditional Bourne shells.<br><br>ASTERISK-28866 #close<br>Reported-by: Christoph Moench-Tegeder <cmt@FreeBSD.org><br><br>Change-Id: I382a78160e028044598b7da83ec7e1ff42b91c05<br>---<br>M third-party/pjproject/configure.m4<br>1 file changed, 5 insertions(+), 5 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/36/14336/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 7cbb307..485e4f1 100644</span><br><span>--- a/third-party/pjproject/configure.m4</span><br><span>+++ b/third-party/pjproject/configure.m4</span><br><span>@@ -51,25 +51,25 @@</span><br><span>                 AC_ARG_VAR([PJPROJECT_CONFIGURE_OPTS],[Additional configure options to pass to bundled pjproject])</span><br><span>           this_host=$(./config.sub $(./config.guess))</span><br><span>          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(120, 100%, 40%);">+                   PJPROJECT_CONFIGURE_OPTS="${PJPROJECT_CONFIGURE_OPTS} --build=$build_alias"</span><br><span>                fi</span><br><span>           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(120, 100%, 40%);">+                     PJPROJECT_CONFIGURE_OPTS="${PJPROJECT_CONFIGURE_OPTS} --host=$host_alias"</span><br><span>          fi</span><br><span>           # This was a copy of the autoconf generated code from the root ./configure.</span><br><span>          # Hopefully, when you read this, the code is still the same.</span><br><span>                 if test "${with_ssl+set}" = set; then :</span><br><span>                    case $with_ssl in</span><br><span>                    n|no)</span><br><span style="color: hsl(0, 100%, 40%);">-                   PJPROJECT_CONFIGURE_OPTS+=" --disable-ssl"</span><br><span style="color: hsl(120, 100%, 40%);">+                  PJPROJECT_CONFIGURE_OPTS="${PJPROJECT_CONFIGURE_OPTS} --disable-ssl"</span><br><span>                       ;;</span><br><span>                   y|ye|yes)</span><br><span>                    # Not to mention SSL is the default in PJProject and means "autodetect".</span><br><span>                   # 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(120, 100%, 40%);">+                        PJPROJECT_CONFIGURE_OPTS="${PJPROJECT_CONFIGURE_OPTS}"</span><br><span>                     ;;</span><br><span>                   *)</span><br><span style="color: hsl(0, 100%, 40%);">-                      PJPROJECT_CONFIGURE_OPTS+=" --with-ssl=${with_ssl}"</span><br><span style="color: hsl(120, 100%, 40%);">+                 PJPROJECT_CONFIGURE_OPTS="${PJPROJECT_CONFIGURE_OPTS} --with-ssl=${with_ssl}"</span><br><span>                      ;;</span><br><span>                   esac</span><br><span>                 fi</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/14336">change 14336</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/+/14336"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-Change-Id: I382a78160e028044598b7da83ec7e1ff42b91c05 </div>
<div style="display:none"> Gerrit-Change-Number: 14336 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Guido Falsi <madpilot@freebsd.org> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>