summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorJames Youngman <jay@gnu.org>2009-03-04 11:07:50 +0000
committerJames Youngman <jay@gnu.org>2009-03-04 11:07:50 +0000
commit6ba6fbaa96a776a8688b1755fa00e25f911b5e7b (patch)
treec04681cdf6ca4e5e576a3927eb8d6f861cf0239c /Makefile.am
parent5dce9f443cb41aa268bcab291dea8657572c17b0 (diff)
downloadfindutils-6ba6fbaa96a776a8688b1755fa00e25f911b5e7b.tar.gz
Enabled GCC warnings for declarations after statements.
Enabled GCC warnings for declarations after statements. * import-gnulib.config: Import the gnulib module 'warnings' * configure.ac: Add GCC warning -Wdeclaration-after-statement. * Makefile.am: Add AM_CFLAGS and set it to $(WARN_CFLAGS). * find/Makefile.am, doc/Makefile.am, lib/Makefile.am: Likewise. * locate/Makefile.am, xargs/Makefile.am: Likewise. Signed-off-by: James Youngman <jay@gnu.org>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index c9c7334a..7e5d5087 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,6 @@
AUTOMAKE_OPTIONS=gnits
# readme-alpha
+AM_CFLAGS = $(WARN_CFLAGS)
EXTRA_DIST = COPYING ChangeLog TODO config.h.in stamp-h.in \
THANKS import-gnulib.sh import-gnulib.config