[FFmpeg-cvslog] configure: use utilities from /usr/xpg4/bin if it exists

Mans Rullgard git at videolan.org
Sat Oct 13 16:44:27 CEST 2012


ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Fri Sep  7 12:50:43 2012 +0100| [a77f01c725296321936ef671eff1a8bd2ad96f0a] | committer: Mans Rullgard

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 at mansr.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a77f01c725296321936ef671eff1a8bd2ad96f0a
---

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

diff --git a/configure b/configure
index 99a5be2..26cd7ea 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]



More information about the ffmpeg-cvslog mailing list