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 713852ba4fa156c7
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
     1.1 --- a/configure	Thu May 02 21:17:59 2013 -0400
     1.2 +++ b/configure	Thu May 02 21:23:38 2013 -0400
     1.3 @@ -1546,7 +1546,7 @@
     1.4    --enable-directx        use DirectX for Windows audio/video [[default=yes]]
     1.5    --enable-sdl-dlopen     use dlopen for shared object loading [[default=yes]]
     1.6    --enable-clock_gettime  use clock_gettime() instead of gettimeofday() on
     1.7 -                          UNIX [[default=no]]
     1.8 +                          UNIX [[default=yes]]
     1.9    --enable-rpath          use an rpath when linking SDL [[default=yes]]
    1.10    --enable-render-d3d     enable the Direct3D render driver [[default=yes]]
    1.11  
    1.12 @@ -21842,7 +21842,7 @@
    1.13  if test "${enable_clock_gettime+set}" = set; then :
    1.14    enableval=$enable_clock_gettime;
    1.15  else
    1.16 -  enable_clock_gettime=no
    1.17 +  enable_clock_gettime=yes
    1.18  fi
    1.19  
    1.20      if test x$enable_clock_gettime = xyes; then
     2.1 --- a/configure.in	Thu May 02 21:17:59 2013 -0400
     2.2 +++ b/configure.in	Thu May 02 21:23:38 2013 -0400
     2.3 @@ -2179,8 +2179,8 @@
     2.4  CheckClockGettime()
     2.5  {
     2.6      AC_ARG_ENABLE(clock_gettime,
     2.7 -AC_HELP_STRING([--enable-clock_gettime], [use clock_gettime() instead of gettimeofday() on UNIX [[default=no]]]),
     2.8 -                  , enable_clock_gettime=no)
     2.9 +AC_HELP_STRING([--enable-clock_gettime], [use clock_gettime() instead of gettimeofday() on UNIX [[default=yes]]]),
    2.10 +                  , enable_clock_gettime=yes)
    2.11      if test x$enable_clock_gettime = xyes; then
    2.12          AC_CHECK_LIB(rt, clock_gettime, have_clock_gettime=yes)
    2.13          if test x$have_clock_gettime = xyes; then