~ubuntu-branches/debian/squeeze/thaifonts-scalable/squeeze

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Theppitak Karoonboonyanan
  • Date: 2010-07-30 13:25:15 UTC
  • mfrom: (1.3.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100730132515-556fogqsc8z7g7qk
Tags: 1:0.4.14-1
* New upstream bugfix release.
  - Fix Tahoma/MS Sans Serif fallback rules to not affect non-Thai
    environments. (LP: #539008, re-addresses LP #434054)
  - debian/patches/01_remove_tahoma_fallback.diff: Removed, addressed
    differently upstream.
* Bump Standards-Version to 3.9.1 (no changes needed)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.63 for thaifonts-scalable 0.4.13.
 
3
# Generated by GNU Autoconf 2.65 for thaifonts-scalable 0.4.14.
 
4
#
4
5
#
5
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
 
8
# Inc.
 
9
#
 
10
#
7
11
# This configure script is free software; the Free Software Foundation
8
12
# gives unlimited permission to copy, distribute and modify it.
9
 
## --------------------- ##
10
 
## M4sh Initialization.  ##
11
 
## --------------------- ##
 
13
## -------------------- ##
 
14
## M4sh Initialization. ##
 
15
## -------------------- ##
12
16
 
13
17
# Be more Bourne compatible
14
18
DUALCASE=1; export DUALCASE # for MKS sh
15
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16
20
  emulate sh
17
21
  NULLCMD=:
18
22
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20
24
  alias -g '${1+"$@"}'='"$@"'
21
25
  setopt NO_GLOB_SUBST
22
26
else
23
 
  case `(set -o) 2>/dev/null` in
24
 
  *posix*) set -o posix ;;
 
27
  case `(set -o) 2>/dev/null` in #(
 
28
  *posix*) :
 
29
    set -o posix ;; #(
 
30
  *) :
 
31
     ;;
25
32
esac
26
 
 
27
33
fi
28
34
 
29
35
 
30
 
 
31
 
 
32
 
# PATH needs CR
33
 
# Avoid depending upon Character Ranges.
34
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37
 
as_cr_digits='0123456789'
38
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
39
 
 
40
36
as_nl='
41
37
'
42
38
export as_nl
44
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
44
# but without wasting forks for bash or zsh.
 
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
46
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
47
  as_echo='print -r --'
 
48
  as_echo_n='print -rn --'
 
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48
50
  as_echo='printf %s\n'
49
51
  as_echo_n='printf %s'
50
52
else
55
57
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56
58
    as_echo_n_body='eval
57
59
      arg=$1;
58
 
      case $arg in
 
60
      case $arg in #(
59
61
      *"$as_nl"*)
60
62
        expr "X$arg" : "X\\(.*\\)$as_nl";
61
63
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
78
80
  }
79
81
fi
80
82
 
81
 
# Support unset when possible.
82
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
83
 
  as_unset=unset
84
 
else
85
 
  as_unset=false
86
 
fi
87
 
 
88
83
 
89
84
# IFS
90
85
# We need space, tab and new line, in precisely that order.  Quoting is
94
89
IFS=" ""        $as_nl"
95
90
 
96
91
# Find who we are.  Look in the path if we contain no directory separator.
97
 
case $0 in
 
92
case $0 in #((
98
93
  *[\\/]* ) as_myself=$0 ;;
99
94
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100
95
for as_dir in $PATH
101
96
do
102
97
  IFS=$as_save_IFS
103
98
  test -z "$as_dir" && as_dir=.
104
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105
 
done
 
99
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
100
  done
106
101
IFS=$as_save_IFS
107
102
 
108
103
     ;;
114
109
fi
115
110
if test ! -f "$as_myself"; then
116
111
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117
 
  { (exit 1); exit 1; }
 
112
  exit 1
118
113
fi
119
114
 
120
 
# Work around bugs in pre-3.0 UWIN ksh.
121
 
for as_var in ENV MAIL MAILPATH
122
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
115
# Unset variables that we do not need and which cause bugs (e.g. in
 
116
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
117
# suppresses any "Segmentation fault" message there.  '((' could
 
118
# trigger a bug in pdksh 5.2.14.
 
119
for as_var in BASH_ENV ENV MAIL MAILPATH
 
120
do eval test x\${$as_var+set} = xset \
 
121
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123
122
done
124
123
PS1='$ '
125
124
PS2='> '
131
130
LANGUAGE=C
132
131
export LANGUAGE
133
132
 
134
 
# Required to use basename.
135
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
136
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
137
 
  as_expr=expr
138
 
else
139
 
  as_expr=false
140
 
fi
141
 
 
142
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
143
 
  as_basename=basename
144
 
else
145
 
  as_basename=false
146
 
fi
147
 
 
148
 
 
149
 
# Name of the executable.
150
 
as_me=`$as_basename -- "$0" ||
151
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152
 
         X"$0" : 'X\(//\)$' \| \
153
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
154
 
$as_echo X/"$0" |
155
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
156
 
            s//\1/
157
 
            q
158
 
          }
159
 
          /^X\/\(\/\/\)$/{
160
 
            s//\1/
161
 
            q
162
 
          }
163
 
          /^X\/\(\/\).*/{
164
 
            s//\1/
165
 
            q
166
 
          }
167
 
          s/.*/./; q'`
168
 
 
169
133
# CDPATH.
170
 
$as_unset CDPATH
171
 
 
 
134
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
172
135
 
173
136
if test "x$CONFIG_SHELL" = x; then
174
 
  if (eval ":") 2>/dev/null; then
 
137
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
138
  emulate sh
 
139
  NULLCMD=:
 
140
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
141
  # is contrary to our usage.  Disable this feature.
 
142
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
143
  setopt NO_GLOB_SUBST
 
144
else
 
145
  case \`(set -o) 2>/dev/null\` in #(
 
146
  *posix*) :
 
147
    set -o posix ;; #(
 
148
  *) :
 
149
     ;;
 
150
esac
 
151
fi
 
152
"
 
153
  as_required="as_fn_return () { (exit \$1); }
 
154
as_fn_success () { as_fn_return 0; }
 
155
as_fn_failure () { as_fn_return 1; }
 
156
as_fn_ret_success () { return 0; }
 
157
as_fn_ret_failure () { return 1; }
 
158
 
 
159
exitcode=0
 
160
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
161
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
162
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
163
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
164
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
165
 
 
166
else
 
167
  exitcode=1; echo positional parameters were not saved.
 
168
fi
 
169
test x\$exitcode = x0 || exit 1"
 
170
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
171
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
172
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
173
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
 
174
  if (eval "$as_required") 2>/dev/null; then :
175
175
  as_have_required=yes
176
176
else
177
177
  as_have_required=no
178
178
fi
179
 
 
180
 
  if test $as_have_required = yes &&     (eval ":
181
 
(as_func_return () {
182
 
  (exit \$1)
183
 
}
184
 
as_func_success () {
185
 
  as_func_return 0
186
 
}
187
 
as_func_failure () {
188
 
  as_func_return 1
189
 
}
190
 
as_func_ret_success () {
191
 
  return 0
192
 
}
193
 
as_func_ret_failure () {
194
 
  return 1
195
 
}
196
 
 
197
 
exitcode=0
198
 
if as_func_success; then
199
 
  :
200
 
else
201
 
  exitcode=1
202
 
  echo as_func_success failed.
203
 
fi
204
 
 
205
 
if as_func_failure; then
206
 
  exitcode=1
207
 
  echo as_func_failure succeeded.
208
 
fi
209
 
 
210
 
if as_func_ret_success; then
211
 
  :
212
 
else
213
 
  exitcode=1
214
 
  echo as_func_ret_success failed.
215
 
fi
216
 
 
217
 
if as_func_ret_failure; then
218
 
  exitcode=1
219
 
  echo as_func_ret_failure succeeded.
220
 
fi
221
 
 
222
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
223
 
  :
224
 
else
225
 
  exitcode=1
226
 
  echo positional parameters were not saved.
227
 
fi
228
 
 
229
 
test \$exitcode = 0) || { (exit 1); exit 1; }
230
 
 
231
 
(
232
 
  as_lineno_1=\$LINENO
233
 
  as_lineno_2=\$LINENO
234
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236
 
") 2> /dev/null; then
237
 
  :
238
 
else
239
 
  as_candidate_shells=
240
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
179
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
180
 
 
181
else
 
182
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
183
as_found=false
241
184
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
242
185
do
243
186
  IFS=$as_save_IFS
244
187
  test -z "$as_dir" && as_dir=.
245
 
  case $as_dir in
 
188
  as_found=:
 
189
  case $as_dir in #(
246
190
         /*)
247
191
           for as_base in sh bash ksh sh5; do
248
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
192
             # Try only shells that exist, to save several forks.
 
193
             as_shell=$as_dir/$as_base
 
194
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
195
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
196
  CONFIG_SHELL=$as_shell as_have_required=yes
 
197
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
198
  break 2
 
199
fi
 
200
fi
249
201
           done;;
250
202
       esac
 
203
  as_found=false
251
204
done
 
205
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
206
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
207
  CONFIG_SHELL=$SHELL as_have_required=yes
 
208
fi; }
252
209
IFS=$as_save_IFS
253
210
 
254
211
 
255
 
      for as_shell in $as_candidate_shells $SHELL; do
256
 
         # Try only shells that exist, to save several forks.
257
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
259
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260
 
  emulate sh
261
 
  NULLCMD=:
262
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263
 
  # is contrary to our usage.  Disable this feature.
264
 
  alias -g '${1+"$@"}'='"$@"'
265
 
  setopt NO_GLOB_SUBST
266
 
else
267
 
  case `(set -o) 2>/dev/null` in
268
 
  *posix*) set -o posix ;;
269
 
esac
270
 
 
271
 
fi
272
 
 
273
 
 
274
 
:
275
 
_ASEOF
276
 
}; then
277
 
  CONFIG_SHELL=$as_shell
278
 
               as_have_required=yes
279
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
280
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
281
 
  emulate sh
282
 
  NULLCMD=:
283
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284
 
  # is contrary to our usage.  Disable this feature.
285
 
  alias -g '${1+"$@"}'='"$@"'
286
 
  setopt NO_GLOB_SUBST
287
 
else
288
 
  case `(set -o) 2>/dev/null` in
289
 
  *posix*) set -o posix ;;
290
 
esac
291
 
 
292
 
fi
293
 
 
294
 
 
295
 
:
296
 
(as_func_return () {
297
 
  (exit $1)
298
 
}
299
 
as_func_success () {
300
 
  as_func_return 0
301
 
}
302
 
as_func_failure () {
303
 
  as_func_return 1
304
 
}
305
 
as_func_ret_success () {
306
 
  return 0
307
 
}
308
 
as_func_ret_failure () {
309
 
  return 1
310
 
}
311
 
 
312
 
exitcode=0
313
 
if as_func_success; then
314
 
  :
315
 
else
316
 
  exitcode=1
317
 
  echo as_func_success failed.
318
 
fi
319
 
 
320
 
if as_func_failure; then
321
 
  exitcode=1
322
 
  echo as_func_failure succeeded.
323
 
fi
324
 
 
325
 
if as_func_ret_success; then
326
 
  :
327
 
else
328
 
  exitcode=1
329
 
  echo as_func_ret_success failed.
330
 
fi
331
 
 
332
 
if as_func_ret_failure; then
333
 
  exitcode=1
334
 
  echo as_func_ret_failure succeeded.
335
 
fi
336
 
 
337
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
338
 
  :
339
 
else
340
 
  exitcode=1
341
 
  echo positional parameters were not saved.
342
 
fi
343
 
 
344
 
test $exitcode = 0) || { (exit 1); exit 1; }
345
 
 
346
 
(
347
 
  as_lineno_1=$LINENO
348
 
  as_lineno_2=$LINENO
349
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
350
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
351
 
 
352
 
_ASEOF
353
 
}; then
354
 
  break
355
 
fi
356
 
 
357
 
fi
358
 
 
359
 
      done
360
 
 
361
 
      if test "x$CONFIG_SHELL" != x; then
362
 
  for as_var in BASH_ENV ENV
363
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
364
 
        done
 
212
      if test "x$CONFIG_SHELL" != x; then :
 
213
  # We cannot yet assume a decent shell, so we have to provide a
 
214
        # neutralization value for shells without unset; and this also
 
215
        # works around shells that cannot unset nonexistent variables.
 
216
        BASH_ENV=/dev/null
 
217
        ENV=/dev/null
 
218
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
365
219
        export CONFIG_SHELL
366
220
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
367
221
fi
368
222
 
369
 
 
370
 
    if test $as_have_required = no; then
371
 
  echo This script requires a shell more modern than all the
372
 
      echo shells that I found on your system.  Please install a
373
 
      echo modern shell, or manually run the script under such a
374
 
      echo shell if you do have one.
375
 
      { (exit 1); exit 1; }
376
 
fi
377
 
 
378
 
 
379
 
fi
380
 
 
381
 
fi
382
 
 
383
 
 
384
 
 
385
 
(eval "as_func_return () {
386
 
  (exit \$1)
387
 
}
388
 
as_func_success () {
389
 
  as_func_return 0
390
 
}
391
 
as_func_failure () {
392
 
  as_func_return 1
393
 
}
394
 
as_func_ret_success () {
395
 
  return 0
396
 
}
397
 
as_func_ret_failure () {
398
 
  return 1
399
 
}
400
 
 
401
 
exitcode=0
402
 
if as_func_success; then
403
 
  :
404
 
else
405
 
  exitcode=1
406
 
  echo as_func_success failed.
407
 
fi
408
 
 
409
 
if as_func_failure; then
410
 
  exitcode=1
411
 
  echo as_func_failure succeeded.
412
 
fi
413
 
 
414
 
if as_func_ret_success; then
415
 
  :
416
 
else
417
 
  exitcode=1
418
 
  echo as_func_ret_success failed.
419
 
fi
420
 
 
421
 
if as_func_ret_failure; then
422
 
  exitcode=1
423
 
  echo as_func_ret_failure succeeded.
424
 
fi
425
 
 
426
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
427
 
  :
428
 
else
429
 
  exitcode=1
430
 
  echo positional parameters were not saved.
431
 
fi
432
 
 
433
 
test \$exitcode = 0") || {
434
 
  echo No shell found that supports shell functions.
435
 
  echo Please tell bug-autoconf@gnu.org about your system,
436
 
  echo including any error possibly output before this message.
437
 
  echo This can help us improve future autoconf versions.
438
 
  echo Configuration will now proceed without shell functions.
439
 
}
440
 
 
441
 
 
442
 
 
443
 
  as_lineno_1=$LINENO
444
 
  as_lineno_2=$LINENO
445
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
446
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
447
 
 
448
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
450
 
  # line-number line after each line using $LINENO; the second 'sed'
451
 
  # does the real work.  The second script uses 'N' to pair each
452
 
  # line-number line with the line containing $LINENO, and appends
453
 
  # trailing '-' during substitution so that $LINENO is not a special
454
 
  # case at line end.
455
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
457
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
223
    if test x$as_have_required = xno; then :
 
224
  $as_echo "$0: This script requires a shell more modern than all"
 
225
  $as_echo "$0: the shells that I found on your system."
 
226
  if test x${ZSH_VERSION+set} = xset ; then
 
227
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
228
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
229
  else
 
230
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
 
231
$0: including any error possibly output before this
 
232
$0: message. Then install a modern shell, or manually run
 
233
$0: the script under such a shell if you do have one."
 
234
  fi
 
235
  exit 1
 
236
fi
 
237
fi
 
238
fi
 
239
SHELL=${CONFIG_SHELL-/bin/sh}
 
240
export SHELL
 
241
# Unset more variables known to interfere with behavior of common tools.
 
242
CLICOLOR_FORCE= GREP_OPTIONS=
 
243
unset CLICOLOR_FORCE GREP_OPTIONS
 
244
 
 
245
## --------------------- ##
 
246
## M4sh Shell Functions. ##
 
247
## --------------------- ##
 
248
# as_fn_unset VAR
 
249
# ---------------
 
250
# Portably unset VAR.
 
251
as_fn_unset ()
 
252
{
 
253
  { eval $1=; unset $1;}
 
254
}
 
255
as_unset=as_fn_unset
 
256
 
 
257
# as_fn_set_status STATUS
 
258
# -----------------------
 
259
# Set $? to STATUS, without forking.
 
260
as_fn_set_status ()
 
261
{
 
262
  return $1
 
263
} # as_fn_set_status
 
264
 
 
265
# as_fn_exit STATUS
 
266
# -----------------
 
267
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
268
as_fn_exit ()
 
269
{
 
270
  set +e
 
271
  as_fn_set_status $1
 
272
  exit $1
 
273
} # as_fn_exit
 
274
 
 
275
# as_fn_mkdir_p
 
276
# -------------
 
277
# Create "$as_dir" as a directory, including parents if necessary.
 
278
as_fn_mkdir_p ()
 
279
{
 
280
 
 
281
  case $as_dir in #(
 
282
  -*) as_dir=./$as_dir;;
 
283
  esac
 
284
  test -d "$as_dir" || eval $as_mkdir_p || {
 
285
    as_dirs=
 
286
    while :; do
 
287
      case $as_dir in #(
 
288
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
289
      *) as_qdir=$as_dir;;
 
290
      esac
 
291
      as_dirs="'$as_qdir' $as_dirs"
 
292
      as_dir=`$as_dirname -- "$as_dir" ||
 
