stdio: Don't break attribute 'scanf' on clang.
[gnulib.git] / modules / libtextstyle-optional
blob1ee82707f1355a796936cabca55e30cf071734bb
1 Description:
2 Try to use system libtextstyle for output of styled text.
4 Files:
5 lib/textstyle.in.h
6 m4/libtextstyle-optional.m4
8 Depends-on:
9 libtextstyle
10 stdbool
11 unistd
12 fsync
13 vasprintf-posix
15 configure.ac:
16 # You need to invoke gl_LIBTEXTSTYLE_OPTIONAL yourself, possibly with arguments.
18 Makefile.am:
19 BUILT_SOURCES += $(TEXTSTYLE_H)
21 # We need the following in order to create a dummy placeholder for
22 # <textstyle.h> when the system doesn't have one.
23 if GL_GENERATE_TEXTSTYLE_H
24 textstyle.h: textstyle.in.h $(top_builddir)/config.status
25         $(AM_V_GEN)rm -f $@-t $@ && \
26         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
27           cat $(srcdir)/textstyle.in.h; \
28         } > $@-t && \
29         mv $@-t $@
30 else
31 textstyle.h: $(top_builddir)/config.status
32         rm -f $@
33 endif
34 MOSTLYCLEANFILES += textstyle.h textstyle.h-t
36 Include:
37 #include <textstyle.h>
39 Link:
40 $(LTLIBTEXTSTYLE) when linking with libtool, $(LIBTEXTSTYLE) otherwise
42 License:
43 GPL
45 Maintainer:
46 Bruno Haible, Akim Demaille