mirror of
https://github.com/mpv-player/mpv
synced 2025-04-25 04:39:47 +00:00
Checking for gawk
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4109 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
11dadc53c9
commit
f3e39c0b17
24
configure
vendored
24
configure
vendored
@ -238,7 +238,6 @@ for ac_option do
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
# Determine our OS name and CPU architecture
|
# Determine our OS name and CPU architecture
|
||||||
if test -z "$_target" ; then
|
if test -z "$_target" ; then
|
||||||
# OS name
|
# OS name
|
||||||
@ -626,7 +625,6 @@ _binutils=no
|
|||||||
$_as libac3/downmix/downmix_i386.S -o $TMPO > /dev/null 2>&1 && _binutils=yes
|
$_as libac3/downmix/downmix_i386.S -o $TMPO > /dev/null 2>&1 && _binutils=yes
|
||||||
echores "$_binutils"
|
echores "$_binutils"
|
||||||
|
|
||||||
|
|
||||||
if x86 ; then
|
if x86 ; then
|
||||||
extcheck() {
|
extcheck() {
|
||||||
if test "$1" = yes ; then
|
if test "$1" = yes ; then
|
||||||
@ -1009,6 +1007,28 @@ if x86 && linux ; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#checking for gawk
|
||||||
|
if test "$_vidix" = yes ; then
|
||||||
|
_gawk_ver=`echo '' | gawk --version 2>&1 | sed -n 's/^.*wk \([^A-Za-z ]*[0-9.]*\).*$/\1/p'`
|
||||||
|
case $_gawk_ver in
|
||||||
|
'')
|
||||||
|
_gawk_ver="v. ?.??, bad"
|
||||||
|
_gawk_verc_fail=yes
|
||||||
|
;;
|
||||||
|
3.[0-9]|3.[0-9].[0-9])
|
||||||
|
_gawk_ver="$_gawk_ver, ok"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
_gawk_ver="$_gawk_ver, bad"
|
||||||
|
_gawk_verc_fail=yes
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
echo Checking for gawk ... $_gawk_ver
|
||||||
|
if test "$_gawk_verc_fail" ; then
|
||||||
|
echo Gawk was not found or has wrong version. gawk-3.0.x is required
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
######################
|
######################
|
||||||
|
Loading…
Reference in New Issue
Block a user