AC_PROG_CPP
dnl Try to get c99 support for variadic macros
-AC_PROG_CC_C99
+ifdef([AC_PROG_CC_C99], [AC_PROG_CC_C99])
if test "x${cache_file}" = "x/dev/null"; then
# Likewise, ensure that CC and CPP are passed through to the pcre
bindprocessor \
prctl \
timegm \
-getpgid
+getpgid \
+fopen64
)
dnl confirm that a void pointer is large enough to store a long integer
dnl enable_so tells us if *any* modules can be built as DSOs
-if test "$enable_so" = "yes"; then
+if test "$enable_so" = "yes" -o "$enable_so" = "static"; then
case $host in
*-ibm-aix*)
APR_ADDTO(HTTPD_LDFLAGS, [-Wl,-uXML_Parse -Wl,-bE:$abs_builddir/server/httpd.exp])