<p>Corey Farrell has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/10065">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">install_prereq: Remove unpackaged version of jansson.<br><br>This is removed in favor of ./configure --with-jansson-bundled.  The<br>install-unpackaged command would only install jansson once, so once<br>installed it would never update, where the bundled copy will be kept up<br>to date.<br><br>Change-Id: Ideab1f65419608d3795aa608e9da873823cc42d3<br>---<br>M contrib/scripts/install_prereq<br>1 file changed, 0 insertions(+), 16 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/65/10065/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/contrib/scripts/install_prereq b/contrib/scripts/install_prereq</span><br><span>index dfeb36f..b8e977f 100755</span><br><span>--- a/contrib/scripts/install_prereq</span><br><span>+++ b/contrib/scripts/install_prereq</span><br><span>@@ -349,22 +349,6 @@</span><br><span>             cd ..</span><br><span>        fi</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-  # Only install Jansson if it wasn't installed via package</span><br><span style="color: hsl(0, 100%, 40%);">-   if ! test -f /usr/include/jansson.h; then</span><br><span style="color: hsl(0, 100%, 40%);">-               echo "*** Installing jansson ***"</span><br><span style="color: hsl(0, 100%, 40%);">-             wget -O - http://www.digip.org/jansson/releases/jansson-${JANSSON_VER}.tar.gz | zcat | tar -xf -</span><br><span style="color: hsl(0, 100%, 40%);">-                cd jansson-${JANSSON_VER}</span><br><span style="color: hsl(0, 100%, 40%);">-               ./configure</span><br><span style="color: hsl(0, 100%, 40%);">-             make all install</span><br><span style="color: hsl(0, 100%, 40%);">-                cd ..</span><br><span style="color: hsl(0, 100%, 40%);">-           if test -d /etc/ld.so.conf.d; then</span><br><span style="color: hsl(0, 100%, 40%);">-                      echo "/usr/local/lib" > /etc/ld.so.conf.d/usr_local.conf</span><br><span style="color: hsl(0, 100%, 40%);">-           else # for example: Slackware 14.2</span><br><span style="color: hsl(0, 100%, 40%);">-                      echo "/usr/local/lib" > /etc/ld.so.conf</span><br><span style="color: hsl(0, 100%, 40%);">-            fi</span><br><span style="color: hsl(0, 100%, 40%);">-              /sbin/ldconfig</span><br><span style="color: hsl(0, 100%, 40%);">-  fi</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span>   # Only install libsrtp2 if it wasn't installed via package</span><br><span>       if ! test -f /usr/include/srtp/srtp.h; then</span><br><span>          if ! test -f /usr/include/srtp2/srtp.h; then</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/10065">change 10065</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/10065"/><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-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ideab1f65419608d3795aa608e9da873823cc42d3 </div>
<div style="display:none"> Gerrit-Change-Number: 10065 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Corey Farrell <git@cfware.com> </div>