]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - configure.in
Use AC_SYS_LARGEFILE to enable largefile support
[nfs-utils.git] / configure.in
index 1a1ce1a846bcb7577ff915ab394513a23d8794d5..1cac7678c9a70652581b74b4426bf90482dbb1a2 100644 (file)
@@ -127,6 +127,9 @@ AC_ARG_ENABLE(mount,
 # Check whether user wants TCP wrappers support
 AC_TCP_WRAPPERS
 
+# Arrange for large-file support
+AC_SYS_LARGEFILE
+
 AC_CONFIG_SRCDIR([support/include/config.h.in])
 AC_CONFIG_HEADERS([support/include/config.h])
 
@@ -312,7 +315,7 @@ esac
 
 my_am_cflags="-Wall $ARCHFLAGS -pipe"
 
-AC_SUBST([AM_CPPFLAGS], ["-I\${top_srcdir}/support/include -D_FILE_OFFSET_BITS=64"])
+AC_SUBST([AM_CPPFLAGS], ["-I\${top_srcdir}/support/include"])
 AC_SUBST([AM_CFLAGS], ["$my_am_cflags"])
 
 # Make sure that $ACLOCAL_FLAGS are used during a rebuild