293
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
294
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
295
         X"$as_dir" : 'X\(//\)$' \| \
 
296
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
297
$as_echo X"$as_dir" |
 
298
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
299
            s//\1/
 
300
            q
 
301
          }
 
302
          /^X\(\/\/\)[^/].*/{
 
303
            s//\1/
 
304
            q
 
305
          }
 
306
          /^X\(\/\/\)$/{
 
307
            s//\1/
 
308
            q
 
309
          }
 
310
          /^X\(\/\).*/{
 
311
            s//\1/
 
312
            q
 
313
          }
 
314
          s/.*/./; q'`
 
315
      test -d "$as_dir" && break
 
316
    done
 
317
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
318
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
319
 
 
320
 
 
321
} # as_fn_mkdir_p
 
322
# as_fn_append VAR VALUE
 
323
# ----------------------
 
324
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
325
# advantage of any shell optimizations that allow amortized linear growth over
 
326
# repeated appends, instead of the typical quadratic growth present in naive
 
327
# implementations.
 
328
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
329
  eval 'as_fn_append ()
 
330
  {
 
331
    eval $1+=\$2
 
332
  }'
 
333
else
 
334
  as_fn_append ()
 
335
  {
 
336
    eval $1=\$$1\$2
 
337
  }
 
338
fi # as_fn_append
 
339
 
 
340
# as_fn_arith ARG...
 
341
# ------------------
 
342
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
343
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
344
# must be portable across $(()) and expr.
 
345
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
346
  eval 'as_fn_arith ()
 
347
  {
 
348
    as_val=$(( $* ))
 
349
  }'
 
350
else
 
351
  as_fn_arith ()
 
352
  {
 
353
    as_val=`expr "$@" || test $? -eq 1`
 
354
  }
 
355
fi # as_fn_arith
 
356
 
 
357
 
 
358
# as_fn_error ERROR [LINENO LOG_FD]
 
359
# ---------------------------------
 
360
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
361
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
362
# script with status $?, using 1 if that was 0.
 
363
as_fn_error ()
 
364
{
 
365
  as_status=$?; test $as_status -eq 0 && as_status=1
 
366
  if test "$3"; then
 
367
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
368
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
369
  fi
 
370
  $as_echo "$as_me: error: $1" >&2
 
371
  as_fn_exit $as_status
 
372
} # as_fn_error
 
373
 
 
374
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
375
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
376
  as_expr=expr
 
377
else
 
378
  as_expr=false
 
379
fi
 
380
 
 
381
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
382
  as_basename=basename
 
383
else
 
384
  as_basename=false
 
385
fi
 
386
 
 
387
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
388
  as_dirname=dirname
 
389
else
 
390
  as_dirname=false
 
391
fi
 
392
 
 
393
as_me=`$as_basename -- "$0" ||
 
394
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
395
         X"$0" : 'X\(//\)$' \| \
 
396
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
397
$as_echo X/"$0" |
 
398
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
399
            s//\1/
 
400
            q
 
401
          }
 
402
          /^X\/\(\/\/\)$/{
 
403
            s//\1/
 
404
            q
 
405
          }
 
406
          /^X\/\(\/\).*/{
 
407
            s//\1/
 
408
            q
 
409
          }
 
410
          s/.*/./; q'`
 
411
 
 
412
# Avoid depending upon Character Ranges.
 
413
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
414
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
415
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
416
as_cr_digits='0123456789'
 
417
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
418
 
 
419
 
 
420
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
421
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
422
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
423
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
424
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
458
425
  sed -n '
459
426
    p
460
427
    /[$]LINENO/=
471
438
      s/-\n.*//
472
439
    ' >$as_me.lineno &&
473
440
  chmod +x "$as_me.lineno" ||
474
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475
 
   { (exit 1); exit 1; }; }
 
441
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
476
442
 
477
443
  # Don't try to exec as it changes $[0], causing all sort of problems
478
444
  # (the dirname of $[0] is not the place where we might find the
482
448
  exit
483
449
}
484
450
 
485
 
 
486
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
487
 
  as_dirname=dirname
488
 
else
489
 
  as_dirname=false
490
 
fi
491
 
 
492
451
ECHO_C= ECHO_N= ECHO_T=
493
 
case `echo -n x` in
 
452
case `echo -n x` in #(((((
494
453
-n*)
495
 
  case `echo 'x\c'` in
 
454
  case `echo 'xy\c'` in
496
455
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
497
 
  *)   ECHO_C='\c';;
 
456
  xy)  ECHO_C='\c';;
 
457
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
458
       ECHO_T=' ';;
498
459
  esac;;
499
460
*)
500
461
  ECHO_N='-n';;
501
462
esac
502
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
503
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
504
 
  as_expr=expr
505
 
else
506
 
  as_expr=false
507
 
fi
508
463
 
509
464
rm -f conf$$ conf$$.exe conf$$.file
510
465
if test -d conf$$.dir; then
534
489
rmdir conf$$.dir 2>/dev/null
535
490
 
536
491
if mkdir -p . 2>/dev/null; then
537
 
  as_mkdir_p=:
 
492
  as_mkdir_p='mkdir -p "$as_dir"'
538
493
else
539
494
  test -d ./-p && rmdir ./-p
540
495
  as_mkdir_p=false
553
508
      if test -d "$1"; then
554
509
        test -d "$1/.";
555
510
      else
556
 
        case $1 in
 
511
        case $1 in #(
557
512
        -*)set "./$1";;
558
513
        esac;
559
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
514
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
560
515
        ???[sx]*):;;*)false;;esac;fi
561
516
    '\'' sh
562
517
  '
570
525
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
571
526
 
572
527
 
573
 
 
574
 
exec 7<&0 </dev/null 6>&1
 
528
test -n "$DJDIR" || exec 7<&0 </dev/null
 
529
exec 6>&1
575
530
 
576
531
# Name of the host.
577
532
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
589
544
subdirs=
590
545
MFLAGS=
591
546
MAKEFLAGS=
592
 
SHELL=${CONFIG_SHELL-/bin/sh}
593
547
 
594
548
# Identity of this package.
595
549
PACKAGE_NAME='thaifonts-scalable'
596
550
PACKAGE_TARNAME='thaifonts-scalable'
597
 
PACKAGE_VERSION='0.4.13'
598
 
PACKAGE_STRING='thaifonts-scalable 0.4.13'
 
551
PACKAGE_VERSION='0.4.14'
 
552
PACKAGE_STRING='thaifonts-scalable 0.4.14'
599
553
PACKAGE_BUGREPORT=''
 
554
PACKAGE_URL=''
600
555
 
601
556
ac_unique_file="nf/Garuda.sfd"
602
557
ac_subst_vars='LTLIBOBJS
678
633
program_transform_name
679
634
prefix
680
635
exec_prefix
 
636
PACKAGE_URL
681
637
PACKAGE_BUGREPORT
682
638
PACKAGE_STRING
683
639
PACKAGE_VERSION
809
765
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
810
766
    # Reject names that are not valid shell variable names.
811
767
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
812
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
813
 
   { (exit 1); exit 1; }; }
 
768
      as_fn_error "invalid feature name: $ac_useropt"
814
769
    ac_useropt_orig=$ac_useropt
815
770
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
816
771
    case $ac_user_opts in
836
791
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
837
792
    # Reject names that are not valid shell variable names.
838
793
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
839
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
840
 
   { (exit 1); exit 1; }; }
 
794
      as_fn_error "invalid feature name: $ac_useropt"
841
795
    ac_useropt_orig=$ac_useropt
842
796
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
843
797
    case $ac_user_opts in
1041
995
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1042
996
    # Reject names that are not valid shell variable names.
1043
997
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1044
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1045
 
   { (exit 1); exit 1; }; }
 
998
      as_fn_error "invalid package name: $ac_useropt"
1046
999
    ac_useropt_orig=$ac_useropt
1047
1000
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1048
1001
    case $ac_user_opts in
1058
1011
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1059
1012
    # Reject names that are not valid shell variable names.
1060
1013
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1061
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1062
 
   { (exit 1); exit 1; }; }
 
1014
      as_fn_error "invalid package name: $ac_useropt"
1063
1015
    ac_useropt_orig=$ac_useropt
1064
1016
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1065
1017
    case $ac_user_opts in
1089
1041
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1090
1042
    x_libraries=$ac_optarg ;;
1091
1043
 
1092
 
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1093
 
Try \`$0 --help' for more information." >&2
1094
 
   { (exit 1); exit 1; }; }
 
1044
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1045
Try \`$0 --help' for more information."
1095
1046
    ;;
1096
1047
 
1097
1048
  *=*)
1098
1049
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1099
1050
    # Reject names that are not valid shell variable names.
1100
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1101
 
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1102
 
   { (exit 1); exit 1; }; }
 
1051
    case $ac_envvar in #(
 
1052
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1053
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1054
    esac
1103
1055
    eval $ac_envvar=\$ac_optarg
1104
1056
    export $ac_envvar ;;
1105
1057
 
1116
1068
 
1117
1069
if test -n "$ac_prev"; then
1118
1070
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1119
 
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1120
 
   { (exit 1); exit 1; }; }
 
1071
  as_fn_error "missing argument to $ac_option"
1121
1072
fi
1122
1073
 
1123
1074
if test -n "$ac_unrecognized_opts"; then
1124
1075
  case $enable_option_checking in
1125
1076
    no) ;;
1126
 
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1127
 
   { (exit 1); exit 1; }; } ;;
 
1077
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1128
1078
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1129
1079
  esac
1130
1080
fi
1147
1097
    [\\/$]* | ?:[\\/]* )  continue;;
1148
1098
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1149
1099
  esac
1150
 
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1151
 
   { (exit 1); exit 1; }; }
 
1100
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1152
1101
done
1153
1102
 
1154
1103
# There might be people who depend on the old broken behavior: `$host'
1178
1127
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1179
1128
ac_ls_di=`ls -di .` &&
1180
1129
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1181
 
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1182
 
   { (exit 1); exit 1; }; }
 
1130
  as_fn_error "working directory cannot be determined"
1183
1131
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1184
 
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1185
 
   { (exit 1); exit 1; }; }
 
1132
  as_fn_error "pwd does not report name of working directory"
1186
1133
 
1187
1134
 
1188
1135
# Find the source files, if location was not specified.
1221
1168
fi
1222
1169
if test ! -r "$srcdir/$ac_unique_file"; then
1223
1170
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1224
 
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1225
 
   { (exit 1); exit 1; }; }
 
1171
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1226
1172
fi
1227
1173
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1228
1174
ac_abs_confdir=`(
1229
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1230
 
   { (exit 1); exit 1; }; }
 
1175
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1231
1176
        pwd)`
1232
1177
# When building in place, set srcdir=.
1233
1178
if test "$ac_abs_confdir" = "$ac_pwd"; then
1253
1198
  # Omit some internal or obsolete options to make the list less imposing.
