configure: Enable largefile support on 32-bit systems
This commit is contained in:
parent
8006cdc53d
commit
bbb3996c06
|
@ -30,7 +30,7 @@ AC_CONFIG_HEADERS([config.h include/libsigrok/version.h])
|
||||||
|
|
||||||
# We require at least automake 1.11 (needed for 'silent rules').
|
# 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])
|
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])
|
m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
|
||||||
|
|
||||||
AH_TOP([#ifndef SR_CONFIG_H
|
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])
|
SR_ARG_ENABLE_WARNINGS([SR_WFLAGS], [-Wall], [-Wall -Wextra -Wmissing-prototypes])
|
||||||
|
|
||||||
# Check host characteristics.
|
# Check host characteristics.
|
||||||
|
AC_SYS_LARGEFILE
|
||||||
AC_C_BIGENDIAN
|
AC_C_BIGENDIAN
|
||||||
|
|
||||||
AC_CHECK_HEADERS([sys/mman.h], [SR_APPEND([sr_deps_avail], [sys_mman_h])])
|
AC_CHECK_HEADERS([sys/mman.h], [SR_APPEND([sr_deps_avail], [sys_mman_h])])
|
||||||
|
|
Loading…
Reference in New Issue