summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2007-03-16 15:49:23 +1100
committerNeil Brown <neilb@suse.de>2007-03-16 15:49:23 +1100
commit6108478a99884f38c8afd1d1f2a0de1580113bd2 (patch)
treebe7377c42946683118f98f14df62fe81a12aa14a /configure.in
parentda999b81b058bf66fa3dd0a9aed30b633e381998 (diff)
downloadnfs-utils-6108478a99884f38c8afd1d1f2a0de1580113bd2.tar.gz
nfs-utils-6108478a99884f38c8afd1d1f2a0de1580113bd2.tar.xz
nfs-utils-6108478a99884f38c8afd1d1f2a0de1580113bd2.zip
Use AC_SYS_LARGEFILE to enable largefile support
rather than explicit -D_FILE_OFFSET_BITS=64 Taken from Redhat -5 sources.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 1a1ce1a..1cac767 100644
--- a/configure.in
+++ b/configure.in
@@ -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