1254
1199
  # This message is too long to be a string in the A/UX 3.1 sh.
1255
1200
  cat <<_ACEOF
1256
 
\`configure' configures thaifonts-scalable 0.4.13 to adapt to many kinds of systems.
 
1201
\`configure' configures thaifonts-scalable 0.4.14 to adapt to many kinds of systems.
1257
1202
 
1258
1203
Usage: $0 [OPTION]... [VAR=VALUE]...
1259
1204
 
1320
1265
 
1321
1266
if test -n "$ac_init_help"; then
1322
1267
  case $ac_init_help in
1323
 
     short | recursive ) echo "Configuration of thaifonts-scalable 0.4.13:";;
 
1268
     short | recursive ) echo "Configuration of thaifonts-scalable 0.4.14:";;
1324
1269
   esac
1325
1270
  cat <<\_ACEOF
1326
1271
 
1337
1282
Optional Packages:
1338
1283
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1339
1284
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1340
 
  --with-ttfdir=DIR       font directory in DIR [PREFIX/share/fonts/th/TTF]
1341
 
  --with-type1dir=DIR     font directory in DIR [PREFIX/share/fonts/th/Type1]
1342
 
  --with-otfdir=DIR       font directory in DIR [PREFIX/share/fonts/th/OTF]
 
1285
  --with-ttfdir=DIR       font directory in DIR
 
1286
                          [PREFIX/share/fonts/truetype/thai]
 
1287
  --with-type1dir=DIR     font directory in DIR
 
1288
                          [PREFIX/share/fonts/type1/thai]
 
1289
  --with-otfdir=DIR       font directory in DIR
 
1290
                          [PREFIX/share/fonts/opentype/thai]
1343
1291
  --with-testfontdir=DIR  font directory in DIR [$HOME/.fonts/testfont]
1344
1292
 
 
1293
Report bugs to the package provider.
1345
1294
_ACEOF
1346
1295
ac_status=$?
1347
1296
fi
1404
1353
test -n "$ac_init_help" && exit $ac_status
1405
1354
if $ac_init_version; then
1406
1355
  cat <<\_ACEOF
1407
 
thaifonts-scalable configure 0.4.13
1408
 
generated by GNU Autoconf 2.63
 
1356
thaifonts-scalable configure 0.4.14
 
1357
generated by GNU Autoconf 2.65
1409
1358
 
1410
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1411
 
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
1359
Copyright (C) 2009 Free Software Foundation, Inc.
1412
1360
This configure script is free software; the Free Software Foundation
1413
1361
gives unlimited permission to copy, distribute and modify it.
1414
1362
_ACEOF
1415
1363
  exit
1416
1364
fi
 
1365
 
 
1366
## ------------------------ ##
 
1367
## Autoconf initialization. ##
 
1368
## ------------------------ ##
1417
1369
cat >config.log <<_ACEOF
1418
1370
This file contains any messages produced by compilers while
1419
1371
running configure, to aid debugging if configure makes a mistake.
1420
1372
 
1421
 
It was created by thaifonts-scalable $as_me 0.4.13, which was
1422
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
1373
It was created by thaifonts-scalable $as_me 0.4.14, which was
 
1374
generated by GNU Autoconf 2.65.  Invocation command line was
1423
1375
 
1424
1376
  $ $0 $@
1425
1377
 
1455
1407
do
1456
1408
  IFS=$as_save_IFS
1457
1409
  test -z "$as_dir" && as_dir=.
1458
 
  $as_echo "PATH: $as_dir"
1459
 
done
 
1410
    $as_echo "PATH: $as_dir"
 
1411
  done
1460
1412
IFS=$as_save_IFS
1461
1413
 
1462
1414
} >&5
1493
1445
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1494
1446
    esac
1495
1447
    case $ac_pass in
1496
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1448
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1497
1449
    2)
1498
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1450
      as_fn_append ac_configure_args1 " '$ac_arg'"
1499
1451
      if test $ac_must_keep_next = true; then
1500
1452
        ac_must_keep_next=false # Got value, back to normal.
1501
1453
      else
1511
1463
          -* ) ac_must_keep_next=true ;;
1512
1464
        esac
1513
1465
      fi
1514
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
1466
      as_fn_append ac_configure_args " '$ac_arg'"
1515
1467
      ;;
1516
1468
    esac
1517
1469
  done
1518
1470
done
1519
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1520
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
1471
{ ac_configure_args0=; unset ac_configure_args0;}
 
1472
{ ac_configure_args1=; unset ac_configure_args1;}
1521
1473
 
1522
1474
# When interrupted or exit'd, cleanup temporary files, and complete
1523
1475
# config.log.  We remove comments because anyway the quotes in there
1542
1494
    case $ac_val in #(
1543
1495
    *${as_nl}*)
1544
1496
      case $ac_var in #(
1545
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
1497
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1546
1498
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1547
1499
      esac
1548
1500
      case $ac_var in #(
1549
1501
      _ | IFS | as_nl) ;; #(
1550
1502
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1551
 
      *) $as_unset $ac_var ;;
 
1503
      *) { eval $ac_var=; unset $ac_var;} ;;
1552
1504
      esac ;;
1553
1505
    esac
1554
1506
  done
1620
1572
    exit $exit_status
1621
1573
' 0
1622
1574
for ac_signal in 1 2 13 15; do
1623
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
1575
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1624
1576
done
1625
1577
ac_signal=0
1626
1578
 
1627
1579
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1628
1580
rm -f -r conftest* confdefs.h
1629
1581
 
 
1582
$as_echo "/* confdefs.h */" > confdefs.h
 
1583
 
1630
1584
# Predefined preprocessor variables.
1631
1585
 
1632
1586
cat >>confdefs.h <<_ACEOF
1633
1587
#define PACKAGE_NAME "$PACKAGE_NAME"
1634
1588
_ACEOF
1635
1589
 
1636
 
 
1637
1590
cat >>confdefs.h <<_ACEOF
1638
1591
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1639
1592
_ACEOF
1640
1593
 
1641
 
 
1642
1594
cat >>confdefs.h <<_ACEOF
1643
1595
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1644
1596
_ACEOF
1645
1597
 
1646
 
 
1647
1598
cat >>confdefs.h <<_ACEOF
1648
1599
#define PACKAGE_STRING "$PACKAGE_STRING"
1649
1600
_ACEOF
1650
1601
 
1651
 
 
1652
1602
cat >>confdefs.h <<_ACEOF
1653
1603
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1654
1604
_ACEOF
1655
1605
 
 
1606
cat >>confdefs.h <<_ACEOF
 
1607
#define PACKAGE_URL "$PACKAGE_URL"
 
1608
_ACEOF
 
1609
 
1656
1610
 
1657
1611
# Let the site file select an alternate cache file if it wants to.
1658
1612
# Prefer an explicitly selected file to automatically selected ones.
1670
1624
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1671
1625
do
1672
1626
  test "x$ac_site_file" = xNONE && continue
1673
 
  if test -r "$ac_site_file"; then
1674
 
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
1627
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
1628
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1675
1629
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1676
1630
    sed 's/^/| /' "$ac_site_file" >&5
1677
1631
    . "$ac_site_file"
1679
1633
done
1680
1634
 
1681
1635
if test -r "$cache_file"; then
1682
 
  # Some versions of bash will fail to source /dev/null (special
1683
 
  # files actually), so we avoid doing that.
1684
 
  if test -f "$cache_file"; then
1685
 
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
1636
  # Some versions of bash will fail to source /dev/null (special files
 
1637
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
1638
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
1639
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1686
1640
$as_echo "$as_me: loading cache $cache_file" >&6;}
1687
1641
    case $cache_file in
1688
1642
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1690
1644
    esac
1691
1645
  fi
1692
1646
else
1693
 
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
1647
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1694
1648
$as_echo "$as_me: creating cache $cache_file" >&6;}
1695
1649
  >$cache_file
1696
1650
fi
1705
1659
  eval ac_new_val=\$ac_env_${ac_var}_value
1706
1660
  case $ac_old_set,$ac_new_set in
1707
1661
    set,)
1708
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
1662
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1709
1663
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1710
1664
      ac_cache_corrupted=: ;;
1711
1665
    ,set)
1712
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
1666
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1713
1667
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1714
1668
      ac_cache_corrupted=: ;;
1715
1669
    ,);;
1719
1673
        ac_old_val_w=`echo x $ac_old_val`
1720
1674
        ac_new_val_w=`echo x $ac_new_val`
1721
1675
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1722
 
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1676
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1723
1677
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1724
1678
          ac_cache_corrupted=:
1725
1679
        else
1726
 
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
1680
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1727
1681
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1728
1682
          eval $ac_var=\$ac_old_val
1729
1683
        fi
1730
 
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
1684
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1731
1685
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1732
 
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
1686
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1733
1687
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1734
1688
      fi;;
1735
1689
  esac
1741
1695
    esac
1742
1696
    case " $ac_configure_args " in
1743
1697
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1744
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
1698
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1745
1699
    esac
1746
1700
  fi
1747
1701
done
1748
1702
if $ac_cache_corrupted; then
1749
 
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
1703
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1750
1704
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1751
 
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
1705
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1752
1706
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1753
 
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1754
 
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1755
 
   { (exit 1); exit 1; }; }
 
1707
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1756
1708
fi
1757
 
 
1758
 
 
1759
 
 
1760
 
 
1761
 
 
1762
 
 
1763
 
 
1764
 
 
1765
 
 
1766
 
 
1767
 
 
1768
 
 
1769
 
 
1770
 
 
1771
 
 
1772
 
 
1773
 
 
1774
 
 
1775
 
 
1776
 
 
1777
 
 
1778
 
 
1779
 
 
1780
 
 
 
1709
## -------------------- ##
 
1710
## Main body of script. ##
 
1711
## -------------------- ##
1781
1712
 
1782
1713
ac_ext=c
1783
1714
ac_cpp='$CPP $CPPFLAGS'
1788
1719
 
1789
1720
 
1790
1721
 
1791
 
am__api_version='1.10'
 
1722
am__api_version='1.11'
1792
1723
 
1793
1724
ac_aux_dir=
1794
1725
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1795
 
  if test -f "$ac_dir/install-sh"; then
1796
 
    ac_aux_dir=$ac_dir
1797
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
1798
 
    break
1799
 
  elif test -f "$ac_dir/install.sh"; then
1800
 
    ac_aux_dir=$ac_dir
1801
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
1802
 
    break
1803
 
  elif test -f "$ac_dir/shtool"; then
1804
 
    ac_aux_dir=$ac_dir
1805
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
1806
 
    break
1807
 
  fi
 
1726
  for ac_t in install-sh install.sh shtool; do
 
1727
    if test -f "$ac_dir/$ac_t"; then
 
1728
      ac_aux_dir=$ac_dir
 
1729
      ac_install_sh="$ac_aux_dir/$ac_t -c"
 
1730
      break 2
 
1731
    fi
 
1732
  done
1808
1733
done
1809
1734
if test -z "$ac_aux_dir"; then
1810
 
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1811
 
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1812
 
   { (exit 1); exit 1; }; }
 
1735
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1813
1736
fi
1814
1737
 
1815
1738
# These three variables are undocumented and unsupported,
1835
1758
# OS/2's system install, which has a completely different semantic
1836
1759
# ./install, which can be erroneously created by make from ./install.sh.
1837
1760
# Reject install programs that cannot install multiple files.
1838
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
1761
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1839
1762
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1840
1763
if test -z "$INSTALL"; then
1841
 
if test "${ac_cv_path_install+set}" = set; then
 
1764
if test "${ac_cv_path_install+set}" = set; then :
1842
1765
  $as_echo_n "(cached) " >&6
1843
1766
else
1844
1767
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1846
1769
do
1847
1770
  IFS=$as_save_IFS
1848
1771
  test -z "$as_dir" && as_dir=.
1849
 
  # Account for people who put trailing slashes in PATH elements.
1850
 
case $as_dir/ in
1851
 
  ./ | .// | /cC/* | \
 
1772
    # Account for people who put trailing slashes in PATH elements.
 
1773
case $as_dir/ in #((
 
1774
  ./ | .// | /[cC]/* | \
1852
1775
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1853
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
1776
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1854
1777
  /usr/ucb/* ) ;;
1855
1778
  *)
1856
1779
    # OSF1 and SCO ODT 3.0 have their own names for install.
1887
1810
    ;;
1888
1811
esac
1889
1812
 
1890
 
done
 
1813
  done
1891
1814
IFS=$as_save_IFS
1892
1815
 
1893
1816
rm -rf conftest.one conftest.two conftest.dir
1903
1826
    INSTALL=$ac_install_sh
1904
1827
  fi
1905
1828
fi
1906
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
1829
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1907
1830
$as_echo "$INSTALL" >&6; }
1908
1831
 
1909
1832
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1914
1837
 
1915
1838
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1916
1839
 
1917
 
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
1840
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1918
1841
$as_echo_n "checking whether build environment is sane... " >&6; }
1919
1842
# Just in case
1920
1843
sleep 1
1921
1844
echo timestamp > conftest.file
 
1845
# Reject unsafe characters in $srcdir or the absolute working directory
 
1846
# name.  Accept space and tab only in the latter.
 
1847
am_lf='
 
1848
'
 
1849
case `pwd` in
 
1850
  *[\\\"\#\$\&\'\`$am_lf]*)
 
1851
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
1852
esac
 
1853
case $srcdir in
 
1854
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
1855
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
1856
esac
 
1857
 
1922
1858
# Do `set' in a subshell so we don't clobber the current shell's
1923
1859
# arguments.  Must try -L first in case configure is actually a
1924
1860
# symlink; some systems play weird games with the mod time of symlinks
1925
1861
# (eg FreeBSD returns the mod time of the symlink's containing
1926
1862
# directory).
1927
1863
if (
1928
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
1864
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1929
1865
   if test "$*" = "X"; then
1930
1866
      # -L didn't work.
1931
 
      set X `ls -t $srcdir/configure conftest.file`
 
1867
      set X `ls -t "$srcdir/configure" conftest.file`
1932
1868
   fi
1933
1869
   rm -f conftest.file
1934
1870
   if test "$*" != "X $srcdir/configure conftest.file" \
1938
1874
      # if, for instance, CONFIG_SHELL is bash and it inherits a
1939
1875
      # broken ls alias from the environment.  This has actually
1940
1876
      # happened.  Such a system could not be considered "sane".
1941
 
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1942
 
alias in your environment" >&5
1943
 
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1944
 
alias in your environment" >&2;}
1945
 
   { (exit 1); exit 1; }; }
 
