Module: libav
Branch: release/0.8
Commit: afab4c422b60e83419e10ee3dd4ba7001798b3db

Author:    Mans Rullgard <[email protected]>
Committer: Reinhard Tartler <[email protected]>
Date:      Fri Sep  7 12:50:43 2012 +0100

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 <[email protected]>

---

 configure |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/configure b/configure
index bcfbe4e..13066e2 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]

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to