summaryrefslogtreecommitdiff
path: root/source3/configure.in
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-03-03 16:26:48 +0100
committerGünther Deschner <gd@samba.org>2011-03-04 00:28:27 +0100
commit9167d70e77c2f4c8e6de64fbf06bd3bee23542d2 (patch)
tree92ca807066b603888d4bf271b0452577dbc2d35b /source3/configure.in
parenta5d54579ea949f4cd7c975c3f5d0006a90777735 (diff)
downloadsamba-9167d70e77c2f4c8e6de64fbf06bd3bee23542d2.tar.gz
samba-9167d70e77c2f4c8e6de64fbf06bd3bee23542d2.tar.bz2
samba-9167d70e77c2f4c8e6de64fbf06bd3bee23542d2.zip
libreplace: move "struct timespec" checks into libreplace (where timespec is already used).
Bjoern, Metze, please check. Guenther
Diffstat (limited to 'source3/configure.in')
-rw-r--r--source3/configure.in23
1 files changed, 0 insertions, 23 deletions
diff --git a/source3/configure.in b/source3/configure.in
index b4794f28a2..8d32a1baca 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -951,29 +951,6 @@ if test x"$samba_cv_struct_sigevent" = x"yes"; then
[#include <signal.h>])
fi
-AC_CACHE_CHECK([for struct timespec type],samba_cv_struct_timespec, [
- AC_TRY_COMPILE([
-#include <sys/types.h>
-#if STDC_HEADERS
-#include <stdlib.h>
-#include <stddef.h>
-#endif
-#if TIME_WITH_SYS_TIME
-# include <sys/time.h>
-# include <time.h>
-#else
-# if HAVE_SYS_TIME_H
-# include <sys/time.h>
-# else
-# include <time.h>
-# endif
-#endif
-],[struct timespec ts;],
- samba_cv_struct_timespec=yes,samba_cv_struct_timespec=no)])
-if test x"$samba_cv_struct_timespec" = x"yes"; then
- AC_DEFINE(HAVE_STRUCT_TIMESPEC,1,[Whether we have struct timespec])
-fi
-
# and glibc has setresuid under linux but the function does
# nothing until kernel 2.1.44! very dumb.
AC_CACHE_CHECK([for real setresuid],samba_cv_have_setresuid,[