1877
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
1878
alias in your environment" "$LINENO" 5
1946
1879
   fi
1947
1880
 
1948
1881
   test "$2" = conftest.file
1951
1884
   # Ok.
1952
1885
   :
1953
1886
else
1954
 
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1955
 
Check your system clock" >&5
1956
 
$as_echo "$as_me: error: newly created file is older than distributed files!
1957
 
Check your system clock" >&2;}
1958
 
   { (exit 1); exit 1; }; }
 
1887
   as_fn_error "newly created file is older than distributed files!
 
1888
Check your system clock" "$LINENO" 5
1959
1889
fi
1960
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
1890
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1961
1891
$as_echo "yes" >&6; }
1962
1892
test "$program_prefix" != NONE &&
1963
1893
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1972
1902
# expand $ac_aux_dir to an absolute path
1973
1903
am_aux_dir=`cd $ac_aux_dir && pwd`
1974
1904
 
1975
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
1905
if test x"${MISSING+set}" != xset; then
 
1906
  case $am_aux_dir in
 
1907
  *\ * | *\     *)
 
1908
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
1909
  *)
 
1910
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
1911
  esac
 
1912
fi
1976
1913
# Use eval to expand $SHELL
1977
1914
if eval "$MISSING --run true"; then
1978
1915
  am_missing_run="$MISSING --run "
1979
1916
else
1980
1917
  am_missing_run=
1981
 
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
1918
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
1982
1919
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1983
1920
fi
1984
1921
 
1985
 
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
1922
if test x"${install_sh}" != xset; then
 
1923
  case $am_aux_dir in
 
1924
  *\ * | *\     *)
 
1925
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
1926
  *)
 
1927
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
1928
  esac
 
1929
fi
 
1930
 
 
1931
# Installed binaries are usually stripped using `strip' when the user
 
1932
# run `make install-strip'.  However `strip' might not be the right
 
1933
# tool to use in cross-compilation environments, therefore Automake
 
1934
# will honor the `STRIP' environment variable to overrule this program.
 
1935
if test "$cross_compiling" != no; then
 
1936
  if test -n "$ac_tool_prefix"; then
 
1937
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
1938
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
1939
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
1940
$as_echo_n "checking for $ac_word... " >&6; }
 
1941
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
1942
  $as_echo_n "(cached) " >&6
 
1943
else
 
1944
  if test -n "$STRIP"; then
 
1945
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
1946
else
 
1947
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1948
for as_dir in $PATH
 
1949
do
 
1950
  IFS=$as_save_IFS
 
1951
  test -z "$as_dir" && as_dir=.
 
1952
    for ac_exec_ext in '' $ac_executable_extensions; do
 
1953
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
1954
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
1955
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1956
    break 2
 
1957
  fi
 
1958
done
 
1959
  done
 
1960
IFS=$as_save_IFS
 
1961
 
 
1962
fi
 
1963
fi
 
1964
STRIP=$ac_cv_prog_STRIP
 
1965
if test -n "$STRIP"; then
 
1966
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
1967
$as_echo "$STRIP" >&6; }
 
1968
else
 
1969
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
1970
$as_echo "no" >&6; }
 
1971
fi
 
1972
 
 
1973
 
 
1974
fi
 
1975
if test -z "$ac_cv_prog_STRIP"; then
 
1976
  ac_ct_STRIP=$STRIP
 
1977
  # Extract the first word of "strip", so it can be a program name with args.
 
1978
set dummy strip; ac_word=$2
 
1979
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
1980
$as_echo_n "checking for $ac_word... " >&6; }
 
1981
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
1982
  $as_echo_n "(cached) " >&6
 
1983
else
 
1984
  if test -n "$ac_ct_STRIP"; then
 
1985
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
1986
else
 
1987
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1988
for as_dir in $PATH
 
1989
do
 
1990
  IFS=$as_save_IFS
 
1991
  test -z "$as_dir" && as_dir=.
 
1992
    for ac_exec_ext in '' $ac_executable_extensions; do
 
1993
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
1994
    ac_cv_prog_ac_ct_STRIP="strip"
 
1995
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1996
    break 2
 
1997
  fi
 
1998
done
 
1999
  done
 
2000
IFS=$as_save_IFS
 
2001
 
 
2002
fi
 
2003
fi
 
2004
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2005
if test -n "$ac_ct_STRIP"; then
 
2006
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
2007
$as_echo "$ac_ct_STRIP" >&6; }
 
2008
else
 
2009
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2010
$as_echo "no" >&6; }
 
2011
fi
 
2012
 
 
2013
  if test "x$ac_ct_STRIP" = x; then
 
2014
    STRIP=":"
 
2015
  else
 
2016
    case $cross_compiling:$ac_tool_warned in
 
2017
yes:)
 
2018
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2019
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2020
ac_tool_warned=yes ;;
 
2021
esac
 
2022
    STRIP=$ac_ct_STRIP
 
2023
  fi
 
2024
else
 
2025
  STRIP="$ac_cv_prog_STRIP"
 
2026
fi
 
2027
 
 
2028
fi
 
2029
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2030
 
 
2031
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
1986
2032
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
1987
2033
if test -z "$MKDIR_P"; then
1988
 
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2034
  if test "${ac_cv_path_mkdir+set}" = set; then :
1989
2035
  $as_echo_n "(cached) " >&6
1990
2036
else
1991
2037
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1993
2039
do
1994
2040
  IFS=$as_save_IFS
1995
2041
  test -z "$as_dir" && as_dir=.
1996
 
  for ac_prog in mkdir gmkdir; do
 
2042
    for ac_prog in mkdir gmkdir; do
1997
2043
         for ac_exec_ext in '' $ac_executable_extensions; do
1998
2044
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1999
2045
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2005
2051
           esac
2006
2052
         done
2007
2053
       done
2008
 
done
 
2054
  done
2009
2055
IFS=$as_save_IFS
2010
2056
 
2011
2057
fi
2012
2058
 
 
2059
  test -d ./--version && rmdir ./--version
2013
2060
  if test "${ac_cv_path_mkdir+set}" = set; then
2014
2061
    MKDIR_P="$ac_cv_path_mkdir -p"
2015
2062
  else
2017
2064
    # value for MKDIR_P within a source directory, because that will
2018
2065
    # break other packages using the cache if that directory is
2019
2066
    # removed, or if the value is a relative name.
2020
 
    test -d ./--version && rmdir ./--version
2021
2067
    MKDIR_P="$ac_install_sh -d"
2022
2068
  fi
2023
2069
fi
2024
 
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2070
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2025
2071
$as_echo "$MKDIR_P" >&6; }
2026
2072
 
2027
2073
mkdir_p="$MKDIR_P"
2034
2080
do
2035
2081
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2036
2082
set dummy $ac_prog; ac_word=$2
2037
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2083
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2038
2084
$as_echo_n "checking for $ac_word... " >&6; }
2039
 
if test "${ac_cv_prog_AWK+set}" = set; then
 
2085
if test "${ac_cv_prog_AWK+set}" = set; then :
2040
2086
  $as_echo_n "(cached) " >&6
2041
2087
else
2042
2088
  if test -n "$AWK"; then
2047
2093
do
2048
2094
  IFS=$as_save_IFS
2049
2095
  test -z "$as_dir" && as_dir=.
2050
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2096
    for ac_exec_ext in '' $ac_executable_extensions; do
2051
2097
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2052
2098
    ac_cv_prog_AWK="$ac_prog"
2053
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2099
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2054
2100
    break 2
2055
2101
  fi
2056
2102
done
2057
 
done
 
2103
  done
2058
2104
IFS=$as_save_IFS
2059
2105
 
2060
2106
fi
2061
2107
fi
2062
2108
AWK=$ac_cv_prog_AWK
2063
2109
if test -n "$AWK"; then
2064
 
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2110
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2065
2111
$as_echo "$AWK" >&6; }
2066
2112
else
2067
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2113
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2068
2114
$as_echo "no" >&6; }
2069
2115
fi
2070
2116
 
2072
2118
  test -n "$AWK" && break
2073
2119
done
2074
2120
 
2075
 
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2121
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2076
2122
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2077
2123
set x ${MAKE-make}
2078
2124
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2079
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
2125
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2080
2126
  $as_echo_n "(cached) " >&6
2081
2127
else
2082
2128
  cat >conftest.make <<\_ACEOF
2094
2140
rm -f conftest.make
2095
2141
fi
2096
2142
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2097
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2143
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2098
2144
$as_echo "yes" >&6; }
2099
2145
  SET_MAKE=
2100
2146
else
2101
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2147
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2102
2148
$as_echo "no" >&6; }
2103
2149
  SET_MAKE="MAKE=${MAKE-make}"
2104
2150
fi
2118
2164
  am__isrc=' -I$(srcdir)'
2119
2165
  # test to see if srcdir already configured
2120
2166
  if test -f $srcdir/config.status; then
2121
 
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2122
 
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2123
 
   { (exit 1); exit 1; }; }
 
2167
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2124
2168
  fi
2125
2169
fi
2126
2170
 
2136
2180
 
2137
2181
# Define the identity of the package.
2138
2182
 PACKAGE='thaifonts-scalable'
2139
 
 VERSION='0.4.13'
 
2183
 VERSION='0.4.14'
2140
2184
 
2141
2185
 
2142
2186
cat >>confdefs.h <<_ACEOF
2164
2208
 
2165
2209
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2166
2210
 
2167
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2168
 
 
2169
 
# Installed binaries are usually stripped using `strip' when the user
2170
 
# run `make install-strip'.  However `strip' might not be the right
2171
 
# tool to use in cross-compilation environments, therefore Automake
2172
 
# will honor the `STRIP' environment variable to overrule this program.
2173
 
if test "$cross_compiling" != no; then
2174
 
  if test -n "$ac_tool_prefix"; then
2175
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2176
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2177
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2178
 
$as_echo_n "checking for $ac_word... " >&6; }
2179
 
if test "${ac_cv_prog_STRIP+set}" = set; then
2180
 
  $as_echo_n "(cached) " >&6
2181
 
else
2182
 
  if test -n "$STRIP"; then
2183
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2184
 
else
2185
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2186
 
for as_dir in $PATH
2187
 
do
2188
 
  IFS=$as_save_IFS
2189
 
  test -z "$as_dir" && as_dir=.
2190
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2191
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2192
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2193
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2194
 
    break 2
2195
 
  fi
2196
 
done
2197
 
done
2198
 
IFS=$as_save_IFS
2199
 
 
2200
 
fi
2201
 
fi
2202
 
STRIP=$ac_cv_prog_STRIP
2203
 
if test -n "$STRIP"; then
2204
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2205
 
$as_echo "$STRIP" >&6; }
2206
 
else
2207
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
2208
 
$as_echo "no" >&6; }
2209
 
fi
2210
 
 
2211
 
 
2212
 
fi
2213
 
if test -z "$ac_cv_prog_STRIP"; then
2214
 
  ac_ct_STRIP=$STRIP
2215
 
  # Extract the first word of "strip", so it can be a program name with args.
2216
 
set dummy strip; ac_word=$2
2217
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2218
 
$as_echo_n "checking for $ac_word... " >&6; }
2219
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2220
 
  $as_echo_n "(cached) " >&6
2221
 
else
2222
 
  if test -n "$ac_ct_STRIP"; then
2223
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2224
 
else
2225
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2226
 
for as_dir in $PATH
2227
 
do
2228
 
  IFS=$as_save_IFS
2229
 
  test -z "$as_dir" && as_dir=.
2230
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2231
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2232
 
    ac_cv_prog_ac_ct_STRIP="strip"
2233
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2234
 
    break 2
2235
 
  fi
2236
 
done
2237
 
done
2238
 
IFS=$as_save_IFS
2239
 
 
2240
 
fi
2241
 
fi
2242
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2243
 
if test -n "$ac_ct_STRIP"; then
2244
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2245
 
$as_echo "$ac_ct_STRIP" >&6; }
2246
 
else
2247
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
2248
 
$as_echo "no" >&6; }
2249
 
fi
2250
 
 
2251
 
  if test "x$ac_ct_STRIP" = x; then
2252
 
    STRIP=":"
2253
 
  else
2254
 
    case $cross_compiling:$ac_tool_warned in
2255
 
yes:)
2256
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2257
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2258
 
ac_tool_warned=yes ;;
2259
 
esac
2260
 
    STRIP=$ac_ct_STRIP
2261
 
  fi
2262
 
else
2263
 
  STRIP="$ac_cv_prog_STRIP"
2264
 
fi
2265
 
 
2266
 
fi
2267
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2268
 
 
2269
2211
# We need awk for the "check" target.  The system "awk" is bad on
2270
2212
# some platforms.
2271
2213
# Always define AMTAR for backward compatibility.
2282
2224
FONTFORGE_MIN_VER=20080110
2283
2225
 
2284
2226
# Check whether --enable-ttf was given.
2285
 
if test "${enable_ttf+set}" = set; then
 
2227
if test "${enable_ttf+set}" = set; then :
2286
2228
  enableval=$enable_ttf;
2287
2229
else
2288
2230
  enable_ttf="yes"
2291
2233
if test "x$enable_ttf" = "xyes"; then
2292
2234
 
2293
2235
# Check whether --with-ttfdir was given.
2294
 
if test "${with_ttfdir+set}" = set; then
 
2236
if test "${with_ttfdir+set}" = set; then :
2295
2237
  withval=$with_ttfdir; ttfdir="$withval"
2296
2238
else
2297
 
  ttfdir=\$\{prefix\}/share/fonts/th/TTF
 
2239
  ttfdir=\$\{prefix\}/share/fonts/truetype/thai
