default clock_gettime use to enabled as there is now proper fallback code for systems that don't have it.
authorEdward Rudd <urkle@outoforder.cc>
Thu, 02 May 2013 21:23:38 -0400
changeset 7138 52ba4fa156c7
parent 7137 e4daf38f9bde
child 7139 dd722e7460c5
default clock_gettime use to enabled as there is now proper fallback code for systems that don't have it.
configure
configure.in
--- a/configure	Thu May 02 21:17:59 2013 -0400
+++ b/configure	Thu May 02 21:23:38 2013 -0400
@@ -1546,7 +1546,7 @@
   --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]]
 
@@ -21842,7 +21842,7 @@
 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
--- a/configure.in	Thu May 02 21:17:59 2013 -0400
+++ b/configure.in	Thu May 02 21:23:38 2013 -0400
@@ -2179,8 +2179,8 @@
 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