# HG changeset patch # User diego # Date 1105013217 0 # Node ID 62614fd2336adab9c9455ba64347d96268e63056 # Parent 8f6bd28693252e5780dbff2052c1791290204fcf RTC check should no longer be Linux-only. diff -r 8f6bd2869325 -r 62614fd2336a configure --- a/configure Thu Jan 06 11:40:34 2005 +0000 +++ b/configure Thu Jan 06 12:06:57 2005 +0000 @@ -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 #ifdef __linux__ #include @@ -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"