~ubuntu-branches/ubuntu/precise/xfonts-utils/precise

« back to all changes in this revision

Viewing changes to font-util/fontutil.m4

  • Committer: Bazaar Package Importer
  • Author(s): Daniel T Chen
  • Date: 2006-12-18 17:10:27 UTC
  • mfrom: (1.1.1 upstream) (0.1.2 etch)
  • Revision ID: james.westby@ubuntu.com-20061218171027-ayzuv41s4ufth700
Tags: 1:1.0.1-1ubuntu1
* Merge from Debian unstable, remaining Ubuntu change:
  - debian/control: Replace/Conflict bdftopcf to smooth upgrades
    from 6.06 LTS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
dnl Copyright 2005 Red Hat, Inc
 
2
dnl
 
3
dnl Permission to use, copy, modify, distribute, and sell this software and its
 
4
dnl documentation for any purpose is hereby granted without fee, provided that
 
5
dnl the above copyright notice appear in all copies and that both that
 
6
dnl copyright notice and this permission notice appear in supporting
 
7
dnl documentation.
 
8
dnl
 
9
dnl The above copyright notice and this permission notice shall be included
 
10
dnl in all copies or substantial portions of the Software.
 
11
dnl
 
12
dnl THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
 
13
dnl OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 
14
dnl MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
 
15
dnl IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
 
16
dnl OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
 
17
dnl ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 
18
dnl OTHER DEALINGS IN THE SOFTWARE.
 
19
dnl
 
20
dnl Except as contained in this notice, the name of the copyright holders shall
 
21
dnl not be used in advertising or otherwise to promote the sale, use or
 
22
dnl other dealings in this Software without prior written authorization
 
23
dnl from the copyright holders.
 
24
dnl
 
25
 
 
26
# XORG_FONT_CHECK_{maps}()
 
27
# ------------------------
 
28
# These macros add --enable/disable-{maps} where {maps} are ISO8859-*,
 
29
# JISX0201 or KOI8_R.  By default, they are all enabled.
 
30
 
 
31
AC_DEFUN([XORG_FONT_CHECK_ISO8859_1],[
 
32
        AC_ARG_ENABLE(iso8859-1,
 
33
                AS_HELP_STRING([--disable-iso8859-1],
 
34
                                [Build ISO8859-1 fonts (default: yes)]),
 
35
                [ISO8859_1=$enableval],
 
36
                [ISO8859_1=yes])
 
37
        AC_MSG_CHECKING([whether to build ISO8859-1 fonts])
 
38
        AC_MSG_RESULT([$ISO8859_1])
 
39
        AM_CONDITIONAL(ISO8859_1, [test "x$ISO8859_1" = xyes])
 
40
])
 
41
 
 
42
AC_DEFUN([XORG_FONT_CHECK_ISO8859_2],[
 
43
        AC_ARG_ENABLE(iso8859-2,
 
44
                AS_HELP_STRING([--disable-iso8859-2],
 
45
                                [Build ISO8859-2 fonts (default: yes)]),
 
46
                [ISO8859_2=$enableval],
 
47
                [ISO8859_2=yes])
 
48
        AC_MSG_CHECKING([whether to build ISO8859-2 fonts])
 
49
        AC_MSG_RESULT([$ISO8859_2])
 
50
        AM_CONDITIONAL(ISO8859_2, [test "x$ISO8859_2" = xyes])
 
51
])
 
52
 
 
53
AC_DEFUN([XORG_FONT_CHECK_ISO8859_3],[
 
54
        AC_ARG_ENABLE(iso8859-3,
 
55
                AS_HELP_STRING([--disable-iso8859-3],
 
56
                                [Build ISO8859-3 fonts (default: yes)]),
 
57
                [ISO8859_3=$enableval],
 
58
                [ISO8859_3=yes])
 
59
        AC_MSG_CHECKING([whether to build ISO8859-3 fonts])
 
60
        AC_MSG_RESULT([$ISO8859_3])
 
61
        AM_CONDITIONAL(ISO8859_3, [test "x$ISO8859_3" = xyes])
 
62
])
 
63
 
 
64
AC_DEFUN([XORG_FONT_CHECK_ISO8859_4],[
 
65
        AC_ARG_ENABLE(iso8859-4,
 
66
                AS_HELP_STRING([--disable-iso8859-4],
 
67
                                [Build ISO8859-4 fonts (default: yes)]),
 
68
                [ISO8859_4=$enableval],
 
69
                [ISO8859_4=yes])
 
70
        AC_MSG_CHECKING([whether to build ISO8859-4 fonts])
 
71
        AC_MSG_RESULT([$ISO8859_4])
 
72
        AM_CONDITIONAL(ISO8859_4, [test "x$ISO8859_4" = xyes])
 
73
])
 
