]> sigrok.org Git - libsigrok.git/commitdiff
configure: Enable largefile support on 32-bit systems
authorDaniel Elstner <redacted>
Wed, 26 Aug 2015 21:09:03 +0000 (23:09 +0200)
committerUwe Hermann <redacted>
Fri, 28 Aug 2015 16:35:16 +0000 (18:35 +0200)
configure.ac

index c75de749a058657e0d55b61e038aa8620e0a23ac..b4a4332eae15f01932c649a693a790af3f3f490b 100644 (file)
@@ -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])])