]> granicus.if.org Git - apache/blobdiff - configure.in
Fix RedirectMatch so it won't emit invalid Location fields.
[apache] / configure.in
index a99f6e32ba905410d631277bcb45598cc4619138..285d6464f2ae05d83ef07fef5cf9d9d52c8c087d 100644 (file)
@@ -239,8 +239,18 @@ getpwnam \
 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
@@ -406,6 +416,7 @@ dnl get the exported vars from APRUTIL
 . ./srclib/apr-util/export_vars.sh
 APR_ADDTO(LIBS, $APRUTIL_EXPORT_LIBS)
 APR_ADDTO(INCLUDES, $APRUTIL_EXPORT_INCLUDES)
+APR_ADDTO(LDFLAGS, $APRUTIL_LDFLAGS)
 AP_LIBS="$AP_LIBS $LIBTOOL_LIBS"
 
 dnl ## Finalize the variables