From: Miguel F. <mig...@us...> - 2004-10-30 15:05:04
|
Update of /cvsroot/xine/xine-lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21302 Modified Files: configure.ac Log Message: better check for posix timers Index: configure.ac =================================================================== RCS file: /cvsroot/xine/xine-lib/configure.ac,v retrieving revision 1.289 retrieving revision 1.290 diff -u -r1.289 -r1.290 --- configure.ac 20 Oct 2004 05:02:55 -0000 1.289 +++ configure.ac 30 Oct 2004 15:04:46 -0000 1.290 @@ -257,7 +257,6 @@ AC_SUBST(WIN32_CPPFLAGS) AM_CONDITIONAL(WIN32, test x$SYS = "xmingw32") - dnl --------------------------------------------- dnl dynamic linker dnl --------------------------------------------- @@ -443,6 +442,16 @@ AC_SUBST(ZLIB_LIBS) AC_SUBST(ZLIB_LIBS_CONFIG) +dnl --------------------------------------------- +dnl check posix timers +dnl --------------------------------------------- + +AC_CHECK_LIB(rt, clock_getres, + [RT_LIBS="-lrt" + AC_DEFINE(HAVE_POSIX_TIMERS,1, + [Define this if you have POSIX timers.])], + AC_MSG_RESULT([*** no POSIX timers available.])) +AC_SUBST(RT_LIBS) dnl --------------------------------------------- dnl Check for OpenGL & [GLut | GLU] |