diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2018-11-02 16:45:41 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2018-11-02 16:45:54 -0700 |
commit | 34156b23862e9719355569182d594c7a9e38047e (patch) | |
tree | 88da9a926440f5bba8feaca47f30a73b26a7afc6 /binutils/configure.ac | |
parent | e8bf1ce461df242811e49de807f85c2e7ae17b77 (diff) | |
download | gdb-34156b23862e9719355569182d594c7a9e38047e.zip gdb-34156b23862e9719355569182d594c7a9e38047e.tar.gz gdb-34156b23862e9719355569182d594c7a9e38047e.tar.bz2 |
binutils: Add AC_FUNC_MMAP to configure.ac
Add AC_FUNC_MMAP to configure.ac so that HAVE_MMAP will be checked in
objdump.c and mmap is used if available.
* configure.ac (AC_FUNC_MMAP): New.
* config.in: Regenerated.
* configure: Likewise.
Diffstat (limited to 'binutils/configure.ac')
-rw-r--r-- | binutils/configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/binutils/configure.ac b/binutils/configure.ac index 68318eb..59e364c 100644 --- a/binutils/configure.ac +++ b/binutils/configure.ac @@ -130,6 +130,7 @@ AC_CHECK_HEADERS(string.h strings.h stdlib.h unistd.h fcntl.h sys/file.h limits. AC_HEADER_SYS_WAIT ACX_HEADER_STRING AC_FUNC_ALLOCA +AC_FUNC_MMAP AC_CHECK_FUNCS(sbrk utimes setmode getc_unlocked strcoll setlocale) AC_CHECK_FUNC([mkstemp], AC_DEFINE([HAVE_MKSTEMP], 1, |