Ignore:
Timestamp:
Nov 27, 2012, 4:43:17 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: updated trunk to 3.6.0

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/lib/replace/system/config.m4

    r620 r745  
    77AC_CHECK_HEADERS(sys/select.h)
    88
     9# poll
     10AC_CHECK_HEADERS(poll.h)
     11AC_CHECK_FUNCS(poll,[],[LIBREPLACEOBJ="${LIBREPLACEOBJ} $libreplacedir/poll.o"])
     12
    913# time
    1014AC_CHECK_HEADERS(sys/time.h utime.h)
    1115AC_HEADER_TIME
    1216AC_CHECK_FUNCS(utime utimes)
     17
     18AC_CACHE_CHECK([if gettimeofday takes TZ argument],libreplace_cv_HAVE_GETTIMEOFDAY_TZ,[
     19AC_TRY_RUN([
     20#include <sys/time.h>
     21#include <unistd.h>
     22main() { struct timeval tv; exit(gettimeofday(&tv, NULL));}],
     23           libreplace_cv_HAVE_GETTIMEOFDAY_TZ=yes,libreplace_cv_HAVE_GETTIMEOFDAY_TZ=no,libreplace_cv_HAVE_GETTIMEOFDAY_TZ=yes)])
     24if test x"$libreplace_cv_HAVE_GETTIMEOFDAY_TZ" = x"yes"; then
     25    AC_DEFINE(HAVE_GETTIMEOFDAY_TZ,1,[Whether gettimeofday() is available])
     26fi
    1327
    1428# wait
Note: See TracChangeset for help on using the changeset viewer.