aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-09-07 12:50:43 +0100
committerMans Rullgard <mans@mansr.com>2012-10-12 23:57:01 +0100
commita77f01c725296321936ef671eff1a8bd2ad96f0a (patch)
tree455288ac2d7eb162fa88b110e4b5e65079544f53 /configure
parent0daac647af00b7cf591d1360115a725e300ca3b2 (diff)
downloadffmpeg-a77f01c725296321936ef671eff1a8bd2ad96f0a.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>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 99a5be2f59..26cd7ea73a 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]