diff doc/gnulib-tool.texi @ 15797:81165025d9b6

doc: Improve doc about gl_EARLY. * doc/gnulib-tool.texi (Initial import): Mention where to place an AC_PROG_CC_STDC invocation. Reported by Gary V. Vaughan <gary@vaughan.pe>.
author Bruno Haible <bruno@clisp.org>
date Thu, 29 Sep 2011 10:50:37 +0200
parents 76127af7039f
children 8250f2777afc
line wrap: on
line diff
--- a/doc/gnulib-tool.texi
+++ b/doc/gnulib-tool.texi
@@ -217,6 +217,17 @@
 ...
 @end example
 
+If you are using @code{AC_PROG_CC_STDC}, the macro @code{gl_EARLY} must
+be called after it, like this:
+
+@example
+...
+AC_PROG_CC
+AC_PROG_CC_STDC
+gl_EARLY
+...
+@end example
+
 The core part of the gnulib checks are done by the macro
 @code{gl_INIT}.  Place it further down in the file, typically where
 you normally check for header files or functions.  It must come after