> From: "Florian Weimer" <[EMAIL PROTECTED]> > Date: Sat, 31 Aug 2002 09:50:21 +0200 > > Quote from the documentation: > > - Macro: AC_SYS_LARGEFILE > Arrange for large-file support(1). On some hosts, one must use > special compiler options to build programs that can access large > files. Append any such options to the output variable `CC'. > Define `_FILE_OFFSET_BITS' and `_LARGE_FILES' if necessary. > > This is wrong, the output variable in question is not called "CC", but > "DEFS".
Perhaps you're confusing special compiler options (e.g. IRIX 6.2's C compiler needs the "-n32" option) with ordinary compiler options like "-D_FILE_OFFSET_BITS=64"? The special options are appended to CC as the Autoconf documentation says. The ordinary ones are appended to DEFS if AC_CONFIG_HEADERS is not called. Another possibility is that you've somehow got hold of an older version of the AC_SYS_LARGEFILE macro, and are overriding the macro that comes with Autoconf 2.53.
