1AC_PREREQ([2.64])
2AC_INIT([HarfBuzz],
3        [2.3.0],
4        [https://github.com/harfbuzz/harfbuzz/issues/new],
5        [harfbuzz],
6        [http://harfbuzz.org/])
7
8AC_CONFIG_MACRO_DIR([m4])
9AC_CONFIG_SRCDIR([src/harfbuzz.pc.in])
10AC_CONFIG_HEADERS([config.h])
11
12AM_INIT_AUTOMAKE([1.13.0 gnits tar-ustar dist-bzip2 no-dist-gzip -Wall no-define color-tests -Wno-portability])
13AM_SILENT_RULES([yes])
14AX_CODE_COVERAGE
15
16# Initialize libtool
17m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
18LT_PREREQ([2.2])
19LT_INIT([disable-static])
20
21# Check for programs
22AC_PROG_CC
23AC_PROG_CC_C99
24AM_PROG_CC_C_O
25AC_PROG_CXX
26dnl AX_CXX_COMPILE_STDCXX(11, noext, optional)
27AC_SYS_LARGEFILE
28PKG_PROG_PKG_CONFIG([0.20])
29AM_MISSING_PROG([RAGEL], [ragel])
30AM_MISSING_PROG([GIT], [git])
31
32# Version
33m4_define(hb_version_triplet,m4_split(AC_PACKAGE_VERSION,[[.]]))
34m4_define(hb_version_major,m4_argn(1,hb_version_triplet))
35m4_define(hb_version_minor,m4_argn(2,hb_version_triplet))
36m4_define(hb_version_micro,m4_argn(3,hb_version_triplet))
37HB_VERSION_MAJOR=hb_version_major
38HB_VERSION_MINOR=hb_version_minor
39HB_VERSION_MICRO=hb_version_micro
40HB_VERSION=AC_PACKAGE_VERSION
41AC_SUBST(HB_VERSION_MAJOR)
42AC_SUBST(HB_VERSION_MINOR)
43AC_SUBST(HB_VERSION_MICRO)
44AC_SUBST(HB_VERSION)
45
46# Libtool version
47m4_define([hb_version_int],
48	  m4_eval(hb_version_major*10000 + hb_version_minor*100 + hb_version_micro))
49m4_if(m4_eval(hb_version_minor % 2), [1],
50      dnl for unstable releases
51      [m4_define([hb_libtool_revision], 0)],
52      dnl for stable releases
53      [m4_define([hb_libtool_revision], hb_version_micro)])
54m4_define([hb_libtool_age],
55	  m4_eval(hb_version_int - hb_libtool_revision))
56m4_define([hb_libtool_current],
57	  m4_eval(hb_libtool_age))
58HB_LIBTOOL_VERSION_INFO=hb_libtool_current:hb_libtool_revision:hb_libtool_age
59AC_SUBST(HB_LIBTOOL_VERSION_INFO)
60
61AC_ARG_WITH([libstdc++],
62	[AS_HELP_STRING([--with-libstdc++=@<:@yes/no@:>@],
63			[Allow linking with libstdc++ @<:@default=no@:>@])],
64	[with_libstdcxx=$withval],
65	[with_libstdcxx=no])
66AM_CONDITIONAL(WITH_LIBSTDCXX, [test "x$with_libstdcxx" = "xyes"])
67
68# Documentation
69have_gtk_doc=false
70m4_ifdef([GTK_DOC_CHECK], [
71GTK_DOC_CHECK([1.15],[--flavour no-tmpl])
72	if test "x$enable_gtk_doc" = xyes; then
73		have_gtk_doc=true
74	fi
75], [
76	AM_CONDITIONAL([ENABLE_GTK_DOC], false)
77])
78
79# Functions and headers
80AC_CHECK_FUNCS(atexit mprotect sysconf getpagesize mmap isatty newlocale strtod_l posix_memalign)
81
82save_libs="$LIBS"
83LIBS="$LIBS -lm"
84AC_CHECK_FUNCS([round], ,[AC_CHECK_DECLS([round], , ,[#include <math.h>])])
85LIBS="$save_libs"
86
87AC_CHECK_HEADERS(unistd.h sys/mman.h xlocale.h stdbool.h)
88
89# Compiler flags
90AC_CANONICAL_HOST
91AC_CHECK_ALIGNOF([struct{char;}])
92if test "x$GCC" = "xyes"; then
93
94	# Make symbols link locally
95	AX_CHECK_LINK_FLAG([[-Bsymbolic-functions]], [LDFLAGS="$LDFLAGS -Bsymbolic-functions"])
96
97	# Make it possible to not link to libstdc++
98	# No threadsafe statics in C++ as we do it ourselves.
99	# We don't use these features, so it's safe to disable them
100	# even in the cases where we DO link to libstdc++.
101	# Put -fno-rtti before $CXXFLAGS such that users can re-enable it
102	# by overriding CXXFLAGS.
103	CXXFLAGS="-fno-rtti $CXXFLAGS -fno-exceptions -fno-threadsafe-statics"
104
105	# Assorted warnings
106	CXXFLAGS="$CXXFLAGS -Wcast-align"
107
108	case "$host" in
109		*-*-mingw*)
110		;;
111		*)
112			# Hide inline methods
113			CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden"
114		;;
115	esac
116
117	case "$host" in
118		arm-*-*)
119			if test "x$ac_cv_alignof_struct_char__" != x1; then
120				# Request byte alignment
121				CXXFLAGS="$CXXFLAGS -mstructure-size-boundary=8"
122			fi
123		;;
124	esac
125fi
126
127AM_CONDITIONAL(HAVE_GCC, test "x$GCC" = "xyes")
128
129hb_os_win32=no
130AC_MSG_CHECKING([for native Win32])
131case "$host" in
132  *-*-mingw*)
133    hb_os_win32=yes
134    ;;
135esac
136AC_MSG_RESULT([$hb_os_win32])
137AM_CONDITIONAL(OS_WIN32, test "$hb_os_win32" = "yes")
138
139have_pthread=false
140if test "$hb_os_win32" = no; then
141	AX_PTHREAD([have_pthread=true])
142fi
143if $have_pthread; then
144	AC_DEFINE(HAVE_PTHREAD, 1, [Have POSIX threads])
145fi
146AM_CONDITIONAL(HAVE_PTHREAD, $have_pthread)
147
148dnl ==========================================================================
149
150have_fallback=true
151if $have_fallback; then
152	AC_DEFINE(HAVE_FALLBACK, 1, [Have simple TrueType Layout backend])
153fi
154AM_CONDITIONAL(HAVE_FALLBACK, $have_fallback)
155
156dnl ===========================================================================
157
158AC_ARG_WITH(glib,
159	[AS_HELP_STRING([--with-glib=@<:@yes/no/auto@:>@],
160			[Use glib @<:@default=auto@:>@])],,
161	[with_glib=auto])
162have_glib=false
163GLIB_DEPS="glib-2.0 >= 2.19.1"
164AC_SUBST(GLIB_DEPS)
165if test "x$with_glib" = "xyes" -o "x$with_glib" = "xauto"; then
166	PKG_CHECK_MODULES(GLIB, $GLIB_DEPS, have_glib=true, :)
167fi
168if test "x$with_glib" = "xyes" -a "x$have_glib" != "xtrue"; then
169	AC_MSG_ERROR([glib support requested but glib-2.0 not found])
170fi
171if $have_glib; then
172	AC_DEFINE(HAVE_GLIB, 1, [Have glib2 library])
173fi
174AM_CONDITIONAL(HAVE_GLIB, $have_glib)
175
176dnl ===========================================================================
177
178AC_ARG_WITH(gobject,
179	[AS_HELP_STRING([--with-gobject=@<:@yes/no/auto@:>@],
180			[Use gobject @<:@default=no@:>@])],,
181	[with_gobject=no])
182have_gobject=false
183if test "x$with_gobject" = "xyes" -o "x$with_gobject" = "xauto"; then
184	PKG_CHECK_MODULES(GOBJECT, gobject-2.0 glib-2.0, have_gobject=true, :)
185fi
186if test "x$with_gobject" = "xyes" -a "x$have_gobject" != "xtrue"; then
187	AC_MSG_ERROR([gobject support requested but gobject-2.0 / glib-2.0 not found])
188fi
189if $have_gobject; then
190	AC_DEFINE(HAVE_GOBJECT, 1, [Have gobject2 library])
191	GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
192	AC_SUBST(GLIB_MKENUMS)
193fi
194AM_CONDITIONAL(HAVE_GOBJECT, $have_gobject)
195AC_SUBST(have_gobject)
196
197dnl ===========================================================================
198
199
200dnl ===========================================================================
201# Gobject-Introspection
202have_introspection=false
203m4_ifdef([GOBJECT_INTROSPECTION_CHECK], [
204	if $have_gobject; then
205		GOBJECT_INTROSPECTION_CHECK([1.34.0])
206		if test "x$found_introspection" = xyes; then
207			have_introspection=true
208		fi
209	else
210		AM_CONDITIONAL([HAVE_INTROSPECTION], false)
211	fi
212], [
213	AM_CONDITIONAL([HAVE_INTROSPECTION], false)
214])
215
216dnl ==========================================================================
217
218AC_ARG_WITH(cairo,
219	[AS_HELP_STRING([--with-cairo=@<:@yes/no/auto@:>@],
220			[Use cairo @<:@default=auto@:>@])],,
221	[with_cairo=auto])
222have_cairo=false
223if test "x$with_cairo" = "xyes" -o "x$with_cairo" = "xauto"; then
224	PKG_CHECK_MODULES(CAIRO, cairo >= 1.8.0, have_cairo=true, :)
225fi
226if test "x$with_cairo" = "xyes" -a "x$have_cairo" != "xtrue"; then
227	AC_MSG_ERROR([cairo support requested but not found])
228fi
229if $have_cairo; then
230	AC_DEFINE(HAVE_CAIRO, 1, [Have cairo graphics library])
231fi
232AM_CONDITIONAL(HAVE_CAIRO, $have_cairo)
233
234have_cairo_ft=false
235if $have_cairo; then
236	PKG_CHECK_MODULES(CAIRO_FT, cairo-ft, have_cairo_ft=true, :)
237fi
238if $have_cairo_ft; then
239	AC_DEFINE(HAVE_CAIRO_FT, 1, [Have cairo-ft support in cairo graphics library])
240fi
241AM_CONDITIONAL(HAVE_CAIRO_FT, $have_cairo_ft)
242
243dnl ==========================================================================
244
245AC_ARG_WITH(fontconfig,
246	[AS_HELP_STRING([--with-fontconfig=@<:@yes/no/auto@:>@],
247			[Use fontconfig @<:@default=auto@:>@])],,
248	[with_fontconfig=auto])
249have_fontconfig=false
250if test "x$with_fontconfig" = "xyes" -o "x$with_fontconfig" = "xauto"; then
251	PKG_CHECK_MODULES(FONTCONFIG, fontconfig, have_fontconfig=true, :)
252fi
253if test "x$with_fontconfig" = "xyes" -a "x$have_fontconfig" != "xtrue"; then
254	AC_MSG_ERROR([fontconfig support requested but not found])
255fi
256if $have_fontconfig; then
257	AC_DEFINE(HAVE_FONTCONFIG, 1, [Have fontconfig library])
258fi
259AM_CONDITIONAL(HAVE_FONTCONFIG, $have_fontconfig)
260
261dnl ==========================================================================
262
263AC_ARG_WITH(icu,
264	[AS_HELP_STRING([--with-icu=@<:@yes/no/builtin/auto@:>@],
265			[Use ICU @<:@default=auto@:>@])],,
266	[with_icu=auto])
267have_icu=false
268if test "x$with_icu" = "xyes" -o "x$with_icu" = "xbuiltin" -o "x$with_icu" = "xauto"; then
269	PKG_CHECK_MODULES(ICU, icu-uc, have_icu=true, :)
270
271	dnl Fallback to icu-config if ICU pkg-config files could not be found
272	if test "$have_icu" != "true"; then
273		AC_CHECK_TOOL(ICU_CONFIG, icu-config, no)
274		AC_MSG_CHECKING([for ICU by using icu-config fallback])
275		if test "$ICU_CONFIG" != "no" && "$ICU_CONFIG" --version >/dev/null; then
276			have_icu=true
277			# We don't use --cflags as this gives us a lot of things that we don't
278			# necessarily want, like debugging and optimization flags
279			# See man (1) icu-config for more info.
280			ICU_CFLAGS=`$ICU_CONFIG --cppflags`
281			ICU_LIBS=`$ICU_CONFIG --ldflags-searchpath --ldflags-libsonly`
282			AC_SUBST(ICU_CFLAGS)
283			AC_SUBST(ICU_LIBS)
284			AC_MSG_RESULT([yes])
285		else
286			AC_MSG_RESULT([no])
287		fi
288	fi
289fi
290if test \( "x$with_icu" = "xyes" -o "x$with_icu" = "xbuiltin" \) -a "x$have_icu" != "xtrue"; then
291	AC_MSG_ERROR([icu support requested but icu-uc not found])
292fi
293
294if $have_icu; then
295	CXXFLAGS="$CXXFLAGS `$PKG_CONFIG --variable=CXXFLAGS icu-uc`"
296	AC_DEFINE(HAVE_ICU, 1, [Have ICU library])
297	if test "x$with_icu" = "xbuiltin"; then
298		AC_DEFINE(HAVE_ICU_BUILTIN, 1, [Use hb-icu Unicode callbacks])
299	fi
300fi
301AM_CONDITIONAL(HAVE_ICU, $have_icu)
302AM_CONDITIONAL(HAVE_ICU_BUILTIN, $have_icu && test "x$with_icu" = "xbuiltin")
303
304dnl ===========================================================================
305
306AC_ARG_WITH(ucdn,
307	[AS_HELP_STRING([--with-ucdn=@<:@yes/no@:>@],
308			[Use builtin UCDN library @<:@default=yes@:>@])],,
309	[with_ucdn=yes])
310have_ucdn=false
311if test "x$with_ucdn" = "xyes"; then
312	have_ucdn=true
313fi
314if $have_ucdn; then
315	AC_DEFINE(HAVE_UCDN, 1, [Have UCDN Unicode functions])
316fi
317AM_CONDITIONAL(HAVE_UCDN, $have_ucdn)
318
319dnl ==========================================================================
320
321AC_ARG_WITH(graphite2,
322	[AS_HELP_STRING([--with-graphite2=@<:@yes/no/auto@:>@],
323			[Use the graphite2 library @<:@default=no@:>@])],,
324	[with_graphite2=no])
325have_graphite2=false
326GRAPHITE2_DEPS="graphite2 >= 1.2.0"
327AC_SUBST(GRAPHITE2_DEPS)
328if test "x$with_graphite2" = "xyes" -o "x$with_graphite2" = "xauto"; then
329	PKG_CHECK_MODULES(GRAPHITE2, $GRAPHITE2_DEPS, have_graphite2=true, :)
330	if test "x$have_graphite2" != "xtrue"; then
331                # If pkg-config is not available, graphite2 can still be there
332		ac_save_CFLAGS="$CFLAGS"
333		ac_save_CPPFLAGS="$CPPFLAGS"
334		CFLAGS="$CFLAGS $GRAPHITE2_CFLAGS"
335		CPPFLAGS="$CPPFLAGS $GRAPHITE2_CFLAGS"
336		AC_CHECK_HEADER(graphite2/Segment.h, have_graphite2=true, :)
337		CPPFLAGS="$ac_save_CPPFLAGS"
338		CFLAGS="$ac_save_CFLAGS"
339	fi
340fi
341if test "x$with_graphite2" = "xyes" -a "x$have_graphite2" != "xtrue"; then
342	AC_MSG_ERROR([graphite2 support requested but libgraphite2 not found])
343fi
344if $have_graphite2; then
345	AC_DEFINE(HAVE_GRAPHITE2, 1, [Have Graphite2 library])
346fi
347AM_CONDITIONAL(HAVE_GRAPHITE2, $have_graphite2)
348
349dnl ==========================================================================
350
351AC_ARG_WITH(freetype,
352	[AS_HELP_STRING([--with-freetype=@<:@yes/no/auto@:>@],
353			[Use the FreeType library @<:@default=auto@:>@])],,
354	[with_freetype=auto])
355have_freetype=false
356FREETYPE_DEPS="freetype2 >= 12.0.6"
357AC_SUBST(FREETYPE_DEPS)
358if test "x$with_freetype" = "xyes" -o "x$with_freetype" = "xauto"; then
359	# See freetype/docs/VERSION.DLL; 12.0.6 means freetype-2.4.2
360	PKG_CHECK_MODULES(FREETYPE, $FREETYPE_DEPS, have_freetype=true, :)
361fi
362if test "x$with_freetype" = "xyes" -a "x$have_freetype" != "xtrue"; then
363	AC_MSG_ERROR([FreeType support requested but libfreetype2 not found])
364fi
365if $have_freetype; then
366	AC_DEFINE(HAVE_FREETYPE, 1, [Have FreeType 2 library])
367	save_libs=$LIBS
368	LIBS="$LIBS $FREETYPE_LIBS"
369	AC_CHECK_FUNCS(FT_Get_Var_Blend_Coordinates FT_Set_Var_Blend_Coordinates FT_Done_MM_Var)
370	LIBS=$save_libs
371fi
372AM_CONDITIONAL(HAVE_FREETYPE, $have_freetype)
373
374dnl ===========================================================================
375
376AC_ARG_WITH(uniscribe,
377	[AS_HELP_STRING([--with-uniscribe=@<:@yes/no/auto@:>@],
378			[Use the Uniscribe library @<:@default=no@:>@])],,
379	[with_uniscribe=no])
380have_uniscribe=false
381if test "x$with_uniscribe" = "xyes" -o "x$with_uniscribe" = "xauto"; then
382	AC_CHECK_HEADERS(usp10.h windows.h, have_uniscribe=true)
383fi
384if test "x$with_uniscribe" = "xyes" -a "x$have_uniscribe" != "xtrue"; then
385	AC_MSG_ERROR([uniscribe support requested but not found])
386fi
387if $have_uniscribe; then
388	UNISCRIBE_CFLAGS=
389	UNISCRIBE_LIBS="-lusp10 -lgdi32 -lrpcrt4"
390	AC_SUBST(UNISCRIBE_CFLAGS)
391	AC_SUBST(UNISCRIBE_LIBS)
392	AC_DEFINE(HAVE_UNISCRIBE, 1, [Have Uniscribe library])
393fi
394AM_CONDITIONAL(HAVE_UNISCRIBE, $have_uniscribe)
395
396dnl ===========================================================================
397
398AC_ARG_WITH(directwrite,
399	[AS_HELP_STRING([--with-directwrite=@<:@yes/no/auto@:>@],
400			[Use the DirectWrite library (experimental) @<:@default=no@:>@])],,
401	[with_directwrite=no])
402have_directwrite=false
403AC_LANG_PUSH([C++])
404if test "x$with_directwrite" = "xyes" -o "x$with_directwrite" = "xauto"; then
405	AC_CHECK_HEADERS(dwrite.h, have_directwrite=true)
406fi
407AC_LANG_POP([C++])
408if test "x$with_directwrite" = "xyes" -a "x$have_directwrite" != "xtrue"; then
409	AC_MSG_ERROR([directwrite support requested but not found])
410fi
411if $have_directwrite; then
412	DIRECTWRITE_CXXFLAGS=
413	DIRECTWRITE_LIBS="-ldwrite"
414	AC_SUBST(DIRECTWRITE_CXXFLAGS)
415	AC_SUBST(DIRECTWRITE_LIBS)
416	AC_DEFINE(HAVE_DIRECTWRITE, 1, [Have DirectWrite library])
417fi
418AM_CONDITIONAL(HAVE_DIRECTWRITE, $have_directwrite)
419
420dnl ===========================================================================
421
422AC_ARG_WITH(coretext,
423	[AS_HELP_STRING([--with-coretext=@<:@yes/no/auto@:>@],
424			[Use CoreText @<:@default=no@:>@])],,
425	[with_coretext=no])
426have_coretext=false
427if test "x$with_coretext" = "xyes" -o "x$with_coretext" = "xauto"; then
428	AC_CHECK_TYPE(CTFontRef, have_coretext=true,, [#include <ApplicationServices/ApplicationServices.h>])
429
430	if $have_coretext; then
431		CORETEXT_CFLAGS=
432		CORETEXT_LIBS="-framework ApplicationServices"
433		AC_SUBST(CORETEXT_CFLAGS)
434		AC_SUBST(CORETEXT_LIBS)
435	else
436		# On iOS CoreText and CoreGraphics are stand-alone frameworks
437		if test "x$have_coretext" != "xtrue"; then
438			# Check for a different symbol to avoid getting cached result.
439			AC_CHECK_TYPE(CTRunRef, have_coretext=true,, [#include <CoreText/CoreText.h>])
440		fi
441
442		if $have_coretext; then
443			CORETEXT_CFLAGS=
444			CORETEXT_LIBS="-framework CoreText -framework CoreGraphics -framework CoreFoundation"
445			AC_SUBST(CORETEXT_CFLAGS)
446			AC_SUBST(CORETEXT_LIBS)
447		fi
448	fi
449fi
450if test "x$with_coretext" = "xyes" -a "x$have_coretext" != "xtrue"; then
451	AC_MSG_ERROR([CoreText support requested but libcoretext not found])
452fi
453if $have_coretext; then
454	AC_DEFINE(HAVE_CORETEXT, 1, [Have Core Text backend])
455fi
456AM_CONDITIONAL(HAVE_CORETEXT, $have_coretext)
457
458dnl ===========================================================================
459
460AC_CACHE_CHECK([for Intel atomic primitives], hb_cv_have_intel_atomic_primitives, [
461	hb_cv_have_intel_atomic_primitives=false
462	AC_TRY_LINK([
463		void memory_barrier (void) { __sync_synchronize (); }
464		int atomic_add (int *i) { return __sync_fetch_and_add (i, 1); }
465		int mutex_trylock (int *m) { return __sync_lock_test_and_set (m, 1); }
466		void mutex_unlock (int *m) { __sync_lock_release (m); }
467		], [], hb_cv_have_intel_atomic_primitives=true
468	)
469])
470if $hb_cv_have_intel_atomic_primitives; then
471	AC_DEFINE(HAVE_INTEL_ATOMIC_PRIMITIVES, 1, [Have Intel __sync_* atomic primitives])
472fi
473
474dnl ===========================================================================
475
476AC_CACHE_CHECK([for Solaris atomic operations], hb_cv_have_solaris_atomic_ops, [
477	hb_cv_have_solaris_atomic_ops=false
478	AC_TRY_LINK([
479		#include <atomic.h>
480		/* This requires Solaris Studio 12.2 or newer: */
481		#include <mbarrier.h>
482		void memory_barrier (void) { __machine_rw_barrier (); }
483		int atomic_add (volatile unsigned *i) { return atomic_add_int_nv (i, 1); }
484		void *atomic_ptr_cmpxchg (volatile void **target, void *cmp, void *newval) { return atomic_cas_ptr (target, cmp, newval); }
485		], [], hb_cv_have_solaris_atomic_ops=true
486	)
487])
488if $hb_cv_have_solaris_atomic_ops; then
489	AC_DEFINE(HAVE_SOLARIS_ATOMIC_OPS, 1, [Have Solaris __machine_*_barrier and atomic_* operations])
490fi
491
492if test "$os_win32" = no && ! $have_pthread; then
493	AC_CHECK_HEADERS(sched.h)
494	AC_SEARCH_LIBS(sched_yield,rt,AC_DEFINE(HAVE_SCHED_YIELD, 1, [Have sched_yield]))
495fi
496
497dnl ===========================================================================
498
499AC_CONFIG_FILES([
500Makefile
501src/Makefile
502src/harfbuzz-config.cmake
503src/hb-ucdn/Makefile
504util/Makefile
505test/Makefile
506test/api/Makefile
507test/fuzzing/Makefile
508test/shaping/Makefile
509test/shaping/data/Makefile
510test/shaping/data/aots/Makefile
511test/shaping/data/in-house/Makefile
512test/shaping/data/text-rendering-tests/Makefile
513test/subset/Makefile
514test/subset/data/Makefile
515docs/Makefile
516docs/version.xml
517])
518
519AC_OUTPUT
520
521AC_MSG_NOTICE([
522
523Build configuration:
524
525Unicode callbacks (you want at least one):
526	Builtin (UCDN):		${have_ucdn}
527	Glib:			${have_glib}
528	ICU:			${have_icu}
529
530Font callbacks (the more the merrier):
531	FreeType:		${have_freetype}
532
533Tools used for command-line utilities:
534	Cairo:			${have_cairo}
535	Fontconfig:		${have_fontconfig}
536
537Additional shapers (the more the merrier):
538	Graphite2:		${have_graphite2}
539
540Platform shapers (not normally needed):
541	CoreText:		${have_coretext}
542	DirectWrite:		${have_directwrite}
543	Uniscribe:		${have_uniscribe}
544
545Other features:
546	Documentation:		${enable_gtk_doc}
547	GObject bindings:	${have_gobject}
548	Introspection:		${have_introspection}
549])
550