[Top][All Lists]

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

Re: Accommodate non-recursive Automake in a less hacky way

From: Bruno Haible
Subject: Re: Accommodate non-recursive Automake in a less hacky way
Date: Sat, 18 Dec 2021 17:24:33 +0100

Another fix is needed, for the 'libtextstyle-optional' module.
Uncovered by the continuous integration.

2021-12-18  Bruno Haible  <bruno@clisp.org>

        libtextstyle-optional: Fix generation of textstyle.h (regr. 2021-12-15).
        * m4/libtextstyle-optional.m4 (gl_LIBTEXTSTYLE_OPTIONAL): Invoke

diff --git a/m4/libtextstyle-optional.m4 b/m4/libtextstyle-optional.m4
index 74a5aeaf2..2b29ae4a5 100644
--- a/m4/libtextstyle-optional.m4
+++ b/m4/libtextstyle-optional.m4
@@ -1,4 +1,4 @@
-# libtextstyle-optional.m4 serial 3
+# libtextstyle-optional.m4 serial 4
 dnl Copyright (C) 2019-2021 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -29,4 +29,11 @@ AC_DEFUN([gl_LIBTEXTSTYLE_OPTIONAL],
+  dnl Update the value of the TEXTSTYLE_H variable and the
+  dnl GL_GENERATE_TEXTSTYLE_H conditional.
+  dnl In most modules, the gl_CONDITIONAL_HEADER invocation belongs in the
+  dnl module description, not the .m4 file. But here it's OK, because it does
+  dnl not make sense to AC_REQUIRE([gl_LIBTEXTSTYLE_OPTIONAL]).
+  gl_CONDITIONAL_HEADER([textstyle.h])

reply via email to

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