Permalink
Browse files

autotools: Use AC_SYS_LARGEFILE.

For _FILE_OFFSET_BITS/_LARGE_FILES, which went missing in every
Makefile.am. In config.h it should be more portable.

Signed-off-by: Daniel Stodden <daniel.stodden@citrix.com>
  • Loading branch information...
1 parent 21c0670 commit 1e5481bd062bc1a01e137f1a405527ae2af89cea Daniel Stodden committed Sep 8, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −0 configure.ac
  2. +0 −1 vhd/lib/test/Makefile.am
View
@@ -9,6 +9,7 @@ AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
AC_CANONICAL_HOST
+AC_SYS_LARGEFILE
AC_CHECK_HEADERS([uuid/uuid.h], [], [Need uuid-dev])
AC_CHECK_HEADERS([libaio.h], [], [Need libaio-dev])
View
@@ -3,7 +3,6 @@ AM_CFLAGS = -Wall
AM_CFLAGS += -Werror
AM_CPPFLAGS = -D_GNU_SOURCE
-AM_CPPFLAGS += -D_FILE_OFFSET_BITS=64
noinst_PROGRAMS = random-copy
noinst_PROGRAMS += test-snapshot

0 comments on commit 1e5481b

Please sign in to comment.