<p>Corey Farrell has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/9435">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Fix declaration of PBX_CURL for ./configure --without-libcurl<br><br>When `--without-libcurl` is used PBX_CURL is never set. Set default<br>value 0 so the proper value is passed to menuselect.<br><br>Change-Id: I03e2842a00899cbca2dbde52bb1f6636d54bae1e<br>---<br>M autoconf/libcurl.m4<br>M configure<br>2 files changed, 2 insertions(+), 3 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/35/9435/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/autoconf/libcurl.m4 b/autoconf/libcurl.m4</span><br><span>index 9a31bfc..e1ae2a4 100644</span><br><span>--- a/autoconf/libcurl.m4</span><br><span>+++ b/autoconf/libcurl.m4</span><br><span>@@ -80,7 +80,7 @@</span><br><span> AH_TEMPLATE([LIBCURL_PROTOCOL_POP3],[Defined if libcurl supports POP3])</span><br><span> AH_TEMPLATE([LIBCURL_PROTOCOL_IMAP],[Defined if libcurl supports IMAP])</span><br><span> AH_TEMPLATE([LIBCURL_PROTOCOL_SMTP],[Defined if libcurl supports SMTP])</span><br><span style="color: hsl(0, 100%, 40%);">- AC_SUBST(PBX_CURL)</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_SUBST(PBX_CURL, 0)</span><br><span> </span><br><span> AC_ARG_WITH(libcurl,</span><br><span> AS_HELP_STRING([--with-libcurl=PREFIX],[look for the curl library in PREFIX/lib and headers in PREFIX/include]),</span><br><span>@@ -248,7 +248,6 @@</span><br><span> else</span><br><span> unset CURL_LIB</span><br><span> unset CURL_INCLUDE</span><br><span style="color: hsl(0, 100%, 40%);">- PBX_CURL=0</span><br><span> fi</span><br><span> fi</span><br><span> </span><br><span>diff --git a/configure b/configure</span><br><span>index d13e5ef..984f53b 100755</span><br><span>--- a/configure</span><br><span>+++ b/configure</span><br><span>@@ -10247,6 +10247,7 @@</span><br><span> </span><br><span> </span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+ PBX_CURL=0</span><br><span> </span><br><span> </span><br><span> </span><br><span>@@ -10586,7 +10587,6 @@</span><br><span> else</span><br><span> unset CURL_LIB</span><br><span> unset CURL_INCLUDE</span><br><span style="color: hsl(0, 100%, 40%);">- PBX_CURL=0</span><br><span> fi</span><br><span> fi</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/9435">change 9435</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/9435"/><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: I03e2842a00899cbca2dbde52bb1f6636d54bae1e </div>
<div style="display:none"> Gerrit-Change-Number: 9435 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Corey Farrell <git@cfware.com> </div>