fix for large file support in AIX, _LARGE_FILES needs to be defined on

the command line, since lex likes to include stdio.h before we get to
config.h


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12039 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
2003-04-16 15:27:18 +00:00
parent 1bf5c74868
commit 8d511f8a95

View File

@@ -24,6 +24,11 @@ CANONICAL_HOST=$host
AC_SUBST(CANONICAL_HOST) AC_SUBST(CANONICAL_HOST)
AC_SYS_LARGEFILE AC_SYS_LARGEFILE
dnl need to set this on the command line, since it might otherwise break
dnl with generated code, such as lex
if test "$enable_largefile" != no -a "$ac_cv_sys_large_files" != no; then
CPPFLAGS="$CPPFLAGS -D_LARGE_FILES=$ac_cv_sys_large_files"
fi
dnl dnl
dnl this is needed to run the configure tests against glibc dnl this is needed to run the configure tests against glibc