[MPlayer-cvslog] CVS: main configure,1.949,1.950

Diego Biurrun CVS syncmail at mplayerhq.hu
Thu Jan 6 13:07:00 CET 2005


CVS change done by Diego Biurrun CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv11136

Modified Files:
	configure 
Log Message:
RTC check should no longer be Linux-only.


Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.949
retrieving revision 1.950
diff -u -r1.949 -r1.950
--- configure	6 Jan 2005 00:06:55 -0000	1.949
+++ configure	6 Jan 2005 12:06:57 -0000	1.950
@@ -5020,9 +5020,8 @@
 
 
 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 @@
 #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"




More information about the MPlayer-cvslog mailing list