<p>Alexander Traud has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/7994">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">BuildSystem: In OpenBSD, xmlstarlet is xml.<br><br>ASTERISK-27593<br><br>Change-Id: I1c7087f7f7582e40b3312c690d912c9a86466805<br>---<br>M Makefile.moddir_rules<br>M configure<br>M configure.ac<br>3 files changed, 10 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/94/7994/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/Makefile.moddir_rules b/Makefile.moddir_rules<br>index 18b3ee7..dbb38a0 100644<br>--- a/Makefile.moddir_rules<br>+++ b/Makefile.moddir_rules<br>@@ -93,7 +93,7 @@<br> @if [ -f .moduleinfo ] ; then \<br> declare -A DISABLED_MODS ;\<br> for x in $(MENUSELECT_$(MENUSELECT_CATEGORY)) ; do DISABLED_MODS[$${x}]=1 ; done ;\<br>- EXTERNAL_MODS=$$(xmlstarlet sel -t -m "/category/member[support_level = 'external']" -v "@name" -n .moduleinfo) ;\<br>+ EXTERNAL_MODS=$$($(XMLSTARLET) sel -t -m "/category/member[support_level = 'external']" -v "@name" -n .moduleinfo) ;\<br> for x in $${EXTERNAL_MODS} ; do \<br> if [ -z "$${DISABLED_MODS[$${x}]}" ] ; then \<br> $(ASTTOPDIR)/build_tools/download_externals $${x} ;\<br>diff --git a/configure b/configure<br>index cc39661..62fca4a 100755<br>--- a/configure<br>+++ b/configure<br>@@ -7559,8 +7559,10 @@<br> fi<br> <br> <br>-# Extract the first word of "xmlstarlet", so it can be a program name with args.<br>-set dummy xmlstarlet; ac_word=$2<br>+for ac_prog in xmlstarlet xml<br>+do<br>+ # Extract the first word of "$ac_prog", so it can be a program name with args.<br>+set dummy $ac_prog; ac_word=$2<br> { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5<br> $as_echo_n "checking for $ac_word... " >&6; }<br> if ${ac_cv_path_XMLSTARLET+:} false; then :<br>@@ -7586,7 +7588,6 @@<br> done<br> IFS=$as_save_IFS<br> <br>- test -z "$ac_cv_path_XMLSTARLET" && ac_cv_path_XMLSTARLET=":"<br> ;;<br> esac<br> fi<br>@@ -7600,6 +7601,10 @@<br> fi<br> <br> <br>+ test -n "$XMLSTARLET" && break<br>+done<br>+test -n "$XMLSTARLET" || XMLSTARLET=":"<br>+<br> # Extract the first word of "bash", so it can be a program name with args.<br> set dummy bash; ac_word=$2<br> { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5<br>diff --git a/configure.ac b/configure.ac<br>index e333faf..d46091e 100644<br>--- a/configure.ac<br>+++ b/configure.ac<br>@@ -282,7 +282,7 @@<br> AC_PATH_PROG([CATDVI], [catdvi], :)<br> AC_PATH_PROG([KPATHSEA], [kpsewhich], :)<br> AC_PATH_PROG([XMLLINT], [xmllint], :)<br>-AC_PATH_PROG([XMLSTARLET], [xmlstarlet], :)<br>+AC_PATH_PROGS([XMLSTARLET], [xmlstarlet xml], :)<br> AC_PATH_PROG([BASH], [bash], :)<br> AC_PATH_PROG([GIT], [git], :)<br> AC_PATH_PROG([ALEMBIC], [alembic], :)<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/7994">change 7994</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/7994"/><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-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I1c7087f7f7582e40b3312c690d912c9a86466805 </div>
<div style="display:none"> Gerrit-Change-Number: 7994 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Alexander Traud <pabstraud@compuserve.com> </div>