diff options
author | Jim Meyering <meyering@redhat.com> | 2009-12-25 20:19:37 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-01-06 10:34:59 +0100 |
commit | 9ce8c3516ab0ea01aad7dce876c8e825e14f1954 (patch) | |
tree | 67c93b5cd68c031c3667ad14044b12278f6d0207 /src | |
parent | d857219e370bde27ae5b42a5fbe2d7e1bcee9076 (diff) | |
download | grep-9ce8c3516ab0ea01aad7dce876c8e825e14f1954.tar.gz |
build: add configure-time --enable-gcc-warnings option; avoid warnings
* bootstrap.conf (gnulib_modules): Add "manywarnings" module.
* configure.ac: Add --enable-gcc-warnings, derived from code in bison.
* src/Makefile.am (AM_CFLAGS): Set to $(WARN_CFLAGS) $(WERROR_CFLAGS)
* lib/Makefile.am (AM_CFLAGS): Likewise, but append.
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 20c68552..5104793d 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -16,6 +16,8 @@ LN = ln +AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS) + bin_PROGRAMS = grep egrep fgrep grep_SOURCES = grep.c search.c kwset.c dfa.c egrep_SOURCES = egrep.c esearch.c kwset.c dfa.c |