From a1e50014a0ba37b3de9900754be8c04f57d18c9a Mon Sep 17 00:00:00 2001 From: "Joel E. Denny" Date: Sat, 2 Aug 2008 02:32:29 -0400 Subject: [PATCH] Set gnu or gnits strictness. * configure.ac (AM_INIT_AUTOMAKE): Set gnu strictness during development and gnits strictness for releases. Based on Eric Blake's suggestion at . --- ChangeLog | 8 ++++++++ configure.ac | 6 +++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index aa96f08d..c45bfad8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2008-08-02 Joel E. Denny + + Set gnu or gnits strictness. + * configure.ac (AM_INIT_AUTOMAKE): Set gnu strictness during + development and gnits strictness for releases. Based on Eric Blake's + suggestion at + . + 2008-07-31 Paolo Bonzini * NEWS: Clarify documentation of %language. diff --git a/configure.ac b/configure.ac index e1a6918c..adb52715 100644 --- a/configure.ac +++ b/configure.ac @@ -30,7 +30,11 @@ AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_MACRO_DIR([m4]) # We don't have a file m4/Makefile.am, so we need Automake 1.8 or later. -AM_INIT_AUTOMAKE([1.8 check-news readme-alpha dist-bzip2]) +# We want gnits strictness only when rolling a formal release so that we can, +# for example, run make dist at other times without being required to add a +# bogus NEWS entry. +AM_INIT_AUTOMAKE([1.8 dist-bzip2] + m4_bmatch(m4_defn([AC_PACKAGE_VERSION]), [-], [gnu], [gnits])) AC_CONFIG_HEADERS([lib/config.h:lib/config.hin]) # Checks for the compiler. -- 2.47.2