summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--doc/gnulib-tool.texi8
2 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d90fa58e06..a7e1a23039 100644
--- 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
diff --git a/doc/gnulib-tool.texi b/doc/gnulib-tool.texi
index 1a75f073bd..302fe880b9 100644
--- a/doc/gnulib-tool.texi
+++ b/doc/gnulib-tool.texi
@@ -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