From: Kaj-Michael Lang Date: Fri, 4 Jan 2008 13:26:20 +0000 (+0200) Subject: AC_SYS_LARGEFILE should do it but won work.. so force LARGE FILE defines X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a36c87b03a18eab130cf6f67c549f7a82cfaca36;p=mapper AC_SYS_LARGEFILE should do it but won work.. so force LARGE FILE defines --- diff --git a/configure.ac b/configure.ac index e25d404..56748e1 100644 --- a/configure.ac +++ b/configure.ac @@ -27,6 +27,9 @@ AC_CONFIG_HEADERS(src/config.h) AC_PROG_INSTALL AC_PROG_LIBTOOL AC_SYS_LARGEFILE +# ^That should do it but for some reason it won't so hack it: +CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES" + dnl PKG_PROG_PKG_CONFIG dnl Debugging options to enable debug macros