74
 
 
75
AC_DEFUN([XORG_FONT_CHECK_ISO8859_5],[
 
76
        AC_ARG_ENABLE(iso8859-5,
 
77
                AS_HELP_STRING([--disable-iso8859-5],
 
78
                                [Build ISO8859-5 fonts (default: yes)]),
 
79
                [ISO8859_5=$enableval],
 
80
                [ISO8859_5=yes])
 
81
        AC_MSG_CHECKING([whether to build ISO8859-5 fonts])
 
82
        AC_MSG_RESULT([$ISO8859_5])
 
83
        AM_CONDITIONAL(ISO8859_5, [test "x$ISO8859_5" = xyes])
 
84
])
 
85
 
 
86
AC_DEFUN([XORG_FONT_CHECK_ISO8859_6],[
 
87
        AC_ARG_ENABLE(iso8859-6,
 
88
                AS_HELP_STRING([--disable-iso8859-6],
 
89
                                [Build ISO8859-6 fonts (default: yes)]),
 
90
                [ISO8859_6=$enableval],
 
91
                [ISO8859_6=yes])
 
92
        AC_MSG_CHECKING([whether to build ISO8859-6 fonts])
 
93
        AC_MSG_RESULT([$ISO8859_6])
 
94
        AM_CONDITIONAL(ISO8859_6, [test "x$ISO8859_6" = xyes])
 
95
])
 
96
 
 
97
AC_DEFUN([XORG_FONT_CHECK_ISO8859_7],[
 
98
        AC_ARG_ENABLE(iso8859-7,
 
99
                AS_HELP_STRING([--disable-iso8859-7],
 
100
                                [Build ISO8859-7 fonts (default: yes)]),
 
101
                [ISO8859_7=$enableval],
 
102
                [ISO8859_7=yes])
 
103
        AC_MSG_CHECKING([whether to build ISO8859-7 fonts])
 
104
        AC_MSG_RESULT([$ISO8859_7])
 
105
        AM_CONDITIONAL(ISO8859_7, [test "x$ISO8859_7" = xyes])
 
106
])
 
107
 
 
108
AC_DEFUN([XORG_FONT_CHECK_ISO8859_8],[
 
109
        AC_ARG_ENABLE(iso8859-8,
 
110
                AS_HELP_STRING([--disable-iso8859-8],
 
111
                                [Build ISO8859-8 fonts (default: yes)]),
 
112
                [ISO8859_8=$enableval],
 
113
                [ISO8859_8=yes])
 
114
        AC_MSG_CHECKING([whether to build ISO8859-8 fonts])
 
115
        AC_MSG_RESULT([$ISO8859_8])
 
116
        AM_CONDITIONAL(ISO8859_8, [test "x$ISO8859_8" = xyes])
 
117
])
 
118
 
 
119
AC_DEFUN([XORG_FONT_CHECK_ISO8859_9],[
 
120
        AC_ARG_ENABLE(iso8859-9,
 
121
                AS_HELP_STRING([--disable-iso8859-9],
 
122
                                [Build ISO8859-9 fonts (default: yes)]),
 
123
                [ISO8859_9=$enableval],
 
124
                [ISO8859_9=yes])
 
125
        AC_MSG_CHECKING([whether to build ISO8859-9 fonts])
 
126
        AC_MSG_RESULT([$ISO8859_9])
 
127
        AM_CONDITIONAL(ISO8859_9, [test "x$ISO8859_9" = xyes])
 
128
])
 
129
 
 
130
AC_DEFUN([XORG_FONT_CHECK_ISO8859_10],[
 
131
        AC_ARG_ENABLE(iso8859-10,
 
132
                AS_HELP_STRING([--disable-iso8859-10],
 
133
                                [Build ISO8859-10 fonts (default: yes)]),
 
134
                [ISO8859_10=$enableval],
 
135
                [ISO8859_10=yes])
 
136
        AC_MSG_CHECKING([whether to build ISO8859-10 fonts])
 
137
        AC_MSG_RESULT([$ISO8859_10])
 
138
        AM_CONDITIONAL(ISO8859_10, [test "x$ISO8859_10" = xyes])
 
139
])
 
140
 
 
141
AC_DEFUN([XORG_FONT_CHECK_ISO8859_11],[
 
142
        AC_ARG_ENABLE(iso8859-11,
 
143
                AS_HELP_STRING([--disable-iso8859-11],
 
144
                                [Build ISO8859-11 fonts (default: yes)]),
 
145
                [ISO8859_11=$enableval],
 
146
                [ISO8859_11=yes])
 
147
        AC_MSG_CHECKING([whether to build ISO8859-11 fonts])
 
148
        AC_MSG_RESULT([$ISO8859_11])
 
149
        AM_CONDITIONAL(ISO8859_11, [test "x$ISO8859_11" = xyes])
 
150
])
 
