]> git.saurik.com Git - bison.git/commitdiff
Set gnu or gnits strictness.
authorJoel E. Denny <jdenny@ces.clemson.edu>
Sat, 2 Aug 2008 06:32:29 +0000 (02:32 -0400)
committerJoel E. Denny <jdenny@ces.clemson.edu>
Sat, 2 Aug 2008 06:32:29 +0000 (02:32 -0400)
* configure.ac (AM_INIT_AUTOMAKE): Set gnu strictness during
development and gnits strictness for releases.  Based on Eric Blake's
suggestion at
<http://lists.gnu.org/archive/html/bug-bison/2008-07/msg00019.html>.

ChangeLog
configure.ac

index aa96f08d9923e263beff464165fa5fd626cc1cf2..c45bfad8c3076ea2f1f4c54064fee37d236622be 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2008-08-02  Joel E. Denny  <jdenny@ces.clemson.edu>
+
+       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
+       <http://lists.gnu.org/archive/html/bug-bison/2008-07/msg00019.html>.
+
 2008-07-31  Paolo Bonzini  <bonzini@gnu.org>
 
        * NEWS: Clarify documentation of %language.
index e1a6918cc74b43b1090e715f3bf2907675b55288..adb527155681b9ce0a290fc0fdc1cada66a3cf21 100644 (file)
@@ -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.