diff options
author | wm4 <wm4@nowhere> | 2012-07-29 18:48:50 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-07-30 01:42:54 +0200 |
commit | 614f847516b7ed98784b8d491a417e037ff2f391 (patch) | |
tree | c258f29d0c25158d5ae994719df34b02d8146668 /configure | |
parent | 7349d39938ae61b90778ddef5cf427e37cd96c75 (diff) | |
download | mpv-614f847516b7ed98784b8d491a417e037ff2f391.tar.bz2 mpv-614f847516b7ed98784b8d491a417e037ff2f391.tar.xz |
mplayer: remove Linux RTC support
This used /dev/rtc for timing. /dev/rtc root only by default, and I
have a hard time believing that the standard OS functions are not good
enough. (Even if not, support for POSIX high resolution timers should
be added instead, see clock_gettime() and others.)
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 29 |
1 files changed, 0 insertions, 29 deletions
@@ -309,7 +309,6 @@ Optional features: --disable-tv-v4l2 disable Video4Linux2 TV interface [autodetect] --disable-tv-bsdbt848 disable BSD BT848 interface [autodetect] --disable-pvr disable Video4Linux2 MPEG PVR [autodetect] - --disable-rtc disable RTC (/dev/rtc) on Linux [autodetect] --disable-networking disable networking [enable] --enable-winsock2_h enable winsock2_h [autodetect] --enable-smb enable Samba (SMB) input [autodetect] @@ -486,7 +485,6 @@ _dvb=auto _v4l2=auto _iconv=auto _langinfo=auto -_rtc=auto _ossaudio=auto _rsound=auto _pulse=auto @@ -737,8 +735,6 @@ for ac_option do --disable-iconv) _iconv=no ;; --enable-langinfo) _langinfo=yes ;; --disable-langinfo) _langinfo=no ;; - --enable-rtc) _rtc=yes ;; - --disable-rtc) _rtc=no ;; --enable-libdv) _libdv=yes ;; --disable-libdv) _libdv=no ;; --enable-ossaudio) _ossaudio=yes ;; @@ -3389,30 +3385,6 @@ fi echores "$_zlib" -echocheck "RTC" -if test "$_rtc" = auto ; then - cat > $TMPC << EOF -#include <sys/ioctl.h> -#ifdef __linux__ -#include <linux/rtc.h> -#else -#include <rtc.h> -#define RTC_PIE_ON RTCIO_PIE_ON -#endif -int main(void) { return RTC_PIE_ON; } -EOF - _rtc=no - cc_check && _rtc=yes - ppc && _rtc=no -fi -if test "$_rtc" = yes ; then - def_rtc='#define HAVE_RTC 1' -else - def_rtc='#undef HAVE_RTC' -fi -echores "$_rtc" - - echocheck "mad support" if test "$_mad" = auto ; then _mad=no @@ -4629,7 +4601,6 @@ $def_macosx_finder $def_priority $def_quicktime $def_restrict_keyword -$def_rtc /* configurable options */ |