summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-01-12 20:02:47 +0000
committeratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-01-12 20:02:47 +0000
commit4d7665a60266d278820d4b3fbd974addd09e91d6 (patch)
treec49c6e0bf2121e993c120d39a872d5bde42540ff
parentd65b7acbcf46ddfe22dc8fdcee18f451eacaacbb (diff)
downloadmpv-4d7665a60266d278820d4b3fbd974addd09e91d6.tar.bz2
mpv-4d7665a60266d278820d4b3fbd974addd09e91d6.tar.xz
Fix awk version check from --version to -W version (works with both mawk and gawk maybe guess also with original awk)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4118 b3059339-0415-0410-9bf9-f77b7e298cf2
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 394d20d5da..0780ea8765 100755
--- a/configure
+++ b/configure
@@ -1009,7 +1009,7 @@ fi
#checking for gawk
if test "$_vidix" = yes ; then
-_gawk_ver=`echo '' | awk --version 2>&1 | sed -n 's/^.*wk \([^A-Za-z ]*[0-9.]*\).*$/\1/p'`
+_gawk_ver=`echo '' | awk -W version 2>&1 | sed -n 's/^.*wk \([^A-Za-z ]*[0-9.]*\).*$/\1/p'`
case $_gawk_ver in
'')
_gawk_ver="v. ?.??, bad"