From 93c36bdf9bdf025aeb3daa373fd8eaef3549bd57 Mon Sep 17 00:00:00 2001 From: Maxime Gervais Date: Mon, 5 Aug 2024 23:01:41 +0200 Subject: [PATCH] Enable large file support Signed-off-by: Maxime Gervais --- Project/GNU/CLI/configure.ac | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Project/GNU/CLI/configure.ac b/Project/GNU/CLI/configure.ac index 4a251f5a..397be3dd 100644 --- a/Project/GNU/CLI/configure.ac +++ b/Project/GNU/CLI/configure.ac @@ -52,6 +52,7 @@ AC_ARG_ENABLE(capture, AC_HELP_STRING([--enable-capture], [Use AC_ARG_ENABLE(decklink, AC_HELP_STRING([--enable-decklink], [Enable capture from Blackmagic capture devices]), , enable_decklink=no) AC_ARG_ENABLE(sony9pin, AC_HELP_STRING([--enable-sony9pin], [Enable control through Sony9Pin serial interface]), , enable_sony9pin=no) AC_ARG_ENABLE(simulator, AC_HELP_STRING([--enable-simulator], [Enable capture simulation for testing purposes]), , enable_simulator=yes) +AC_ARG_ENABLE(large_files, AC_HELP_STRING([--disable-large_files], [Disable large files support]), , enable_large_files=yes) dnl ------------------------------------------------------------------------- dnl Arguments - With @@ -79,6 +80,13 @@ else fi fi +dnl ------------------------------------------------------------------------- +dnl Large files +dnl +if test "$enable_large_files" = "yes"; then + CXXFLAGS="$CXXFLAGS -D_LARGE_FILES -D_FILE_OFFSET_BITS=64" +fi + dnl ######################################################################### dnl ### Parsing options dnl #########################################################################