Move FcStat to separate compilation unit
[platform/upstream/fontconfig.git] / configure.in
1 dnl 
2 dnl  fontconfig/configure.in
3 dnl 
4 dnl  Copyright © 2003 Keith Packard
5 dnl 
6 dnl  Permission to use, copy, modify, distribute, and sell this software and its
7 dnl  documentation for any purpose is hereby granted without fee, provided that
8 dnl  the above copyright notice appear in all copies and that both that
9 dnl  copyright notice and this permission notice appear in supporting
10 dnl  documentation, and that the name of the author(s) not be used in
11 dnl  advertising or publicity pertaining to distribution of the software without
12 dnl  specific, written prior permission.  The authors make no
13 dnl  representations about the suitability of this software for any purpose.  It
14 dnl  is provided "as is" without express or implied warranty.
15 dnl 
16 dnl  THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
17 dnl  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
18 dnl  EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
19 dnl  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
20 dnl  DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
21 dnl  TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
22 dnl  PERFORMANCE OF THIS SOFTWARE.
23 dnl
24 dnl Process this file with autoconf to create configure.
25
26 AC_INIT(fonts.dtd)
27
28 dnl ==========================================================================
29 dnl                               Versioning              
30 dnl ==========================================================================
31
32 dnl This is the package version number, not the shared library
33 dnl version.  This same version number must appear in fontconfig/fontconfig.h
34 dnl Yes, it is a pain to synchronize version numbers.  Unfortunately, it's
35 dnl not possible to extract the version number here from fontconfig.h
36 AM_INIT_AUTOMAKE(fontconfig, 2.9.0)
37 m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
38
39 dnl libtool versioning
40
41 dnl bump revision when fixing bugs
42 dnl bump current and age, reset revision to zero when adding APIs
43 dnl bump current, leave age, reset revision to zero when changing/removing APIS
44 LIBT_CURRENT=6
45 LIBT_REVISION=0
46 AC_SUBST(LIBT_CURRENT)
47 AC_SUBST(LIBT_REVISION)
48 LIBT_AGE=5
49
50 LIBT_VERSION_INFO="$LIBT_CURRENT:$LIBT_REVISION:$LIBT_AGE"
51 AC_SUBST(LIBT_VERSION_INFO)
52
53 LIBT_CURRENT_MINUS_AGE=`expr $LIBT_CURRENT - $LIBT_AGE`
54 AC_SUBST(LIBT_CURRENT_MINUS_AGE)
55
56 dnl ==========================================================================
57
58 AC_CONFIG_HEADERS(config.h)
59
60 AC_PROG_CC
61 AC_PROG_INSTALL
62 AC_PROG_LN_S
63 AC_LIBTOOL_WIN32_DLL
64 AM_PROG_LIBTOOL
65 AC_PROG_MAKE_SET
66 PKG_PROG_PKG_CONFIG
67
68 AC_MSG_CHECKING([for RM macro])
69 _predefined_rm=`make -p -f /dev/null 2>/dev/null|grep '^RM ='|sed -e 's/^RM = //'`
70 if test "x$_predefined_rm" = "x"; then
71         AC_MSG_RESULT([no predefined RM])
72         AC_CHECK_PROG(RM, rm, [rm -f])
73 else
74         AC_MSG_RESULT($_predefined_rm)
75 fi
76
77 dnl ==========================================================================
78
79 case "$host" in
80   *-*-mingw*)
81     os_win32=yes
82     ;;
83   *)
84     os_win32=no
85 esac
86 AM_CONDITIONAL(OS_WIN32, test "$os_win32" = "yes")
87
88 if test "$os_win32" = "yes"; then
89   AC_CHECK_PROG(ms_librarian, lib.exe, yes, no)
90 fi
91 AM_CONDITIONAL(MS_LIB_AVAILABLE, test x$ms_librarian = xyes)
92
93 WARN_CFLAGS=""
94 if test "x$GCC" = "xyes"; then
95         WARN_CFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes \
96         -Wmissing-prototypes -Wmissing-declarations \
97         -Wnested-externs -fno-strict-aliasing"
98         AC_DEFINE_UNQUOTED(HAVE_WARNING_CPP_DIRECTIVE,1,
99         [Can use #warning in C files])
100 fi
101 AC_SUBST(WARN_CFLAGS)
102
103
104 dnl ==========================================================================
105
106 AM_CONDITIONAL(CROSS_COMPILING, test $cross_compiling = yes)
107
108 dnl ==========================================================================
109
110 AC_ARG_WITH(arch,
111         [AC_HELP_STRING([--with-arch=ARCH],
112                         [Force architecture to ARCH])],
113         arch="$withval", arch=auto)
114
115 if test "x$arch" != xauto; then
116         AC_DEFINE_UNQUOTED([FC_ARCHITECTURE], "$arch", [Architecture prefix to use for cache file names])
117 fi
118
119
120 dnl ==========================================================================
121
122 # Checks for header files.
123 AC_HEADER_DIRENT
124 AC_HEADER_STDC
125 AC_CHECK_HEADERS([fcntl.h regex.h stdlib.h string.h unistd.h sys/vfs.h sys/statfs.h sys/param.h sys/mount.h])
126
127 # Checks for typedefs, structures, and compiler characteristics.
128 AC_C_CONST
129 AC_C_INLINE
130 AC_TYPE_PID_T
131
132 # Checks for library functions.
133 AC_FUNC_VPRINTF
134 AC_FUNC_MMAP
135 AC_CHECK_FUNCS([geteuid getuid link memmove memset mkstemp strchr strrchr strtol getopt getopt_long sysconf ftruncate chsize rand random lrand48 random_r rand_r regcomp regerror regexec regfree posix_fadvise fstatvfs fstatfs])
136
137 #
138 if test "x$ac_cv_func_fstatvfs" = "xyes"; then
139         AC_CHECK_MEMBERS([struct statvfs.f_basetype, struct statvfs.f_fstypename],,,
140                 [#include <sys/statvfs.h>])
141 fi
142 if test "x$ac_cv_func_fstatfs" = "xyes"; then
143         AC_CHECK_MEMBERS([struct statfs.f_flags, struct statfs.f_fstypename],,, [
144 #ifdef HAVE_SYS_VFS_H
145 #include <sys/vfs.h>
146 #endif
147 #ifdef HAVE_SYS_STATFS_H
148 #include <sys/statfs.h>
149 #endif
150 #ifdef HAVE_SYS_PARAM_H
151 #include <sys/param.h>
152 #endif
153 #ifdef HAVE_SYS_MOUNT_H
154 #include <sys/mount.h>
155 #endif])
156 fi
157 #
158 # regex
159 #
160 if test "x$ac_cv_func_regcomp" = "xyes" -a "x$ac_cv_func_regerror" = "xyes" -a "x$ac_cv_func_regexec" = "xyes" -a "x$ac_cv_func_regfree"; then
161         AC_DEFINE(USE_REGEX,,[Use regex])
162 fi
163
164 #
165 # Checks for iconv
166 #
167 AC_ARG_ENABLE(iconv,
168         [AC_HELP_STRING([--enable-iconv],
169                         [Use iconv to support non-Unicode SFNT name])],
170         ,enable_iconv=no)
171 AC_ARG_WITH(libiconv,
172         [AC_HELP_STRING([--with-libiconv=DIR],
173                         [Use libiconv in DIR])],
174         [if test "x$withval" = "xyes"; then
175                 libiconv_prefix=$prefix
176          else
177                 libiconv_prefix=$withval
178          fi],
179         [libiconv_prefix=auto])
180 AC_ARG_WITH(libiconv-includes,
181         [AC_HELP_STRING([--with-libiconv-includes=DIR],
182                         [Use libiconv includes in DIR])],
183         [libiconv_includes=$withval],
184         [libiconv_includes=auto])
185 AC_ARG_WITH(libiconv-lib,
186         [AC_HELP_STRING([--with-libiconv-lib=DIR],
187                         [Use libiconv library in DIR])],
188         [libiconv_lib=$withval],
189         [libiconv_lib=auto])
190
191 # if no libiconv,libiconv-includes,libiconv-lib are specified,
192 # libc's iconv has a priority.
193 if test "$libiconv_includes" != "auto" -a -r ${libiconv_includes}/iconv.h; then
194         libiconv_cflags="-I${libiconv_includes}"
195 elif test "$libiconv_prefix" != "auto" -a -r ${libiconv_prefix}/include/iconv.h; then
196         libiconv_cflags="-I${libiconv_prefix}/include"
197 else
198         libiconv_cflags=""
199 fi
200 libiconv_libs=""
201 if test "x$libiconv_cflags" != "x"; then
202         if test "$libiconv_lib" != "auto" -a -d ${libiconv_lib}; then
203                 libiconv_libs="-L${libiconv_lib} -liconv"
204         elif test "$libiconv_prefix" != "auto" -a -d ${libiconv_prefix}/lib; then
205                 libiconv_libs="-L${libiconv_prefix}/lib -liconv"
206         else
207                 libiconv_libs="-liconv"
208         fi
209 fi
210
211 use_iconv=0
212 if test "x$enable_iconv" != "xno"; then
213         AC_MSG_CHECKING([for a usable iconv])
214         if test "x$libiconv_cflags" != "x" -o "x$libiconv_libs" != "x"; then
215                 iconvsaved_CFLAGS="$CFLAGS"
216                 iconvsaved_LIBS="$LIBS"
217                 CFLAGS="$CFLAGS $libiconv_cflags"
218                 LIBS="$LIBS $libiconv_libs"
219
220                 AC_TRY_LINK([#include <iconv.h>],
221                         [iconv_open ("from", "to");],
222                         [iconv_type="libiconv"
223                          use_iconv=1],
224                         [use_iconv=0])
225
226                 CFLAGS="$iconvsaved_CFLAGS"
227                 LIBS="$iconvsaved_LIBS"
228                 ICONV_CFLAGS="$libiconv_cflags"
229                 ICONV_LIBS="$libiconv_libs"
230         fi
231         if test "x$use_iconv" = "x0"; then
232                 AC_TRY_LINK([#include <iconv.h>],
233                         [iconv_open ("from", "to");],
234                         [iconv_type="libc"
235                          use_iconv=1],
236                         [iconv_type="not found"
237                          use_iconv=0])
238         fi
239
240         AC_MSG_RESULT([$iconv_type])
241         AC_SUBST(ICONV_CFLAGS)
242         AC_SUBST(ICONV_LIBS)
243 fi
244 AC_DEFINE_UNQUOTED(USE_ICONV,$use_iconv,[Use iconv.])
245 #
246 # Checks for FreeType
247 #
248 PKG_CHECK_MODULES(FREETYPE, freetype2)
249
250 AC_SUBST(FREETYPE_LIBS)
251 AC_SUBST(FREETYPE_CFLAGS)
252
253 fontconfig_save_libs="$LIBS"
254 fontconfig_save_cflags="$CFLAGS"
255 LIBS="$LIBS $FREETYPE_LIBS"
256 CFLAGS="$CFLAGS $FREETYPE_CFLAGS"
257 AC_CHECK_FUNCS(FT_Get_Next_Char FT_Get_BDF_Property FT_Get_PS_Font_Info FT_Has_PS_Glyph_Names FT_Get_X11_Font_Format FT_Select_Size)
258 AC_CHECK_MEMBER(FT_Bitmap_Size.y_ppem,
259                 HAVE_FT_BITMAP_SIZE_Y_PPEM=1,
260                 HAVE_FT_BITMAP_SIZE_Y_PPEM=0,
261 [#include <ft2build.h>
262 #include FT_FREETYPE_H])
263 AC_DEFINE_UNQUOTED(HAVE_FT_BITMAP_SIZE_Y_PPEM,$HAVE_FT_BITMAP_SIZE_Y_PPEM,
264                    [FT_Bitmap_Size structure includes y_ppem field])
265 CFLAGS="$fontconfig_save_cflags"
266 LIBS="$fontconfig_save_libs"
267
268 #
269 # Check expat configuration
270 #
271 AC_ARG_WITH(expat,
272         [AC_HELP_STRING([--with-expat=DIR],
273                         [Use Expat in DIR])],
274         [expat_prefix=$withval],
275         [expat_prefix=auto])
276 AC_ARG_WITH(expat-includes,
277         [AC_HELP_STRING([--with-expat-includes=DIR],
278                         [Use Expat includes in DIR])],
279         [expat_includes=$withval],
280         [expat_includes=auto])
281 AC_ARG_WITH(expat-lib,
282         [AC_HELP_STRING([--with-expat-lib=DIR])],
283         [expat_lib=$withval],
284         [expat_lib=auto])
285
286 if test "$enable_libxml2" != "yes"; then
287         use_pkgconfig_for_expat=yes
288         if test "$expat_prefix" = "auto" -a "$expat_includes" = "auto" -a "$expat_lib" = "auto"; then
289                 PKG_CHECK_MODULES(EXPAT, expat,,use_pkgconfig_for_expat=no)
290         else
291                 use_pkgconfig_for_expat=no
292         fi
293         if test "x$use_pkgconfig_for_expat" = "xno"; then
294                 if test "$expat_includes" != "auto" -a -r ${expat_includes}/expat.h; then
295                         EXPAT_CFLAGS="-I${expat_includes}"
296                 elif test "$expat_prefix" != "auto" -a -r ${expat_prefix}/include/expat.h; then
297                         EXPAT_CFLAGS="-I${expat_prefix}/include"
298                 else
299                         EXPAT_CFLAGS=""
300                 fi
301                 if test "$expat_lib" != "auto"; then
302                         EXPAT_LIBS="-L${expat_lib} -lexpat"
303                 elif test "$expat_prefix" != "auto"; then
304                         EXPAT_LIBS="-L${expat_prefix}/lib -lexpat"
305                 else
306                         EXPAT_LIBS="-lexpat"
307                 fi
308         fi
309
310         expatsaved_CPPFLAGS="$CPPFLAGS"
311         expatsaved_LIBS="$LIBS"
312         CPPFLAGS="$CPPFLAGS $EXPAT_CFLAGS"
313         LIBS="$LIBS $EXPAT_LIBS"
314
315         AC_CHECK_HEADER(expat.h)
316         if test "$ac_cv_header_expat_h" = "no"; then
317                 AC_CHECK_HEADER(xmlparse.h)
318                 if test "$ac_cv_header_xmlparse_h" = "yes"; then
319                         HAVE_XMLPARSE_H=1
320                         AC_SUBST(HAVE_XMLPARSE_H)
321                         AC_DEFINE_UNQUOTED(HAVE_XMLPARSE_H,$HAVE_XMLPARSE_H,
322                                 [Use xmlparse.h instead of expat.h])
323                 else
324                         AC_MSG_ERROR([
325 *** expat is required. or try to use --enable-libxml2])
326                 fi
327         fi
328         AC_CHECK_FUNCS(XML_SetDoctypeDeclHandler)
329         if test "$ac_cv_func_XML_SetDoctypeDeclHandler" = "no"; then
330                 AC_MSG_ERROR([
331 *** expat is required. or try to use --enable-libxml2])
332         fi
333         CPPFLAGS="$expatsaved_CPPFLAGS"
334         LIBS="$expatsaved_LIBS"
335
336         AC_SUBST(EXPAT_CFLAGS)
337         AC_SUBST(EXPAT_LIBS)
338 fi
339
340 #
341 # Check libxml2 configuration
342 #
343 AC_ARG_ENABLE(libxml2,
344         [AC_HELP_STRING([--enable-libxml2],
345                         [Use libxml2 instead of Expat])])
346
347 if test "$enable_libxml2" = "yes"; then
348     PKG_CHECK_MODULES([LIBXML2], [libxml-2.0 >= 2.6])
349     AC_DEFINE_UNQUOTED(ENABLE_LIBXML2,1,[Use libxml2 instead of Expat])
350
351     AC_SUBST(LIBXML2_CFLAGS)
352     AC_SUBST(LIBXML2_LIBS)
353 fi
354
355 #
356 # Set default font directory
357 #
358
359 AC_ARG_WITH(default-fonts,
360         [AC_HELP_STRING([--with-default-fonts=DIR],
361                         [Use fonts from DIR when config is busted])],
362         default_fonts="$withval", default_fonts=yes)
363
364 case "$default_fonts" in
365 yes)
366         if test "$os_win32" = "yes"; then
367                 FC_DEFAULT_FONTS="WINDOWSFONTDIR"
368                 AC_DEFINE_UNQUOTED(FC_DEFAULT_FONTS, "WINDOWSFONTDIR", 
369                                    [Windows font directory])
370         else
371                 FC_DEFAULT_FONTS="/usr/share/fonts"
372                 AC_DEFINE_UNQUOTED(FC_DEFAULT_FONTS, "/usr/share/fonts", 
373                                    [System font directory])
374         fi
375         ;;
376 *)
377         FC_DEFAULT_FONTS="$default_fonts"
378         AC_DEFINE_UNQUOTED(FC_DEFAULT_FONTS, "$default_fonts",
379                            [System font directory])
380         ;;
381 esac
382
383 AC_SUBST(FC_DEFAULT_FONTS)
384
385 #
386 # Add more fonts if available.  By default, add only the directories
387 # with outline fonts; those with bitmaps can be added as desired in
388 # local.conf or ~/.fonts.conf
389 #
390 AC_ARG_WITH(add-fonts,
391         [AC_HELP_STRING([--with-add-fonts=DIR1,DIR2,...],
392                         [Find additional fonts in DIR1,DIR2,... ])],
393         add_fonts="$withval", add_fonts=yes)
394
395 case "$add_fonts" in
396 yes)
397         FC_ADD_FONTS=""
398         for dir in /usr/X11R6/lib/X11 /usr/X11/lib/X11 /usr/lib/X11; do
399                 case x"$FC_ADD_FONTS" in
400                 x)
401                         sub="$dir/fonts"
402                         if test -d "$sub"; then
403                                 case x$FC_ADD_FONTS in
404                                 x)
405                                         FC_ADD_FONTS="$sub"
406                                         ;;
407                                 *)
408                                         FC_ADD_FONTS="$FC_ADD_FONTS,$sub"
409                                         ;;
410                                 esac
411                         fi
412                         ;;
413                 esac
414         done
415         AC_DEFINE_UNQUOTED(FC_ADD_FONTS,"$add_fonts",[Additional font directories])
416         ;;
417 no)
418         FC_ADD_FONTS=""
419         ;;
420 *)
421         FC_ADD_FONTS="$add_fonts"
422         AC_DEFINE_UNQUOTED(FC_ADD_FONTS,"$add_fonts",[Additional font directories])
423         ;;
424 esac
425
426 AC_SUBST(FC_ADD_FONTS)
427
428 FC_FONTPATH=""
429
430 case "$FC_ADD_FONTS" in
431 "")
432         ;;
433 *)
434         FC_FONTPATH=`echo $FC_ADD_FONTS | 
435                         sed -e 's/^/<dir>/' -e 's/$/<\/dir>/' -e 's/,/<\/dir> <dir>/g'`
436         ;;
437 esac
438
439 AC_SUBST(FC_FONTPATH)
440
441 #
442 # Set default cache directory path
443 #
444 AC_ARG_WITH(cache-dir,
445         [AC_HELP_STRING([--with-cache-dir=DIR],
446                         [Use DIR to store cache files [default=LOCALSTATEDIR/cache/fontconfig]])],
447         fc_cachedir="$withval", fc_cachedir=yes)
448
449 case $fc_cachedir in
450 no|yes)
451         if test "$os_win32" = "yes"; then
452                 fc_cachedir="WINDOWSTEMPDIR_FONTCONFIG_CACHE"
453         else
454                 fc_cachedir='${localstatedir}/cache/${PACKAGE}'
455         fi
456         ;;
457 *)
458         ;;
459 esac
460 AC_SUBST(fc_cachedir)
461 FC_CACHEDIR=${fc_cachedir}
462 AC_SUBST(FC_CACHEDIR)
463
464 FC_FONTDATE=`LC_ALL=C date`
465
466 AC_SUBST(FC_FONTDATE)
467
468 #
469 # Set configuration paths
470 #
471
472 AC_ARG_WITH(templatedir,
473         [AC_HELP_STRING([--with-templatedir=DIR],
474                         [Use DIR to store the configuration template files [default=DATADIR/fontconfig/conf.avail]])],
475         [templatedir="$withval"],
476         [templatedir=yes])
477 AC_ARG_WITH(baseconfigdir,
478         [AC_HELP_STRING([--with-baseconfigdir=DIR],
479                         [Use DIR to store the base configuration files [default=SYSCONFDIR/fonts]])],
480         [baseconfigdir="$withval"],
481         [baseconfigdir=yes])
482 AC_ARG_WITH(configdir,
483         [AC_HELP_STRING([--with-configdir=DIR],
484                         [Use DIR to store active configuration files [default=BASECONFIGDIR/conf.d]])],
485         [configdir="$withval"],
486         [configdir=yes])
487 AC_ARG_WITH(xmldir,
488         [AC_HELP_STRING([--with-xmldir=DIR],
489                         [Use DIR to store XML schema files [default=DATADIR/xml/fontconfig]])],
490         [xmldir="$withval"],
491         [xmldir=yes])
492
493 case "$templatedir" in
494 no|yes)
495         templatedir='${datadir}'/fontconfig/conf.avail
496         ;;
497 *)
498         ;;
499 esac
500 case "$baseconfigdir" in
501 no|yes)
502         baseconfigdir='${sysconfdir}'/fonts
503         ;;
504 *)
505         ;;
506 esac
507 case "$configdir" in
508 no|yes)
509         configdir='${baseconfigdir}'/conf.d
510         ;;
511 *)
512         ;;
513 esac
514 case "$xmldir" in
515 no|yes)
516         xmldir='${datadir}'/xml/fontconfig
517         ;;
518 *)
519         ;;
520 esac
521
522 TEMPLATEDIR=${templatedir}
523 BASECONFIGDIR=${baseconfigdir}
524 CONFIGDIR=${configdir}
525 XMLDIR=${xmldir}
526 AC_SUBST(templatedir)
527 AC_SUBST(TEMPLATEDIR)
528 AC_SUBST(baseconfigdir)
529 AC_SUBST(BASECONFIGDIR)
530 AC_SUBST(configdir)
531 AC_SUBST(CONFIGDIR)
532 AC_SUBST(xmldir)
533 AC_SUBST(XMLDIR)
534
535 #
536 # Let people not build/install docs if they don't have docbook
537 #
538
539 AC_CHECK_PROG(HASDOCBOOK, docbook2html, yes, no)
540
541 AM_CONDITIONAL(USEDOCBOOK, test "x$HASDOCBOOK" = xyes)
542
543 default_docs="yes"
544 #
545 # Check if docs exist or can be created
546 #
547 if test x$HASDOCBOOK = xno; then
548         if test -f $srcdir/doc/fonts-conf.5; then
549                 :
550         else
551                 default_docs="no"
552         fi
553 fi
554
555 AC_ARG_ENABLE(docs,
556         [AC_HELP_STRING([--disable-docs],
557                         [Don't build and install documentation])],
558         ,
559         enable_docs=$default_docs)
560
561 AM_CONDITIONAL(ENABLE_DOCS, test "x$enable_docs" = xyes)
562
563 if test "x$enable_docs" = xyes; then
564         DOCSRC="doc"
565         tmp=funcs.$$
566         cat $srcdir/doc/*.fncs | awk '
567         /^@TITLE@/      { if (!done) { printf ("%s\n", $2); done = 1; } }
568         /^@FUNC@/       { if (!done) { printf ("%s\n", $2); done = 1; } }
569         /^@@/           { done = 0; }' > $tmp
570         DOCMAN3=`cat $tmp | awk '{ printf ("%s.3 ", $1); }'`
571         echo DOCMAN3 $DOCMAN3
572         rm -f $tmp
573 else
574         DOCSRC=""
575         DOCMAN3=""
576 fi
577
578 AC_SUBST(DOCSRC)
579 AC_SUBST(DOCMAN3)
580
581
582 dnl Figure out what cache format suffix to use for this architecture
583 AC_C_BIGENDIAN
584 AC_CHECK_SIZEOF([void *])
585 AC_CHECK_ALIGNOF([double])
586
587 dnl include the header file for workaround of miscalculating size on autoconf
588 dnl particularly for fat binaries
589 AH_BOTTOM([#include "config-fixups.h"])
590
591 AC_OUTPUT([
592 Makefile
593 fontconfig/Makefile
594 fc-lang/Makefile
595 fc-glyphname/Makefile
596 fc-case/Makefile
597 src/Makefile
598 conf.d/Makefile
599 fc-cache/Makefile
600 fc-cat/Makefile
601 fc-list/Makefile
602 fc-match/Makefile
603 fc-pattern/Makefile
604 fc-query/Makefile
605 fc-scan/Makefile
606 doc/Makefile
607 doc/version.sgml
608 test/Makefile
609 fontconfig.spec
610 fontconfig.pc
611 fontconfig-zip
612 ])