eealloc: deprecate
[gnulib.git] / modules / libtextstyle-optional
blob616f17eadc023102085db92615d6f080fdb816f0
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 gen-header
10 libtextstyle
11 stdbool
12 stdio
13 unistd
14 fsync
15 vasprintf-posix
17 configure.ac:
18 # You need to invoke gl_LIBTEXTSTYLE_OPTIONAL yourself, possibly with arguments.
19 if test -z "$GL_GENERATE_TEXTSTYLE_H"; then
20   GL_GENERATE_TEXTSTYLE_H=false
22 gl_CONDITIONAL_HEADER([textstyle.h])
23 AC_PROG_MKDIR_P
25 Makefile.am:
26 BUILT_SOURCES += $(TEXTSTYLE_H)
28 # We need the following in order to create a dummy placeholder for
29 # <textstyle.h> when the system doesn't have one.
30 if GL_GENERATE_TEXTSTYLE_H
31 textstyle.h: textstyle.in.h $(top_builddir)/config.status
32 @NMD@   $(AM_V_GEN)$(MKDIR_P) '%reldir%'
33         $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/textstyle.in.h
34         $(AM_V_at)mv $@-t $@
35 else
36 textstyle.h: $(top_builddir)/config.status
37         rm -f $@
38 endif
39 MOSTLYCLEANFILES += textstyle.h textstyle.h-t
41 Include:
42 #include <textstyle.h>
44 Link:
45 $(LTLIBTEXTSTYLE) when linking with libtool, $(LIBTEXTSTYLE) otherwise
47 License:
48 GPL
50 Maintainer:
51 Bruno Haible, Akim Demaille