From: Bruno Haible Date: Thu, 29 Sep 2011 08:50:37 +0000 (+0200) Subject: doc: Improve doc about gl_EARLY. X-Git-Tag: v0.1~1729 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=178e3ad58f3e077cd87a3ca9a615541e428f9e17;p=gnulib.git 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 . --- diff --git a/ChangeLog b/ChangeLog index 349bb17a4..067c51556 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-09-29 Bruno Haible + + 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 . + 2011-09-28 Bruno Haible fgetc, fputc, fread, fwrite tests: Fix link error. diff --git a/doc/gnulib-tool.texi b/doc/gnulib-tool.texi index 7581d8179..adeb2296c 100644 --- a/doc/gnulib-tool.texi +++ b/doc/gnulib-tool.texi @@ -217,6 +217,17 @@ gl_EARLY ... @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