bug-gnulib
[Top][All Lists]
Advanced

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

new module 'libtextstyle-optional'


From: Bruno Haible
Subject: new module 'libtextstyle-optional'
Date: Wed, 20 Mar 2019 00:45:09 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-141-generic; KDE/5.18.0; x86_64; ; )

Programs that use the module 'libtextstyle' and still want to be able to
build when no libtextstyle is installed need to use
  #if HAVE_LIBTEXTSTYLE
in many places.

The module 'libtextstyle-optional' greatly reduces the need to use that
much conditional code (assuming the program's developer accepts to use
ostream_t types in unconditional code). Akim Demaille confirmed that this
module is useful, so I am adding it.


2019-03-19  Bruno Haible  <address@hidden>

        libtextstyle-optional: New module.
        * lib/textstyle.in.h: New file, based on libtextstyle's textstyle.h.
        * m4/libtextstyle-optional.m4: New file, based on m4/libtextstyle.m4.
        * modules/libtextstyle-optional: New file.

        libtextstyle-optional: Add tests.
        * tests/test-libtextstyle.c: New file, based on libtextstyle's
        adhoc-tests/hello.c.
        * tests/test-libtextstyle-default.css: New file, copied from
        libtextstyle's adhoc-tests/hello-default.css.
        * modules/libtextstyle-optional-tests: New file.

Attachment: 0001-libtextstyle-optional-New-module.patch
Description: Text Data

Attachment: 0002-libtextstyle-optional-Add-tests.patch
Description: Text Data


reply via email to

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