]> Savannah Git Hosting - m4.git/commitdiff

Savannah Git Hosting - m4.git/commitdiff

git git@sv / m4.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6d0394c)
maint: speed up normal configure.
Sat, 5 Feb 2011 22:55:17 +0000 (15:55 -0700)
2013年9月18日 13:53:26 +0000 (20:53 +0700)
* 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>

diff --git a/HACKING b/HACKING
index f8229614e5a8fe924eca6e45c84690ab4efa8789..695bf17af7e9aa70a8e8bbb5f24e7c27d5c611d8 100644 (file)
--- 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 b26879561510ea1081ff466e4372b3086a6543d7..f1bdbb7e1cca78704b3c6df722d2f7f1d63e6b7a 100644 (file)
--- 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
GNU M4 source repository
RSS Atom

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