summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-01-06 12:06:57 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-01-06 12:06:57 +0000
commit6da746dc53237831a59d417ec072ee01bb112fe0 (patch)
tree5aed49d7d96920e6d3dd90aba77f017722b83109 /configure
parent43577ee800260ba870d4accc5b542c2fbf3c5ae4 (diff)
downloadmpv-6da746dc53237831a59d417ec072ee01bb112fe0.tar.bz2
mpv-6da746dc53237831a59d417ec072ee01bb112fe0.tar.xz
RTC check should no longer be Linux-only.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14392 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure13
1 files changed, 4 insertions, 9 deletions
diff --git a/configure b/configure
index a4ad4fa91d..c56bcce4cc 100755
--- a/configure
+++ b/configure
@@ -5020,9 +5020,8 @@ echores "$_zlib"
echocheck "RTC"
-if linux ; then
- if test "$_rtc" = auto ; then
- cat > $TMPC << EOF
+if test "$_rtc" = auto ; then
+ cat > $TMPC << EOF
#include <sys/ioctl.h>
#ifdef __linux__
#include <linux/rtc.h>
@@ -5032,19 +5031,15 @@ if linux ; then
#endif
int main(void) { return RTC_PIE_ON; }
EOF
- _rtc=no
- cc_check && _rtc=yes
- fi
- echores "$_rtc"
-else
_rtc=no
- echores "no"
+ cc_check && _rtc=yes
fi
if test "$_rtc" = yes ; then
_def_rtc='#define HAVE_RTC 1'
else
_def_rtc='#undef HAVE_RTC'
fi
+echores "$_rtc"
echocheck "external liblzo support"