From: Ronnie Sahlberg Date: Sun, 27 Nov 2011 00:09:09 +0000 (+1100) Subject: Make _FILE_OFFSET_BITS=64 always X-Git-Tag: upstream/1.9.6^2~285 X-Git-Url: https://git.piment-noir.org/?p=deb_libnfs.git;a=commitdiff_plain;h=71f480591aa3dd80c19b71cfaa1fb3b1a93e4d6f Make _FILE_OFFSET_BITS=64 always --- diff --git a/configure.ac b/configure.ac index c906831..a6d63e8 100644 --- a/configure.ac +++ b/configure.ac @@ -18,6 +18,9 @@ if test "$SAVE_CFLAGS" = "x"; then CFLAGS="" fi +# We always want 64 bit file offsets +CFLAGS="${CFLAGS} -D_FILE_OFFSET_BITS=64" + AC_CHECK_PROG([HAVE_RPCGEN], [rpcgen], [yes], [no]) if test x$HAVE_RPCGEN != xyes; then AC_MSG_ERROR([Can not find required program])