Make _FILE_OFFSET_BITS=64 always
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Sun, 27 Nov 2011 00:09:09 +0000 (11:09 +1100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Sun, 27 Nov 2011 00:09:09 +0000 (11:09 +1100)
configure.ac

index c9068313a751f57f9561213a9f14cb11d983df36..a6d63e841067f736ed7bba8c35894d7db3120cff 100644 (file)
@@ -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])