151
 
 
152
AC_DEFUN([XORG_FONT_CHECK_ISO8859_12],[
 
153
        AC_ARG_ENABLE(iso8859-12,
 
154
                AS_HELP_STRING([--disable-iso8859-12],
 
155
                                [Build ISO8859-12 fonts (default: yes)]),
 
156
                [ISO8859_12=$enableval],
 
157
                [ISO8859_12=yes])
 
158
        AC_MSG_CHECKING([whether to build ISO8859-12 fonts])
 
159
        AC_MSG_RESULT([$ISO8859_12])
 
160
        AM_CONDITIONAL(ISO8859_12, [test "x$ISO8859_12" = xyes])
 
161
])
 
162
 
 
163
AC_DEFUN([XORG_FONT_CHECK_ISO8859_13],[
 
164
        AC_ARG_ENABLE(iso8859-13,
 
165
                AS_HELP_STRING([--disable-iso8859-13],
 
166
                                [Build ISO8859-13 fonts (default: yes)]),
 
167
                [ISO8859_13=$enableval],
 
168
                [ISO8859_13=yes])
 
169
        AC_MSG_CHECKING([whether to build ISO8859-13 fonts])
 
170
        AC_MSG_RESULT([$ISO8859_13])
 
171
        AM_CONDITIONAL(ISO8859_13, [test "x$ISO8859_13" = xyes])
 
172
])
 
173
 
 
174
AC_DEFUN([XORG_FONT_CHECK_ISO8859_14],[
 
175
        AC_ARG_ENABLE(iso8859-14,
 
176
                AS_HELP_STRING([--disable-iso8859-14],
 
177
                                [Build ISO8859-14 fonts (default: yes)]),
 
178
                [ISO8859_14=$enableval],
 
179
                [ISO8859_14=yes])
 
180
        AC_MSG_CHECKING([whether to build ISO8859-14 fonts])
 
181
        AC_MSG_RESULT([$ISO8859_14])
 
182
        AM_CONDITIONAL(ISO8859_14, [test "x$ISO8859_14" = xyes])
 
183
])
 
184
 
 
185
AC_DEFUN([XORG_FONT_CHECK_ISO8859_15],[
 
186
        AC_ARG_ENABLE(iso8859-15,
 
187
                AS_HELP_STRING([--disable-iso8859-15],
 
188
                                [Build ISO8859-15 fonts (default: yes)]),
 
189
                [ISO8859_15=$enableval],
 
190
                [ISO8859_15=yes])
 
191
        AC_MSG_CHECKING([whether to build ISO8859-15 fonts])
 
192
        AC_MSG_RESULT([$ISO8859_15])
 
193
        AM_CONDITIONAL(ISO8859_15, [test "x$ISO8859_15" = xyes])
 
194
])
 
195
 
 
196
AC_DEFUN([XORG_FONT_CHECK_ISO8859_16],[
 
197
        AC_ARG_ENABLE(iso8859-16,
 
198
                AS_HELP_STRING([--disable-iso8859-16],
 
199
                                [Build ISO8859-16 fonts (default: yes)]),
 
200
                [ISO8859_16=$enableval],
 
201
                [ISO8859_16=yes])
 
202
        AC_MSG_CHECKING([whether to build ISO8859-16 fonts])
 
203
        AC_MSG_RESULT([$ISO8859_16])
 
204
        AM_CONDITIONAL(ISO8859_16, [test "x$ISO8859_16" = xyes])
 
205
])
 
206
 
 
207
AC_DEFUN([XORG_FONT_CHECK_JISX0201],[
 
208
        AC_ARG_ENABLE(jisx0201,
 
209
                AS_HELP_STRING([--disable-jisx0201],
 
210
                                [Build JISX0201 fonts (default: yes)]),
 
211
                [JISX0201=$enableval],
 
212
                [JISX0201=yes])
 
213
        AC_MSG_CHECKING([whether to build JISX0201 fonts])
 
214
        AC_MSG_RESULT([$JISX0201])
 
215
        AM_CONDITIONAL(JISX0201, [test "x$JISX0201" = xyes])
 
216
])
 
217
 
 
218
AC_DEFUN([XORG_FONT_CHECK_KOI8_R],[
 
219
        AC_ARG_ENABLE(koi8-r,
 
220
                AS_HELP_STRING([--disable-koi8-r],
 
221
                                [Build KOI8-R fonts (default: yes)]),
 
222
                [KOI8_R=$enableval],
 
223
                [KOI8_R=yes])
 
224
        AC_MSG_CHECKING([whether to build KOI8-R fonts])
 
225
        AC_MSG_RESULT([$KOI8_R])
 
226
        AM_CONDITIONAL(KOI8_R, [test "x$KOI8_R" = xyes])
 
227
])