[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
grep branch, master, updated. v2.25-103-gdb39f34
From: |
Paul Eggert |
Subject: |
grep branch, master, updated. v2.25-103-gdb39f34 |
Date: |
Tue, 27 Sep 2016 15:49:15 +0000 (UTC) |
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 "grep".
The branch, master has been updated
via db39f34e8509b314cf0f38dcb3107842d6c41156 (commit)
from 0f31cd341971a443714c9e7937e4e6e7e7a3dc21 (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 -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=db39f34e8509b314cf0f38dcb3107842d6c41156
commit db39f34e8509b314cf0f38dcb3107842d6c41156
Author: Paul Eggert <address@hidden>
Date: Tue Sep 27 08:48:17 2016 -0700
build: port .git builds to older GCC
Problem reported by Dagobert Michelsen in:
http://lists.gnu.org/archive/html/grep-devel/2016-09/msg00018.html
* configure.ac (gl_gcc_warnings): Default to false if .git
exists but GCC is too old.
diff --git a/configure.ac b/configure.ac
index afb8cd2..202e30b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -109,10 +109,17 @@ AC_ARG_ENABLE([gcc-warnings],
*) AC_MSG_ERROR([bad value $enableval for gcc-warnings option]) ;;
esac
gl_gcc_warnings=$enableval],
- [if test -d "$srcdir"/.git; then
- gl_gcc_warnings=yes
- else
- gl_gcc_warnings=no
+ [gl_gcc_warnings=no
+ if test "$GCC" = yes && test -d "$srcdir"/.git; then
+ AC_COMPILE_IFELSE(
+ [AC_LANG_PROGRAM([[
+ #if 6 < __GNUC__ + (2 <= __GNUC_MINOR__)
+ int main (void) { return 0; }
+ #else
+ #error "This GCC is too old."
+ #endif
+ ]])],
+ [gl_gcc_warnings=yes])
fi]
)
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
hooks/post-receive
--
grep
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- grep branch, master, updated. v2.25-103-gdb39f34,
Paul Eggert <=