[pkg-opensc-commit] [libp11] 173/239: build: use ifdef and not m4_ifdef for silent rules

Eric Dorland eric at moszumanska.debian.org
Sat Oct 17 06:21:30 UTC 2015


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

eric pushed a commit to branch master
in repository libp11.

commit 26abb7d00c942feba3e331bf045985a00331c300
Author: Alon Bar-Lev <alon.barlev at gmail.com>
Date:   Fri Sep 27 21:31:38 2013 +0300

    build: use ifdef and not m4_ifdef for silent rules
    
    I do not understand why silent rules should be default, even per
    automake manual:
    
    """
    Note that silent rules are disabled by default; the user must enable
    them explicitly at either configure run time or at make run time. We
    think that this is a good policy, since it provides the casual user with
    enough information to prepare a good bug report in case anything breaks.
    """
    
    However, if we want this, best use the autoconf verbs.
    
    Signed-off-by: Alon Bar-Lev <alon.barlev at gmail.com>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index c535c1e..e66c13a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -29,7 +29,7 @@ LIBP11_LT_AGE="$((${LIBP11_LT_CURRENT}-${LIBP11_LT_OLDEST}))"
 AC_CONFIG_SRCDIR([src/libp11.h])
 
 # silent build by default
-m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
+ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 
 AC_CANONICAL_HOST
 AC_PROG_CC

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/libp11.git



More information about the pkg-opensc-commit mailing list