From 8d511f8a9595a287a653a6d6812544166fcca478 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Wed, 16 Apr 2003 15:27:18 +0000 Subject: [PATCH] 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 --- configure.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.in b/configure.in index 5c23a906e..76d3dc590 100644 --- a/configure.in +++ b/configure.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