2298
2240
fi
2299
2241
 
2300
 
  { $as_echo "$as_me:$LINENO: checking --with-ttfdir" >&5
 
2242
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking --with-ttfdir" >&5
2301
2243
$as_echo_n "checking --with-ttfdir... " >&6; }
2302
 
  { $as_echo "$as_me:$LINENO: result: \"$ttfdir\"" >&5
 
2244
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$ttfdir\"" >&5
2303
2245
$as_echo "\"$ttfdir\"" >&6; }
2304
2246
 
2305
2247
 
2306
2248
fi
2307
2249
 
2308
2250
# Check whether --enable-pfa was given.
2309
 
if test "${enable_pfa+set}" = set; then
 
2251
if test "${enable_pfa+set}" = set; then :
2310
2252
  enableval=$enable_pfa;
2311
2253
else
2312
2254
  enable_pfa="no"
2313
2255
fi
2314
2256
 
2315
2257
# Check whether --enable-pfb was given.
2316
 
if test "${enable_pfb+set}" = set; then
 
2258
if test "${enable_pfb+set}" = set; then :
2317
2259
  enableval=$enable_pfb;
2318
2260
else
2319
2261
  enable_pfb="no"
2322
2264
if test "x$enable_pfa" = "xyes" -o "x$enable_pfb" = "xyes"; then
2323
2265
 
2324
2266
# Check whether --with-type1dir was given.
2325
 
if test "${with_type1dir+set}" = set; then
 
2267
if test "${with_type1dir+set}" = set; then :
2326
2268
  withval=$with_type1dir; type1dir="$withval"
2327
2269
else
2328
 
  type1dir=\$\{prefix\}/share/fonts/th/Type1
 
2270
  type1dir=\$\{prefix\}/share/fonts/type1/thai
2329
2271
fi
2330
2272
 
2331
 
  { $as_echo "$as_me:$LINENO: checking --with-type1dir" >&5
 
2273
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking --with-type1dir" >&5
2332
2274
$as_echo_n "checking --with-type1dir... " >&6; }
2333
 
  { $as_echo "$as_me:$LINENO: result: \"$type1dir\"" >&5
 
2275
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$type1dir\"" >&5
2334
2276
$as_echo "\"$type1dir\"" >&6; }
2335
2277
 
2336
2278
 
2337
2279
fi
2338
2280
 
2339
2281
# Check whether --enable-otf was given.
2340
 
if test "${enable_otf+set}" = set; then
 
2282
if test "${enable_otf+set}" = set; then :
2341
2283
  enableval=$enable_otf;
2342
2284
else
2343
2285
  enable_otf="no"
2346
2288
if test "x$enable_otf" = "xyes"; then
2347
2289
 
2348
2290
# Check whether --with-otfdir was given.
2349
 
if test "${with_otfdir+set}" = set; then
 
2291
if test "${with_otfdir+set}" = set; then :
2350
2292
  withval=$with_otfdir; otfdir="$withval"
2351
2293
else
2352
 
  otfdir=\$\{prefix\}/share/fonts/th/OTF
 
2294
  otfdir=\$\{prefix\}/share/fonts/opentype/thai
2353
2295
fi
2354
2296
 
2355
 
  { $as_echo "$as_me:$LINENO: checking --with-otfdir" >&5
 
2297
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking --with-otfdir" >&5
2356
2298
$as_echo_n "checking --with-otfdir... " >&6; }
2357
 
  { $as_echo "$as_me:$LINENO: result: \"$otfdir\"" >&5
 
2299
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$otfdir\"" >&5
2358
2300
$as_echo "\"$otfdir\"" >&6; }
2359
2301
 
2360
2302
 
2361
2303
fi
2362
2304
 
2363
2305
# Check whether --enable-testfont was given.
2364
 
if test "${enable_testfont+set}" = set; then
 
2306
if test "${enable_testfont+set}" = set; then :
2365
2307
  enableval=$enable_testfont;
2366
2308
else
2367
2309
  enable_testfont="no"
2370
2312
if test "x$enable_testfont" = "xyes"; then
2371
2313
 
2372
2314
# Check whether --with-testfontdir was given.
2373
 
if test "${with_testfontdir+set}" = set; then
 
2315
if test "${with_testfontdir+set}" = set; then :
2374
2316
  withval=$with_testfontdir; testfontdir="$withval"
2375
2317
else
2376
2318
  testfontdir=\$\{HOME\}/.fonts/testfont
2377
2319
fi
2378
2320
 
2379
 
  { $as_echo "$as_me:$LINENO: checking --with-testfontdir" >&5
 
2321
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking --with-testfontdir" >&5
2380
2322
$as_echo_n "checking --with-testfontdir... " >&6; }
2381
 
  { $as_echo "$as_me:$LINENO: result: \"$testfontdir\"" >&5
 
2323
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$testfontdir\"" >&5
2382
2324
$as_echo "\"$testfontdir\"" >&6; }
2383
2325
 
2384
2326
 
2434
2376
fi
2435
2377
 
2436
2378
 
2437
 
# Find a good install program.  We prefer a C program (faster),
2438
 
# so one script is as good as another.  But avoid the broken or
2439
 
# incompatible versions:
2440
 
# SysV /etc/install, /usr/sbin/install
2441
 
# SunOS /usr/etc/install
2442
 
# IRIX /sbin/install
2443
 
# AIX /bin/install
2444
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
2445
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2446
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2447
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2448
 
# OS/2's system install, which has a completely different semantic
2449
 
# ./install, which can be erroneously created by make from ./install.sh.
2450
 
# Reject install programs that cannot install multiple files.
2451
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2452
 
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2453
 
if test -z "$INSTALL"; then
2454
 
if test "${ac_cv_path_install+set}" = set; then
2455
 
  $as_echo_n "(cached) " >&6
2456
 
else
2457
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2458
 
for as_dir in $PATH
2459
 
do
2460
 
  IFS=$as_save_IFS
2461
 
  test -z "$as_dir" && as_dir=.
2462
 
  # Account for people who put trailing slashes in PATH elements.
2463
 
case $as_dir/ in
2464
 
  ./ | .// | /cC/* | \
