[FFmpeg-cvslog] configure: use utilities from /usr/xpg4/bin if it exists
Mans Rullgard
git at videolan.org
Tue Jun 3 01:37:01 CEST 2014
ffmpeg | branch: release/0.10 | Mans Rullgard <mans at mansr.com> | Fri Sep 7 12:50:43 2012 +0100| [afab4c422b60e83419e10ee3dd4ba7001798b3db] | committer: Reinhard Tartler
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=afab4c422b60e83419e10ee3dd4ba7001798b3db
---
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]
More information about the ffmpeg-cvslog
mailing list