summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAlexander Traud <pabstraud@compuserve.com>2018-01-17 13:47:45 +0100
committerAlexander Traud <pabstraud@compuserve.com>2018-01-17 13:52:25 +0100
commit7e7a20642cef8dc586b795b0606ce233550916a4 (patch)
tree610ba0ad4214f1a7dc58102589808bc9aa2487ae /configure
parent2f392bedb3987ee3c587bd8b046299320b84d5c5 (diff)
BuildSystem: In OpenBSD, xmlstarlet is xml.
ASTERISK-27593 Change-Id: I1c7087f7f7582e40b3312c690d912c9a86466805
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure11
1 files changed, 8 insertions, 3 deletions
diff --git a/configure b/configure
index 749b2fc68..988f75808 100755
--- a/configure
+++ b/configure
@@ -7604,8 +7604,10 @@ $as_echo "no" >&6; }
fi
-# Extract the first word of "xmlstarlet", so it can be a program name with args.
-set dummy xmlstarlet; ac_word=$2
+for ac_prog in xmlstarlet xml
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_path_XMLSTARLET+:} false; then :
@@ -7631,7 +7633,6 @@ done
done
IFS=$as_save_IFS
- test -z "$ac_cv_path_XMLSTARLET" && ac_cv_path_XMLSTARLET=":"
;;
esac
fi
@@ -7645,6 +7646,10 @@ $as_echo "no" >&6; }
fi
+ test -n "$XMLSTARLET" && break
+done
+test -n "$XMLSTARLET" || XMLSTARLET=":"
+
# Extract the first word of "bash", so it can be a program name with args.
set dummy bash; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5