2465
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2466
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2467
 
  /usr/ucb/* ) ;;
2468
 
  *)
2469
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
2470
 
    # Don't use installbsd from OSF since it installs stuff as root
2471
 
    # by default.
2472
 
    for ac_prog in ginstall scoinst install; do
2473
 
      for ac_exec_ext in '' $ac_executable_extensions; do
2474
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2475
 
          if test $ac_prog = install &&
2476
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2477
 
            # AIX install.  It has an incompatible calling convention.
2478
 
            :
2479
 
          elif test $ac_prog = install &&
2480
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2481
 
            # program-specific install script used by HP pwplus--don't use.
2482
 
            :
2483
 
          else
2484
 
            rm -rf conftest.one conftest.two conftest.dir
2485
 
            echo one > conftest.one
2486
 
            echo two > conftest.two
2487
 
            mkdir conftest.dir
2488
 
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2489
 
              test -s conftest.one && test -s conftest.two &&
2490
 
              test -s conftest.dir/conftest.one &&
2491
 
              test -s conftest.dir/conftest.two
2492
 
            then
2493
 
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2494
 
              break 3
2495
 
            fi
2496
 
          fi
2497
 
        fi
2498
 
      done
2499
 
    done
2500
 
    ;;
2501
 
esac
2502
 
 
2503
 
done
2504
 
IFS=$as_save_IFS
2505
 
 
2506
 
rm -rf conftest.one conftest.two conftest.dir
2507
 
 
2508
 
fi
2509
 
  if test "${ac_cv_path_install+set}" = set; then
2510
 
    INSTALL=$ac_cv_path_install
2511
 
  else
2512
 
    # As a last resort, use the slow shell script.  Don't cache a
2513
 
    # value for INSTALL within a source directory, because that will
2514
 
    # break other packages using the cache if that directory is
2515
 
    # removed, or if the value is a relative name.
2516
 
    INSTALL=$ac_install_sh
2517
 
  fi
2518
 
fi
2519
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2520
 
$as_echo "$INSTALL" >&6; }
2521
 
 
2522
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2523
 
# It thinks the first close brace ends the variable substitution.
2524
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2525
 
 
2526
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2527
 
 
2528
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2529
 
 
2530
 
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
2379
 
 
2380
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2531
2381
$as_echo_n "checking whether ln -s works... " >&6; }
2532
2382
LN_S=$as_ln_s
2533
2383
if test "$LN_S" = "ln -s"; then
2534
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2384
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2535
2385
$as_echo "yes" >&6; }
2536
2386
else
2537
 
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
2387
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2538
2388
$as_echo "no, using $LN_S" >&6; }
2539
2389
fi
2540
2390
 
2542
2392
do
2543
2393
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2544
2394
set dummy $ac_prog; ac_word=$2
2545
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2395
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2546
2396
$as_echo_n "checking for $ac_word... " >&6; }
2547
 
if test "${ac_cv_prog_RMDIR+set}" = set; then
 
2397
if test "${ac_cv_prog_RMDIR+set}" = set; then :
2548
2398
  $as_echo_n "(cached) " >&6
2549
2399
else
2550
2400
  if test -n "$RMDIR"; then
2555
2405
do
2556
2406
  IFS=$as_save_IFS
2557
2407
  test -z "$as_dir" && as_dir=.
2558
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2408
    for ac_exec_ext in '' $ac_executable_extensions; do
2559
2409
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2560
2410
    ac_cv_prog_RMDIR="$ac_prog"
2561
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2411
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2562
2412
    break 2
2563
2413
  fi
2564
2414
done
2565
 
done
 
2415
  done
2566
2416
IFS=$as_save_IFS
2567
2417
 
2568
2418
fi
2569
2419
fi
2570
2420
RMDIR=$ac_cv_prog_RMDIR
2571
2421
if test -n "$RMDIR"; then
2572
 
  { $as_echo "$as_me:$LINENO: result: $RMDIR" >&5
 
2422
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RMDIR" >&5
2573
2423
$as_echo "$RMDIR" >&6; }
2574
2424
else
2575
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2425
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2576
2426
$as_echo "no" >&6; }
2577
2427
fi
2578
2428
 
2586
2436
do
2587
2437
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2588
2438
set dummy $ac_prog; ac_word=$2
2589
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2439
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2590
2440
$as_echo_n "checking for $ac_word... " >&6; }
2591
 
if test "${ac_cv_prog_FONTFORGE+set}" = set; then
 
2441
if test "${ac_cv_prog_FONTFORGE+set}" = set; then :
2592
2442
  $as_echo_n "(cached) " >&6
2593
2443
else
2594
2444
  if test -n "$FONTFORGE"; then
2599
2449
do
2600
2450
  IFS=$as_save_IFS
2601
2451
  test -z "$as_dir" && as_dir=.
2602
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2452
    for ac_exec_ext in '' $ac_executable_extensions; do
2603
2453
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2604
2454
    ac_cv_prog_FONTFORGE="$ac_prog"
2605
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2455
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2606
2456
    break 2
2607
2457
  fi
2608
2458
done
2609
 
done
 
2459
  done
2610
2460
IFS=$as_save_IFS
2611
2461
 
2612
2462
fi
2613
2463
fi
2614
2464
FONTFORGE=$ac_cv_prog_FONTFORGE
2615
2465
if test -n "$FONTFORGE"; then
2616
 
  { $as_echo "$as_me:$LINENO: result: $FONTFORGE" >&5
 
2466
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
2617
2467
$as_echo "$FONTFORGE" >&6; }
2618
2468
else
2619
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2469
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2620
2470
$as_echo "no" >&6; }
2621
2471
fi
2622
2472
 
2627
2477
 
2628
2478
 
2629
2479
if test "x$FONTFORGE" = "xno"; then
2630
 
  { { $as_echo "$as_me:$LINENO: error: You need fontforge to generate fonts." >&5
2631
 
$as_echo "$as_me: error: You need fontforge to generate fonts." >&2;}
2632
 
   { (exit 1); exit 1; }; }
 
2480
  as_fn_error "You need fontforge to generate fonts." "$LINENO" 5
2633
2481
else
2634
 
  { $as_echo "$as_me:$LINENO: checking for Fontforge >= $FONTFORGE_MIN_VER" >&5
 
2482
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fontforge >= $FONTFORGE_MIN_VER" >&5
2635
2483
$as_echo_n "checking for Fontforge >= $FONTFORGE_MIN_VER... " >&6; }
2636
2484
  FONTFORGE_VER=`$FONTFORGE --version 2>/dev/null | grep '^fontforge' | cut -d' ' -f2`
2637
2485
  if test $FONTFORGE_VER -lt $FONTFORGE_MIN_VER; then
2638
 
    { { $as_echo "$as_me:$LINENO: error: Requires Fontforge >= $FONTFORGE_MIN_VER but $FONTFORGE_VER was found)" >&5
2639
 
$as_echo "$as_me: error: Requires Fontforge >= $FONTFORGE_MIN_VER but $FONTFORGE_VER was found)" >&2;}
2640
 
   { (exit 1); exit 1; }; }
 
2486
    as_fn_error "Requires Fontforge >= $FONTFORGE_MIN_VER but $FONTFORGE_VER was found)" "$LINENO" 5
2641
2487
  fi
2642
 
  { $as_echo "$as_me:$LINENO: result: $FONTFORGE_VER found, ok" >&5
 
2488
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE_VER found, ok" >&5
2643
2489
$as_echo "$FONTFORGE_VER found, ok" >&6; }
2644
2490
fi
2645
2491
 
2650
2496
 
2651
2497
# Extract the first word of "mkfontscale", so it can be a program name with args.
2652
2498
set dummy mkfontscale; ac_word=$2
2653
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2499
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2654
2500
$as_echo_n "checking for $ac_word... " >&6; }
2655
 
if test "${ac_cv_prog_MKFONTSCALE+set}" = set; then
 
2501
if test "${ac_cv_prog_MKFONTSCALE+set}" = set; then :
2656
2502
  $as_echo_n "(cached) " >&6
2657
2503
else
2658
2504
  if test -n "$MKFONTSCALE"; then
2663
2509
do
2664
2510
  IFS=$as_save_IFS
2665
2511
  test -z "$as_dir" && as_dir=.
2666
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2512
    for ac_exec_ext in '' $ac_executable_extensions; do
2667
2513
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2668
2514
    ac_cv_prog_MKFONTSCALE="mkfontscale"
2669
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2515
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2670
2516
    break 2
2671
2517
  fi
2672
2518
done
2673
 
done
 
2519
  done
2674
2520
IFS=$as_save_IFS
2675
2521
 
2676
2522
fi
2677
2523
fi
2678
2524
MKFONTSCALE=$ac_cv_prog_MKFONTSCALE
2679
2525
if test -n "$MKFONTSCALE"; then
2680
 
  { $as_echo "$as_me:$LINENO: result: $MKFONTSCALE" >&5
 
2526
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKFONTSCALE" >&5
2681
2527
$as_echo "$MKFONTSCALE" >&6; }
2682
2528
else
2683
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2529
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2684
2530
$as_echo "no" >&6; }
2685
2531
fi
2686
2532
 
2702
2548
  if test "x$MKFONTSCALE" = "x"; then
2703
2549
    # Extract the first word of "ttmkfdir", so it can be a program name with args.
2704
2550
set dummy ttmkfdir; ac_word=$2
2705
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2551
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2706
2552
$as_echo_n "checking for $ac_word... " >&6; }
2707
 
if test "${ac_cv_prog_TTMKFDIR+set}" = set; then
 
2553
if test "${ac_cv_prog_TTMKFDIR+set}" = set; then :
2708
2554
  $as_echo_n "(cached) " >&6
2709
2555
else
2710
2556
  if test -n "$TTMKFDIR"; then
2715
2561
do
2716
2562
  IFS=$as_save_IFS
2717
2563
  test -z "$as_dir" && as_dir=.
2718
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2564
    for ac_exec_ext in '' $ac_executable_extensions; do
2719
2565
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2720
2566
    ac_cv_prog_TTMKFDIR="ttmkfdir"
2721
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2567
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2722
2568
    break 2
2723
2569
  fi
2724
2570
done
2725
 
done
 
2571
  done
2726
2572
IFS=$as_save_IFS
2727
2573
 
2728
2574
fi
2729
2575
fi
2730
2576
TTMKFDIR=$ac_cv_prog_TTMKFDIR
2731
2577
if test -n "$TTMKFDIR"; then
2732
 
  { $as_echo "$as_me:$LINENO: result: $TTMKFDIR" >&5
 
2578
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TTMKFDIR" >&5
2733
2579
$as_echo "$TTMKFDIR" >&6; }
2734
2580
else
2735
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2581
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2736
2582
$as_echo "no" >&6; }
2737
2583
fi
2738
2584
 
2739
2585
 
2740
2586
    if test "x$TTMKFDIR" = "x"; then
2741
 
      { { $as_echo "$as_me:$LINENO: error: You need mkfontscale or ttmkfdir" >&5
2742
 
$as_echo "$as_me: error: You need mkfontscale or ttmkfdir" >&2;}
2743
 
   { (exit 1); exit 1; }; }
 
2587
      as_fn_error "You need mkfontscale or ttmkfdir" "$LINENO" 5
2744
2588
    else
2745
2589
      if (ttmkfdir -h 2>&1 | grep -- --encoding >/dev/null); then
2746
2590
        # ttmkfdir 2
2753
2597
  else
2754
2598
    TTMKFDIR="$MKFONTSCALE"
2755
2599
  fi
2756
 
  { $as_echo "$as_me:$LINENO: result: Will create fonts.scale for TTF using $TTMKFDIR" >&5
 
2600
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Will create fonts.scale for TTF using $TTMKFDIR" >&5
2757
2601
$as_echo "Will create fonts.scale for TTF using $TTMKFDIR" >&6; }
2758
2602
fi
2759
2603
 
2761
2605
  if test "x$MKFONTSCALE" = "x"; then
2762
2606
    # Extract the first word of "type1inst", so it can be a program name with args.
2763
2607
set dummy type1inst; ac_word=$2
2764
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2608
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2765
2609
$as_echo_n "checking for $ac_word... " >&6; }
2766
 
if test "${ac_cv_prog_TYPE1INST+set}" = set; then
 
2610
if test "${ac_cv_prog_TYPE1INST+set}" = set; then :
2767
2611
  $as_echo_n "(cached) " >&6
2768
2612
else
2769
2613
  if test -n "$TYPE1INST"; then
2774
2618
do
2775
2619
  IFS=$as_save_IFS
2776
2620
  test -z "$as_dir" && as_dir=.
2777
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2621
    for ac_exec_ext in '' $ac_executable_extensions; do
2778
2622
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2779
2623
    ac_cv_prog_TYPE1INST="type1inst"
2780
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2624
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2781
2625
    break 2
2782
2626
  fi
2783
2627
done
2784
 
done
 
2628
  done
2785
2629
IFS=$as_save_IFS
2786
2630
 
2787
2631
fi
2788
2632
fi
2789
2633
TYPE1INST=$ac_cv_prog_TYPE1INST
2790
2634
if test -n "$TYPE1INST"; then
2791
 
  { $as_echo "$as_me:$LINENO: result: $TYPE1INST" >&5
 
2635
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TYPE1INST" >&5
2792
2636
$as_echo "$TYPE1INST" >&6; }
2793
2637
else
2794
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2638
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2795
2639
$as_echo "no" >&6; }
2796
2640
fi
2797
2641
 
2798
2642
 
2799
2643
    if test "x$TYPE1INST" = "x"; then
2800
 
      { { $as_echo "$as_me:$LINENO: error: You need mkfontscale or type1inst" >&5
2801
 
$as_echo "$as_me: error: You need mkfontscale or type1inst" >&2;}
2802
 
   { (exit 1); exit 1; }; }
 
2644
      as_fn_error "You need mkfontscale or type1inst" "$LINENO" 5
2803
2645
    fi
2804
2646
  else
2805
2647
    TYPE1INST="$MKFONTSCALE"
2806
2648
  fi
2807
 
  { $as_echo "$as_me:$LINENO: result: Will create fonts.scale for Type1 using $TYPE1INST" >&5
 
2649
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Will create fonts.scale for Type1 using $TYPE1INST" >&5
2808
2650
$as_echo "Will create fonts.scale for Type1 using $TYPE1INST" >&6; }
2809
2651
fi
2810
2652
 
2811
2653
# Extract the first word of "mkfontdir", so it can be a program name with args.
2812
2654
set dummy mkfontdir; ac_word=$2
2813
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2655
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2814
2656
$as_echo_n "checking for $ac_word... " >&6; }
2815
 
if test "${ac_cv_prog_MKFONTDIR+set}" = set; then
 
2657
if test "${ac_cv_prog_MKFONTDIR+set}" = set; then :
2816
2658
  $as_echo_n "(cached) " >&6
2817
2659
else
2818
2660
  if test -n "$MKFONTDIR"; then
2823
2665
do
2824
2666
  IFS=$as_save_IFS
2825
2667
  test -z "$as_dir" && as_dir=.
2826
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2668
    for ac_exec_ext in '' $ac_executable_extensions; do
2827
2669
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2828
2670
    ac_cv_prog_MKFONTDIR="mkfontdir"
2829
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2671
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2830
2672
    break 2
2831
2673
  fi
2832
2674
done
2833
 
done
 
2675
  done
2834
2676
IFS=$as_save_IFS
2835
2677
 
2836
2678
fi
2837
2679
fi
2838
2680
MKFONTDIR=$ac_cv_prog_MKFONTDIR
2839
2681
if test -n "$MKFONTDIR"; then
2840
 
  { $as_echo "$as_me:$LINENO: result: $MKFONTDIR" >&5
 
2682
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKFONTDIR" >&5
2841
2683
$as_echo "$MKFONTDIR" >&6; }
2842
2684
else
2843
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2685
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2844
2686
$as_echo "no" >&6; }
2845
2687
fi
2846
2688
 
2857
2699
if test "x$MKFONTDIR" = "xmkfontdir" && test "x$ENCDIR" != "x"; then
2858
2700
  MKFONTDIR="$MKFONTDIR -e $ENCDIR"
2859
2701
fi
2860
 
{ $as_echo "$as_me:$LINENO: result: Will create fonts.dir $MKFONTDIR" >&5
 
2702
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Will create fonts.dir $MKFONTDIR" >&5
2861
2703
$as_echo "Will create fonts.dir $MKFONTDIR" >&6; }
2862
2704
 
2863
2705
# Extract the first word of "fc-cache", so it can be a program name with args.
2864
2706
set dummy fc-cache; ac_word=$2
2865
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2707
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2866
2708
$as_echo_n "checking for $ac_word... " >&6; }
2867
 
if test "${ac_cv_prog_FCCACHE+set}" = set; then
 
2709
if test "${ac_cv_prog_FCCACHE+set}" = set; then :
2868
2710
  $as_echo_n "(cached) " >&6
2869
2711
else
2870
2712
  if test -n "$FCCACHE"; then
2875
2717
do
2876
2718
  IFS=$as_save_IFS
2877
2719
  test -z "$as_dir" && as_dir=.
2878
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2720
    for ac_exec_ext in '' $ac_executable_extensions; do
2879
2721
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2880
2722
    ac_cv_prog_FCCACHE="fc-cache"
2881
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2723
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2882
2724
    break 2
2883
2725
  fi
2884
2726
done
2885
 
done
 
2727
  done
2886
2728
IFS=$as_save_IFS
2887
2729
 
2888
2730
fi
2889
2731
fi
2890
2732
FCCACHE=$ac_cv_prog_FCCACHE
2891
2733
if test -n "$FCCACHE"; then
2892
 
  { $as_echo "$as_me:$LINENO: result: $FCCACHE" >&5
 
2734
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FCCACHE" >&5
2893
2735
$as_echo "$FCCACHE" >&6; }
2894
2736
else
2895
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2737
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2896
2738
$as_echo "no" >&6; }
2897
2739
fi
2898
2740
 
2927
2769
    case $ac_val in #(
2928
2770
    *${as_nl}*)
2929
2771
      case $ac_var in #(
2930
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
2772
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2931
2773
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2932
2774
      esac
2933
2775
      case $ac_var in #(
2934
2776
      _ | IFS | as_nl) ;; #(
2935
2777
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2936
 
      *) $as_unset $ac_var ;;
 
2778
      *) { eval $ac_var=; unset $ac_var;} ;;
2937
2779
      esac ;;
2938
2780
    esac
2939
2781
  done
2941
2783
  (set) 2>&1 |
2942
2784
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
2943
2785
    *${as_nl}ac_space=\ *)
2944
 
      # `set' does not quote correctly, so add quotes (double-quote
2945
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
2786
      # `set' does not quote correctly, so add quotes: double-quote
 
2787
      # substitution turns \\\\ into \\, and sed turns \\ into \.
2946
2788
      sed -n \
2947
2789
        "s/'/'\\\\''/g;
2948
2790
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2965
2807
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2966
2808
  if test -w "$cache_file"; then
2967
2809
    test "x$cache_file" != "x/dev/null" &&
2968
 
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
2810
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2969
2811
$as_echo "$as_me: updating cache $cache_file" >&6;}
2970
2812
    cat confcache >$cache_file
2971
2813
  else
2972
 
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
2814
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2973
2815
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2974
2816
  fi
2975
2817
fi
3025
2867
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3026
2868
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
3027
2869
  #    will be set to the directory where LIBOBJS objects are built.
3028
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3029
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
2870
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
2871
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3030
2872
done
3031
2873
LIBOBJS=$ac_libobjs
3032
2874
 
3033
2875
LTLIBOBJS=$ac_ltlibobjs
3034
2876
 
3035
2877
 
 
2878
 
3036
2879
if test -z "${INCLUDE_TTF_TRUE}" && test -z "${INCLUDE_TTF_FALSE}"; then
3037
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"INCLUDE_TTF\" was never defined.
3038
 
Usually this means the macro was only invoked conditionally." >&5
3039
 
$as_echo "$as_me: error: conditional \"INCLUDE_TTF\" was never defined.
3040
 
Usually this means the macro was only invoked conditionally." >&2;}
3041
 
   { (exit 1); exit 1; }; }
 
2880
  as_fn_error "conditional \"INCLUDE_TTF\" was never defined.
 
2881
Usually this means the macro was only invoked conditionally." "$LINENO" 5
3042
2882
fi
3043
2883
if test -z "${INCLUDE_PFA_TRUE}" && test -z "${INCLUDE_PFA_FALSE}"; then
3044
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"INCLUDE_PFA\" was never defined.
3045
 
Usually this means the macro was only invoked conditionally." >&5
3046
 
$as_echo "$as_me: error: conditional \"INCLUDE_PFA\" was never defined.
3047
 
Usually this means the macro was only invoked conditionally." >&2;}
3048
 
   { (exit 1); exit 1; }; }
 
2884
  as_fn_error "conditional \"INCLUDE_PFA\" was never defined.
 
2885
Usually this means the macro was only invoked conditionally." "$LINENO" 5
3049
2886
fi
3050
2887
if test -z "${INCLUDE_PFB_TRUE}" && test -z "${INCLUDE_PFB_FALSE}"; then
3051
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"INCLUDE_PFB\" was never defined.
3052
 
Usually this means the macro was only invoked conditionally." >&5
3053
 
$as_echo "$as_me: error: conditional \"INCLUDE_PFB\" was never defined.
3054
 
Usually this means the macro was only invoked conditionally." >&2;}
3055
 
   { (exit 1); exit 1; }; }
 
2888
  as_fn_error "conditional \"INCLUDE_PFB\" was never defined.
 
2889
Usually this means the macro was only invoked conditionally." "$LINENO" 5
3056
2890
fi
3057
2891
if test -z "${INCLUDE_TYPE1_TRUE}" && test -z "${INCLUDE_TYPE1_FALSE}"; then
3058
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"INCLUDE_TYPE1\" was never defined.
3059
 
Usually this means the macro was only invoked conditionally." >&5
3060
 
$as_echo "$as_me: error: conditional \"INCLUDE_TYPE1\" was never defined.
3061
 
Usually this means the macro was only invoked conditionally." >&2;}
3062
 
   { (exit 1); exit 1; }; }
 
2892
  as_fn_error "conditional \"INCLUDE_TYPE1\" was never defined.
 
2893
Usually this means the macro was only invoked conditionally." "$LINENO" 5
3063
2894
fi
3064
2895
if test -z "${INCLUDE_OTF_TRUE}" && test -z "${INCLUDE_OTF_FALSE}"; then
3065
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"INCLUDE_OTF\" was never defined.
3066
 
Usually this means the macro was only invoked conditionally." >&5
3067
 
$as_echo "$as_me: error: conditional \"INCLUDE_OTF\" was never defined.
3068
 
Usually this means the macro was only invoked conditionally." >&2;}
3069
 
   { (exit 1); exit 1; }; }
 
2896
  as_fn_error "conditional \"INCLUDE_OTF\" was never defined.
 
2897
Usually this means the macro was only invoked conditionally." "$LINENO" 5
3070
2898
fi
3071
2899
if test -z "${INCLUDE_TESTFONT_TRUE}" && test -z "${INCLUDE_TESTFONT_FALSE}"; then
3072
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"INCLUDE_TESTFONT\" was never defined.
3073
 
Usually this means the macro was only invoked conditionally." >&5
3074
 
$as_echo "$as_me: error: conditional \"INCLUDE_TESTFONT\" was never defined.
3075
 
Usually this means the macro was only invoked conditionally." >&2;}
3076
 
   { (exit 1); exit 1; }; }
 
2900
  as_fn_error "conditional \"INCLUDE_TESTFONT\" was never defined.
 
2901
Usually this means the macro was only invoked conditionally." "$LINENO" 5
3077
2902
fi
3078
2903
 
3079
2904
: ${CONFIG_STATUS=./config.status}
3080
2905
ac_write_fail=0
3081
2906
ac_clean_files_save=$ac_clean_files
3082
2907
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3083
 
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
2908
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3084
2909
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3085
 
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
2910
as_write_fail=0
 
2911
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3086
2912
#! $SHELL
3087
2913
# Generated by $as_me.
3088
2914
# Run this file to recreate the current configuration.
3092
2918
debug=false
3093
2919
ac_cs_recheck=false
3094
2920
ac_cs_silent=false
 
2921
 
3095
2922
SHELL=\${CONFIG_SHELL-$SHELL}
3096
 
_ACEOF
3097
 
 
3098
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3099
 
## --------------------- ##
3100
 
## M4sh Initialization.  ##
3101
 
## --------------------- ##
 
2923
export SHELL
 
2924
_ASEOF
 
2925
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
2926
## -------------------- ##
 
2927
## M4sh Initialization. ##
 
2928
## -------------------- ##
3102
2929
 
3103
2930
# Be more Bourne compatible
3104
2931
DUALCASE=1; export DUALCASE # for MKS sh
3105
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
2932
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3106
2933
  emulate sh
3107
2934
  NULLCMD=:
3108
2935
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3110
2937
  alias -g '${1+"$@"}'='"$@"'
3111
2938
  setopt NO_GLOB_SUBST
3112
2939
else
3113
 
  case `(set -o) 2>/dev/null` in
3114
 
  *posix*) set -o posix ;;
 
2940
  case `(set -o) 2>/dev/null` in #(
 
2941
  *posix*) :
 
2942
    set -o posix ;; #(
 
2943
  *) :
 
2944
     ;;
3115
2945
esac
3116
 
 
3117
2946
fi
3118
2947
 
3119
2948
 
3120
 
 
3121
 
 
3122
 
# PATH needs CR
3123
 
# Avoid depending upon Character Ranges.
3124
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3125
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3126
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3127
 
as_cr_digits='0123456789'
3128
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
3129
 
 
3130
2949
as_nl='
3131
2950
'
3132
2951
export as_nl
3134
2953
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3135
2954
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3136
2955
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3137
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
2956
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
2957
# but without wasting forks for bash or zsh.
 
2958
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
2959
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
2960
  as_echo='print -r --'
 
2961
  as_echo_n='print -rn --'
 
2962
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3138
2963
  as_echo='printf %s\n'
3139
2964
  as_echo_n='printf %s'
3140
2965
else
3145
2970
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3146
2971
    as_echo_n_body='eval
3147
2972
      arg=$1;
3148
 
      case $arg in
 
2973
      case $arg in #(
3149
2974
      *"$as_nl"*)
3150
2975
        expr "X$arg" : "X\\(.*\\)$as_nl";
3151
2976
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3168
2993
  }
3169
2994
fi
3170
2995
 
3171
 
# Support unset when possible.
3172
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3173
 
  as_unset=unset
3174
 
else
3175
 
  as_unset=false
3176
 
fi
3177
 
 
3178
2996
 
3179
2997
# IFS
3180
2998
# We need space, tab and new line, in precisely that order.  Quoting is
3184
3002
IFS=" ""        $as_nl"
3185
3003
 
3186
3004
# Find who we are.  Look in the path if we contain no directory separator.
3187
 
case $0 in
 
3005
case $0 in #((
3188
3006
  *[\\/]* ) as_myself=$0 ;;
3189
3007
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3190
3008
for as_dir in $PATH
3191
3009
do
3192
3010
  IFS=$as_save_IFS
3193
3011
  test -z "$as_dir" && as_dir=.
3194
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3195
 
done
 
3012
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
3013
  done
3196
3014
IFS=$as_save_IFS
3197
3015
 
3198
3016
     ;;
3204
3022
fi
3205
3023
if test ! -f "$as_myself"; then
3206
3024
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3207
 
  { (exit 1); exit 1; }
 
3025
  exit 1
3208
3026
fi
3209
3027
 
3210
 
# Work around bugs in pre-3.0 UWIN ksh.
3211
 
for as_var in ENV MAIL MAILPATH
3212
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
3028
# Unset variables that we do not need and which cause bugs (e.g. in
 
3029
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
3030
# suppresses any "Segmentation fault" message there.  '((' could
 
3031
# trigger a bug in pdksh 5.2.14.
 
3032
for as_var in BASH_ENV ENV MAIL MAILPATH
 
3033
do eval test x\${$as_var+set} = xset \
 
3034
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3213
3035
done
3214
3036
PS1='$ '
3215
3037
PS2='> '
3221
3043
LANGUAGE=C
3222
3044
export LANGUAGE
3223
3045
 
3224
 
# Required to use basename.
 
3046
# CDPATH.
 
3047
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
3048
 
 
3049
 
 
3050
# as_fn_error ERROR [LINENO LOG_FD]
 
3051
# ---------------------------------
 
3052
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
3053
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
3054
# script with status $?, using 1 if that was 0.
 
3055
as_fn_error ()
 
3056
{
 
3057
  as_status=$?; test $as_status -eq 0 && as_status=1
 
3058
  if test "$3"; then
 
3059
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
3060
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
3061
  fi
 
3062
  $as_echo "$as_me: error: $1" >&2
 
3063
  as_fn_exit $as_status
 
3064
} # as_fn_error
 
3065
 
 
3066
 
 
3067
# as_fn_set_status STATUS
 
3068
# -----------------------
 
3069
# Set $? to STATUS, without forking.
 
3070
as_fn_set_status ()
 
3071
{
 
3072
  return $1
 
3073
} # as_fn_set_status
 
3074
 
 
3075
# as_fn_exit STATUS
 
3076
# -----------------
 
3077
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
3078
as_fn_exit ()
 
3079
{
 
3080
  set +e
 
3081
  as_fn_set_status $1
 
3082
  exit $1
 
3083
} # as_fn_exit
 
3084
 
 
3085
# as_fn_unset VAR
 
3086
# ---------------
 
3087
# Portably unset VAR.
 
3088
as_fn_unset ()
 
3089
{
 
3090
  { eval $1=; unset $1;}
 
3091
}
 
3092
as_unset=as_fn_unset
 
3093
# as_fn_append VAR VALUE
 
3094
# ----------------------
 
3095
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
3096
# advantage of any shell optimizations that allow amortized linear growth over
 
3097
# repeated appends, instead of the typical quadratic growth present in naive
 
3098
# implementations.
 
3099
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
3100
  eval 'as_fn_append ()
 
3101
  {
 
3102
    eval $1+=\$2
 
3103
  }'
 
3104
else
 
3105
  as_fn_append ()
 
3106
  {
 
3107
    eval $1=\$$1\$2
 
3108
  }
 
3109
fi # as_fn_append
 
3110
 
 
3111
# as_fn_arith ARG...
 
3112
# ------------------
 
3113
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
3114
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
3115
# must be portable across $(()) and expr.
 
3116
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
3117
  eval 'as_fn_arith ()
 
3118
  {
 
3119
    as_val=$(( $* ))
 
3120
  }'
 
3121
else
 
3122
  as_fn_arith ()
 
3123
  {
 
3124
    as_val=`expr "$@" || test $? -eq 1`
 
3125
  }
 
3126
fi # as_fn_arith
 
3127
 
 
3128
 
3225
3129
if expr a : '\(a\)' >/dev/null 2>&1 &&
3226
3130
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
3227
3131
  as_expr=expr
3235
3139
  as_basename=false
3236
3140
fi
3237
3141
 
 
3142
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
3143
  as_dirname=dirname
 
3144
else
 
3145
  as_dirname=false
 
3146
fi
3238
3147
 
3239
 
# Name of the executable.
3240
3148
as_me=`$as_basename -- "$0" ||
3241
3149
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3242
3150
         X"$0" : 'X\(//\)$' \| \
3256
3164
          }
3257
3165
          s/.*/./; q'`
