diff options
author | Eric Blake <eblake@redhat.com> | 2011-02-05 15:55:17 -0700 |
---|---|---|
committer | Gary V. Vaughan <gary@gnu.org> | 2013-09-18 20:53:26 +0700 |
commit | ab19c9ba16801de7dbb6b94cbd3af427d46461e1 (patch) | |
tree | 8885e60e842b76d4c965d78e4c77cd7cefe73138 | |
parent | 6d0394c1c23957e387e4d860478ed06a3f5f5fed (diff) | |
download | m4-ab19c9ba16801de7dbb6b94cbd3af427d46461e1.tar.gz |
maint: speed up normal configure.
* configure.ac (gl_ASSERT_NO_GNULIB_POSIXCHECK): Speed up normal
configure runs (and document how to rerun GNULIB_POSIXCHECK).
* HACKING: Document GNULIB_POSIXCHECK.
Signed-off-by: Eric Blake <eblake@redhat.com>
-rw-r--r-- | HACKING | 5 | ||||
-rw-r--r-- | configure.ac | 5 |
2 files changed, 10 insertions, 0 deletions
@@ -132,6 +132,11 @@ and is not part of a release distribution. version of build-aux files with their newer counterpart; the fix to this is updating the submodule to a newer gnulib version. +* If you would like to check that you are not missing out on any useful + gnulib modules, comment out the gl_ASSERT_NO_GNULIB_POSIXCHECK in + configure.ac, then run 'make CFLAGS='-DGNULIB_POSIXCHECK=1' with gcc, + and look at the resulting warnings. + 4. Test Suite ============= diff --git a/configure.ac b/configure.ac index b2687956..f1bdbb7e 100644 --- a/configure.ac +++ b/configure.ac @@ -67,6 +67,11 @@ AC_PROG_CC AC_DEFUN([gl_CXX_CHOICE_DEFAULT_NO]) M4_EARLY +# Maintainer note - comment this line out if you plan to rerun +# GNULIB_POSIXCHECK testing to see if M4 should be using more modules. +# Leave it uncommented for normal releases, for faster ./configure. +gl_ASSERT_NO_GNULIB_POSIXCHECK + AC_SYS_LARGEFILE AC_PROG_CPP AM_PROG_CC_C_O |