~ubuntu-branches/ubuntu/precise/libxfont/precise-updates

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Stone
  • Date: 2005-12-21 15:44:59 UTC
  • mto: (1.1.9 upstream) (10.1.1 lenny)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20051221154459-11co3ejq50scyf3o
Tags: upstream-1.0.0
Import upstream version 1.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
dnl 
2
 
dnl  $Id: configure.ac,v 1.16 2005/09/09 05:32:58 daniels Exp $
 
2
dnl  $Id: configure.ac,v 1.22 2005/12/15 00:24:29 kem Exp $
3
3
dnl 
4
4
dnl  Copyright © 2003 Keith Packard
5
5
dnl 
26
26
AC_PREREQ([2.57])
27
27
 
28
28
AC_INIT([libXfont],
29
 
        0.99.0,
 
29
        1.0.0,
30
30
        [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
31
31
        libXfont)
32
32
dnl
50
50
AC_CHECK_HEADERS([endian.h poll.h sys/poll.h])
51
51
AC_CHECK_FUNCS([poll])
52
52
 
 
53
m4_ifdef([AS_HELP_STRING], , [m4_define([AS_HELP_STRING], m4_defn([AC_HELP_STRING]))])
 
54
 
 
55
DEFAULT_ENCODINGSDIR=${libdir}/X11/fonts/encodings
 
56
AC_ARG_WITH(encodingsdir,
 
57
        AS_HELP_STRING([--with-encodingsdir=ENCODINGSDIR], [Path to font encodings]),
 
58
        [ENCODINGSDIR="$withval"],
 
59
        [ENCODINGSDIR="$DEFAULT_ENCODINGSDIR"])
 
60
AC_SUBST(ENCODINGSDIR)
 
61
 
53
62
#
54
63
# select libraries to include
55
64
#
86
95
                FREETYPE_CFLAGS="`$ft_config --cflags`"
87
96
                FREETYPE_LIBS="`$ft_config --libs`"
88
97
        fi
 
98
        FREETYPE_REQUIRES="freetype2"
89
99
        XFONT_FONTFILE=yes
90
100
else
91
101
        FREETYPE_CFLAGS=""
92
102
        FREETYPE_LIBS=""
 
103
        FREETYPE_REQUIRES=""
93
104
fi
94
105
AC_SUBST(FREETYPE_LIBS)
95
106
AC_SUBST(FREETYPE_CFLAGS)
 
107
AC_SUBST(FREETYPE_REQUIRES)
96
108
 
97
109
#
98
110
# A bit tricky here; CID font support uses the IBM Type1 rasterizer,