diff options
author | Neil Brown <neilb@suse.de> | 2007-03-16 15:49:23 +1100 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2007-03-16 15:49:23 +1100 |
commit | 6108478a99884f38c8afd1d1f2a0de1580113bd2 (patch) | |
tree | be7377c42946683118f98f14df62fe81a12aa14a /configure.in | |
parent | da999b81b058bf66fa3dd0a9aed30b633e381998 (diff) | |
download | nfs-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.in | 5 |
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 |