Navigation Menu

Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
default clock_gettime use to enabled as there is now proper fallback …
Browse files Browse the repository at this point in the history
…code for systems that don't have it.
  • Loading branch information
urkle committed May 3, 2013
1 parent 0f1a58f commit d557ddf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions configure
Expand Up @@ -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]]

Expand Down Expand Up @@ -21842,7 +21842,7 @@ CheckClockGettime()
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
Expand Down
4 changes: 2 additions & 2 deletions configure.in
Expand Up @@ -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
Expand Down

0 comments on commit d557ddf

Please sign in to comment.