maint: merge build improvements from coreutils
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 16 Nov 2012 19:44:06 +0000 (11:44 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 16 Nov 2012 21:45:26 +0000 (13:45 -0800)
commitd8975123403f54873819c2064769ad1d4c431410
treecdb03ae7aa358a227b5600a44e1260f8cd0076b3
parentc89ac1c86ced1be7fa9d038fa8b98de7882d112f
maint: merge build improvements from coreutils

* configure.ac: Invoke gl_ASSERT_NO_GNULIB_POSIXCHECK.
(--enable-gcc-warnings): Change help message.
(gl_GCC_VERSION_IFELSE): New macro.
Do not omit -Wunused-macros for main code.
Adjust other -W options as per coreutils.
* lib/Makefile.am (AM_CFLAGS): Use GNULIB_WARN_CFLAGS, not WARN_CFLAGS.
* unlzw.c (REGISTERS, REG1, REG2, ..., REG16): Remove.
All uses removed.  These provoked -Wunused-macros warnings.
This sort of fiddling with registers hasn't been needed for years.
configure.ac
lib/Makefile.am
unlzw.c