Permalink
Browse files

Removed -D_FILE_OFFSET_BITS=64

-D_FILE_OFFSET_BITS=64 causes ap_get_module_config returns NULL on RHEL5
and CentOS5
  • Loading branch information...
1 parent 05f22d9 commit 59b444b3a91503c07f50c4c87db29e5e3794be45 @spiritloose committed Oct 17, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 configure.ac
View
@@ -40,7 +40,7 @@ if test "$PERL" = no; then
fi
AC_SUBST(PERL)
-PERL_CCOPTS=`$PERL -MExtUtils::Embed -e ccopts`
+PERL_CCOPTS=`$PERL -MExtUtils::Embed -e ccopts | sed -e 's/-D_FILE_OFFSET_BITS=64//'`
PERL_LDOPTS=`$PERL -MExtUtils::Embed -e ldopts`
AC_SUBST(PERL_CCOPTS)
AC_SUBST(PERL_LDOPTS)

0 comments on commit 59b444b

Please sign in to comment.