mirror of https://github.com/mpv-player/mpv
RTC check should no longer be Linux-only.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14392 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
43577ee800
commit
6da746dc53
|
@ -5020,8 +5020,7 @@ echores "$_zlib"
|
||||||
|
|
||||||
|
|
||||||
echocheck "RTC"
|
echocheck "RTC"
|
||||||
if linux ; then
|
if test "$_rtc" = auto ; then
|
||||||
if test "$_rtc" = auto ; then
|
|
||||||
cat > $TMPC << EOF
|
cat > $TMPC << EOF
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
|
@ -5034,17 +5033,13 @@ int main(void) { return RTC_PIE_ON; }
|
||||||
EOF
|
EOF
|
||||||
_rtc=no
|
_rtc=no
|
||||||
cc_check && _rtc=yes
|
cc_check && _rtc=yes
|
||||||
fi
|
|
||||||
echores "$_rtc"
|
|
||||||
else
|
|
||||||
_rtc=no
|
|
||||||
echores "no"
|
|
||||||
fi
|
fi
|
||||||
if test "$_rtc" = yes ; then
|
if test "$_rtc" = yes ; then
|
||||||
_def_rtc='#define HAVE_RTC 1'
|
_def_rtc='#define HAVE_RTC 1'
|
||||||
else
|
else
|
||||||
_def_rtc='#undef HAVE_RTC'
|
_def_rtc='#undef HAVE_RTC'
|
||||||
fi
|
fi
|
||||||
|
echores "$_rtc"
|
||||||
|
|
||||||
|
|
||||||
echocheck "external liblzo support"
|
echocheck "external liblzo support"
|
||||||
|
|
Loading…
Reference in New Issue