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:
@@ -24,6 +24,11 @@ CANONICAL_HOST=$host
|
||||
AC_SUBST(CANONICAL_HOST)
|
||||
|
||||
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 this is needed to run the configure tests against glibc
|
||||
|
Reference in New Issue
Block a user