3258
3166
 
3259
 
# CDPATH.
3260
 
$as_unset CDPATH
3261
 
 
3262
 
 
3263
 
 
3264
 
  as_lineno_1=$LINENO
3265
 
  as_lineno_2=$LINENO
3266
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
3267
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3268
 
 
3269
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3270
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
3271
 
  # line-number line after each line using $LINENO; the second 'sed'
3272
 
  # does the real work.  The second script uses 'N' to pair each
3273
 
  # line-number line with the line containing $LINENO, and appends
3274
 
  # trailing '-' during substitution so that $LINENO is not a special
3275
 
  # case at line end.
3276
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3277
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
3278
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
3279
 
  sed -n '
3280
 
    p
3281
 
    /[$]LINENO/=
3282
 
  ' <$as_myself |
3283
 
    sed '
3284
 
      s/[$]LINENO.*/&-/
3285
 
      t lineno
3286
 
      b
3287
 
      :lineno
3288
 
      N
3289
 
      :loop
3290
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3291
 
      t loop
3292
 
      s/-\n.*//
3293
 
    ' >$as_me.lineno &&
3294
 
  chmod +x "$as_me.lineno" ||
3295
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3296
 
   { (exit 1); exit 1; }; }
3297
 
 
3298
 
  # Don't try to exec as it changes $[0], causing all sort of problems
3299
 
  # (the dirname of $[0] is not the place where we might find the
3300
 
  # original and so on.  Autoconf is especially sensitive to this).
3301
 
  . "./$as_me.lineno"
3302
 
  # Exit status is that of the last command.
3303
 
  exit
3304
 
}
3305
 
 
3306
 
 
3307
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3308
 
  as_dirname=dirname
3309
 
else
3310
 
  as_dirname=false
3311
 
fi
 
3167
# Avoid depending upon Character Ranges.
 
3168
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
3169
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
3170
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
3171
as_cr_digits='0123456789'
 
3172
as_cr_alnum=$as_cr_Letters$as_cr_digits
3312
3173
 
3313
3174
ECHO_C= ECHO_N= ECHO_T=
3314
 
case `echo -n x` in
 
3175
case `echo -n x` in #(((((
3315
3176
-n*)
3316
 
  case `echo 'x\c'` in
 
3177
  case `echo 'xy\c'` in
3317
3178
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
3318
 
  *)   ECHO_C='\c';;
 
3179
  xy)  ECHO_C='\c';;
 
3180
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
3181
       ECHO_T=' ';;
3319
3182
  esac;;
3320
3183
*)
3321
3184
  ECHO_N='-n';;
3322
3185
esac
3323
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
3324
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
3325
 
  as_expr=expr
3326
 
else
3327
 
  as_expr=false
3328
 
fi
3329
3186
 
3330
3187
rm -f conf$$ conf$$.exe conf$$.file
3331
3188
if test -d conf$$.dir; then
3354
3211
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3355
3212
rmdir conf$$.dir 2>/dev/null
3356
3213
 
 
3214
 
 
3215
# as_fn_mkdir_p
 
3216
# -------------
 
3217
# Create "$as_dir" as a directory, including parents if necessary.
 
3218
as_fn_mkdir_p ()
 
3219
{
 
3220
 
 
3221
  case $as_dir in #(
 
3222
  -*) as_dir=./$as_dir;;
 
3223
  esac
 
3224
  test -d "$as_dir" || eval $as_mkdir_p || {
 
3225
    as_dirs=
 
3226
    while :; do
 
3227
      case $as_dir in #(
 
3228
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
3229
      *) as_qdir=$as_dir;;
 
3230
      esac
 
3231
      as_dirs="'$as_qdir' $as_dirs"
 
3232
      as_dir=`$as_dirname -- "$as_dir" ||
 
3233
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
3234
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
3235
         X"$as_dir" : 'X\(//\)$' \| \
 
3236
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
3237
$as_echo X"$as_dir" |
 
3238
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
3239
            s//\1/
 
3240
            q
 
3241
          }
 
3242
          /^X\(\/\/\)[^/].*/{
 
3243
            s//\1/
 
3244
            q
 
3245
          }
 
3246
          /^X\(\/\/\)$/{
 
3247
            s//\1/
 
3248
            q
 
3249
          }
 
3250
          /^X\(\/\).*/{
 
3251
            s//\1/
 
3252
            q
 
3253
          }
 
3254
          s/.*/./; q'`
 
3255
      test -d "$as_dir" && break
 
3256
    done
 
3257
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
3258
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
3259
 
 
3260
 
 
3261
} # as_fn_mkdir_p
3357
3262
if mkdir -p . 2>/dev/null; then
3358
 
  as_mkdir_p=:
 
