posix_spawn_file_actions_* tests: Fix module dependencies.
[gnulib.git] / modules / libtextstyle-optional
blobc0935e1f5651eb059477a84f6bbaa785b5119998
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 stdio
12 unistd
13 fsync
14 vasprintf-posix
16 configure.ac:
17 # You need to invoke gl_LIBTEXTSTYLE_OPTIONAL yourself, possibly with arguments.
19 Makefile.am:
20 BUILT_SOURCES += $(TEXTSTYLE_H)
22 # We need the following in order to create a dummy placeholder for
23 # <textstyle.h> when the system doesn't have one.
24 if GL_GENERATE_TEXTSTYLE_H
25 textstyle.h: textstyle.in.h $(top_builddir)/config.status
26         $(AM_V_GEN)rm -f $@-t $@ && \
27         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
28           cat $(srcdir)/textstyle.in.h; \
29         } > $@-t && \
30         mv $@-t $@
31 else
32 textstyle.h: $(top_builddir)/config.status
33         rm -f $@
34 endif
35 MOSTLYCLEANFILES += textstyle.h textstyle.h-t
37 Include:
38 #include <textstyle.h>
40 Link:
41 $(LTLIBTEXTSTYLE) when linking with libtool, $(LIBTEXTSTYLE) otherwise
43 License:
44 GPL
46 Maintainer:
47 Bruno Haible, Akim Demaille