From: Daniel Elstner Date: Wed, 26 Aug 2015 21:09:03 +0000 (+0200) Subject: configure: Enable largefile support on 32-bit systems X-Git-Tag: libsigrok-0.4.0~375 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=bbb3996c06f2b1ebc9529d1e2181ddc55f70d9da;p=libsigrok.git configure: Enable largefile support on 32-bit systems --- diff --git a/configure.ac b/configure.ac index c75de749..b4a4332e 100644 --- a/configure.ac +++ b/configure.ac @@ -30,7 +30,7 @@ AC_CONFIG_HEADERS([config.h include/libsigrok/version.h]) # We require at least automake 1.11 (needed for 'silent rules'). AM_INIT_AUTOMAKE([1.11 -Wall -Werror no-define nostdinc subdir-objects check-news color-tests]) -m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) +AM_SILENT_RULES([yes]) m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) AH_TOP([#ifndef SR_CONFIG_H @@ -115,6 +115,7 @@ SR_CHECK_COMPILE_FLAGS([SR_EXTRA_CFLAGS], [visibility], [-fvisibility=hidden]) SR_ARG_ENABLE_WARNINGS([SR_WFLAGS], [-Wall], [-Wall -Wextra -Wmissing-prototypes]) # Check host characteristics. +AC_SYS_LARGEFILE AC_C_BIGENDIAN AC_CHECK_HEADERS([sys/mman.h], [SR_APPEND([sr_deps_avail], [sys_mman_h])])