m4-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU M4 source repository branch, branch-1.4, updated. v1.4.16-18-g


From: Eric Blake
Subject: [SCM] GNU M4 source repository branch, branch-1.4, updated. v1.4.16-18-g2fdc2f7
Date: Thu, 06 Sep 2012 21:46:04 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU M4 source repository".

http://git.sv.gnu.org/gitweb/?p=m4.git;a=commitdiff;h=2fdc2f744de4365b8cafc962f6ccbbb03640358e

The branch, branch-1.4 has been updated
       via  2fdc2f744de4365b8cafc962f6ccbbb03640358e (commit)
      from  120d130f7fe06c35505997240d6a319e43ad140a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2fdc2f744de4365b8cafc962f6ccbbb03640358e
Author: Eric Blake <address@hidden>
Date:   Thu Sep 6 15:44:19 2012 -0600

    maint: enable gcc warnings during git development
    
    Anyone building from git can be assumed to have a new enough gcc
    to make warnings by default worthwhile.  Tarballs still default to
    no warnings, and if a developer has an issue with the default, they
    can still use ./configure --disable-gcc-warnings.
    
    * configure.ac (gl_gcc_warnings): Alter default based on environment.
    
    Signed-off-by: Eric Blake <address@hidden>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog    |    5 +++++
 configure.ac |    6 +++++-
 2 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index c13a831..f06d5f4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-09-06  Eric Blake  <address@hidden>
+
+       maint: enable gcc warnings during git development
+       * configure.ac (gl_gcc_warnings): Alter default based on environment.
+
 2012-09-05  Stefanno Lattarini  <address@hidden>  (tiny change)
 
        maint: convert the last hand-written Makefile to automake
diff --git a/configure.ac b/configure.ac
index 6886273..e986de2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -50,7 +50,11 @@ AC_ARG_ENABLE([gcc-warnings],
      *)      AC_MSG_ERROR([bad value $enableval for gcc-warnings option]) ;;
    esac
    gl_gcc_warnings=$enableval],
-  [gl_gcc_warnings=no]
+  [if test -d "$srcdir"/.git; then
+     gl_gcc_warnings=yes
+   else
+     gl_gcc_warnings=no
+   fi]
 )
 
 if test "$gl_gcc_warnings" = yes; then


hooks/post-receive
-- 
GNU M4 source repository



reply via email to

[Prev in Thread] Current Thread [Next in Thread]