These are used for the USE_MDTM case in proxy_ftp.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93129
13f79535-47bb-0310-9956-
ffa450edef68
--- /dev/null
+/* Define this if struct tm has a field tm_gmtoff */
+#undef HAVE_GMTOFF
getgrnam \
initgroups \
bindprocessor \
+timegm \
)
+dnl ## Check for the tm_gmtoff field in struct tm to get the timezone diffs
+AC_CACHE_CHECK([for tm_gmtoff in struct tm], ac_cv_struct_tm_gmtoff,
+[AC_TRY_COMPILE([#include <sys/types.h>
+#include <time.h>], [struct tm tm; tm.tm_gmtoff;],
+ ac_cv_struct_tm_gmtoff=yes, ac_cv_struct_tm_gmtoff=no)])
+if test "$ac_cv_struct_tm_gmtoff" = "yes"; then
+ AC_DEFINE(HAVE_GMTOFF)
+fi
+
dnl ## Set up any appropriate OS-specific environment variables for apachectl
case $host in