bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnulib-tool: possibly a misleading reminder about "ACLOCAL_AMFLAGS"


From: Bjarni Ingi Gislason
Subject: gnulib-tool: possibly a misleading reminder about "ACLOCAL_AMFLAGS"
Date: Sat, 18 Dec 2021 23:59:22 +0000
User-agent: Mutt/1.10.1 (2018-07-13)

  In the output of "bootstrap" there is a reminder:

[...]
Don't forget to
[...]
  - mention "-I gnulib_m4" in ACLOCAL_AMFLAGS in Makefile.am,
[...]

End of quotation.

  "ACLOCAL_AMFLAGS" in "Makefile.am" is going to be replaced by
"AC_CONFIG_MARCO_DIRS" (in configure.ac) according to file "NEWS-2.0"
in the "automake" repository:

[...]
* WARNING: Future backward-incompatibilities!

[...]
  - The ACLOCAL_AMFLAGS special make variable will be fully deprecated in
    Automake 2.0: it will raise warnings in the "obsolete" category (but
    still no hard error of course, for compatibilities with the many, many
    packages that still relies on that variable).  You are advised to
    start relying on the new Automake support for AC_CONFIG_MACRO_DIRS
    instead (which was introduced in Automake 1.13).

End of quotation from NEWS-2.0.

  To avoid a confusion, adding something like:

  - or "gnulib_m4" in its replacement
"AC_CONFIG_MACRO_DIRS([DIR1 ...])" in "configure.ac",

  to the output of "bootstrap" could be advisable to avert uncertainty.

-- 
Bjarni I. Gislason



reply via email to

[Prev in Thread] Current Thread [Next in Thread]