]> git.sesse.net Git - ffmpeg/commitdiff
configure: use utilities from /usr/xpg4/bin if it exists
authorMans Rullgard <mans@mansr.com>
Fri, 7 Sep 2012 11:50:43 +0000 (12:50 +0100)
committerMans Rullgard <mans@mansr.com>
Fri, 12 Oct 2012 22:57:01 +0000 (23:57 +0100)
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>
configure

index 99a5be2f5990f4c24209e88e29e8c0a364b271d1..26cd7ea73ab355e4e6964996f1570e4b9f57651b 100755 (executable)
--- 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]