3263
  as_mkdir_p='mkdir -p "$as_dir"'
3359
3264
else
3360
3265
  test -d ./-p && rmdir ./-p
3361
3266
  as_mkdir_p=false
3374
3279
      if test -d "$1"; then
3375
3280
        test -d "$1/.";
3376
3281
      else
3377
 
        case $1 in
 
3282
        case $1 in #(
3378
3283
        -*)set "./$1";;
3379
3284
        esac;
3380
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
3285
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3381
3286
        ???[sx]*):;;*)false;;esac;fi
3382
3287
    '\'' sh
3383
3288
  '
3392
3297
 
3393
3298
 
3394
3299
exec 6>&1
 
3300
## ----------------------------------- ##
 
3301
## Main body of $CONFIG_STATUS script. ##
 
3302
## ----------------------------------- ##
 
3303
_ASEOF
 
3304
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3395
3305
 
3396
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
3306
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
3307
# Save the log message, to keep $0 and so on meaningful, and to
3397
3308
# report actual input values of CONFIG_FILES etc. instead of their
3398
3309
# values after options handling.
3399
3310
ac_log="
3400
 
This file was extended by thaifonts-scalable $as_me 0.4.13, which was
3401
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
3311
This file was extended by thaifonts-scalable $as_me 0.4.14, which was
 
3312
generated by GNU Autoconf 2.65.  Invocation command line was
3402
3313
 
3403
3314
  CONFIG_FILES    = $CONFIG_FILES
3404
3315
  CONFIG_HEADERS  = $CONFIG_HEADERS
3425
3336
 
3426
3337
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3427
3338
ac_cs_usage="\
3428
 
\`$as_me' instantiates files from templates according to the
3429
 
current configuration.
 
3339
\`$as_me' instantiates files and other configuration actions
 
3340
from templates according to the current configuration.  Unless the files
 
3341
and actions are specified as TAGs, all are instantiated by default.
3430
3342
 
3431
 
Usage: $0 [OPTION]... [FILE]...
 
3343
Usage: $0 [OPTION]... [TAG]...
3432
3344
 
3433
3345
  -h, --help       print this help, then exit
3434
3346
  -V, --version    print version number and configuration settings, then exit
 
3347
      --config     print configuration, then exit
3435
3348
  -q, --quiet, --silent
3436
3349
                   do not print progress messages
3437
3350
  -d, --debug      don't remove temporary files
3442
3355
Configuration files:
3443
3356
$config_files
3444
3357
 
3445
 
Report bugs to <bug-autoconf@gnu.org>."
 
3358
Report bugs to the package provider."
3446
3359
 
3447
3360
_ACEOF
3448
3361
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
3362
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3449
3363
ac_cs_version="\\
3450
 
thaifonts-scalable config.status 0.4.13
3451
 
configured by $0, generated by GNU Autoconf 2.63,
3452
 
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
3364
thaifonts-scalable config.status 0.4.14
 
3365
configured by $0, generated by GNU Autoconf 2.65,
 
3366
  with options \\"\$ac_cs_config\\"
3453
3367
 
3454
 
Copyright (C) 2008 Free Software Foundation, Inc.
 
3368
Copyright (C) 2009 Free Software Foundation, Inc.
3455
3369
This config.status script is free software; the Free Software Foundation
3456
3370
gives unlimited permission to copy, distribute and modify it."
3457
3371
 
3487
3401
    ac_cs_recheck=: ;;
3488
3402
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3489
3403
    $as_echo "$ac_cs_version"; exit ;;
 
3404
  --config | --confi | --conf | --con | --co | --c )
 
3405
    $as_echo "$ac_cs_config"; exit ;;
3490
3406
  --debug | --debu | --deb | --de | --d | -d )
3491
3407
    debug=: ;;
3492
3408
  --file | --fil | --fi | --f )
3494
3410
    case $ac_optarg in
3495
3411
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3496
3412
    esac
3497
 
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
3413
    as_fn_append CONFIG_FILES " '$ac_optarg'"
3498
3414
    ac_need_defaults=false;;
3499
3415
  --he | --h |  --help | --hel | -h )
3500
3416
    $as_echo "$ac_cs_usage"; exit ;;
3503
3419
    ac_cs_silent=: ;;
3504
3420
 
3505
3421
  # This is an error.
3506
 
  -*) { $as_echo "$as_me: error: unrecognized option: $1
3507
 
Try \`$0 --help' for more information." >&2
3508
 
   { (exit 1); exit 1; }; } ;;
 
3422
  -*) as_fn_error "unrecognized option: \`$1'
 
3423
Try \`$0 --help' for more information." ;;
3509
3424
 
3510
 
  *) ac_config_targets="$ac_config_targets $1"
 
3425
  *) as_fn_append ac_config_targets " $1"
3511
3426
     ac_need_defaults=false ;;
3512
3427
 
3513
3428
  esac
3562
3477
    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3563
3478
    "thaifonts-scalable.spec") CONFIG_FILES="$CONFIG_FILES thaifonts-scalable.spec" ;;
3564
3479
 
3565
 
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3566
 
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3567
 
   { (exit 1); exit 1; }; };;
 
3480
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3568
3481
  esac
3569
3482
done
3570
3483
 
3589
3502
  trap 'exit_status=$?
3590
3503
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3591
3504
' 0
3592
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
3505
  trap 'as_fn_exit 1' 1 2 13 15
3593
3506
}
3594
3507
# Create a (secure) tmp directory for tmp files.
3595
3508
 
3600
3513
{
3601
3514
  tmp=./conf$$-$RANDOM
3602
3515
  (umask 077 && mkdir "$tmp")
3603
 
} ||
3604
 
{
3605
 
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
3606
 
   { (exit 1); exit 1; }
3607
 
}
 
3516
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
3608
3517
 
3609
3518
# Set up the scripts for CONFIG_FILES section.
3610
3519
# No need to generate them if there are no CONFIG_FILES.
3612
3521
if test -n "$CONFIG_FILES"; then
3613
3522
 
3614
3523
 
3615
 
ac_cr='
 
 
b"'"
 
3524
ac_cr=`echo X | tr X '\015'`
 
3525
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
3526
# But we know of no other shell where ac_cr would be empty at this
 
3527
# point, so we can use a bashism as a fallback.
 
3528
if test "x$ac_cr" = x; then
 
3529
  eval ac_cr=\$\'\\r\'
 
3530
fi
3616
3531
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3617
3532
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3618
 
  ac_cs_awk_cr='\\r'
 
3533
  ac_cs_awk_cr='\r'
3619
3534
else
3620
3535
  ac_cs_awk_cr=$ac_cr
3621
3536
fi
3629
3544
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3630
3545
  echo "_ACEOF"
3631
3546
} >conf$$subs.sh ||
3632
 
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3633
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3634
 
   { (exit 1); exit 1; }; }
 
3547
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3635
3548
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3636
3549
ac_delim='%!_!# '
3637
3550
for ac_last_try in false false false false false :; do
3638
3551
  . ./conf$$subs.sh ||
3639
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3640
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3641
 
   { (exit 1); exit 1; }; }
 
3552
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3642
3553
 
3643
3554
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3644
3555
  if test $ac_delim_n = $ac_delim_num; then
3645
3556
    break
3646
3557
  elif $ac_last_try; then
3647
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3648
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3649
 
   { (exit 1); exit 1; }; }
 
3558
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3650
3559
  else
3651
3560
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3652
3561
  fi
3668
3577
t delim
3669
3578
:nl
3670
3579
h
3671
 
s/\(.\{148\}\).*/\1/
 
3580
s/\(.\{148\}\)..*/\1/
3672
3581
t more1
3673
3582
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3674
3583
p
3682
3591
t nl
3683
3592
:delim
3684
3593
h
3685
 
s/\(.\{148\}\).*/\1/
 
3594
s/\(.\{148\}\)..*/\1/
3686
3595
t more2
3687
3596
s/["\\]/\\&/g; s/^/"/; s/$/"/
3688
3597
p
3735
3644
else
3736
3645
  cat
3737
3646
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
3738
 
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
3739
 
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
3740
 
   { (exit 1); exit 1; }; }
 
3647
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
3741
3648
_ACEOF
3742
3649
 
3743
3650
# VPATH may cause trouble with some makes, so we remove $(srcdir),
3768
3675
  esac
3769
3676
  case $ac_mode$ac_tag in
3770
3677
  :[FHL]*:*);;
3771
 
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
3772
 
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
3773
 
   { (exit 1); exit 1; }; };;
 
3678
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
3774
3679
  :[FH]-) ac_tag=-:-;;
3775
3680
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3776
3681
  esac
3798
3703
           [\\/$]*) false;;
3799
3704
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3800
3705
           esac ||
3801
 
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3802
 
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3803
 
   { (exit 1); exit 1; }; };;
 
3706
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3804
3707
      esac
3805
3708
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3806
 
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
3709
      as_fn_append ac_file_inputs " '$ac_f'"
3807
3710
    done
3808
3711
 
3809
3712
    # Let's still pretend it is `configure' which instantiates (i.e., don't
3814
3717
        `' by configure.'
3815
3718
    if test x"$ac_file" != x-; then
3816
3719
      configure_input="$ac_file.  $configure_input"
3817
 
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
3720
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3818
3721
$as_echo "$as_me: creating $ac_file" >&6;}
3819
3722
    fi
3820
3723
    # Neutralize special characters interpreted by sed in replacement strings.
3827
3730
 
3828
3731
    case $ac_tag in
3829
3732
    *:-:* | *:-) cat >"$tmp/stdin" \
3830
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
3831
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
3832
 
   { (exit 1); exit 1; }; } ;;
 
3733
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
3833
3734
    esac
3834
3735
    ;;
3835
3736
  esac
3857
3758
            q
3858
3759
          }
3859
3760
          s/.*/./; q'`
3860
 
  { as_dir="$ac_dir"
3861
 
  case $as_dir in #(
3862
 
  -*) as_dir=./$as_dir;;
3863
 
  esac
3864
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3865
 
    as_dirs=
3866
 
    while :; do
3867
 
      case $as_dir in #(
3868
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3869
 
      *) as_qdir=$as_dir;;
3870
 
      esac
3871
 
      as_dirs="'$as_qdir' $as_dirs"
3872
 
      as_dir=`$as_dirname -- "$as_dir" ||
3873
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3874
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
3875
 
         X"$as_dir" : 'X\(//\)$' \| \
3876
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3877
 
$as_echo X"$as_dir" |
3878
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3879
 
            s//\1/
3880
 
            q
3881
 
          }
3882
 
          /^X\(\/\/\)[^/].*/{
3883
 
            s//\1/
3884
 
            q
3885
 
          }
3886
 
          /^X\(\/\/\)$/{
3887
 
            s//\1/
3888
 
            q
3889
 
          }
3890
 
          /^X\(\/\).*/{
3891
 
            s//\1/
3892
 
            q
3893
 
          }
3894
 
          s/.*/./; q'`
3895
 
      test -d "$as_dir" && break
3896
 
    done
3897
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
3898
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3899
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
3900
 
   { (exit 1); exit 1; }; }; }
 
3761
  as_dir="$ac_dir"; as_fn_mkdir_p
3901
3762
  ac_builddir=.
3902
3763
 
3903
3764
case "$ac_dir" in
3954
3815
# If the template does not know about datarootdir, expand it.
3955
3816
# FIXME: This hack should be removed a few years after 2.60.
3956
3817
ac_datarootdir_hack=; ac_datarootdir_seen=
3957
 
 
3958
3818
ac_sed_dataroot='
3959
3819
/datarootdir/ {
3960
3820
  p
3964
3824
/@docdir@/p
3965
3825
/@infodir@/p
3966
3826
/@localedir@/p
3967
 
/@mandir@/p
3968
 
'
 
3827
/@mandir@/p'
3969
3828
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3970
3829
*datarootdir*) ac_datarootdir_seen=yes;;
3971
3830
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3972
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
3831
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3973
3832
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3974
3833
_ACEOF
3975
3834
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3979
3838
  s&@infodir@&$infodir&g
3980
3839
  s&@localedir@&$localedir&g
3981
3840
  s&@mandir@&$mandir&g
3982
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
3841
  s&\\\${datarootdir}&$datarootdir&g' ;;
3983
3842
esac
3984
3843
_ACEOF
3985
3844
 
4008
3867
$ac_datarootdir_hack
4009
3868
"
4010
3869
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4011
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
4012
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
4013
 
   { (exit 1); exit 1; }; }
 
3870
  || as_fn_error "could not create $ac_file" "$LINENO" 5
4014
3871
 
4015
3872
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4016
3873
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4017
3874
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4018
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
3875
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4019
3876
which seems to be undefined.  Please make sure it is defined." >&5
4020
3877
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4021
3878
which seems to be undefined.  Please make sure it is defined." >&2;}
4025
3882
  -) cat "$tmp/out" && rm -f "$tmp/out";;
4026
3883
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4027
3884
  esac \
4028
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
4029
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
4030
 
   { (exit 1); exit 1; }; }
 
3885
  || as_fn_error "could not create $ac_file" "$LINENO" 5
4031
3886
 ;;
4032
3887
 
4033
3888
 
4037
3892
done # for ac_tag
4038
3893
 
4039
3894
 
4040
 
{ (exit 0); exit 0; }
 
3895
as_fn_exit 0
4041
3896
_ACEOF
4042
 
chmod +x $CONFIG_STATUS
4043
3897
ac_clean_files=$ac_clean_files_save
4044
3898
 
4045
3899
test $ac_write_fail = 0 ||
4046
 
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
4047
 
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
4048
 
   { (exit 1); exit 1; }; }
 
3900
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
4049
3901
 
4050
3902
 
4051
3903
# configure is writing to config.log, and then calls config.status.
4066
3918
  exec 5>>config.log
4067
3919
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4068
3920
  # would make configure fail if this is the last instruction.
4069
 
  $ac_cs_success || { (exit 1); exit 1; }
 
3921
  $ac_cs_success || as_fn_exit $?
4070
3922
fi
4071
3923
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4072
 
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
3924
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4073
3925
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4074
3926
fi
4075
3927