]> err.no Git - mapper/commitdiff
AC_SYS_LARGEFILE should do it but won work.. so force LARGE FILE defines
authorKaj-Michael Lang <milang@tal.org>
Fri, 4 Jan 2008 13:26:20 +0000 (15:26 +0200)
committerKaj-Michael Lang <milang@tal.org>
Fri, 4 Jan 2008 13:26:20 +0000 (15:26 +0200)
configure.ac

index e25d4049b98a1ed1a1069dc475d941281206f474..56748e13b112a23eeedf2a1831e3cc2d771d048d 100644 (file)
@@ -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