[dpkg] 125/200: build: Rename DPKG_MMAP macro to DPKG_USE_MMAP

Ximin Luo infinity0 at debian.org
Wed Apr 5 15:17:27 UTC 2017


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository dpkg.

commit c8153b8c748278098c3e87f966a8194b5825ad88
Author: Guillem Jover <guillem at debian.org>
Date:   Thu Jan 26 14:01:54 2017 +0100

    build: Rename DPKG_MMAP macro to DPKG_USE_MMAP
---
 configure.ac     | 2 +-
 m4/dpkg-funcs.m4 | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index 5804498..8799e1e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -177,7 +177,7 @@ AS_IF([test "x$build_dselect" = "xyes"], [
   AC_LANG_POP([C++])
 ])
 
-DPKG_MMAP
+DPKG_USE_MMAP
 
 # Checks for the build machinery.
 AC_DEFINE([LIBDPKG_VOLATILE_API], [1], [Acknowledge the volatility of the API.])
diff --git a/m4/dpkg-funcs.m4 b/m4/dpkg-funcs.m4
index 1feb7d1..e717683 100644
--- a/m4/dpkg-funcs.m4
+++ b/m4/dpkg-funcs.m4
@@ -91,10 +91,10 @@ int main()
   AM_CONDITIONAL([HAVE_C99_SNPRINTF], [test "x$dpkg_cv_c99_snprintf" = "xyes"])
 ])# DPKG_FUNC_C99_SNPRINTF
 
-# DPKG_MMAP
-# ---------
+# DPKG_USE_MMAP
+# -------------
 # Define USE_MMAP if mmap() is available and it was requested
-AC_DEFUN([DPKG_MMAP], [
+AC_DEFUN([DPKG_USE_MMAP], [
   AC_ARG_ENABLE([mmap],
     [AS_HELP_STRING([--enable-mmap],
       [enable usage of unrealiable mmap if available])],

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dpkg.git



More information about the Reproducible-commits mailing list