From: Mathieu Desnoyers Date: Fri, 29 Jun 2012 10:40:30 +0000 (+0200) Subject: Fix: support large files on 32-bit systems X-Git-Tag: v2.0.4~5 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=089721695e5fb8b515a322d8afc5b9eaa52a5981;p=lttng-tools.git Fix: support large files on 32-bit systems Signed-off-by: Mathieu Desnoyers --- diff --git a/configure.ac b/configure.ac index 67a915258..53ae5c6d3 100644 --- a/configure.ac +++ b/configure.ac @@ -159,12 +159,13 @@ AX_CONFIG_FEATURE( ) AM_CONDITIONAL([COMPAT_EPOLL], [ test "$enable_epoll" = "yes" ]) +AC_SYS_LARGEFILE AC_PROG_CC LT_INIT CFLAGS="-Wall $CFLAGS -g -fno-strict-aliasing" -DEFAULT_INCLUDES="-I\$(top_srcdir) -I\$(top_builddir) -I\$(top_builddir)/src -I\$(top_builddir)/include" +DEFAULT_INCLUDES="-I\$(top_srcdir) -I\$(top_builddir) -I\$(top_builddir)/src -I\$(top_builddir)/include -include config.h" lttngincludedir="${includedir}/lttng"