From: Eric Blake Date: Sat, 5 Feb 2011 22:55:17 +0000 (-0700) Subject: maint: speed up normal configure. X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=ab19c9ba16801de7dbb6b94cbd3af427d46461e1;p=m4.git 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 --- diff --git a/HACKING b/HACKING index f8229614..695bf17a 100644 --- a/HACKING +++ b/HACKING @@ -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

AltStyle によって変換されたページ (->オリジナル) /