s4: Remove autogenerated attributes from minschema and fullschema output
[Samba/bb.git] / lib / util / time.m4
blobf61ae4cd25c8bb3b2b0252adf12d9a64882b1a90
1 AC_CACHE_CHECK([if gettimeofday takes tz argument],samba_cv_HAVE_GETTIMEOFDAY_TZ,[
2 AC_TRY_RUN([
3 #include <sys/time.h>
4 #include <unistd.h>
5 main() { struct timeval tv; exit(gettimeofday(&tv, NULL));}],
6            samba_cv_HAVE_GETTIMEOFDAY_TZ=yes,samba_cv_HAVE_GETTIMEOFDAY_TZ=no,samba_cv_HAVE_GETTIMEOFDAY_TZ=cross)])
7 if test x"$samba_cv_HAVE_GETTIMEOFDAY_TZ" = x"yes"; then
8     AC_DEFINE(HAVE_GETTIMEOFDAY_TZ,1,[Whether gettimeofday() is available])
9 fi