]> Savannah Git Hosting - gnulib.git/commitdiff
doc: Mention AC_CONFIG_MACRO_DIRS in configure.ac.
authorCollin Funk <collin.funk1@gmail.com>
Sun, 28 Apr 2024 11:43:39 +0000 (04:43 -0700)
committerCollin Funk <collin.funk1@gmail.com>
Sun, 28 Apr 2024 11:43:39 +0000 (04:43 -0700)
Document the following gnulib-tool change:
2021-12-19  Bruno Haible  <bruno@clisp.org>
gnulib-tool: Don't insist on ACLOCAL_AMFLAGS.

* doc/gnulib-tool.texi (Initial import): Update the example gnulib-tool
invocation. Document the use of AC_CONFIG_MACRO_DIRS as an alternative
to ACLOCAL_AMFLAGS.

ChangeLog
doc/gnulib-tool.texi

index 5948faf1028f8a2fd45e8037cdd7bf76215fdcbb..137830499aa88c1e717088a536fb6f1a83a33d35 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2024-04-28  Collin Funk  <collin.funk1@gmail.com>
+
+       doc: Mention AC_CONFIG_MACRO_DIRS in configure.ac.
+       Document the following gnulib-tool change:
+       2021-12-19  Bruno Haible  <bruno@clisp.org>
+       gnulib-tool: Don't insist on ACLOCAL_AMFLAGS.
+       * doc/gnulib-tool.texi (Initial import): Update the example gnulib-tool
+       invocation. Document the use of AC_CONFIG_MACRO_DIRS as an alternative
+       to ACLOCAL_AMFLAGS.
+
 2024-04-28  Bruno Haible  <bruno@clisp.org>
 
        bootstrap: Support checking out a recent GNULIB_REVISION, part 2.
index 0eb3b247e25bd809805ef7106116414e25ae7fd1..1a34673eb2bb5c29517f61d25e7586777a5916bd 100644 (file)
@@ -156,6 +156,7 @@ Don't forget to
   - add "lib/Makefile" to AC_CONFIG_FILES in ./configure.ac,
   - mention "lib" in SUBDIRS in Makefile.am,
   - mention "-I m4" in ACLOCAL_AMFLAGS in Makefile.am,
+    or add an AC_CONFIG_MACRO_DIRS([m4]) invocation in ./configure.ac,
   - invoke gl_EARLY in ./configure.ac, right after AC_PROG_CC,
   - invoke gl_INIT in ./configure.ac.
 ~/src/libfoo$
@@ -223,6 +224,13 @@ your top-level @file{Makefile.am} file, as in:
 ACLOCAL_AMFLAGS = -I m4
 @end example
 
+Alternatively, add an @code{AC_CONFIG_MACRO_DIRS} invocation in your
+@file{configure.ac} file, as in:
+
+@example
+AC_CONFIG_MACRO_DIRS([m4])
+@end example
+
 You are now ready to call the M4 macros in @code{gnulib-comp.m4} from
 @file{configure.ac}.  The macro @code{gl_EARLY} must be called as soon
 as possible after verifying that the C compiler is working.