mirror of
https://https.git.savannah.gnu.org/git/findutils.git
synced 2026-01-26 15:39:06 +00:00
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>
This commit is contained in:
parent
5dce9f443c
commit
6ba6fbaa96
@ -27,6 +27,15 @@
|
||||
Likewise.
|
||||
* m4/nullsort.m4: Removed occurrences of space followed by tab.
|
||||
|
||||
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.
|
||||
|
||||
2009-03-03 James Youngman <jay@gnu.org>
|
||||
|
||||
Fix Savannah bug #25359, more efficiently (suggestion by Nick Fortino).
|
||||
|
||||
@ -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
|
||||
|
||||
@ -88,6 +88,8 @@ AC_SYS_LARGEFILE
|
||||
|
||||
gl_INIT
|
||||
|
||||
dnl Enable various GCC warnings.
|
||||
gl_WARN_ADD([-Wdeclaration-after-statement])
|
||||
|
||||
|
||||
dnl Older versions of gnulib/m4/nls.m4 provide AM_MKINSTALLDIRS.
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
AM_CFLAGS = $(WARN_CFLAGS)
|
||||
|
||||
info_TEXINFOS = find.texi find-maint.texi
|
||||
find_TEXINFOS = perm.texi getdate.texi regexprops.texi fdl.texi
|
||||
find_maint_TEXINFOS = fdl.texi
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
AUTOMAKE_OPTIONS = std-options
|
||||
AM_CFLAGS = $(WARN_CFLAGS)
|
||||
localedir = $(datadir)/locale
|
||||
# noinst_PROGRAMS = regexprops
|
||||
# regexprops_SOURCES = regexprops.c
|
||||
|
||||
@ -77,6 +77,7 @@ timespec
|
||||
verify
|
||||
version-etc
|
||||
version-etc-fsf
|
||||
warnings
|
||||
wcwidth
|
||||
xalloc
|
||||
xalloc-die
|
||||
|
||||
@ -2,6 +2,7 @@
|
||||
|
||||
AUTOMAKE_OPTIONS = 1.5 gnits
|
||||
# no-dependencies
|
||||
AM_CFLAGS = $(WARN_CFLAGS)
|
||||
|
||||
noinst_LIBRARIES = libfind.a
|
||||
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
# The default database to build and search.
|
||||
AUTOMAKE_OPTIONS = std-options
|
||||
AM_CFLAGS = $(WARN_CFLAGS)
|
||||
LOCATE_DB = $(localstatedir)/locatedb
|
||||
localedir = $(datadir)/locale
|
||||
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
AUTOMAKE_OPTIONS = std-options
|
||||
AM_CFLAGS = $(WARN_CFLAGS)
|
||||
localedir = $(datadir)/locale
|
||||
bin_PROGRAMS = xargs
|
||||
man_MANS = xargs.1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user