aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-09-07 12:50:43 +0100
committerReinhard Tartler <siretart@tauware.de>2014-05-31 20:05:18 -0400
commitafab4c422b60e83419e10ee3dd4ba7001798b3db (patch)
tree2b2900510368f8e836dee65cbd975fd1a208471c
parentecf21ab0ec798eea96f862333568336098b4610c (diff)
downloadffmpeg-afab4c422b60e83419e10ee3dd4ba7001798b3db.tar.gz
configure: use utilities from /usr/xpg4/bin if it exists
Solaris defaults to non-standard utilities (grep, sed, ...) with proper ones being in /usr/xpg4/bin. Prefixing PATH with this directory when it exists ensures we get correct variants. Signed-off-by: Mans Rullgard <mans@mansr.com>
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index bcfbe4e6ec..13066e224a 100755
--- a/configure
+++ b/configure
@@ -54,6 +54,8 @@ if test "$E1" != 0 || test "$E2" = 0; then
exit 1
fi
+test -d /usr/xpg4/bin && PATH=/usr/xpg4/bin:$PATH
+
show_help(){
cat <<EOF
Usage: configure [options]