Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

default clock_gettime use to enabled as there is now proper fallback …

…code for systems that don't have it.
  • Loading branch information
urkle committed May 3, 2013
1 parent 0f1a58f commit d557ddf87efb853a0af97de5807c5dc85ef9345e
Showing with 4 additions and 4 deletions.
  1. +2 −2 configure
  2. +2 −2 configure.in
@@ -1546,7 +1546,7 @@ Optional Features:
--enable-directx use DirectX for Windows audio/video [[default=yes]]
--enable-sdl-dlopen use dlopen for shared object loading [[default=yes]]
--enable-clock_gettime use clock_gettime() instead of gettimeofday() on
UNIX [[default=no]]
UNIX [[default=yes]]
--enable-rpath use an rpath when linking SDL [[default=yes]]
--enable-render-d3d enable the Direct3D render driver [[default=yes]]
if test "${enable_clock_gettime+set}" = set; then :
enableval=$enable_clock_gettime;
else
enable_clock_gettime=no
enable_clock_gettime=yes
fi

if test x$enable_clock_gettime = xyes; then
@@ -2179,8 +2179,8 @@ dnl Check for clock_gettime()
CheckClockGettime()
{
AC_ARG_ENABLE(clock_gettime,
AC_HELP_STRING([--enable-clock_gettime], [use clock_gettime() instead of gettimeofday() on UNIX [[default=no]]]),
, enable_clock_gettime=no)
AC_HELP_STRING([--enable-clock_gettime], [use clock_gettime() instead of gettimeofday() on UNIX [[default=yes]]]),
, enable_clock_gettime=yes)
if test x$enable_clock_gettime = xyes; then
AC_CHECK_LIB(rt, clock_gettime, have_clock_gettime=yes)
if test x$have_clock_gettime = xyes; then

0 comments on commit d557ddf

Please sign in to comment.