]> Savannah Git Hosting - gnulib.git/commitdiff
doc: Mention another prerequisite for using Gnulib.
authorBruno Haible <bruno@clisp.org>
Tue, 23 Jan 2018 08:13:13 +0000 (09:13 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jan 2018 08:13:13 +0000 (09:13 +0100)
Reported at <https://stackoverflow.com/questions/48378214/>.

* doc/gnulib-tool.texi (Initial import): Mention requirement to use
AC_CONFIG_HEADERS.

ChangeLog
doc/gnulib-tool.texi

index d90fa58e0626228a3ae917ab7c2ad551beff5e3c..a7e1a23039d4840345440e3a8b57083a8ee20eea 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2018-01-23  Bruno Haible  <bruno@clisp.org>
+
+       doc: Mention another prerequisite for using Gnulib.
+       Reported at <https://stackoverflow.com/questions/48378214/>.
+       * doc/gnulib-tool.texi (Initial import): Mention requirement to use
+       AC_CONFIG_HEADERS.
+
 2018-01-22  Mathieu Lirzin  <mthl@gnu.org>
 
        build: GuixSD doesn't have /bin/bash
index 1a75f073bdeae637b604225ef415488729b58d5e..302fe880b9147db7258355f848cbab820ebd79f7 100644 (file)
@@ -87,6 +87,14 @@ module that contains this source file, you can use the command
 Gnulib assumes that your project uses Autoconf.  When using Gnulib, you
 will need to have Autoconf among your build tools.
 
+Gnulib also assumes that your project's @file{configure.ac} contains the
+line
+@smallexample
+AC_CONFIG_HEADERS([config.h])
+@end smallexample
+The @file{config.h} file gets generated with platform dependent C macro
+definitions, and the source files include it (see @ref{Source changes}).
+
 Unless you use @command{gnulib-tool}'s @option{--gnu-make} option,
 Gnulib also assumes that your project uses Automake at least in a
 subdirectory of your project.  While the use of Automake in your