Hash :
645b1baf
Author :
Date :
2019-10-28T01:23:33
libtextstyle-optional: Sync with current not-yet-released libtextstyle. * lib/textstyle.in.h: Include <stdarg.h>. (ostream_printf, ostream_vprintf): New functions. * modules/libtextstyle-optional (Depends-on): Add vasprintf-posix.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
Description:
Try to use system libtextstyle for output of styled text.
Files:
lib/textstyle.in.h
m4/libtextstyle-optional.m4
Depends-on:
libtextstyle
stdbool
unistd
fsync
vasprintf-posix
configure.ac:
gl_LIBTEXTSTYLE_OPTIONAL
Makefile.am:
BUILT_SOURCES += $(TEXTSTYLE_H)
# We need the following in order to create a dummy placeholder for
# <textstyle.h> when the system doesn't have one.
if GL_GENERATE_TEXTSTYLE_H
textstyle.h: textstyle.in.h $(top_builddir)/config.status
$(AM_V_GEN)rm -f $@-t $@ && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/textstyle.in.h; \
} > $@-t && \
mv $@-t $@
else
textstyle.h: $(top_builddir)/config.status
rm -f $@
endif
MOSTLYCLEANFILES += textstyle.h textstyle.h-t
Include:
#include <textstyle.h>
Link:
$(LTLIBTEXTSTYLE) when linking with libtool, $(LIBTEXTSTYLE) otherwise
License:
GPL
Maintainer:
Bruno Haible, Akim Demaille