~ubuntu-branches/ubuntu/lucid/thaifonts-scalable/lucid

1 by Michael Vogt
Import upstream version 0.4.3.1
1
#! /bin/sh
2
# Guess values for system-dependent variables and create Makefiles.
1.2.8 by Theppitak Karoonboonyanan
Import upstream version 0.4.11
3
# Generated by GNU Autoconf 2.61 for thaifonts-scalable 0.4.11.
1 by Michael Vogt
Import upstream version 0.4.3.1
4
#
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1 by Michael Vogt
Import upstream version 0.4.3.1
7
# This configure script is free software; the Free Software Foundation
8
# gives unlimited permission to copy, distribute and modify it.
9
## --------------------- ##
10
## M4sh Initialization.  ##
11
## --------------------- ##
12
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
13
# Be more Bourne compatible
14
DUALCASE=1; export DUALCASE # for MKS sh
1 by Michael Vogt
Import upstream version 0.4.3.1
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16
  emulate sh
17
  NULLCMD=:
18
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19
  # is contrary to our usage.  Disable this feature.
20
  alias -g '${1+"$@"}'='"$@"'
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
21
  setopt NO_GLOB_SUBST
22
else
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
23
  case `(set -o) 2>/dev/null` in
24
  *posix*) set -o posix ;;
25
esac
26
1 by Michael Vogt
Import upstream version 0.4.3.1
27
fi
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
28
29
1 by Michael Vogt
Import upstream version 0.4.3.1
30
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
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
# The user is always right.
41
if test "${PATH_SEPARATOR+set}" != set; then
42
  echo "#! /bin/sh" >conf$$.sh
43
  echo  "exit 0"   >>conf$$.sh
44
  chmod +x conf$$.sh
45
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46
    PATH_SEPARATOR=';'
47
  else
48
    PATH_SEPARATOR=:
49
  fi
50
  rm -f conf$$.sh
51
fi
52
1 by Michael Vogt
Import upstream version 0.4.3.1
53
# Support unset when possible.
54
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55
  as_unset=unset
56
else
57
  as_unset=false
58
fi
59
60
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
61
# IFS
62
# We need space, tab and new line, in precisely that order.  Quoting is
63
# there to prevent editors from complaining about space-tab.
64
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
65
# splitting by setting IFS to empty value.)
66
as_nl='
67
'
68
IFS=" ""	$as_nl"
69
70
# Find who we are.  Look in the path if we contain no directory separator.
71
case $0 in
72
  *[\\/]* ) as_myself=$0 ;;
73
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74
for as_dir in $PATH
75
do
76
  IFS=$as_save_IFS
77
  test -z "$as_dir" && as_dir=.
78
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79
done
80
IFS=$as_save_IFS
81
82
     ;;
83
esac
84
# We did not find ourselves, most probably we were run as `sh COMMAND'
85
# in which case we are not to be found in the path.
86
if test "x$as_myself" = x; then
87
  as_myself=$0
88
fi
89
if test ! -f "$as_myself"; then
90
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91
  { (exit 1); exit 1; }
92
fi
93
1 by Michael Vogt
Import upstream version 0.4.3.1
94
# Work around bugs in pre-3.0 UWIN ksh.
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
95
for as_var in ENV MAIL MAILPATH
96
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
97
done
1 by Michael Vogt
Import upstream version 0.4.3.1
98
PS1='$ '
99
PS2='> '
100
PS4='+ '
101
102
# NLS nuisances.
103
for as_var in \
104
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106
  LC_TELEPHONE LC_TIME
107
do
108
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109
    eval $as_var=C; export $as_var
110
  else
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
111
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1 by Michael Vogt
Import upstream version 0.4.3.1
112
  fi
113
done
114
115
# Required to use basename.
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
116
if expr a : '\(a\)' >/dev/null 2>&1 &&
117
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
1 by Michael Vogt
Import upstream version 0.4.3.1
118
  as_expr=expr
119
else
120
  as_expr=false
121
fi
122
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
123
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1 by Michael Vogt
Import upstream version 0.4.3.1
124
  as_basename=basename
125
else
126
  as_basename=false
127
fi
128
129
130
# Name of the executable.
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
131
as_me=`$as_basename -- "$0" ||
1 by Michael Vogt
Import upstream version 0.4.3.1
132
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133
	 X"$0" : 'X\(//\)$' \| \
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
134
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1 by Michael Vogt
Import upstream version 0.4.3.1
135
echo X/"$0" |
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
136
    sed '/^.*\/\([^/][^/]*\)\/*$/{
137
	    s//\1/
138
	    q
139
	  }
140
	  /^X\/\(\/\/\)$/{
141
	    s//\1/
142
	    q
143
	  }
144
	  /^X\/\(\/\).*/{
145
	    s//\1/
146
	    q
147
	  }
148
	  s/.*/./; q'`
149
150
# CDPATH.
151
$as_unset CDPATH
152
153
154
if test "x$CONFIG_SHELL" = x; then
155
  if (eval ":") 2>/dev/null; then
156
  as_have_required=yes
157
else
158
  as_have_required=no
159
fi
160
161
  if test $as_have_required = yes && 	 (eval ":
162
(as_func_return () {
163
  (exit \$1)
164
}
165
as_func_success () {
166
  as_func_return 0
167
}
168
as_func_failure () {
169
  as_func_return 1
170
}
171
as_func_ret_success () {
172
  return 0
173
}
174
as_func_ret_failure () {
175
  return 1
176
}
177
178
exitcode=0
179
if as_func_success; then
180
  :
181
else
182
  exitcode=1
183
  echo as_func_success failed.
184
fi
185
186
if as_func_failure; then
187
  exitcode=1
188
  echo as_func_failure succeeded.
189
fi
190
191
if as_func_ret_success; then
192
  :
193
else
194
  exitcode=1
195
  echo as_func_ret_success failed.
196
fi
197
198
if as_func_ret_failure; then
199
  exitcode=1
200
  echo as_func_ret_failure succeeded.
201
fi
202
203
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204
  :
205
else
206
  exitcode=1
207
  echo positional parameters were not saved.
208
fi
209
210
test \$exitcode = 0) || { (exit 1); exit 1; }
211
212
(
213
  as_lineno_1=\$LINENO
214
  as_lineno_2=\$LINENO
215
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217
") 2> /dev/null; then
218
  :
219
else
220
  as_candidate_shells=
1 by Michael Vogt
Import upstream version 0.4.3.1
221
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
222
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1 by Michael Vogt
Import upstream version 0.4.3.1
223
do
224
  IFS=$as_save_IFS
225
  test -z "$as_dir" && as_dir=.
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
226
  case $as_dir in
1 by Michael Vogt
Import upstream version 0.4.3.1
227
	 /*)
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
228
	   for as_base in sh bash ksh sh5; do
229
	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230
	   done;;
231
       esac
1 by Michael Vogt
Import upstream version 0.4.3.1
232
done
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
233
IFS=$as_save_IFS
234
235
236
      for as_shell in $as_candidate_shells $SHELL; do
237
	 # Try only shells that exist, to save several forks.
238
	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239
		{ ("$as_shell") 2> /dev/null <<\_ASEOF
240
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241
  emulate sh
242
  NULLCMD=:
243
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244
  # is contrary to our usage.  Disable this feature.
245
  alias -g '${1+"$@"}'='"$@"'
246
  setopt NO_GLOB_SUBST
247
else
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
248
  case `(set -o) 2>/dev/null` in
249
  *posix*) set -o posix ;;
250
esac
251
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
252
fi
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
253
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
254
255
:
256
_ASEOF
257
}; then
258
  CONFIG_SHELL=$as_shell
259
	       as_have_required=yes
260
	       if { "$as_shell" 2> /dev/null <<\_ASEOF
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
  emulate sh
263
  NULLCMD=:
264
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265
  # is contrary to our usage.  Disable this feature.
266
  alias -g '${1+"$@"}'='"$@"'
267
  setopt NO_GLOB_SUBST
268
else
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
269
  case `(set -o) 2>/dev/null` in
270
  *posix*) set -o posix ;;
271
esac
272
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
273
fi
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
274
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
275
276
:
277
(as_func_return () {
278
  (exit $1)
279
}
280
as_func_success () {
281
  as_func_return 0
282
}
283
as_func_failure () {
284
  as_func_return 1
285
}
286
as_func_ret_success () {
287
  return 0
288
}
289
as_func_ret_failure () {
290
  return 1
291
}
292
293
exitcode=0
294
if as_func_success; then
295
  :
296
else
297
  exitcode=1
298
  echo as_func_success failed.
299
fi
300
301
if as_func_failure; then
302
  exitcode=1
303
  echo as_func_failure succeeded.
304
fi
305
306
if as_func_ret_success; then
307
  :
308
else
309
  exitcode=1
310
  echo as_func_ret_success failed.
311
fi
312
313
if as_func_ret_failure; then
314
  exitcode=1
315
  echo as_func_ret_failure succeeded.
316
fi
317
318
if ( set x; as_func_ret_success y && test x = "$1" ); then
319
  :
320
else
321
  exitcode=1
322
  echo positional parameters were not saved.
323
fi
324
325
test $exitcode = 0) || { (exit 1); exit 1; }
326
327
(
328
  as_lineno_1=$LINENO
329
  as_lineno_2=$LINENO
330
  test "x$as_lineno_1" != "x$as_lineno_2" &&
331
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
332
333
_ASEOF
334
}; then
335
  break
336
fi
337
338
fi
339
340
      done
341
342
      if test "x$CONFIG_SHELL" != x; then
343
  for as_var in BASH_ENV ENV
344
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345
        done
346
        export CONFIG_SHELL
347
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348
fi
349
350
351
    if test $as_have_required = no; then
352
  echo This script requires a shell more modern than all the
353
      echo shells that I found on your system.  Please install a
354
      echo modern shell, or manually run the script under such a
355
      echo shell if you do have one.
356
      { (exit 1); exit 1; }
357
fi
358
359
360
fi
361
362
fi
363
364
365
366
(eval "as_func_return () {
367
  (exit \$1)
368
}
369
as_func_success () {
370
  as_func_return 0
371
}
372
as_func_failure () {
373
  as_func_return 1
374
}
375
as_func_ret_success () {
376
  return 0
377
}
378
as_func_ret_failure () {
379
  return 1
380
}
381
382
exitcode=0
383
if as_func_success; then
384
  :
385
else
386
  exitcode=1
387
  echo as_func_success failed.
388
fi
389
390
if as_func_failure; then
391
  exitcode=1
392
  echo as_func_failure succeeded.
393
fi
394
395
if as_func_ret_success; then
396
  :
397
else
398
  exitcode=1
399
  echo as_func_ret_success failed.
400
fi
401
402
if as_func_ret_failure; then
403
  exitcode=1
404
  echo as_func_ret_failure succeeded.
405
fi
406
407
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408
  :
409
else
410
  exitcode=1
411
  echo positional parameters were not saved.
412
fi
413
414
test \$exitcode = 0") || {
415
  echo No shell found that supports shell functions.
416
  echo Please tell autoconf@gnu.org about your system,
417
  echo including any error possibly output before this
418
  echo message
419
}
420
421
422
423
  as_lineno_1=$LINENO
424
  as_lineno_2=$LINENO
425
  test "x$as_lineno_1" != "x$as_lineno_2" &&
426
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
1 by Michael Vogt
Import upstream version 0.4.3.1
427
428
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429
  # uniformly replaced by the line number.  The first 'sed' inserts a
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
430
  # line-number line after each line using $LINENO; the second 'sed'
431
  # does the real work.  The second script uses 'N' to pair each
432
  # line-number line with the line containing $LINENO, and appends
433
  # trailing '-' during substitution so that $LINENO is not a special
434
  # case at line end.
1 by Michael Vogt
Import upstream version 0.4.3.1
435
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
436
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
437
  # E. McMahon (1931-1989) for sed's syntax.  :-)
438
  sed -n '
439
    p
440
    /[$]LINENO/=
441
  ' <$as_myself |
1 by Michael Vogt
Import upstream version 0.4.3.1
442
    sed '
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
443
      s/[$]LINENO.*/&-/
444
      t lineno
445
      b
446
      :lineno
1 by Michael Vogt
Import upstream version 0.4.3.1
447
      N
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
448
      :loop
449
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1 by Michael Vogt
Import upstream version 0.4.3.1
450
      t loop
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
451
      s/-\n.*//
1 by Michael Vogt
Import upstream version 0.4.3.1
452
    ' >$as_me.lineno &&
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
453
  chmod +x "$as_me.lineno" ||
1 by Michael Vogt
Import upstream version 0.4.3.1
454
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455
   { (exit 1); exit 1; }; }
456
457
  # Don't try to exec as it changes $[0], causing all sort of problems
458
  # (the dirname of $[0] is not the place where we might find the
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
459
  # original and so on.  Autoconf is especially sensitive to this).
460
  . "./$as_me.lineno"
1 by Michael Vogt
Import upstream version 0.4.3.1
461
  # Exit status is that of the last command.
462
  exit
463
}
464
465
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
466
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467
  as_dirname=dirname
468
else
469
  as_dirname=false
470
fi
471
472
ECHO_C= ECHO_N= ECHO_T=
473
case `echo -n x` in
474
-n*)
475
  case `echo 'x\c'` in
476
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
477
  *)   ECHO_C='\c';;
478
  esac;;
479
*)
480
  ECHO_N='-n';;
1 by Michael Vogt
Import upstream version 0.4.3.1
481
esac
482
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
483
if expr a : '\(a\)' >/dev/null 2>&1 &&
484
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
1 by Michael Vogt
Import upstream version 0.4.3.1
485
  as_expr=expr
486
else
487
  as_expr=false
488
fi
489
490
rm -f conf$$ conf$$.exe conf$$.file
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
491
if test -d conf$$.dir; then
492
  rm -f conf$$.dir/conf$$.file
493
else
494
  rm -f conf$$.dir
495
  mkdir conf$$.dir
496
fi
1 by Michael Vogt
Import upstream version 0.4.3.1
497
echo >conf$$.file
498
if ln -s conf$$.file conf$$ 2>/dev/null; then
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
499
  as_ln_s='ln -s'
500
  # ... but there are two gotchas:
501
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503
  # In both cases, we have to default to `cp -p'.
504
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1 by Michael Vogt
Import upstream version 0.4.3.1
505
    as_ln_s='cp -p'
506
elif ln conf$$.file conf$$ 2>/dev/null; then
507
  as_ln_s=ln
508
else
509
  as_ln_s='cp -p'
510
fi
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
511
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512
rmdir conf$$.dir 2>/dev/null
1 by Michael Vogt
Import upstream version 0.4.3.1
513
514
if mkdir -p . 2>/dev/null; then
515
  as_mkdir_p=:
516
else
517
  test -d ./-p && rmdir ./-p
518
  as_mkdir_p=false
519
fi
520
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
521
if test -x / >/dev/null 2>&1; then
522
  as_test_x='test -x'
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
523
else
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
524
  if ls -dL / >/dev/null 2>&1; then
525
    as_ls_L_option=L
526
  else
527
    as_ls_L_option=
528
  fi
529
  as_test_x='
530
    eval sh -c '\''
531
      if test -d "$1"; then
532
        test -d "$1/.";
533
      else
534
	case $1 in
535
        -*)set "./$1";;
536
	esac;
537
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538
	???[sx]*):;;*)false;;esac;fi
539
    '\'' sh
540
  '
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
541
fi
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
542
as_executable_p=$as_test_x
1 by Michael Vogt
Import upstream version 0.4.3.1
543
544
# Sed expression to map a string onto a valid CPP name.
545
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
546
547
# Sed expression to map a string onto a valid variable name.
548
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
549
550
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
551
552
exec 7<&0 </dev/null 6>&1
1 by Michael Vogt
Import upstream version 0.4.3.1
553
554
# Name of the host.
555
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556
# so uname gets run too.
557
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558
559
#
560
# Initializations.
561
#
562
ac_default_prefix=/usr/local
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
563
ac_clean_files=
1 by Michael Vogt
Import upstream version 0.4.3.1
564
ac_config_libobj_dir=.
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
565
LIBOBJS=
1 by Michael Vogt
Import upstream version 0.4.3.1
566
cross_compiling=no
567
subdirs=
568
MFLAGS=
569
MAKEFLAGS=
570
SHELL=${CONFIG_SHELL-/bin/sh}
571
572
# Identity of this package.
1.2.5 by Theppitak Karoonboonyanan
Import upstream version 0.4.8
573
PACKAGE_NAME='thaifonts-scalable'
574
PACKAGE_TARNAME='thaifonts-scalable'
1.2.8 by Theppitak Karoonboonyanan
Import upstream version 0.4.11
575
PACKAGE_VERSION='0.4.11'
576
PACKAGE_STRING='thaifonts-scalable 0.4.11'
1.2.5 by Theppitak Karoonboonyanan
Import upstream version 0.4.8
577
PACKAGE_BUGREPORT=''
1 by Michael Vogt
Import upstream version 0.4.3.1
578
1.2.5 by Theppitak Karoonboonyanan
Import upstream version 0.4.8
579
ac_unique_file="nf/Garuda.sfd"
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
580
ac_subst_vars='SHELL
581
PATH_SEPARATOR
582
PACKAGE_NAME
583
PACKAGE_TARNAME
584
PACKAGE_VERSION
585
PACKAGE_STRING
586
PACKAGE_BUGREPORT
587
exec_prefix
588
prefix
589
program_transform_name
590
bindir
591
sbindir
592
libexecdir
593
datarootdir
594
datadir
595
sysconfdir
596
sharedstatedir
597
localstatedir
598
includedir
599
oldincludedir
600
docdir
601
infodir
602
htmldir
603
dvidir
604
pdfdir
605
psdir
606
libdir
607
localedir
608
mandir
609
DEFS
610
ECHO_C
611
ECHO_N
612
ECHO_T
613
LIBS
614
build_alias
615
host_alias
616
target_alias
617
INSTALL_PROGRAM
618
INSTALL_SCRIPT
619
INSTALL_DATA
1.2.7 by Theppitak Karoonboonyanan
Import upstream version 0.4.10
620
am__isrc
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
621
CYGPATH_W
622
PACKAGE
623
VERSION
624
ACLOCAL
625
AUTOCONF
626
AUTOMAKE
627
AUTOHEADER
628
MAKEINFO
629
install_sh
630
STRIP
631
INSTALL_STRIP_PROGRAM
632
mkdir_p
633
AWK
634
SET_MAKE
635
am__leading_dot
636
AMTAR
637
am__tar
638
am__untar
639
ttfdir
640
type1dir
641
otfdir
642
testfontdir
643
INCLUDE_TTF_TRUE
644
INCLUDE_TTF_FALSE
645
INCLUDE_PFA_TRUE
646
INCLUDE_PFA_FALSE
647
INCLUDE_PFB_TRUE
648
INCLUDE_PFB_FALSE
649
INCLUDE_TYPE1_TRUE
650
INCLUDE_TYPE1_FALSE
651
INCLUDE_OTF_TRUE
652
INCLUDE_OTF_FALSE
653
INCLUDE_TESTFONT_TRUE
654
INCLUDE_TESTFONT_FALSE
655
LN_S
656
RMDIR
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
657
FONTFORGE
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
658
MKFONTSCALE
659
TTMKFDIR
660
TYPE1INST
1.2.5 by Theppitak Karoonboonyanan
Import upstream version 0.4.8
661
MKFONTDIR
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
662
FCCACHE
663
LIBOBJS
664
LTLIBOBJS'
1 by Michael Vogt
Import upstream version 0.4.3.1
665
ac_subst_files=''
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
666
      ac_precious_vars='build_alias
667
host_alias
668
target_alias'
669
1 by Michael Vogt
Import upstream version 0.4.3.1
670
671
# Initialize some variables set by options.
672
ac_init_help=
673
ac_init_version=false
674
# The variables have the same names as the options, with
675
# dashes changed to underlines.
676
cache_file=/dev/null
677
exec_prefix=NONE
678
no_create=
679
no_recursion=
680
prefix=NONE
681
program_prefix=NONE
682
program_suffix=NONE
683
program_transform_name=s,x,x,
684
silent=
685
site=
686
srcdir=
687
verbose=
688
x_includes=NONE
689
x_libraries=NONE
690
691
# Installation directory options.
692
# These are left unexpanded so users can "make install exec_prefix=/foo"
693
# and all the variables that are supposed to be based on exec_prefix
694
# by default will actually change.
695
# Use braces instead of parens because sh, perl, etc. also accept them.
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
696
# (The list follows the same order as the GNU Coding Standards.)
1 by Michael Vogt
Import upstream version 0.4.3.1
697
bindir='${exec_prefix}/bin'
698
sbindir='${exec_prefix}/sbin'
699
libexecdir='${exec_prefix}/libexec'
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
700
datarootdir='${prefix}/share'
701
datadir='${datarootdir}'
1 by Michael Vogt
Import upstream version 0.4.3.1
702
sysconfdir='${prefix}/etc'
703
sharedstatedir='${prefix}/com'
704
localstatedir='${prefix}/var'
705
includedir='${prefix}/include'
706
oldincludedir='/usr/include'
1.2.5 by Theppitak Karoonboonyanan
Import upstream version 0.4.8
707
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
708
infodir='${datarootdir}/info'
709
htmldir='${docdir}'
710
dvidir='${docdir}'
711
pdfdir='${docdir}'
712
psdir='${docdir}'
713
libdir='${exec_prefix}/lib'
714
localedir='${datarootdir}/locale'
715
mandir='${datarootdir}/man'
1 by Michael Vogt
Import upstream version 0.4.3.1
716
717
ac_prev=
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
718
ac_dashdash=
1 by Michael Vogt
Import upstream version 0.4.3.1
719
for ac_option
720
do
721
  # If the previous option needs an argument, assign it.
722
  if test -n "$ac_prev"; then
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
723
    eval $ac_prev=\$ac_option
1 by Michael Vogt
Import upstream version 0.4.3.1
724
    ac_prev=
725
    continue
726
  fi
727
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
728
  case $ac_option in
729
  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
730
  *)	ac_optarg=yes ;;
731
  esac
1 by Michael Vogt
Import upstream version 0.4.3.1
732
733
  # Accept the important Cygnus configure options, so we can diagnose typos.
734
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
735
  case $ac_dashdash$ac_option in
736
  --)
737
    ac_dashdash=yes ;;
1 by Michael Vogt
Import upstream version 0.4.3.1
738
739
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
740
    ac_prev=bindir ;;
741
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
742
    bindir=$ac_optarg ;;
743
744
  -build | --build | --buil | --bui | --bu)
745
    ac_prev=build_alias ;;
746
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
747
    build_alias=$ac_optarg ;;
748
749
  -cache-file | --cache-file | --cache-fil | --cache-fi \
750
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
751
    ac_prev=cache_file ;;
752
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
753
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
754
    cache_file=$ac_optarg ;;
755
756
  --config-cache | -C)
757
    cache_file=config.cache ;;
758
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
759
  -datadir | --datadir | --datadi | --datad)
1 by Michael Vogt
Import upstream version 0.4.3.1
760
    ac_prev=datadir ;;
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
761
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1 by Michael Vogt
Import upstream version 0.4.3.1
762
    datadir=$ac_optarg ;;
763
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
764
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
765
  | --dataroo | --dataro | --datar)
766
    ac_prev=datarootdir ;;
767
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
768
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
769
    datarootdir=$ac_optarg ;;
770
1 by Michael Vogt
Import upstream version 0.4.3.1
771
  -disable-* | --disable-*)
772
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
773
    # Reject names that are not valid shell variable names.
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
774
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1 by Michael Vogt
Import upstream version 0.4.3.1
775
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
776
   { (exit 1); exit 1; }; }
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
777
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
778
    eval enable_$ac_feature=no ;;
779
780
  -docdir | --docdir | --docdi | --doc | --do)
781
    ac_prev=docdir ;;
782
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
783
    docdir=$ac_optarg ;;
784
785
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
786
    ac_prev=dvidir ;;
787
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
788
    dvidir=$ac_optarg ;;
1 by Michael Vogt
Import upstream version 0.4.3.1
789
790
  -enable-* | --enable-*)
791
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
792
    # Reject names that are not valid shell variable names.
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
793
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1 by Michael Vogt
Import upstream version 0.4.3.1
794
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
795
   { (exit 1); exit 1; }; }
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
796
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
797
    eval enable_$ac_feature=\$ac_optarg ;;
1 by Michael Vogt
Import upstream version 0.4.3.1
798
799
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
800
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
801
  | --exec | --exe | --ex)
802
    ac_prev=exec_prefix ;;
803
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
804
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
805
  | --exec=* | --exe=* | --ex=*)
806
    exec_prefix=$ac_optarg ;;
807
808
  -gas | --gas | --ga | --g)
809
    # Obsolete; use --with-gas.
810
    with_gas=yes ;;
811
812
  -help | --help | --hel | --he | -h)
813
    ac_init_help=long ;;
814
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
815
    ac_init_help=recursive ;;
816
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
817
    ac_init_help=short ;;
818
819
  -host | --host | --hos | --ho)
820
    ac_prev=host_alias ;;
821
  -host=* | --host=* | --hos=* | --ho=*)
822
    host_alias=$ac_optarg ;;
823
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
824
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
825
    ac_prev=htmldir ;;
826
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
827
  | --ht=*)
828
    htmldir=$ac_optarg ;;
829
1 by Michael Vogt
Import upstream version 0.4.3.1
830
  -includedir | --includedir | --includedi | --included | --include \
831
  | --includ | --inclu | --incl | --inc)
832
    ac_prev=includedir ;;
833
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
834
  | --includ=* | --inclu=* | --incl=* | --inc=*)
835
    includedir=$ac_optarg ;;
836
837
  -infodir | --infodir | --infodi | --infod | --info | --inf)
838
    ac_prev=infodir ;;
839
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
840
    infodir=$ac_optarg ;;
841
842
  -libdir | --libdir | --libdi | --libd)
843
    ac_prev=libdir ;;
844
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
845
    libdir=$ac_optarg ;;
846
847
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
848
  | --libexe | --libex | --libe)
849
    ac_prev=libexecdir ;;
850
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
851
  | --libexe=* | --libex=* | --libe=*)
852
    libexecdir=$ac_optarg ;;
853
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
854
  -localedir | --localedir | --localedi | --localed | --locale)
855
    ac_prev=localedir ;;
856
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
857
    localedir=$ac_optarg ;;
858
1 by Michael Vogt
Import upstream version 0.4.3.1
859
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
860
  | --localstate | --localstat | --localsta | --localst | --locals)
1 by Michael Vogt
Import upstream version 0.4.3.1
861
    ac_prev=localstatedir ;;
862
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
863
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1 by Michael Vogt
Import upstream version 0.4.3.1
864
    localstatedir=$ac_optarg ;;
865
866
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
867
    ac_prev=mandir ;;
868
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
869
    mandir=$ac_optarg ;;
870
871
  -nfp | --nfp | --nf)
872
    # Obsolete; use --without-fp.
873
    with_fp=no ;;
874
875
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
876
  | --no-cr | --no-c | -n)
877
    no_create=yes ;;
878
879
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
880
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
881
    no_recursion=yes ;;
882
883
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
884
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
885
  | --oldin | --oldi | --old | --ol | --o)
886
    ac_prev=oldincludedir ;;
887
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
888
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
889
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
890
    oldincludedir=$ac_optarg ;;
891
892
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
893
    ac_prev=prefix ;;
894
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
895
    prefix=$ac_optarg ;;
896
897
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
898
  | --program-pre | --program-pr | --program-p)
899
    ac_prev=program_prefix ;;
900
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
901
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
902
    program_prefix=$ac_optarg ;;
903
904
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
905
  | --program-suf | --program-su | --program-s)
906
    ac_prev=program_suffix ;;
907
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
908
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
909
    program_suffix=$ac_optarg ;;
910
911
  -program-transform-name | --program-transform-name \
912
  | --program-transform-nam | --program-transform-na \
913
  | --program-transform-n | --program-transform- \
914
  | --program-transform | --program-transfor \
915
  | --program-transfo | --program-transf \
916
  | --program-trans | --program-tran \
917
  | --progr-tra | --program-tr | --program-t)
918
    ac_prev=program_transform_name ;;
919
  -program-transform-name=* | --program-transform-name=* \
920
  | --program-transform-nam=* | --program-transform-na=* \
921
  | --program-transform-n=* | --program-transform-=* \
922
  | --program-transform=* | --program-transfor=* \
923
  | --program-transfo=* | --program-transf=* \
924
  | --program-trans=* | --program-tran=* \
925
  | --progr-tra=* | --program-tr=* | --program-t=*)
926
    program_transform_name=$ac_optarg ;;
927
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
928
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
929
    ac_prev=pdfdir ;;
930
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
931
    pdfdir=$ac_optarg ;;
932
933
  -psdir | --psdir | --psdi | --psd | --ps)
934
    ac_prev=psdir ;;
935
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
936
    psdir=$ac_optarg ;;
937
1 by Michael Vogt
Import upstream version 0.4.3.1
938
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
939
  | -silent | --silent | --silen | --sile | --sil)
940
    silent=yes ;;
941
942
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
943
    ac_prev=sbindir ;;
944
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
945
  | --sbi=* | --sb=*)
946
    sbindir=$ac_optarg ;;
947
948
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
949
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
950
  | --sharedst | --shareds | --shared | --share | --shar \
951
  | --sha | --sh)
952
    ac_prev=sharedstatedir ;;
953
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
954
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
955
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
956
  | --sha=* | --sh=*)
957
    sharedstatedir=$ac_optarg ;;
958
959
  -site | --site | --sit)
960
    ac_prev=site ;;
961
  -site=* | --site=* | --sit=*)
962
    site=$ac_optarg ;;
963
964
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
965
    ac_prev=srcdir ;;
966
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
967
    srcdir=$ac_optarg ;;
968
969
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
970
  | --syscon | --sysco | --sysc | --sys | --sy)
971
    ac_prev=sysconfdir ;;
972
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
973
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
974
    sysconfdir=$ac_optarg ;;
975
976
  -target | --target | --targe | --targ | --tar | --ta | --t)
977
    ac_prev=target_alias ;;
978
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
979
    target_alias=$ac_optarg ;;
980
981
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
982
    verbose=yes ;;
983
984
  -version | --version | --versio | --versi | --vers | -V)
985
    ac_init_version=: ;;
986
987
  -with-* | --with-*)
988
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
989
    # Reject names that are not valid shell variable names.
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
990
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1 by Michael Vogt
Import upstream version 0.4.3.1
991
      { echo "$as_me: error: invalid package name: $ac_package" >&2
992
   { (exit 1); exit 1; }; }
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
993
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
994
    eval with_$ac_package=\$ac_optarg ;;
1 by Michael Vogt
Import upstream version 0.4.3.1
995
996
  -without-* | --without-*)
997
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
998
    # Reject names that are not valid shell variable names.
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
999
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1 by Michael Vogt
Import upstream version 0.4.3.1
1000
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1001
   { (exit 1); exit 1; }; }
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
1002
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1003
    eval with_$ac_package=no ;;
1 by Michael Vogt
Import upstream version 0.4.3.1
1004
1005
  --x)
1006
    # Obsolete; use --with-x.
1007
    with_x=yes ;;
1008
1009
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1010
  | --x-incl | --x-inc | --x-in | --x-i)
1011
    ac_prev=x_includes ;;
1012
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1013
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1014
    x_includes=$ac_optarg ;;
1015
1016
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1017
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1018
    ac_prev=x_libraries ;;
1019
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1020
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1021
    x_libraries=$ac_optarg ;;
1022
1023
  -*) { echo "$as_me: error: unrecognized option: $ac_option
1024
Try \`$0 --help' for more information." >&2
1025
   { (exit 1); exit 1; }; }
1026
    ;;
1027
1028
  *=*)
1029
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1030
    # Reject names that are not valid shell variable names.
1031
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1032
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1033
   { (exit 1); exit 1; }; }
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1034
    eval $ac_envvar=\$ac_optarg
1 by Michael Vogt
Import upstream version 0.4.3.1
1035
    export $ac_envvar ;;
1036
1037
  *)
1038
    # FIXME: should be removed in autoconf 3.0.
1039
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1040
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1041
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1042
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1043
    ;;
1044
1045
  esac
1046
done
1047
1048
if test -n "$ac_prev"; then
1049
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1050
  { echo "$as_me: error: missing argument to $ac_option" >&2
1051
   { (exit 1); exit 1; }; }
1052
fi
1053
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1054
# Be sure to have absolute directory names.
1055
for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1056
		datadir sysconfdir sharedstatedir localstatedir includedir \
1057
		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1058
		libdir localedir mandir
1059
do
1060
  eval ac_val=\$$ac_var
1061
  case $ac_val in
1062
    [\\/$]* | ?:[\\/]* )  continue;;
1063
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1064
  esac
1065
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1066
   { (exit 1); exit 1; }; }
1 by Michael Vogt
Import upstream version 0.4.3.1
1067
done
1068
1069
# There might be people who depend on the old broken behavior: `$host'
1070
# used to hold the argument of --host etc.
1071
# FIXME: To remove some day.
1072
build=$build_alias
1073
host=$host_alias
1074
target=$target_alias
1075
1076
# FIXME: To remove some day.
1077
if test "x$host_alias" != x; then
1078
  if test "x$build_alias" = x; then
1079
    cross_compiling=maybe
1080
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1081
    If a cross compiler is detected then cross compile mode will be used." >&2
1082
  elif test "x$build_alias" != "x$host_alias"; then
1083
    cross_compiling=yes
1084
  fi
1085
fi
1086
1087
ac_tool_prefix=
1088
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1089
1090
test "$silent" = yes && exec 6>/dev/null
1091
1092
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1093
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1094
ac_ls_di=`ls -di .` &&
1095
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1096
  { echo "$as_me: error: Working directory cannot be determined" >&2
1097
   { (exit 1); exit 1; }; }
1098
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1099
  { echo "$as_me: error: pwd does not report name of working directory" >&2
1100
   { (exit 1); exit 1; }; }
1101
1102
1 by Michael Vogt
Import upstream version 0.4.3.1
1103
# Find the source files, if location was not specified.
1104
if test -z "$srcdir"; then
1105
  ac_srcdir_defaulted=yes
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1106
  # Try the directory containing this script, then the parent directory.
1107
  ac_confdir=`$as_dirname -- "$0" ||
1 by Michael Vogt
Import upstream version 0.4.3.1
1108
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1109
	 X"$0" : 'X\(//\)[^/]' \| \
1110
	 X"$0" : 'X\(//\)$' \| \
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1111
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1 by Michael Vogt
Import upstream version 0.4.3.1
1112
echo X"$0" |
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1113
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1114
	    s//\1/
1115
	    q
1116
	  }
1117
	  /^X\(\/\/\)[^/].*/{
1118
	    s//\1/
1119
	    q
1120
	  }
1121
	  /^X\(\/\/\)$/{
1122
	    s//\1/
1123
	    q
1124
	  }
1125
	  /^X\(\/\).*/{
1126
	    s//\1/
1127
	    q
1128
	  }
1129
	  s/.*/./; q'`
1 by Michael Vogt
Import upstream version 0.4.3.1
1130
  srcdir=$ac_confdir
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1131
  if test ! -r "$srcdir/$ac_unique_file"; then
1 by Michael Vogt
Import upstream version 0.4.3.1
1132
    srcdir=..
1133
  fi
1134
else
1135
  ac_srcdir_defaulted=no
1136
fi
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1137
if test ! -r "$srcdir/$ac_unique_file"; then
1138
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1139
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1140
   { (exit 1); exit 1; }; }
1141
fi
1142
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1143
ac_abs_confdir=`(
1144
	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1145
   { (exit 1); exit 1; }; }
1146
	pwd)`
1147
# When building in place, set srcdir=.
1148
if test "$ac_abs_confdir" = "$ac_pwd"; then
1149
  srcdir=.
1150
fi
1151
# Remove unnecessary trailing slashes from srcdir.
1152
# Double slashes in file names in object file debugging info
1153
# mess up M-x gdb in Emacs.
1154
case $srcdir in
1155
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1156
esac
1157
for ac_var in $ac_precious_vars; do
1158
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1159
  eval ac_env_${ac_var}_value=\$${ac_var}
1160
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1161
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1162
done
1 by Michael Vogt
Import upstream version 0.4.3.1
1163
1164
#
1165
# Report the --help message.
1166
#
1167
if test "$ac_init_help" = "long"; then
1168
  # Omit some internal or obsolete options to make the list less imposing.
1169
  # This message is too long to be a string in the A/UX 3.1 sh.
1170
  cat <<_ACEOF
1.2.8 by Theppitak Karoonboonyanan
Import upstream version 0.4.11
1171
\`configure' configures thaifonts-scalable 0.4.11 to adapt to many kinds of systems.
1 by Michael Vogt
Import upstream version 0.4.3.1
1172
1173
Usage: $0 [OPTION]... [VAR=VALUE]...
1174
1175
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1176
VAR=VALUE.  See below for descriptions of some of the useful variables.
1177
1178
Defaults for the options are specified in brackets.
1179
1180
Configuration:
1181
  -h, --help              display this help and exit
1182
      --help=short        display options specific to this package
1183
      --help=recursive    display the short help of all the included packages
1184
  -V, --version           display version information and exit
1185
  -q, --quiet, --silent   do not print \`checking...' messages
1186
      --cache-file=FILE   cache test results in FILE [disabled]
1187
  -C, --config-cache      alias for \`--cache-file=config.cache'
1188
  -n, --no-create         do not create output files
1189
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1190
1191
Installation directories:
1192
  --prefix=PREFIX         install architecture-independent files in PREFIX
1193
			  [$ac_default_prefix]
1194
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1195
			  [PREFIX]
1196
1197
By default, \`make install' will install all the files in
1198
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1199
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1200
for instance \`--prefix=\$HOME'.
1201
1202
For better control, use the options below.
1203
1204
Fine tuning of the installation directories:
1205
  --bindir=DIR           user executables [EPREFIX/bin]
1206
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1207
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1208
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1209
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1210
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1211
  --libdir=DIR           object code libraries [EPREFIX/lib]
1212
  --includedir=DIR       C header files [PREFIX/include]
1213
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1214
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1215
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1216
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1217
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1218
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1.2.5 by Theppitak Karoonboonyanan
Import upstream version 0.4.8
1219
  --docdir=DIR           documentation root [DATAROOTDIR/doc/thaifonts-scalable]
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1220
  --htmldir=DIR          html documentation [DOCDIR]
1221
  --dvidir=DIR           dvi documentation [DOCDIR]
1222
  --pdfdir=DIR           pdf documentation [DOCDIR]
1223
  --psdir=DIR            ps documentation [DOCDIR]
1 by Michael Vogt
Import upstream version 0.4.3.1
1224
_ACEOF
1225
1226
  cat <<\_ACEOF
1227
1228
Program names:
1229
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1230
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1231
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1232
_ACEOF
1233
fi
1234
1235
if test -n "$ac_init_help"; then
1.2.5 by Theppitak Karoonboonyanan
Import upstream version 0.4.8
1236
  case $ac_init_help in
1.2.8 by Theppitak Karoonboonyanan
Import upstream version 0.4.11
1237
     short | recursive ) echo "Configuration of thaifonts-scalable 0.4.11:";;
1.2.5 by Theppitak Karoonboonyanan
Import upstream version 0.4.8
1238
   esac
1 by Michael Vogt
Import upstream version 0.4.3.1
1239
  cat <<\_ACEOF
1240
1241
Optional Features:
1242
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1243
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1.2.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.4
1244
  --disable-ttf           disable TTF generation
1245
  --enable-pfa            enable Type1 PFA generation
1246
  --enable-pfb            enable Type1 PFB generation
1247
  --enable-otf            enable OpenType generation
1248
  --enable-testfont       enable font generation with prefix {TTF,OTF,PS}
1 by Michael Vogt
Import upstream version 0.4.3.1
1249
1250
Optional Packages:
1251
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1252
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1.2.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.4
1253
  --with-ttfdir=DIR       font directory in DIR [PREFIX/share/fonts/th/TTF]
1254
  --with-type1dir=DIR     font directory in DIR [PREFIX/share/fonts/th/Type1]
1255
  --with-otfdir=DIR       font directory in DIR [PREFIX/share/fonts/th/OTF]
1256
  --with-testfontdir=DIR  font directory in DIR [$HOME/.fonts/testfont]
1 by Michael Vogt
Import upstream version 0.4.3.1
1257
1258
_ACEOF
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1259
ac_status=$?
1 by Michael Vogt
Import upstream version 0.4.3.1
1260
fi
1261
1262
if test "$ac_init_help" = "recursive"; then
1263
  # If there are subdirs, report their specific --help.
1264
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1265
    test -d "$ac_dir" || continue
1 by Michael Vogt
Import upstream version 0.4.3.1
1266
    ac_builddir=.
1267
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1268
case "$ac_dir" in
1269
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1270
*)
1 by Michael Vogt
Import upstream version 0.4.3.1
1271
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1272
  # A ".." for each directory in $ac_dir_suffix.
1273
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1274
  case $ac_top_builddir_sub in
1275
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1276
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1277
  esac ;;
1278
esac
1279
ac_abs_top_builddir=$ac_pwd
1280
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1281
# for backward compatibility:
1282
ac_top_builddir=$ac_top_build_prefix
1 by Michael Vogt
Import upstream version 0.4.3.1
1283
1284
case $srcdir in
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1285
  .)  # We are building in place.
1 by Michael Vogt
Import upstream version 0.4.3.1
1286
    ac_srcdir=.
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1287
    ac_top_srcdir=$ac_top_builddir_sub
1288
    ac_abs_top_srcdir=$ac_pwd ;;
1289
  [\\/]* | ?:[\\/]* )  # Absolute name.
1 by Michael Vogt
Import upstream version 0.4.3.1
1290
    ac_srcdir=$srcdir$ac_dir_suffix;
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1291
    ac_top_srcdir=$srcdir
1292
    ac_abs_top_srcdir=$srcdir ;;
1293
  *) # Relative name.
1294
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1295
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1296
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1297
esac
1298
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1299
1300
    cd "$ac_dir" || { ac_status=$?; continue; }
1301
    # Check for guested configure.
1302
    if test -f "$ac_srcdir/configure.gnu"; then
1303
      echo &&
1304
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1305
    elif test -f "$ac_srcdir/configure"; then
1306
      echo &&
1307
      $SHELL "$ac_srcdir/configure" --help=recursive
1 by Michael Vogt
Import upstream version 0.4.3.1
1308
    else
1309
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1310
    fi || ac_status=$?
1311
    cd "$ac_pwd" || { ac_status=$?; break; }
1 by Michael Vogt
Import upstream version 0.4.3.1
1312
  done
1313
fi
1314
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1315
test -n "$ac_init_help" && exit $ac_status
1 by Michael Vogt
Import upstream version 0.4.3.1
1316
if $ac_init_version; then
1317
  cat <<\_ACEOF
1.2.8 by Theppitak Karoonboonyanan
Import upstream version 0.4.11
1318
thaifonts-scalable configure 0.4.11
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
1319
generated by GNU Autoconf 2.61
1 by Michael Vogt
Import upstream version 0.4.3.1
1320
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1321
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1322
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1 by Michael Vogt
Import upstream version 0.4.3.1
1323
This configure script is free software; the Free Software Foundation
1324
gives unlimited permission to copy, distribute and modify it.
1325
_ACEOF
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1326
  exit
1 by Michael Vogt
Import upstream version 0.4.3.1
1327
fi
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1328
cat >config.log <<_ACEOF
1 by Michael Vogt
Import upstream version 0.4.3.1
1329
This file contains any messages produced by compilers while
1330
running configure, to aid debugging if configure makes a mistake.
1331
1.2.8 by Theppitak Karoonboonyanan
Import upstream version 0.4.11
1332
It was created by thaifonts-scalable $as_me 0.4.11, which was
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
1333
generated by GNU Autoconf 2.61.  Invocation command line was
1 by Michael Vogt
Import upstream version 0.4.3.1
1334
1335
  $ $0 $@
1336
1337
_ACEOF
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1338
exec 5>>config.log
1 by Michael Vogt
Import upstream version 0.4.3.1
1339
{
1340
cat <<_ASUNAME
1341
## --------- ##
1342
## Platform. ##
1343
## --------- ##
1344
1345
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1346
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1347
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1348
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1349
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1350
1351
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1352
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1353
1354
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1355
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1356
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1357
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1 by Michael Vogt
Import upstream version 0.4.3.1
1358
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1359
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1360
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1361
1362
_ASUNAME
1363
1364
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1365
for as_dir in $PATH
1366
do
1367
  IFS=$as_save_IFS
1368
  test -z "$as_dir" && as_dir=.
1369
  echo "PATH: $as_dir"
1370
done
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1371
IFS=$as_save_IFS
1 by Michael Vogt
Import upstream version 0.4.3.1
1372
1373
} >&5
1374
1375
cat >&5 <<_ACEOF
1376
1377
1378
## ----------- ##
1379
## Core tests. ##
1380
## ----------- ##
1381
1382
_ACEOF
1383
1384
1385
# Keep a trace of the command line.
1386
# Strip out --no-create and --no-recursion so they do not pile up.
1387
# Strip out --silent because we don't want to record it for future runs.
1388
# Also quote any args containing shell meta-characters.
1389
# Make two passes to allow for proper duplicate-argument suppression.
1390
ac_configure_args=
1391
ac_configure_args0=
1392
ac_configure_args1=
1393
ac_must_keep_next=false
1394
for ac_pass in 1 2
1395
do
1396
  for ac_arg
1397
  do
1398
    case $ac_arg in
1399
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1400
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1401
    | -silent | --silent | --silen | --sile | --sil)
1402
      continue ;;
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1403
    *\'*)
1 by Michael Vogt
Import upstream version 0.4.3.1
1404
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1405
    esac
1406
    case $ac_pass in
1407
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1408
    2)
1409
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1410
      if test $ac_must_keep_next = true; then
1411
	ac_must_keep_next=false # Got value, back to normal.
1412
      else
1413
	case $ac_arg in
1414
	  *=* | --config-cache | -C | -disable-* | --disable-* \
1415
	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1416
	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1417
	  | -with-* | --with-* | -without-* | --without-* | --x)
1418
	    case "$ac_configure_args0 " in
1419
	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1420
	    esac
1421
	    ;;
1422
	  -* ) ac_must_keep_next=true ;;
1423
	esac
1424
      fi
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1425
      ac_configure_args="$ac_configure_args '$ac_arg'"
1 by Michael Vogt
Import upstream version 0.4.3.1
1426
      ;;
1427
    esac
1428
  done
1429
done
1430
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1431
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1432
1433
# When interrupted or exit'd, cleanup temporary files, and complete
1434
# config.log.  We remove comments because anyway the quotes in there
1435
# would cause problems or look ugly.
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1436
# WARNING: Use '\'' to represent an apostrophe within the trap.
1437
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1 by Michael Vogt
Import upstream version 0.4.3.1
1438
trap 'exit_status=$?
1439
  # Save into config.log some information that might help in debugging.
1440
  {
1441
    echo
1442
1443
    cat <<\_ASBOX
1444
## ---------------- ##
1445
## Cache variables. ##
1446
## ---------------- ##
1447
_ASBOX
1448
    echo
1449
    # The following way of writing the cache mishandles newlines in values,
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1450
(
1451
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1452
    eval ac_val=\$$ac_var
1453
    case $ac_val in #(
1454
    *${as_nl}*)
1455
      case $ac_var in #(
1456
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1457
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1458
      esac
1459
      case $ac_var in #(
1460
      _ | IFS | as_nl) ;; #(
1461
      *) $as_unset $ac_var ;;
1462
      esac ;;
1463
    esac
1464
  done
1 by Michael Vogt
Import upstream version 0.4.3.1
1465
  (set) 2>&1 |
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1466
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1467
    *${as_nl}ac_space=\ *)
1 by Michael Vogt
Import upstream version 0.4.3.1
1468
      sed -n \
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1469
	"s/'\''/'\''\\\\'\'''\''/g;
1470
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1471
      ;; #(
1 by Michael Vogt
Import upstream version 0.4.3.1
1472
    *)
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1473
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1 by Michael Vogt
Import upstream version 0.4.3.1
1474
      ;;
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1475
    esac |
1476
    sort
1477
)
1 by Michael Vogt
Import upstream version 0.4.3.1
1478
    echo
1479
1480
    cat <<\_ASBOX
1481
## ----------------- ##
1482
## Output variables. ##
1483
## ----------------- ##
1484
_ASBOX
1485
    echo
1486
    for ac_var in $ac_subst_vars
1487
    do
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1488
      eval ac_val=\$$ac_var
1489
      case $ac_val in
1490
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1491
      esac
1492
      echo "$ac_var='\''$ac_val'\''"
1 by Michael Vogt
Import upstream version 0.4.3.1
1493
    done | sort
1494
    echo
1495
1496
    if test -n "$ac_subst_files"; then
1497
      cat <<\_ASBOX
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1498
## ------------------- ##
1499
## File substitutions. ##
1500
## ------------------- ##
1 by Michael Vogt
Import upstream version 0.4.3.1
1501
_ASBOX
1502
      echo
1503
      for ac_var in $ac_subst_files
1504
      do
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1505
	eval ac_val=\$$ac_var
1506
	case $ac_val in
1507
	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1508
	esac
1509
	echo "$ac_var='\''$ac_val'\''"
1 by Michael Vogt
Import upstream version 0.4.3.1
1510
      done | sort
1511
      echo
1512
    fi
1513
1514
    if test -s confdefs.h; then
1515
      cat <<\_ASBOX
1516
## ----------- ##
1517
## confdefs.h. ##
1518
## ----------- ##
1519
_ASBOX
1520
      echo
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1521
      cat confdefs.h
1 by Michael Vogt
Import upstream version 0.4.3.1
1522
      echo
1523
    fi
1524
    test "$ac_signal" != 0 &&
1525
      echo "$as_me: caught signal $ac_signal"
1526
    echo "$as_me: exit $exit_status"
1527
  } >&5
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1528
  rm -f core *.core core.conftest.* &&
1529
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1 by Michael Vogt
Import upstream version 0.4.3.1
1530
    exit $exit_status
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1531
' 0
1 by Michael Vogt
Import upstream version 0.4.3.1
1532
for ac_signal in 1 2 13 15; do
1533
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1534
done
1535
ac_signal=0
1536
1537
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1538
rm -f -r conftest* confdefs.h
1 by Michael Vogt
Import upstream version 0.4.3.1
1539
1540
# Predefined preprocessor variables.
1541
1542
cat >>confdefs.h <<_ACEOF
1543
#define PACKAGE_NAME "$PACKAGE_NAME"
1544
_ACEOF
1545
1546
1547
cat >>confdefs.h <<_ACEOF
1548
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1549
_ACEOF
1550
1551
1552
cat >>confdefs.h <<_ACEOF
1553
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1554
_ACEOF
1555
1556
1557
cat >>confdefs.h <<_ACEOF
1558
#define PACKAGE_STRING "$PACKAGE_STRING"
1559
_ACEOF
1560
1561
1562
cat >>confdefs.h <<_ACEOF
1563
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1564
_ACEOF
1565
1566
1567
# Let the site file select an alternate cache file if it wants to.
1568
# Prefer explicitly selected file to automatically selected ones.
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1569
if test -n "$CONFIG_SITE"; then
1570
  set x "$CONFIG_SITE"
1571
elif test "x$prefix" != xNONE; then
1572
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1573
else
1574
  set x "$ac_default_prefix/share/config.site" \
1575
	"$ac_default_prefix/etc/config.site"
1 by Michael Vogt
Import upstream version 0.4.3.1
1576
fi
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1577
shift
1578
for ac_site_file
1579
do
1 by Michael Vogt
Import upstream version 0.4.3.1
1580
  if test -r "$ac_site_file"; then
1581
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1582
echo "$as_me: loading site script $ac_site_file" >&6;}
1583
    sed 's/^/| /' "$ac_site_file" >&5
1584
    . "$ac_site_file"
1585
  fi
1586
done
1587
1588
if test -r "$cache_file"; then
1589
  # Some versions of bash will fail to source /dev/null (special
1590
  # files actually), so we avoid doing that.
1591
  if test -f "$cache_file"; then
1592
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1593
echo "$as_me: loading cache $cache_file" >&6;}
1594
    case $cache_file in
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1595
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1596
      *)                      . "./$cache_file";;
1 by Michael Vogt
Import upstream version 0.4.3.1
1597
    esac
1598
  fi
1599
else
1600
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1601
echo "$as_me: creating cache $cache_file" >&6;}
1602
  >$cache_file
1603
fi
1604
1605
# Check that the precious variables saved in the cache have kept the same
1606
# value.
1607
ac_cache_corrupted=false
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1608
for ac_var in $ac_precious_vars; do
1 by Michael Vogt
Import upstream version 0.4.3.1
1609
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1610
  eval ac_new_set=\$ac_env_${ac_var}_set
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1611
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1612
  eval ac_new_val=\$ac_env_${ac_var}_value
1 by Michael Vogt
Import upstream version 0.4.3.1
1613
  case $ac_old_set,$ac_new_set in
1614
    set,)
1615
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1616
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1617
      ac_cache_corrupted=: ;;
1618
    ,set)
1619
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1620
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1621
      ac_cache_corrupted=: ;;
1622
    ,);;
1623
    *)
1624
      if test "x$ac_old_val" != "x$ac_new_val"; then
1625
	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1626
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1627
	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1628
echo "$as_me:   former value:  $ac_old_val" >&2;}
1629
	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1630
echo "$as_me:   current value: $ac_new_val" >&2;}
1631
	ac_cache_corrupted=:
1632
      fi;;
1633
  esac
1634
  # Pass precious variables to config.status.
1635
  if test "$ac_new_set" = set; then
1636
    case $ac_new_val in
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1637
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1 by Michael Vogt
Import upstream version 0.4.3.1
1638
    *) ac_arg=$ac_var=$ac_new_val ;;
1639
    esac
1640
    case " $ac_configure_args " in
1641
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1642
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1643
    esac
1644
  fi
1645
done
1646
if $ac_cache_corrupted; then
1647
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1648
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1649
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1650
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1651
   { (exit 1); exit 1; }; }
1652
fi
1653
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1.2.5 by Theppitak Karoonboonyanan
Import upstream version 0.4.8
1670
1671
1672
1673
1674
1675
1676
1677
1 by Michael Vogt
Import upstream version 0.4.3.1
1678
ac_ext=c
1679
ac_cpp='$CPP $CPPFLAGS'
1680
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1681
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1682
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1683
1684
1.2.5 by Theppitak Karoonboonyanan
Import upstream version 0.4.8
1685
1686
1.2.7 by Theppitak Karoonboonyanan
Import upstream version 0.4.10
1687
am__api_version='1.10'
1688
1 by Michael Vogt
Import upstream version 0.4.3.1
1689
ac_aux_dir=
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1690
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1691
  if test -f "$ac_dir/install-sh"; then
1 by Michael Vogt
Import upstream version 0.4.3.1
1692
    ac_aux_dir=$ac_dir
1693
    ac_install_sh="$ac_aux_dir/install-sh -c"
1694
    break
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1695
  elif test -f "$ac_dir/install.sh"; then
1 by Michael Vogt
Import upstream version 0.4.3.1
1696
    ac_aux_dir=$ac_dir
1697
    ac_install_sh="$ac_aux_dir/install.sh -c"
1698
    break
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1699
  elif test -f "$ac_dir/shtool"; then
1 by Michael Vogt
Import upstream version 0.4.3.1
1700
    ac_aux_dir=$ac_dir
1701
    ac_install_sh="$ac_aux_dir/shtool install -c"
1702
    break
1703
  fi
1704
done
1705
if test -z "$ac_aux_dir"; then
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1706
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1707
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1 by Michael Vogt
Import upstream version 0.4.3.1
1708
   { (exit 1); exit 1; }; }
1709
fi
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1710
1711
# These three variables are undocumented and unsupported,
1712
# and are intended to be withdrawn in a future Autoconf release.
1713
# They can cause serious problems if a builder's source tree is in a directory
1714
# whose full name contains unusual characters.
1715
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1716
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1717
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1718
1 by Michael Vogt
Import upstream version 0.4.3.1
1719
1720
# Find a good install program.  We prefer a C program (faster),
1721
# so one script is as good as another.  But avoid the broken or
1722
# incompatible versions:
1723
# SysV /etc/install, /usr/sbin/install
1724
# SunOS /usr/etc/install
1725
# IRIX /sbin/install
1726
# AIX /bin/install
1727
# AmigaOS /C/install, which installs bootblocks on floppy discs
1728
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1729
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1730
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1731
# OS/2's system install, which has a completely different semantic
1732
# ./install, which can be erroneously created by make from ./install.sh.
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1733
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1734
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1 by Michael Vogt
Import upstream version 0.4.3.1
1735
if test -z "$INSTALL"; then
1736
if test "${ac_cv_path_install+set}" = set; then
1737
  echo $ECHO_N "(cached) $ECHO_C" >&6
1738
else
1739
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1740
for as_dir in $PATH
1741
do
1742
  IFS=$as_save_IFS
1743
  test -z "$as_dir" && as_dir=.
1744
  # Account for people who put trailing slashes in PATH elements.
1745
case $as_dir/ in
1746
  ./ | .// | /cC/* | \
1747
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1748
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1749
  /usr/ucb/* ) ;;
1750
  *)
1751
    # OSF1 and SCO ODT 3.0 have their own names for install.
1752
    # Don't use installbsd from OSF since it installs stuff as root
1753
    # by default.
1754
    for ac_prog in ginstall scoinst install; do
1755
      for ac_exec_ext in '' $ac_executable_extensions; do
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
1756
	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1 by Michael Vogt
Import upstream version 0.4.3.1
1757
	  if test $ac_prog = install &&
1758
	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1759
	    # AIX install.  It has an incompatible calling convention.
1760
	    :
1761
	  elif test $ac_prog = install &&
1762
	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1763
	    # program-specific install script used by HP pwplus--don't use.
1764
	    :
1765
	  else
1766
	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1767
	    break 3
1768
	  fi
1769
	fi
1770
      done
1771
    done
1772
    ;;
1773
esac
1774
done
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1775
IFS=$as_save_IFS
1 by Michael Vogt
Import upstream version 0.4.3.1
1776
1777
1778
fi
1779
  if test "${ac_cv_path_install+set}" = set; then
1780
    INSTALL=$ac_cv_path_install
1781
  else
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1782
    # As a last resort, use the slow shell script.  Don't cache a
1783
    # value for INSTALL within a source directory, because that will
1 by Michael Vogt
Import upstream version 0.4.3.1
1784
    # break other packages using the cache if that directory is
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1785
    # removed, or if the value is a relative name.
1 by Michael Vogt
Import upstream version 0.4.3.1
1786
    INSTALL=$ac_install_sh
1787
  fi
1788
fi
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1789
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1790
echo "${ECHO_T}$INSTALL" >&6; }
1 by Michael Vogt
Import upstream version 0.4.3.1
1791
1792
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1793
# It thinks the first close brace ends the variable substitution.
1794
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1795
1796
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1797
1798
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1799
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1800
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1801
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1 by Michael Vogt
Import upstream version 0.4.3.1
1802
# Just in case
1803
sleep 1
1804
echo timestamp > conftest.file
1805
# Do `set' in a subshell so we don't clobber the current shell's
1806
# arguments.  Must try -L first in case configure is actually a
1807
# symlink; some systems play weird games with the mod time of symlinks
1808
# (eg FreeBSD returns the mod time of the symlink's containing
1809
# directory).
1810
if (
1811
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1812
   if test "$*" = "X"; then
1813
      # -L didn't work.
1814
      set X `ls -t $srcdir/configure conftest.file`
1815
   fi
1816
   rm -f conftest.file
1817
   if test "$*" != "X $srcdir/configure conftest.file" \
1818
      && test "$*" != "X conftest.file $srcdir/configure"; then
1819
1820
      # If neither matched, then we have a broken ls.  This can happen
1821
      # if, for instance, CONFIG_SHELL is bash and it inherits a
1822
      # broken ls alias from the environment.  This has actually
1823
      # happened.  Such a system could not be considered "sane".
1824
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1825
alias in your environment" >&5
1826
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1827
alias in your environment" >&2;}
1828
   { (exit 1); exit 1; }; }
1829
   fi
1830
1831
   test "$2" = conftest.file
1832
   )
1833
then
1834
   # Ok.
1835
   :
1836
else
1837
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1838
Check your system clock" >&5
1839
echo "$as_me: error: newly created file is older than distributed files!
1840
Check your system clock" >&2;}
1841
   { (exit 1); exit 1; }; }
1842
fi
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1843
{ echo "$as_me:$LINENO: result: yes" >&5
1844
echo "${ECHO_T}yes" >&6; }
1 by Michael Vogt
Import upstream version 0.4.3.1
1845
test "$program_prefix" != NONE &&
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1846
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1 by Michael Vogt
Import upstream version 0.4.3.1
1847
# Use a double $ so make ignores it.
1848
test "$program_suffix" != NONE &&
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1849
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1 by Michael Vogt
Import upstream version 0.4.3.1
1850
# Double any \ or $.  echo might interpret backslashes.
1851
# By default was `s,x,x', remove it if useless.
1852
cat <<\_ACEOF >conftest.sed
1853
s/[\\$]/&&/g;s/;s,x,x,$//
1854
_ACEOF
1855
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1856
rm -f conftest.sed
1 by Michael Vogt
Import upstream version 0.4.3.1
1857
1858
# expand $ac_aux_dir to an absolute path
1859
am_aux_dir=`cd $ac_aux_dir && pwd`
1860
1861
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1862
# Use eval to expand $SHELL
1863
if eval "$MISSING --run true"; then
1864
  am_missing_run="$MISSING --run "
1865
else
1866
  am_missing_run=
1867
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1868
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1869
fi
1870
1.2.7 by Theppitak Karoonboonyanan
Import upstream version 0.4.10
1871
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1872
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1873
if test -z "$MKDIR_P"; then
1874
  if test "${ac_cv_path_mkdir+set}" = set; then
1875
  echo $ECHO_N "(cached) $ECHO_C" >&6
1.2.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.4
1876
else
1.2.7 by Theppitak Karoonboonyanan
Import upstream version 0.4.10
1877
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1878
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1879
do
1880
  IFS=$as_save_IFS
1881
  test -z "$as_dir" && as_dir=.
1882
  for ac_prog in mkdir gmkdir; do
1883
	 for ac_exec_ext in '' $ac_executable_extensions; do
1884
	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1885
	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1886
	     'mkdir (GNU coreutils) '* | \
1887
	     'mkdir (coreutils) '* | \
1888
	     'mkdir (fileutils) '4.1*)
1889
	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1890
	       break 3;;
1891
	   esac
1892
	 done
1893
       done
1894
done
1895
IFS=$as_save_IFS
1896
1897
fi
1898
1899
  if test "${ac_cv_path_mkdir+set}" = set; then
1900
    MKDIR_P="$ac_cv_path_mkdir -p"
1.2.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.4
1901
  else
1.2.7 by Theppitak Karoonboonyanan
Import upstream version 0.4.10
1902
    # As a last resort, use the slow shell script.  Don't cache a
1903
    # value for MKDIR_P within a source directory, because that will
1904
    # break other packages using the cache if that directory is
1905
    # removed, or if the value is a relative name.
1906
    test -d ./--version && rmdir ./--version
1907
    MKDIR_P="$ac_install_sh -d"
1.2.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.4
1908
  fi
1909
fi
1.2.7 by Theppitak Karoonboonyanan
Import upstream version 0.4.10
1910
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1911
echo "${ECHO_T}$MKDIR_P" >&6; }
1912
1913
mkdir_p="$MKDIR_P"
1914
case $mkdir_p in
1915
  [\\/$]* | ?:[\\/]*) ;;
1916
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1917
esac
1.2.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.4
1918
1 by Michael Vogt
Import upstream version 0.4.3.1
1919
for ac_prog in gawk mawk nawk awk
1920
do
1921
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1922
set dummy $ac_prog; ac_word=$2
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1923
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1924
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1 by Michael Vogt
Import upstream version 0.4.3.1
1925
if test "${ac_cv_prog_AWK+set}" = set; then
1926
  echo $ECHO_N "(cached) $ECHO_C" >&6
1927
else
1928
  if test -n "$AWK"; then
1929
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1930
else
1931
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1932
for as_dir in $PATH
1933
do
1934
  IFS=$as_save_IFS
1935
  test -z "$as_dir" && as_dir=.
1936
  for ac_exec_ext in '' $ac_executable_extensions; do
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
1937
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1 by Michael Vogt
Import upstream version 0.4.3.1
1938
    ac_cv_prog_AWK="$ac_prog"
1939
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1940
    break 2
1941
  fi
1942
done
1943
done
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1944
IFS=$as_save_IFS
1 by Michael Vogt
Import upstream version 0.4.3.1
1945
1946
fi
1947
fi
1948
AWK=$ac_cv_prog_AWK
1949
if test -n "$AWK"; then
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1950
  { echo "$as_me:$LINENO: result: $AWK" >&5
1951
echo "${ECHO_T}$AWK" >&6; }
1 by Michael Vogt
Import upstream version 0.4.3.1
1952
else
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1953
  { echo "$as_me:$LINENO: result: no" >&5
1954
echo "${ECHO_T}no" >&6; }
1 by Michael Vogt
Import upstream version 0.4.3.1
1955
fi
1956
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1957
1 by Michael Vogt
Import upstream version 0.4.3.1
1958
  test -n "$AWK" && break
1959
done
1960
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1961
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1962
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1963
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1964
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1 by Michael Vogt
Import upstream version 0.4.3.1
1965
  echo $ECHO_N "(cached) $ECHO_C" >&6
1966
else
1967
  cat >conftest.make <<\_ACEOF
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1968
SHELL = /bin/sh
1 by Michael Vogt
Import upstream version 0.4.3.1
1969
all:
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1970
	@echo '@@@%%%=$(MAKE)=@@@%%%'
1 by Michael Vogt
Import upstream version 0.4.3.1
1971
_ACEOF
1972
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1973
case `${MAKE-make} -f conftest.make 2>/dev/null` in
1974
  *@@@%%%=?*=@@@%%%*)
1975
    eval ac_cv_prog_make_${ac_make}_set=yes;;
1976
  *)
1977
    eval ac_cv_prog_make_${ac_make}_set=no;;
1978
esac
1 by Michael Vogt
Import upstream version 0.4.3.1
1979
rm -f conftest.make
1980
fi
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1981
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1982
  { echo "$as_me:$LINENO: result: yes" >&5
1983
echo "${ECHO_T}yes" >&6; }
1 by Michael Vogt
Import upstream version 0.4.3.1
1984
  SET_MAKE=
1985
else
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
1986
  { echo "$as_me:$LINENO: result: no" >&5
1987
echo "${ECHO_T}no" >&6; }
1 by Michael Vogt
Import upstream version 0.4.3.1
1988
  SET_MAKE="MAKE=${MAKE-make}"
1989
fi
1990
1991
rm -rf .tst 2>/dev/null
1992
mkdir .tst 2>/dev/null
1993
if test -d .tst; then
1994
  am__leading_dot=.
1995
else
1996
  am__leading_dot=_
1997
fi
1998
rmdir .tst 2>/dev/null
1999
1.2.7 by Theppitak Karoonboonyanan
Import upstream version 0.4.10
2000
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2001
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2002
  # is not polluted with repeated "-I."
2003
  am__isrc=' -I$(srcdir)'
2004
  # test to see if srcdir already configured
2005
  if test -f $srcdir/config.status; then
2006
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1 by Michael Vogt
Import upstream version 0.4.3.1
2007
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2008
   { (exit 1); exit 1; }; }
1.2.7 by Theppitak Karoonboonyanan
Import upstream version 0.4.10
2009
  fi
1 by Michael Vogt
Import upstream version 0.4.3.1
2010
fi
2011
2012
# test whether we have cygpath
2013
if test -z "$CYGPATH_W"; then
2014
  if (cygpath --version) >/dev/null 2>/dev/null; then
2015
    CYGPATH_W='cygpath -w'
2016
  else
2017
    CYGPATH_W=echo
2018
  fi
2019
fi
2020
2021
2022
# Define the identity of the package.
1.2.5 by Theppitak Karoonboonyanan
Import upstream version 0.4.8
2023
 PACKAGE='thaifonts-scalable'
1.2.8 by Theppitak Karoonboonyanan
Import upstream version 0.4.11
2024
 VERSION='0.4.11'
1 by Michael Vogt
Import upstream version 0.4.3.1
2025
2026
2027
cat >>confdefs.h <<_ACEOF
2028
#define PACKAGE "$PACKAGE"
2029
_ACEOF
2030
2031
2032
cat >>confdefs.h <<_ACEOF
2033
#define VERSION "$VERSION"
2034
_ACEOF
2035
2036
# Some tools Automake needs.
2037
2038
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2039
2040
2041
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2042
2043
2044
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2045
2046
2047
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2048
2049
2050
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2051
1.2.7 by Theppitak Karoonboonyanan
Import upstream version 0.4.10
2052
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
1 by Michael Vogt
Import upstream version 0.4.3.1
2053
2054
# Installed binaries are usually stripped using `strip' when the user
2055
# run `make install-strip'.  However `strip' might not be the right
2056
# tool to use in cross-compilation environments, therefore Automake
2057
# will honor the `STRIP' environment variable to overrule this program.
2058
if test "$cross_compiling" != no; then
2059
  if test -n "$ac_tool_prefix"; then
2060
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2061
set dummy ${ac_tool_prefix}strip; ac_word=$2
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2062
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2063
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1 by Michael Vogt
Import upstream version 0.4.3.1
2064
if test "${ac_cv_prog_STRIP+set}" = set; then
2065
  echo $ECHO_N "(cached) $ECHO_C" >&6
2066
else
2067
  if test -n "$STRIP"; then
2068
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2069
else
2070
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2071
for as_dir in $PATH
2072
do
2073
  IFS=$as_save_IFS
2074
  test -z "$as_dir" && as_dir=.
2075
  for ac_exec_ext in '' $ac_executable_extensions; do
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
2076
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1 by Michael Vogt
Import upstream version 0.4.3.1
2077
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2078
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2079
    break 2
2080
  fi
2081
done
2082
done
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2083
IFS=$as_save_IFS
1 by Michael Vogt
Import upstream version 0.4.3.1
2084
2085
fi
2086
fi
2087
STRIP=$ac_cv_prog_STRIP
2088
if test -n "$STRIP"; then
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2089
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2090
echo "${ECHO_T}$STRIP" >&6; }
1 by Michael Vogt
Import upstream version 0.4.3.1
2091
else
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2092
  { echo "$as_me:$LINENO: result: no" >&5
2093
echo "${ECHO_T}no" >&6; }
1 by Michael Vogt
Import upstream version 0.4.3.1
2094
fi
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2095
1 by Michael Vogt
Import upstream version 0.4.3.1
2096
2097
fi
2098
if test -z "$ac_cv_prog_STRIP"; then
2099
  ac_ct_STRIP=$STRIP
2100
  # Extract the first word of "strip", so it can be a program name with args.
2101
set dummy strip; ac_word=$2
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2102
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2103
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1 by Michael Vogt
Import upstream version 0.4.3.1
2104
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2105
  echo $ECHO_N "(cached) $ECHO_C" >&6
2106
else
2107
  if test -n "$ac_ct_STRIP"; then
2108
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2109
else
2110
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2111
for as_dir in $PATH
2112
do
2113
  IFS=$as_save_IFS
2114
  test -z "$as_dir" && as_dir=.
2115
  for ac_exec_ext in '' $ac_executable_extensions; do
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
2116
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1 by Michael Vogt
Import upstream version 0.4.3.1
2117
    ac_cv_prog_ac_ct_STRIP="strip"
2118
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2119
    break 2
2120
  fi
2121
done
2122
done
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2123
IFS=$as_save_IFS
1 by Michael Vogt
Import upstream version 0.4.3.1
2124
2125
fi
2126
fi
2127
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2128
if test -n "$ac_ct_STRIP"; then
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2129
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2130
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
1 by Michael Vogt
Import upstream version 0.4.3.1
2131
else
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2132
  { echo "$as_me:$LINENO: result: no" >&5
2133
echo "${ECHO_T}no" >&6; }
1 by Michael Vogt
Import upstream version 0.4.3.1
2134
fi
2135
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2136
  if test "x$ac_ct_STRIP" = x; then
2137
    STRIP=":"
2138
  else
2139
    case $cross_compiling:$ac_tool_warned in
2140
yes:)
2141
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2142
whose name does not start with the host triplet.  If you think this
2143
configuration is useful to you, please write to autoconf@gnu.org." >&5
2144
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2145
whose name does not start with the host triplet.  If you think this
2146
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2147
ac_tool_warned=yes ;;
2148
esac
2149
    STRIP=$ac_ct_STRIP
2150
  fi
1 by Michael Vogt
Import upstream version 0.4.3.1
2151
else
2152
  STRIP="$ac_cv_prog_STRIP"
2153
fi
2154
2155
fi
1.2.7 by Theppitak Karoonboonyanan
Import upstream version 0.4.10
2156
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1 by Michael Vogt
Import upstream version 0.4.3.1
2157
2158
# We need awk for the "check" target.  The system "awk" is bad on
2159
# some platforms.
1.2.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.4
2160
# Always define AMTAR for backward compatibility.
2161
2162
AMTAR=${AMTAR-"${am_missing_run}tar"}
2163
2164
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2165
2166
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2167
2168
2169
2170
1.2.7 by Theppitak Karoonboonyanan
Import upstream version 0.4.10
2171
FONTFORGE_MIN_VER=20080110
2172
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2173
# Check whether --enable-ttf was given.
1 by Michael Vogt
Import upstream version 0.4.3.1
2174
if test "${enable_ttf+set}" = set; then
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2175
  enableval=$enable_ttf;
1 by Michael Vogt
Import upstream version 0.4.3.1
2176
else
2177
  enable_ttf="yes"
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2178
fi
2179
1 by Michael Vogt
Import upstream version 0.4.3.1
2180
if test "x$enable_ttf" = "xyes"; then
2181
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2182
# Check whether --with-ttfdir was given.
1 by Michael Vogt
Import upstream version 0.4.3.1
2183
if test "${with_ttfdir+set}" = set; then
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2184
  withval=$with_ttfdir; ttfdir="$withval"
1 by Michael Vogt
Import upstream version 0.4.3.1
2185
else
2186
  ttfdir=\$\{prefix\}/share/fonts/th/TTF
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2187
fi
2188
2189
  { echo "$as_me:$LINENO: checking --with-ttfdir" >&5
2190
echo $ECHO_N "checking --with-ttfdir... $ECHO_C" >&6; }
2191
  { echo "$as_me:$LINENO: result: \"$ttfdir\"" >&5
2192
echo "${ECHO_T}\"$ttfdir\"" >&6; }
2193
2194
2195
fi
2196
2197
# Check whether --enable-pfa was given.
1 by Michael Vogt
Import upstream version 0.4.3.1
2198
if test "${enable_pfa+set}" = set; then
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2199
  enableval=$enable_pfa;
1 by Michael Vogt
Import upstream version 0.4.3.1
2200
else
2201
  enable_pfa="no"
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2202
fi
2203
2204
# Check whether --enable-pfb was given.
1 by Michael Vogt
Import upstream version 0.4.3.1
2205
if test "${enable_pfb+set}" = set; then
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2206
  enableval=$enable_pfb;
1 by Michael Vogt
Import upstream version 0.4.3.1
2207
else
2208
  enable_pfb="no"
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2209
fi
2210
1 by Michael Vogt
Import upstream version 0.4.3.1
2211
if test "x$enable_pfa" = "xyes" -o "x$enable_pfb" = "xyes"; then
2212
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2213
# Check whether --with-type1dir was given.
1 by Michael Vogt
Import upstream version 0.4.3.1
2214
if test "${with_type1dir+set}" = set; then
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2215
  withval=$with_type1dir; type1dir="$withval"
1 by Michael Vogt
Import upstream version 0.4.3.1
2216
else
2217
  type1dir=\$\{prefix\}/share/fonts/th/Type1
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2218
fi
2219
2220
  { echo "$as_me:$LINENO: checking --with-type1dir" >&5
2221
echo $ECHO_N "checking --with-type1dir... $ECHO_C" >&6; }
2222
  { echo "$as_me:$LINENO: result: \"$type1dir\"" >&5
2223
echo "${ECHO_T}\"$type1dir\"" >&6; }
2224
2225
2226
fi
2227
2228
# Check whether --enable-otf was given.
1 by Michael Vogt
Import upstream version 0.4.3.1
2229
if test "${enable_otf+set}" = set; then
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2230
  enableval=$enable_otf;
1 by Michael Vogt
Import upstream version 0.4.3.1
2231
else
2232
  enable_otf="no"
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2233
fi
2234
1 by Michael Vogt
Import upstream version 0.4.3.1
2235
if test "x$enable_otf" = "xyes"; then
2236
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2237
# Check whether --with-otfdir was given.
1 by Michael Vogt
Import upstream version 0.4.3.1
2238
if test "${with_otfdir+set}" = set; then
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2239
  withval=$with_otfdir; otfdir="$withval"
1 by Michael Vogt
Import upstream version 0.4.3.1
2240
else
2241
  otfdir=\$\{prefix\}/share/fonts/th/OTF
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2242
fi
2243
2244
  { echo "$as_me:$LINENO: checking --with-otfdir" >&5
2245
echo $ECHO_N "checking --with-otfdir... $ECHO_C" >&6; }
2246
  { echo "$as_me:$LINENO: result: \"$otfdir\"" >&5
2247
echo "${ECHO_T}\"$otfdir\"" >&6; }
2248
2249
2250
fi
2251
2252
# Check whether --enable-testfont was given.
1 by Michael Vogt
Import upstream version 0.4.3.1
2253
if test "${enable_testfont+set}" = set; then
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2254
  enableval=$enable_testfont;
1 by Michael Vogt
Import upstream version 0.4.3.1
2255
else
2256
  enable_testfont="no"
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2257
fi
2258
1 by Michael Vogt
Import upstream version 0.4.3.1
2259
if test "x$enable_testfont" = "xyes"; then
2260
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2261
# Check whether --with-testfontdir was given.
1 by Michael Vogt
Import upstream version 0.4.3.1
2262
if test "${with_testfontdir+set}" = set; then
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2263
  withval=$with_testfontdir; testfontdir="$withval"
1 by Michael Vogt
Import upstream version 0.4.3.1
2264
else
2265
  testfontdir=\$\{HOME\}/.fonts/testfont
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2266
fi
2267
2268
  { echo "$as_me:$LINENO: checking --with-testfontdir" >&5
2269
echo $ECHO_N "checking --with-testfontdir... $ECHO_C" >&6; }
2270
  { echo "$as_me:$LINENO: result: \"$testfontdir\"" >&5
2271
echo "${ECHO_T}\"$testfontdir\"" >&6; }
1 by Michael Vogt
Import upstream version 0.4.3.1
2272
2273
2274
fi
2275
2276
1.2.7 by Theppitak Karoonboonyanan
Import upstream version 0.4.10
2277
 if test $enable_ttf = "yes"; then
1 by Michael Vogt
Import upstream version 0.4.3.1
2278
  INCLUDE_TTF_TRUE=
2279
  INCLUDE_TTF_FALSE='#'
2280
else
2281
  INCLUDE_TTF_TRUE='#'
2282
  INCLUDE_TTF_FALSE=
2283
fi
2284
1.2.7 by Theppitak Karoonboonyanan
Import upstream version 0.4.10
2285
 if test $enable_pfa = "yes"; then
1 by Michael Vogt
Import upstream version 0.4.3.1
2286
  INCLUDE_PFA_TRUE=
2287
  INCLUDE_PFA_FALSE='#'
2288
else
2289
  INCLUDE_PFA_TRUE='#'
2290
  INCLUDE_PFA_FALSE=
2291
fi
2292
1.2.7 by Theppitak Karoonboonyanan
Import upstream version 0.4.10
2293
 if test $enable_pfb = "yes"; then
1 by Michael Vogt
Import upstream version 0.4.3.1
2294
  INCLUDE_PFB_TRUE=
2295
  INCLUDE_PFB_FALSE='#'
2296
else
2297
  INCLUDE_PFB_TRUE='#'
2298
  INCLUDE_PFB_FALSE=
2299
fi
2300
1.2.7 by Theppitak Karoonboonyanan
Import upstream version 0.4.10
2301
 if test $enable_pfa = "yes" -o $enable_pfb = "yes"; then
1 by Michael Vogt
Import upstream version 0.4.3.1
2302
  INCLUDE_TYPE1_TRUE=
2303
  INCLUDE_TYPE1_FALSE='#'
2304
else
2305
  INCLUDE_TYPE1_TRUE='#'
2306
  INCLUDE_TYPE1_FALSE=
2307
fi
2308
1.2.7 by Theppitak Karoonboonyanan
Import upstream version 0.4.10
2309
 if test $enable_otf = "yes"; then
1 by Michael Vogt
Import upstream version 0.4.3.1
2310
  INCLUDE_OTF_TRUE=
2311
  INCLUDE_OTF_FALSE='#'
2312
else
2313
  INCLUDE_OTF_TRUE='#'
2314
  INCLUDE_OTF_FALSE=
2315
fi
2316
1.2.7 by Theppitak Karoonboonyanan
Import upstream version 0.4.10
2317
 if test $enable_testfont = "yes"; then
1 by Michael Vogt
Import upstream version 0.4.3.1
2318
  INCLUDE_TESTFONT_TRUE=
2319
  INCLUDE_TESTFONT_FALSE='#'
2320
else
2321
  INCLUDE_TESTFONT_TRUE='#'
2322
  INCLUDE_TESTFONT_FALSE=
2323
fi
2324
2325
2326
# Find a good install program.  We prefer a C program (faster),
2327
# so one script is as good as another.  But avoid the broken or
2328
# incompatible versions:
2329
# SysV /etc/install, /usr/sbin/install
2330
# SunOS /usr/etc/install
2331
# IRIX /sbin/install
2332
# AIX /bin/install
2333
# AmigaOS /C/install, which installs bootblocks on floppy discs
2334
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2335
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2336
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2337
# OS/2's system install, which has a completely different semantic
2338
# ./install, which can be erroneously created by make from ./install.sh.
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2339
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2340
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1 by Michael Vogt
Import upstream version 0.4.3.1
2341
if test -z "$INSTALL"; then
2342
if test "${ac_cv_path_install+set}" = set; then
2343
  echo $ECHO_N "(cached) $ECHO_C" >&6
2344
else
2345
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2346
for as_dir in $PATH
2347
do
2348
  IFS=$as_save_IFS
2349
  test -z "$as_dir" && as_dir=.
2350
  # Account for people who put trailing slashes in PATH elements.
2351
case $as_dir/ in
2352
  ./ | .// | /cC/* | \
2353
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2354
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2355
  /usr/ucb/* ) ;;
2356
  *)
2357
    # OSF1 and SCO ODT 3.0 have their own names for install.
2358
    # Don't use installbsd from OSF since it installs stuff as root
2359
    # by default.
2360
    for ac_prog in ginstall scoinst install; do
2361
      for ac_exec_ext in '' $ac_executable_extensions; do
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
2362
	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1 by Michael Vogt
Import upstream version 0.4.3.1
2363
	  if test $ac_prog = install &&
2364
	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2365
	    # AIX install.  It has an incompatible calling convention.
2366
	    :
2367
	  elif test $ac_prog = install &&
2368
	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2369
	    # program-specific install script used by HP pwplus--don't use.
2370
	    :
2371
	  else
2372
	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2373
	    break 3
2374
	  fi
2375
	fi
2376
      done
2377
    done
2378
    ;;
2379
esac
2380
done
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2381
IFS=$as_save_IFS
1 by Michael Vogt
Import upstream version 0.4.3.1
2382
2383
2384
fi
2385
  if test "${ac_cv_path_install+set}" = set; then
2386
    INSTALL=$ac_cv_path_install
2387
  else
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2388
    # As a last resort, use the slow shell script.  Don't cache a
2389
    # value for INSTALL within a source directory, because that will
1 by Michael Vogt
Import upstream version 0.4.3.1
2390
    # break other packages using the cache if that directory is
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2391
    # removed, or if the value is a relative name.
1 by Michael Vogt
Import upstream version 0.4.3.1
2392
    INSTALL=$ac_install_sh
2393
  fi
2394
fi
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2395
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2396
echo "${ECHO_T}$INSTALL" >&6; }
1 by Michael Vogt
Import upstream version 0.4.3.1
2397
2398
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2399
# It thinks the first close brace ends the variable substitution.
2400
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2401
2402
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2403
2404
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2405
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2406
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
2407
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
1 by Michael Vogt
Import upstream version 0.4.3.1
2408
LN_S=$as_ln_s
2409
if test "$LN_S" = "ln -s"; then
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2410
  { echo "$as_me:$LINENO: result: yes" >&5
2411
echo "${ECHO_T}yes" >&6; }
1 by Michael Vogt
Import upstream version 0.4.3.1
2412
else
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2413
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2414
echo "${ECHO_T}no, using $LN_S" >&6; }
1 by Michael Vogt
Import upstream version 0.4.3.1
2415
fi
2416
2417
for ac_prog in rmdir
2418
do
2419
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2420
set dummy $ac_prog; ac_word=$2
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2421
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2422
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1 by Michael Vogt
Import upstream version 0.4.3.1
2423
if test "${ac_cv_prog_RMDIR+set}" = set; then
2424
  echo $ECHO_N "(cached) $ECHO_C" >&6
2425
else
2426
  if test -n "$RMDIR"; then
2427
  ac_cv_prog_RMDIR="$RMDIR" # Let the user override the test.
2428
else
2429
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2430
for as_dir in $PATH
2431
do
2432
  IFS=$as_save_IFS
2433
  test -z "$as_dir" && as_dir=.
2434
  for ac_exec_ext in '' $ac_executable_extensions; do
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
2435
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1 by Michael Vogt
Import upstream version 0.4.3.1
2436
    ac_cv_prog_RMDIR="$ac_prog"
2437
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2438
    break 2
2439
  fi
2440
done
2441
done
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2442
IFS=$as_save_IFS
1 by Michael Vogt
Import upstream version 0.4.3.1
2443
2444
fi
2445
fi
2446
RMDIR=$ac_cv_prog_RMDIR
2447
if test -n "$RMDIR"; then
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2448
  { echo "$as_me:$LINENO: result: $RMDIR" >&5
2449
echo "${ECHO_T}$RMDIR" >&6; }
1 by Michael Vogt
Import upstream version 0.4.3.1
2450
else
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2451
  { echo "$as_me:$LINENO: result: no" >&5
2452
echo "${ECHO_T}no" >&6; }
1 by Michael Vogt
Import upstream version 0.4.3.1
2453
fi
2454
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2455
1 by Michael Vogt
Import upstream version 0.4.3.1
2456
  test -n "$RMDIR" && break
2457
done
2458
test -n "$RMDIR" || RMDIR="no"
2459
2460
1.2.5 by Theppitak Karoonboonyanan
Import upstream version 0.4.8
2461
for ac_prog in fontforge
1 by Michael Vogt
Import upstream version 0.4.3.1
2462
do
2463
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2464
set dummy $ac_prog; ac_word=$2
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2465
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2466
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
2467
if test "${ac_cv_prog_FONTFORGE+set}" = set; then
1 by Michael Vogt
Import upstream version 0.4.3.1
2468
  echo $ECHO_N "(cached) $ECHO_C" >&6
2469
else
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
2470
  if test -n "$FONTFORGE"; then
2471
  ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
1 by Michael Vogt
Import upstream version 0.4.3.1
2472
else
2473
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2474
for as_dir in $PATH
2475
do
2476
  IFS=$as_save_IFS
2477
  test -z "$as_dir" && as_dir=.
2478
  for ac_exec_ext in '' $ac_executable_extensions; do
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
2479
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2480
    ac_cv_prog_FONTFORGE="$ac_prog"
1 by Michael Vogt
Import upstream version 0.4.3.1
2481
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2482
    break 2
2483
  fi
2484
done
2485
done
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2486
IFS=$as_save_IFS
1 by Michael Vogt
Import upstream version 0.4.3.1
2487
2488
fi
2489
fi
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
2490
FONTFORGE=$ac_cv_prog_FONTFORGE
2491
if test -n "$FONTFORGE"; then
2492
  { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
2493
echo "${ECHO_T}$FONTFORGE" >&6; }
1 by Michael Vogt
Import upstream version 0.4.3.1
2494
else
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2495
  { echo "$as_me:$LINENO: result: no" >&5
2496
echo "${ECHO_T}no" >&6; }
1 by Michael Vogt
Import upstream version 0.4.3.1
2497
fi
2498
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2499
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
2500
  test -n "$FONTFORGE" && break
1 by Michael Vogt
Import upstream version 0.4.3.1
2501
done
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
2502
test -n "$FONTFORGE" || FONTFORGE="no"
2503
2504
2505
if test "x$FONTFORGE" = "xno"; then
2506
  { { echo "$as_me:$LINENO: error: You need fontforge to generate fonts." >&5
2507
echo "$as_me: error: You need fontforge to generate fonts." >&2;}
1 by Michael Vogt
Import upstream version 0.4.3.1
2508
   { (exit 1); exit 1; }; }
1.2.5 by Theppitak Karoonboonyanan
Import upstream version 0.4.8
2509
else
1.2.7 by Theppitak Karoonboonyanan
Import upstream version 0.4.10
2510
  { echo "$as_me:$LINENO: checking for Fontforge >= $FONTFORGE_MIN_VER" >&5
2511
echo $ECHO_N "checking for Fontforge >= $FONTFORGE_MIN_VER... $ECHO_C" >&6; }
2512
  FONTFORGE_VER=`$FONTFORGE --version 2>/dev/null | grep '^fontforge' | cut -d' ' -f2`
2513
  if test $FONTFORGE_VER -lt $FONTFORGE_MIN_VER; then
2514
    { { echo "$as_me:$LINENO: error: Requires Fontforge >= $FONTFORGE_MIN_VER but $FONTFORGE_VER was found)" >&5
2515
echo "$as_me: error: Requires Fontforge >= $FONTFORGE_MIN_VER but $FONTFORGE_VER was found)" >&2;}
1.2.5 by Theppitak Karoonboonyanan
Import upstream version 0.4.8
2516
   { (exit 1); exit 1; }; }
2517
  fi
2518
  { echo "$as_me:$LINENO: result: $FONTFORGE_VER found, ok" >&5
2519
echo "${ECHO_T}$FONTFORGE_VER found, ok" >&6; }
1 by Michael Vogt
Import upstream version 0.4.3.1
2520
fi
2521
2522
# AC_CHECK_PROGS(TTMKFDIR,ttmkfdir,no)
2523
# if test "x$TTMKFDIR" = "xno" ; then
2524
#   AC_MSG_ERROR([You need ttmkfdir (from freetype distribution)])
2525
# fi
2526
2527
# Extract the first word of "mkfontscale", so it can be a program name with args.
2528
set dummy mkfontscale; ac_word=$2
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2529
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2530
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1 by Michael Vogt
Import upstream version 0.4.3.1
2531
if test "${ac_cv_prog_MKFONTSCALE+set}" = set; then
2532
  echo $ECHO_N "(cached) $ECHO_C" >&6
2533
else
2534
  if test -n "$MKFONTSCALE"; then
2535
  ac_cv_prog_MKFONTSCALE="$MKFONTSCALE" # Let the user override the test.
2536
else
2537
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2538
for as_dir in $PATH
2539
do
2540
  IFS=$as_save_IFS
2541
  test -z "$as_dir" && as_dir=.
2542
  for ac_exec_ext in '' $ac_executable_extensions; do
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
2543
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1 by Michael Vogt
Import upstream version 0.4.3.1
2544
    ac_cv_prog_MKFONTSCALE="mkfontscale"
2545
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2546
    break 2
2547
  fi
2548
done
2549
done
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2550
IFS=$as_save_IFS
1 by Michael Vogt
Import upstream version 0.4.3.1
2551
2552
fi
2553
fi
2554
MKFONTSCALE=$ac_cv_prog_MKFONTSCALE
2555
if test -n "$MKFONTSCALE"; then
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2556
  { echo "$as_me:$LINENO: result: $MKFONTSCALE" >&5
2557
echo "${ECHO_T}$MKFONTSCALE" >&6; }
1 by Michael Vogt
Import upstream version 0.4.3.1
2558
else
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2559
  { echo "$as_me:$LINENO: result: no" >&5
2560
echo "${ECHO_T}no" >&6; }
1 by Michael Vogt
Import upstream version 0.4.3.1
2561
fi
2562
2563
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2564
1 by Michael Vogt
Import upstream version 0.4.3.1
2565
# xorg or xfree86?
2566
if test "x$MKFONTSCALE" = "xmkfontscale"; then
2567
  if $MKFONTSCALE -n >/dev/null 2>&1; then
2568
    # xorg's mkfontscale
2569
    MKFONTSCALE="mkfontscale -a tis620-0 -a tis620-2"
2570
    rm -f fonts.scale encodings.dir
2571
  else
2572
    # xfree86's mkfontscale
2573
    MKFONTSCALE="mkfontscale -e tis620-0 -e tis620-2"
2574
  fi
2575
fi
2576
2577
if test "x$enable_ttf" = "xyes"; then
2578
  if test "x$MKFONTSCALE" = "x"; then
2579
    # Extract the first word of "ttmkfdir", so it can be a program name with args.
2580
set dummy ttmkfdir; ac_word=$2
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2581
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2582
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1 by Michael Vogt
Import upstream version 0.4.3.1
2583
if test "${ac_cv_prog_TTMKFDIR+set}" = set; then
2584
  echo $ECHO_N "(cached) $ECHO_C" >&6
2585
else
2586
  if test -n "$TTMKFDIR"; then
2587
  ac_cv_prog_TTMKFDIR="$TTMKFDIR" # Let the user override the test.
2588
else
2589
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2590
for as_dir in $PATH
2591
do
2592
  IFS=$as_save_IFS
2593
  test -z "$as_dir" && as_dir=.
2594
  for ac_exec_ext in '' $ac_executable_extensions; do
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
2595
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1 by Michael Vogt
Import upstream version 0.4.3.1
2596
    ac_cv_prog_TTMKFDIR="ttmkfdir"
2597
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2598
    break 2
2599
  fi
2600
done
2601
done
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2602
IFS=$as_save_IFS
1 by Michael Vogt
Import upstream version 0.4.3.1
2603
2604
fi
2605
fi
2606
TTMKFDIR=$ac_cv_prog_TTMKFDIR
2607
if test -n "$TTMKFDIR"; then
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2608
  { echo "$as_me:$LINENO: result: $TTMKFDIR" >&5
2609
echo "${ECHO_T}$TTMKFDIR" >&6; }
1 by Michael Vogt
Import upstream version 0.4.3.1
2610
else
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2611
  { echo "$as_me:$LINENO: result: no" >&5
2612
echo "${ECHO_T}no" >&6; }
1 by Michael Vogt
Import upstream version 0.4.3.1
2613
fi
2614
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2615
1 by Michael Vogt
Import upstream version 0.4.3.1
2616
    if test "x$TTMKFDIR" = "x"; then
2617
      { { echo "$as_me:$LINENO: error: You need mkfontscale or ttmkfdir" >&5
2618
echo "$as_me: error: You need mkfontscale or ttmkfdir" >&2;}
2619
   { (exit 1); exit 1; }; }
2620
    else
2621
      if (ttmkfdir -h 2>&1 | grep -- --encoding >/dev/null); then
2622
        # ttmkfdir 2
2623
        TTMKFDIR="ttmkfdir -e /usr/X11R6/lib/X11/fonts/encodings/encodings.dir -o fonts.scale"
2624
      else
2625
        # ttmkfdir 1
2626
        TTMKFDIR="ttmkfdir > fonts.scale"
2627
      fi
2628
    fi
2629
  else
2630
    TTMKFDIR="$MKFONTSCALE"
2631
  fi
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2632
  { echo "$as_me:$LINENO: result: Will create fonts.scale for TTF using $TTMKFDIR" >&5
2633
echo "${ECHO_T}Will create fonts.scale for TTF using $TTMKFDIR" >&6; }
1 by Michael Vogt
Import upstream version 0.4.3.1
2634
fi
2635
2636
if test "x$enable_pfa" = "xyes" -o "x$enable_pfb" = "xyes"; then
2637
  if test "x$MKFONTSCALE" = "x"; then
2638
    # Extract the first word of "type1inst", so it can be a program name with args.
2639
set dummy type1inst; ac_word=$2
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2640
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2641
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1 by Michael Vogt
Import upstream version 0.4.3.1
2642
if test "${ac_cv_prog_TYPE1INST+set}" = set; then
2643
  echo $ECHO_N "(cached) $ECHO_C" >&6
2644
else
2645
  if test -n "$TYPE1INST"; then
2646
  ac_cv_prog_TYPE1INST="$TYPE1INST" # Let the user override the test.
2647
else
2648
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2649
for as_dir in $PATH
2650
do
2651
  IFS=$as_save_IFS
2652
  test -z "$as_dir" && as_dir=.
2653
  for ac_exec_ext in '' $ac_executable_extensions; do
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
2654
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1 by Michael Vogt
Import upstream version 0.4.3.1
2655
    ac_cv_prog_TYPE1INST="type1inst"
2656
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2657
    break 2
2658
  fi
2659
done
2660
done
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2661
IFS=$as_save_IFS
1 by Michael Vogt
Import upstream version 0.4.3.1
2662
2663
fi
2664
fi
2665
TYPE1INST=$ac_cv_prog_TYPE1INST
2666
if test -n "$TYPE1INST"; then
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2667
  { echo "$as_me:$LINENO: result: $TYPE1INST" >&5
2668
echo "${ECHO_T}$TYPE1INST" >&6; }
1 by Michael Vogt
Import upstream version 0.4.3.1
2669
else
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2670
  { echo "$as_me:$LINENO: result: no" >&5
2671
echo "${ECHO_T}no" >&6; }
1 by Michael Vogt
Import upstream version 0.4.3.1
2672
fi
2673
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2674
1 by Michael Vogt
Import upstream version 0.4.3.1
2675
    if test "x$TYPE1INST" = "x"; then
2676
      { { echo "$as_me:$LINENO: error: You need mkfontscale or type1inst" >&5
2677
echo "$as_me: error: You need mkfontscale or type1inst" >&2;}
2678
   { (exit 1); exit 1; }; }
2679
    fi
2680
  else
2681
    TYPE1INST="$MKFONTSCALE"
2682
  fi
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2683
  { echo "$as_me:$LINENO: result: Will create fonts.scale for Type1 using $TYPE1INST" >&5
2684
echo "${ECHO_T}Will create fonts.scale for Type1 using $TYPE1INST" >&6; }
1 by Michael Vogt
Import upstream version 0.4.3.1
2685
fi
1.2.5 by Theppitak Karoonboonyanan
Import upstream version 0.4.8
2686
2687
# Extract the first word of "mkfontdir", so it can be a program name with args.
2688
set dummy mkfontdir; ac_word=$2
2689
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2690
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2691
if test "${ac_cv_prog_MKFONTDIR+set}" = set; then
2692
  echo $ECHO_N "(cached) $ECHO_C" >&6
2693
else
2694
  if test -n "$MKFONTDIR"; then
2695
  ac_cv_prog_MKFONTDIR="$MKFONTDIR" # Let the user override the test.
2696
else
2697
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2698
for as_dir in $PATH
2699
do
2700
  IFS=$as_save_IFS
2701
  test -z "$as_dir" && as_dir=.
2702
  for ac_exec_ext in '' $ac_executable_extensions; do
2703
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2704
    ac_cv_prog_MKFONTDIR="mkfontdir"
2705
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2706
    break 2
2707
  fi
2708
done
2709
done
2710
IFS=$as_save_IFS
2711
2712
fi
2713
fi
2714
MKFONTDIR=$ac_cv_prog_MKFONTDIR
2715
if test -n "$MKFONTDIR"; then
2716
  { echo "$as_me:$LINENO: result: $MKFONTDIR" >&5
2717
echo "${ECHO_T}$MKFONTDIR" >&6; }
2718
else
2719
  { echo "$as_me:$LINENO: result: no" >&5
2720
echo "${ECHO_T}no" >&6; }
2721
fi
2722
2723
2724
ENCPATH="/usr/share/fonts/X11/encodings \
2725
         /usr/X11R6/lib/X11/fonts/encodings"
2726
ENCDIR=
2727
for dir in $ENCPATH; do
2728
  if test -d $dir; then
2729
    ENCDIR=$dir
2730
    break
2731
  fi
2732
done
2733
if test "x$MKFONTDIR" = "xmkfontdir" && test "x$ENCDIR" != "x"; then
2734
  MKFONTDIR="$MKFONTDIR -e $ENCDIR"
2735
fi
2736
{ echo "$as_me:$LINENO: result: Will create fonts.dir $MKFONTDIR" >&5
2737
echo "${ECHO_T}Will create fonts.dir $MKFONTDIR" >&6; }
2738
1 by Michael Vogt
Import upstream version 0.4.3.1
2739
# Extract the first word of "fc-cache", so it can be a program name with args.
2740
set dummy fc-cache; ac_word=$2
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2741
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2742
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1 by Michael Vogt
Import upstream version 0.4.3.1
2743
if test "${ac_cv_prog_FCCACHE+set}" = set; then
2744
  echo $ECHO_N "(cached) $ECHO_C" >&6
2745
else
2746
  if test -n "$FCCACHE"; then
2747
  ac_cv_prog_FCCACHE="$FCCACHE" # Let the user override the test.
2748
else
2749
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2750
for as_dir in $PATH
2751
do
2752
  IFS=$as_save_IFS
2753
  test -z "$as_dir" && as_dir=.
2754
  for ac_exec_ext in '' $ac_executable_extensions; do
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
2755
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1 by Michael Vogt
Import upstream version 0.4.3.1
2756
    ac_cv_prog_FCCACHE="fc-cache"
2757
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2758
    break 2
2759
  fi
2760
done
2761
done
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2762
IFS=$as_save_IFS
1 by Michael Vogt
Import upstream version 0.4.3.1
2763
2764
fi
2765
fi
2766
FCCACHE=$ac_cv_prog_FCCACHE
2767
if test -n "$FCCACHE"; then
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2768
  { echo "$as_me:$LINENO: result: $FCCACHE" >&5
2769
echo "${ECHO_T}$FCCACHE" >&6; }
1 by Michael Vogt
Import upstream version 0.4.3.1
2770
else
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2771
  { echo "$as_me:$LINENO: result: no" >&5
2772
echo "${ECHO_T}no" >&6; }
1 by Michael Vogt
Import upstream version 0.4.3.1
2773
fi
2774
2775
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2776
1.2.4 by Theppitak Karoonboonyanan
Import upstream version 0.4.7
2777
ac_config_files="$ac_config_files Makefile nf/Makefile nectec/Makefile tlwg/Makefile scripts/Makefile scripts/gen.mk fontconfig/Makefile tests/Makefile thaifonts-scalable.spec"
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2778
1 by Michael Vogt
Import upstream version 0.4.3.1
2779
cat >confcache <<\_ACEOF
2780
# This file is a shell script that caches the results of configure
2781
# tests run on this system so they can be shared between configure
2782
# scripts and configure runs, see configure's option --config-cache.
2783
# It is not useful on other systems.  If it contains results you don't
2784
# want to keep, you may remove or edit it.
2785
#
2786
# config.status only pays attention to the cache file if you give it
2787
# the --recheck option to rerun configure.
2788
#
2789
# `ac_cv_env_foo' variables (set or unset) will be overridden when
2790
# loading this file, other *unset* `ac_cv_foo' will be assigned the
2791
# following values.
2792
2793
_ACEOF
2794
2795
# The following way of writing the cache mishandles newlines in values,
2796
# but we know of no workaround that is simple, portable, and efficient.
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2797
# So, we kill variables containing newlines.
1 by Michael Vogt
Import upstream version 0.4.3.1
2798
# Ultrix sh set writes to stderr and can't be redirected directly,
2799
# and sets the high bit in the cache file unless we assign to the vars.
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2800
(
2801
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2802
    eval ac_val=\$$ac_var
2803
    case $ac_val in #(
2804
    *${as_nl}*)
2805
      case $ac_var in #(
2806
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2807
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2808
      esac
2809
      case $ac_var in #(
2810
      _ | IFS | as_nl) ;; #(
2811
      *) $as_unset $ac_var ;;
2812
      esac ;;
2813
    esac
2814
  done
2815
1 by Michael Vogt
Import upstream version 0.4.3.1
2816
  (set) 2>&1 |
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2817
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
2818
    *${as_nl}ac_space=\ *)
1 by Michael Vogt
Import upstream version 0.4.3.1
2819
      # `set' does not quote correctly, so add quotes (double-quote
2820
      # substitution turns \\\\ into \\, and sed turns \\ into \).
2821
      sed -n \
2822
	"s/'/'\\\\''/g;
2823
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2824
      ;; #(
1 by Michael Vogt
Import upstream version 0.4.3.1
2825
    *)
2826
      # `set' quotes correctly as required by POSIX, so do not add quotes.
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2827
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1 by Michael Vogt
Import upstream version 0.4.3.1
2828
      ;;
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2829
    esac |
2830
    sort
2831
) |
1 by Michael Vogt
Import upstream version 0.4.3.1
2832
  sed '
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2833
     /^ac_cv_env_/b end
1 by Michael Vogt
Import upstream version 0.4.3.1
2834
     t clear
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2835
     :clear
1 by Michael Vogt
Import upstream version 0.4.3.1
2836
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2837
     t end
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2838
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2839
     :end' >>confcache
2840
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2841
  if test -w "$cache_file"; then
2842
    test "x$cache_file" != "x/dev/null" &&
2843
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
2844
echo "$as_me: updating cache $cache_file" >&6;}
1 by Michael Vogt
Import upstream version 0.4.3.1
2845
    cat confcache >$cache_file
2846
  else
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2847
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2848
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1 by Michael Vogt
Import upstream version 0.4.3.1
2849
  fi
2850
fi
2851
rm -f confcache
2852
2853
test "x$prefix" = xNONE && prefix=$ac_default_prefix
2854
# Let make expand exec_prefix.
2855
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2856
2857
# Transform confdefs.h into DEFS.
2858
# Protect against shell expansion while executing Makefile rules.
2859
# Protect against Makefile macro expansion.
2860
#
2861
# If the first sed substitution is executed (which looks for macros that
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2862
# take arguments), then branch to the quote section.  Otherwise,
1 by Michael Vogt
Import upstream version 0.4.3.1
2863
# look for a macro that doesn't take arguments.
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2864
ac_script='
1 by Michael Vogt
Import upstream version 0.4.3.1
2865
t clear
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2866
:clear
2867
s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
2868
t quote
2869
s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
2870
t quote
2871
b any
2872
:quote
2873
s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2874
s/\[/\\&/g
2875
s/\]/\\&/g
2876
s/\$/$$/g
2877
H
2878
:any
2879
${
2880
	g
2881
	s/^\n//
2882
	s/\n/ /g
2883
	p
2884
}
2885
'
2886
DEFS=`sed -n "$ac_script" confdefs.h`
1 by Michael Vogt
Import upstream version 0.4.3.1
2887
2888
2889
ac_libobjs=
2890
ac_ltlibobjs=
2891
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2892
  # 1. Remove the extension, and $U if already installed.
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2893
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2894
  ac_i=`echo "$ac_i" | sed "$ac_script"`
2895
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
2896
  #    will be set to the directory where LIBOBJS objects are built.
2897
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2898
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
1 by Michael Vogt
Import upstream version 0.4.3.1
2899
done
2900
LIBOBJS=$ac_libobjs
2901
2902
LTLIBOBJS=$ac_ltlibobjs
2903
2904
2905
if test -z "${INCLUDE_TTF_TRUE}" && test -z "${INCLUDE_TTF_FALSE}"; then
2906
  { { echo "$as_me:$LINENO: error: conditional \"INCLUDE_TTF\" was never defined.
2907
Usually this means the macro was only invoked conditionally." >&5
2908
echo "$as_me: error: conditional \"INCLUDE_TTF\" was never defined.
2909
Usually this means the macro was only invoked conditionally." >&2;}
2910
   { (exit 1); exit 1; }; }
2911
fi
2912
if test -z "${INCLUDE_PFA_TRUE}" && test -z "${INCLUDE_PFA_FALSE}"; then
2913
  { { echo "$as_me:$LINENO: error: conditional \"INCLUDE_PFA\" was never defined.
2914
Usually this means the macro was only invoked conditionally." >&5
2915
echo "$as_me: error: conditional \"INCLUDE_PFA\" was never defined.
2916
Usually this means the macro was only invoked conditionally." >&2;}
2917
   { (exit 1); exit 1; }; }
2918
fi
2919
if test -z "${INCLUDE_PFB_TRUE}" && test -z "${INCLUDE_PFB_FALSE}"; then
2920
  { { echo "$as_me:$LINENO: error: conditional \"INCLUDE_PFB\" was never defined.
2921
Usually this means the macro was only invoked conditionally." >&5
2922
echo "$as_me: error: conditional \"INCLUDE_PFB\" was never defined.
2923
Usually this means the macro was only invoked conditionally." >&2;}
2924
   { (exit 1); exit 1; }; }
2925
fi
2926
if test -z "${INCLUDE_TYPE1_TRUE}" && test -z "${INCLUDE_TYPE1_FALSE}"; then
2927
  { { echo "$as_me:$LINENO: error: conditional \"INCLUDE_TYPE1\" was never defined.
2928
Usually this means the macro was only invoked conditionally." >&5
2929
echo "$as_me: error: conditional \"INCLUDE_TYPE1\" was never defined.
2930
Usually this means the macro was only invoked conditionally." >&2;}
2931
   { (exit 1); exit 1; }; }
2932
fi
2933
if test -z "${INCLUDE_OTF_TRUE}" && test -z "${INCLUDE_OTF_FALSE}"; then
2934
  { { echo "$as_me:$LINENO: error: conditional \"INCLUDE_OTF\" was never defined.
2935
Usually this means the macro was only invoked conditionally." >&5
2936
echo "$as_me: error: conditional \"INCLUDE_OTF\" was never defined.
2937
Usually this means the macro was only invoked conditionally." >&2;}
2938
   { (exit 1); exit 1; }; }
2939
fi
2940
if test -z "${INCLUDE_TESTFONT_TRUE}" && test -z "${INCLUDE_TESTFONT_FALSE}"; then
2941
  { { echo "$as_me:$LINENO: error: conditional \"INCLUDE_TESTFONT\" was never defined.
2942
Usually this means the macro was only invoked conditionally." >&5
2943
echo "$as_me: error: conditional \"INCLUDE_TESTFONT\" was never defined.
2944
Usually this means the macro was only invoked conditionally." >&2;}
2945
   { (exit 1); exit 1; }; }
2946
fi
2947
2948
: ${CONFIG_STATUS=./config.status}
2949
ac_clean_files_save=$ac_clean_files
2950
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2951
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2952
echo "$as_me: creating $CONFIG_STATUS" >&6;}
2953
cat >$CONFIG_STATUS <<_ACEOF
2954
#! $SHELL
2955
# Generated by $as_me.
2956
# Run this file to recreate the current configuration.
2957
# Compiler output produced by configure, useful for debugging
2958
# configure, is in config.log if it exists.
2959
2960
debug=false
2961
ac_cs_recheck=false
2962
ac_cs_silent=false
2963
SHELL=\${CONFIG_SHELL-$SHELL}
2964
_ACEOF
2965
2966
cat >>$CONFIG_STATUS <<\_ACEOF
2967
## --------------------- ##
2968
## M4sh Initialization.  ##
2969
## --------------------- ##
2970
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
2971
# Be more Bourne compatible
2972
DUALCASE=1; export DUALCASE # for MKS sh
1 by Michael Vogt
Import upstream version 0.4.3.1
2973
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2974
  emulate sh
2975
  NULLCMD=:
2976
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2977
  # is contrary to our usage.  Disable this feature.
2978
  alias -g '${1+"$@"}'='"$@"'
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2979
  setopt NO_GLOB_SUBST
2980
else
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
2981
  case `(set -o) 2>/dev/null` in
2982
  *posix*) set -o posix ;;
2983
esac
2984
1 by Michael Vogt
Import upstream version 0.4.3.1
2985
fi
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
2986
2987
1 by Michael Vogt
Import upstream version 0.4.3.1
2988
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
2989
2990
# PATH needs CR
2991
# Avoid depending upon Character Ranges.
2992
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2993
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2994
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2995
as_cr_digits='0123456789'
2996
as_cr_alnum=$as_cr_Letters$as_cr_digits
2997
2998
# The user is always right.
2999
if test "${PATH_SEPARATOR+set}" != set; then
3000
  echo "#! /bin/sh" >conf$$.sh
3001
  echo  "exit 0"   >>conf$$.sh
3002
  chmod +x conf$$.sh
3003
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3004
    PATH_SEPARATOR=';'
3005
  else
3006
    PATH_SEPARATOR=:
3007
  fi
3008
  rm -f conf$$.sh
3009
fi
3010
1 by Michael Vogt
Import upstream version 0.4.3.1
3011
# Support unset when possible.
3012
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3013
  as_unset=unset
3014
else
3015
  as_unset=false
3016
fi
3017
3018
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3019
# IFS
3020
# We need space, tab and new line, in precisely that order.  Quoting is
3021
# there to prevent editors from complaining about space-tab.
3022
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
3023
# splitting by setting IFS to empty value.)
3024
as_nl='
3025
'
3026
IFS=" ""	$as_nl"
3027
3028
# Find who we are.  Look in the path if we contain no directory separator.
3029
case $0 in
3030
  *[\\/]* ) as_myself=$0 ;;
3031
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3032
for as_dir in $PATH
3033
do
3034
  IFS=$as_save_IFS
3035
  test -z "$as_dir" && as_dir=.
3036
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3037
done
3038
IFS=$as_save_IFS
3039
3040
     ;;
3041
esac
3042
# We did not find ourselves, most probably we were run as `sh COMMAND'
3043
# in which case we are not to be found in the path.
3044
if test "x$as_myself" = x; then
3045
  as_myself=$0
3046
fi
3047
if test ! -f "$as_myself"; then
3048
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3049
  { (exit 1); exit 1; }
3050
fi
3051
1 by Michael Vogt
Import upstream version 0.4.3.1
3052
# Work around bugs in pre-3.0 UWIN ksh.
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3053
for as_var in ENV MAIL MAILPATH
3054
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3055
done
1 by Michael Vogt
Import upstream version 0.4.3.1
3056
PS1='$ '
3057
PS2='> '
3058
PS4='+ '
3059
3060
# NLS nuisances.
3061
for as_var in \
3062
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3063
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3064
  LC_TELEPHONE LC_TIME
3065
do
3066
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3067
    eval $as_var=C; export $as_var
3068
  else
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3069
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1 by Michael Vogt
Import upstream version 0.4.3.1
3070
  fi
3071
done
3072
3073
# Required to use basename.
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3074
if expr a : '\(a\)' >/dev/null 2>&1 &&
3075
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
1 by Michael Vogt
Import upstream version 0.4.3.1
3076
  as_expr=expr
3077
else
3078
  as_expr=false
3079
fi
3080
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3081
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1 by Michael Vogt
Import upstream version 0.4.3.1
3082
  as_basename=basename
3083
else
3084
  as_basename=false
3085
fi
3086
3087
3088
# Name of the executable.
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3089
as_me=`$as_basename -- "$0" ||
1 by Michael Vogt
Import upstream version 0.4.3.1
3090
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3091
	 X"$0" : 'X\(//\)$' \| \
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3092
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1 by Michael Vogt
Import upstream version 0.4.3.1
3093
echo X/"$0" |
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3094
    sed '/^.*\/\([^/][^/]*\)\/*$/{
3095
	    s//\1/
3096
	    q
3097
	  }
3098
	  /^X\/\(\/\/\)$/{
3099
	    s//\1/
3100
	    q
3101
	  }
3102
	  /^X\/\(\/\).*/{
3103
	    s//\1/
3104
	    q
3105
	  }
3106
	  s/.*/./; q'`
3107
3108
# CDPATH.
3109
$as_unset CDPATH
3110
3111
3112
3113
  as_lineno_1=$LINENO
3114
  as_lineno_2=$LINENO
3115
  test "x$as_lineno_1" != "x$as_lineno_2" &&
3116
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
1 by Michael Vogt
Import upstream version 0.4.3.1
3117
3118
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3119
  # uniformly replaced by the line number.  The first 'sed' inserts a
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3120
  # line-number line after each line using $LINENO; the second 'sed'
3121
  # does the real work.  The second script uses 'N' to pair each
3122
  # line-number line with the line containing $LINENO, and appends
3123
  # trailing '-' during substitution so that $LINENO is not a special
3124
  # case at line end.
1 by Michael Vogt
Import upstream version 0.4.3.1
3125
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3126
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
3127
  # E. McMahon (1931-1989) for sed's syntax.  :-)
3128
  sed -n '
3129
    p
3130
    /[$]LINENO/=
3131
  ' <$as_myself |
1 by Michael Vogt
Import upstream version 0.4.3.1
3132
    sed '
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3133
      s/[$]LINENO.*/&-/
3134
      t lineno
3135
      b
3136
      :lineno
1 by Michael Vogt
Import upstream version 0.4.3.1
3137
      N
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3138
      :loop
3139
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1 by Michael Vogt
Import upstream version 0.4.3.1
3140
      t loop
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3141
      s/-\n.*//
1 by Michael Vogt
Import upstream version 0.4.3.1
3142
    ' >$as_me.lineno &&
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3143
  chmod +x "$as_me.lineno" ||
3144
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
1 by Michael Vogt
Import upstream version 0.4.3.1
3145
   { (exit 1); exit 1; }; }
3146
3147
  # Don't try to exec as it changes $[0], causing all sort of problems
3148
  # (the dirname of $[0] is not the place where we might find the
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3149
  # original and so on.  Autoconf is especially sensitive to this).
3150
  . "./$as_me.lineno"
1 by Michael Vogt
Import upstream version 0.4.3.1
3151
  # Exit status is that of the last command.
3152
  exit
3153
}
3154
3155
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3156
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3157
  as_dirname=dirname
3158
else
3159
  as_dirname=false
3160
fi
3161
3162
ECHO_C= ECHO_N= ECHO_T=
3163
case `echo -n x` in
3164
-n*)
3165
  case `echo 'x\c'` in
3166
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
3167
  *)   ECHO_C='\c';;
3168
  esac;;
3169
*)
3170
  ECHO_N='-n';;
1 by Michael Vogt
Import upstream version 0.4.3.1
3171
esac
3172
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3173
if expr a : '\(a\)' >/dev/null 2>&1 &&
3174
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
1 by Michael Vogt
Import upstream version 0.4.3.1
3175
  as_expr=expr
3176
else
3177
  as_expr=false
3178
fi
3179
3180
rm -f conf$$ conf$$.exe conf$$.file
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3181
if test -d conf$$.dir; then
3182
  rm -f conf$$.dir/conf$$.file
3183
else
3184
  rm -f conf$$.dir
3185
  mkdir conf$$.dir
3186
fi
1 by Michael Vogt
Import upstream version 0.4.3.1
3187
echo >conf$$.file
3188
if ln -s conf$$.file conf$$ 2>/dev/null; then
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3189
  as_ln_s='ln -s'
3190
  # ... but there are two gotchas:
3191
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3192
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3193
  # In both cases, we have to default to `cp -p'.
3194
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1 by Michael Vogt
Import upstream version 0.4.3.1
3195
    as_ln_s='cp -p'
3196
elif ln conf$$.file conf$$ 2>/dev/null; then
3197
  as_ln_s=ln
3198
else
3199
  as_ln_s='cp -p'
3200
fi
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3201
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3202
rmdir conf$$.dir 2>/dev/null
1 by Michael Vogt
Import upstream version 0.4.3.1
3203
3204
if mkdir -p . 2>/dev/null; then
3205
  as_mkdir_p=:
3206
else
3207
  test -d ./-p && rmdir ./-p
3208
  as_mkdir_p=false
3209
fi
3210
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
3211
if test -x / >/dev/null 2>&1; then
3212
  as_test_x='test -x'
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3213
else
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
3214
  if ls -dL / >/dev/null 2>&1; then
3215
    as_ls_L_option=L
3216
  else
3217
    as_ls_L_option=
3218
  fi
3219
  as_test_x='
3220
    eval sh -c '\''
3221
      if test -d "$1"; then
3222
        test -d "$1/.";
3223
      else
3224
	case $1 in
3225
        -*)set "./$1";;
3226
	esac;
3227
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3228
	???[sx]*):;;*)false;;esac;fi
3229
    '\'' sh
3230
  '
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3231
fi
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
3232
as_executable_p=$as_test_x
1 by Michael Vogt
Import upstream version 0.4.3.1
3233
3234
# Sed expression to map a string onto a valid CPP name.
3235
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3236
3237
# Sed expression to map a string onto a valid variable name.
3238
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3239
3240
3241
exec 6>&1
3242
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3243
# Save the log message, to keep $[0] and so on meaningful, and to
1 by Michael Vogt
Import upstream version 0.4.3.1
3244
# report actual input values of CONFIG_FILES etc. instead of their
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3245
# values after options handling.
3246
ac_log="
1.2.8 by Theppitak Karoonboonyanan
Import upstream version 0.4.11
3247
This file was extended by thaifonts-scalable $as_me 0.4.11, which was
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
3248
generated by GNU Autoconf 2.61.  Invocation command line was
1 by Michael Vogt
Import upstream version 0.4.3.1
3249
3250
  CONFIG_FILES    = $CONFIG_FILES
3251
  CONFIG_HEADERS  = $CONFIG_HEADERS
3252
  CONFIG_LINKS    = $CONFIG_LINKS
3253
  CONFIG_COMMANDS = $CONFIG_COMMANDS
3254
  $ $0 $@
3255
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3256
on `(hostname || uname -n) 2>/dev/null | sed 1q`
3257
"
3258
1 by Michael Vogt
Import upstream version 0.4.3.1
3259
_ACEOF
3260
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3261
cat >>$CONFIG_STATUS <<_ACEOF
1 by Michael Vogt
Import upstream version 0.4.3.1
3262
# Files that config.status was made for.
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3263
config_files="$ac_config_files"
3264
3265
_ACEOF
1 by Michael Vogt
Import upstream version 0.4.3.1
3266
3267
cat >>$CONFIG_STATUS <<\_ACEOF
3268
ac_cs_usage="\
3269
\`$as_me' instantiates files from templates according to the
3270
current configuration.
3271
3272
Usage: $0 [OPTIONS] [FILE]...
3273
3274
  -h, --help       print this help, then exit
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3275
  -V, --version    print version number and configuration settings, then exit
1 by Michael Vogt
Import upstream version 0.4.3.1
3276
  -q, --quiet      do not print progress messages
3277
  -d, --debug      don't remove temporary files
3278
      --recheck    update $as_me by reconfiguring in the same conditions
3279
  --file=FILE[:TEMPLATE]
3280
		   instantiate the configuration file FILE
3281
3282
Configuration files:
3283
$config_files
3284
3285
Report bugs to <bug-autoconf@gnu.org>."
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3286
1 by Michael Vogt
Import upstream version 0.4.3.1
3287
_ACEOF
3288
cat >>$CONFIG_STATUS <<_ACEOF
3289
ac_cs_version="\\
1.2.8 by Theppitak Karoonboonyanan
Import upstream version 0.4.11
3290
thaifonts-scalable config.status 0.4.11
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
3291
configured by $0, generated by GNU Autoconf 2.61,
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3292
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
1 by Michael Vogt
Import upstream version 0.4.3.1
3293
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3294
Copyright (C) 2006 Free Software Foundation, Inc.
1 by Michael Vogt
Import upstream version 0.4.3.1
3295
This config.status script is free software; the Free Software Foundation
3296
gives unlimited permission to copy, distribute and modify it."
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3297
3298
ac_pwd='$ac_pwd'
3299
srcdir='$srcdir'
3300
INSTALL='$INSTALL'
1.2.7 by Theppitak Karoonboonyanan
Import upstream version 0.4.10
3301
MKDIR_P='$MKDIR_P'
1 by Michael Vogt
Import upstream version 0.4.3.1
3302
_ACEOF
3303
3304
cat >>$CONFIG_STATUS <<\_ACEOF
3305
# If no file are specified by the user, then we need to provide default
3306
# value.  By we need to know if files were specified by the user.
3307
ac_need_defaults=:
3308
while test $# != 0
3309
do
3310
  case $1 in
3311
  --*=*)
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3312
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3313
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
1 by Michael Vogt
Import upstream version 0.4.3.1
3314
    ac_shift=:
3315
    ;;
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3316
  *)
1 by Michael Vogt
Import upstream version 0.4.3.1
3317
    ac_option=$1
3318
    ac_optarg=$2
3319
    ac_shift=shift
3320
    ;;
3321
  esac
3322
3323
  case $ac_option in
3324
  # Handling of the options.
3325
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3326
    ac_cs_recheck=: ;;
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3327
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3328
    echo "$ac_cs_version"; exit ;;
3329
  --debug | --debu | --deb | --de | --d | -d )
1 by Michael Vogt
Import upstream version 0.4.3.1
3330
    debug=: ;;
3331
  --file | --fil | --fi | --f )
3332
    $ac_shift
3333
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3334
    ac_need_defaults=false;;
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3335
  --he | --h |  --help | --hel | -h )
3336
    echo "$ac_cs_usage"; exit ;;
1 by Michael Vogt
Import upstream version 0.4.3.1
3337
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3338
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
3339
    ac_cs_silent=: ;;
3340
3341
  # This is an error.
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3342
  -*) { echo "$as_me: error: unrecognized option: $1
3343
Try \`$0 --help' for more information." >&2
1 by Michael Vogt
Import upstream version 0.4.3.1
3344
   { (exit 1); exit 1; }; } ;;
3345
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3346
  *) ac_config_targets="$ac_config_targets $1"
3347
     ac_need_defaults=false ;;
1 by Michael Vogt
Import upstream version 0.4.3.1
3348
3349
  esac
3350
  shift
3351
done
3352
3353
ac_configure_extra_args=
3354
3355
if $ac_cs_silent; then
3356
  exec 6>/dev/null
3357
  ac_configure_extra_args="$ac_configure_extra_args --silent"
3358
fi
3359
3360
_ACEOF
3361
cat >>$CONFIG_STATUS <<_ACEOF
3362
if \$ac_cs_recheck; then
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3363
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3364
  CONFIG_SHELL=$SHELL
3365
  export CONFIG_SHELL
3366
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1 by Michael Vogt
Import upstream version 0.4.3.1
3367
fi
3368
3369
_ACEOF
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3370
cat >>$CONFIG_STATUS <<\_ACEOF
3371
exec 5>>config.log
3372
{
3373
  echo
3374
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3375
## Running $as_me. ##
3376
_ASBOX
3377
  echo "$ac_log"
3378
} >&5
3379
3380
_ACEOF
3381
cat >>$CONFIG_STATUS <<_ACEOF
3382
_ACEOF
3383
3384
cat >>$CONFIG_STATUS <<\_ACEOF
3385
3386
# Handling of arguments.
1 by Michael Vogt
Import upstream version 0.4.3.1
3387
for ac_config_target in $ac_config_targets
3388
do
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3389
  case $ac_config_target in
3390
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3391
    "nf/Makefile") CONFIG_FILES="$CONFIG_FILES nf/Makefile" ;;
3392
    "nectec/Makefile") CONFIG_FILES="$CONFIG_FILES nectec/Makefile" ;;
3393
    "tlwg/Makefile") CONFIG_FILES="$CONFIG_FILES tlwg/Makefile" ;;
3394
    "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
3395
    "scripts/gen.mk") CONFIG_FILES="$CONFIG_FILES scripts/gen.mk" ;;
1.2.4 by Theppitak Karoonboonyanan
Import upstream version 0.4.7
3396
    "fontconfig/Makefile") CONFIG_FILES="$CONFIG_FILES fontconfig/Makefile" ;;
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3397
    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3398
    "thaifonts-scalable.spec") CONFIG_FILES="$CONFIG_FILES thaifonts-scalable.spec" ;;
3399
1 by Michael Vogt
Import upstream version 0.4.3.1
3400
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3401
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3402
   { (exit 1); exit 1; }; };;
3403
  esac
3404
done
3405
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3406
1 by Michael Vogt
Import upstream version 0.4.3.1
3407
# If the user did not use the arguments to specify the items to instantiate,
3408
# then the envvar interface is used.  Set only those that are not.
3409
# We use the long form for the default assignment because of an extremely
3410
# bizarre bug on SunOS 4.1.3.
3411
if $ac_need_defaults; then
3412
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3413
fi
3414
3415
# Have a temporary directory for convenience.  Make it in the build tree
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3416
# simply because there is no reason against having it here, and in addition,
1 by Michael Vogt
Import upstream version 0.4.3.1
3417
# creating and moving files from /tmp can sometimes cause problems.
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3418
# Hook for its removal unless debugging.
3419
# Note that there is a small window in which the directory will not be cleaned:
3420
# after its creation but before its name has been assigned to `$tmp'.
1 by Michael Vogt
Import upstream version 0.4.3.1
3421
$debug ||
3422
{
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3423
  tmp=
3424
  trap 'exit_status=$?
3425
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3426
' 0
1 by Michael Vogt
Import upstream version 0.4.3.1
3427
  trap '{ (exit 1); exit 1; }' 1 2 13 15
3428
}
3429
# Create a (secure) tmp directory for tmp files.
3430
3431
{
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3432
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
1 by Michael Vogt
Import upstream version 0.4.3.1
3433
  test -n "$tmp" && test -d "$tmp"
3434
}  ||
3435
{
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3436
  tmp=./conf$$-$RANDOM
3437
  (umask 077 && mkdir "$tmp")
1 by Michael Vogt
Import upstream version 0.4.3.1
3438
} ||
3439
{
3440
   echo "$me: cannot create a temporary directory in ." >&2
3441
   { (exit 1); exit 1; }
3442
}
3443
3444
#
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3445
# Set up the sed scripts for CONFIG_FILES section.
1 by Michael Vogt
Import upstream version 0.4.3.1
3446
#
3447
3448
# No need to generate the scripts if there are no CONFIG_FILES.
3449
# This happens for instance when ./config.status config.h
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3450
if test -n "$CONFIG_FILES"; then
3451
3452
_ACEOF
3453
3454
3455
3456
ac_delim='%!_!# '
3457
for ac_last_try in false false false false false :; do
3458
  cat >conf$$subs.sed <<_ACEOF
3459
SHELL!$SHELL$ac_delim
3460
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3461
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3462
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3463
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3464
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
3465
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3466
exec_prefix!$exec_prefix$ac_delim
3467
prefix!$prefix$ac_delim
3468
program_transform_name!$program_transform_name$ac_delim
3469
bindir!$bindir$ac_delim
3470
sbindir!$sbindir$ac_delim
3471
libexecdir!$libexecdir$ac_delim
3472
datarootdir!$datarootdir$ac_delim
3473
datadir!$datadir$ac_delim
3474
sysconfdir!$sysconfdir$ac_delim
3475
sharedstatedir!$sharedstatedir$ac_delim
3476
localstatedir!$localstatedir$ac_delim
3477
includedir!$includedir$ac_delim
3478
oldincludedir!$oldincludedir$ac_delim
3479
docdir!$docdir$ac_delim
3480
infodir!$infodir$ac_delim
3481
htmldir!$htmldir$ac_delim
3482
dvidir!$dvidir$ac_delim
3483
pdfdir!$pdfdir$ac_delim
3484
psdir!$psdir$ac_delim
3485
libdir!$libdir$ac_delim
3486
localedir!$localedir$ac_delim
3487
mandir!$mandir$ac_delim
3488
DEFS!$DEFS$ac_delim
3489
ECHO_C!$ECHO_C$ac_delim
3490
ECHO_N!$ECHO_N$ac_delim
3491
ECHO_T!$ECHO_T$ac_delim
3492
LIBS!$LIBS$ac_delim
3493
build_alias!$build_alias$ac_delim
3494
host_alias!$host_alias$ac_delim
3495
target_alias!$target_alias$ac_delim
3496
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
3497
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
3498
INSTALL_DATA!$INSTALL_DATA$ac_delim
1.2.7 by Theppitak Karoonboonyanan
Import upstream version 0.4.10
3499
am__isrc!$am__isrc$ac_delim
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3500
CYGPATH_W!$CYGPATH_W$ac_delim
3501
PACKAGE!$PACKAGE$ac_delim
3502
VERSION!$VERSION$ac_delim
3503
ACLOCAL!$ACLOCAL$ac_delim
3504
AUTOCONF!$AUTOCONF$ac_delim
3505
AUTOMAKE!$AUTOMAKE$ac_delim
3506
AUTOHEADER!$AUTOHEADER$ac_delim
3507
MAKEINFO!$MAKEINFO$ac_delim
3508
install_sh!$install_sh$ac_delim
3509
STRIP!$STRIP$ac_delim
3510
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
3511
mkdir_p!$mkdir_p$ac_delim
3512
AWK!$AWK$ac_delim
3513
SET_MAKE!$SET_MAKE$ac_delim
3514
am__leading_dot!$am__leading_dot$ac_delim
3515
AMTAR!$AMTAR$ac_delim
3516
am__tar!$am__tar$ac_delim
3517
am__untar!$am__untar$ac_delim
3518
ttfdir!$ttfdir$ac_delim
3519
type1dir!$type1dir$ac_delim
3520
otfdir!$otfdir$ac_delim
3521
testfontdir!$testfontdir$ac_delim
3522
INCLUDE_TTF_TRUE!$INCLUDE_TTF_TRUE$ac_delim
3523
INCLUDE_TTF_FALSE!$INCLUDE_TTF_FALSE$ac_delim
3524
INCLUDE_PFA_TRUE!$INCLUDE_PFA_TRUE$ac_delim
3525
INCLUDE_PFA_FALSE!$INCLUDE_PFA_FALSE$ac_delim
3526
INCLUDE_PFB_TRUE!$INCLUDE_PFB_TRUE$ac_delim
3527
INCLUDE_PFB_FALSE!$INCLUDE_PFB_FALSE$ac_delim
3528
INCLUDE_TYPE1_TRUE!$INCLUDE_TYPE1_TRUE$ac_delim
3529
INCLUDE_TYPE1_FALSE!$INCLUDE_TYPE1_FALSE$ac_delim
3530
INCLUDE_OTF_TRUE!$INCLUDE_OTF_TRUE$ac_delim
3531
INCLUDE_OTF_FALSE!$INCLUDE_OTF_FALSE$ac_delim
3532
INCLUDE_TESTFONT_TRUE!$INCLUDE_TESTFONT_TRUE$ac_delim
3533
INCLUDE_TESTFONT_FALSE!$INCLUDE_TESTFONT_FALSE$ac_delim
3534
LN_S!$LN_S$ac_delim
3535
RMDIR!$RMDIR$ac_delim
1.2.3 by Theppitak Karoonboonyanan
Import upstream version 0.4.6
3536
FONTFORGE!$FONTFORGE$ac_delim
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3537
MKFONTSCALE!$MKFONTSCALE$ac_delim
3538
TTMKFDIR!$TTMKFDIR$ac_delim
3539
TYPE1INST!$TYPE1INST$ac_delim
1.2.5 by Theppitak Karoonboonyanan
Import upstream version 0.4.8
3540
MKFONTDIR!$MKFONTDIR$ac_delim
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3541
FCCACHE!$FCCACHE$ac_delim
3542
LIBOBJS!$LIBOBJS$ac_delim
3543
LTLIBOBJS!$LTLIBOBJS$ac_delim
3544
_ACEOF
3545
1.2.7 by Theppitak Karoonboonyanan
Import upstream version 0.4.10
3546
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 85; then
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3547
    break
3548
  elif $ac_last_try; then
3549
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3550
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3551
   { (exit 1); exit 1; }; }
3552
  else
3553
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
1 by Michael Vogt
Import upstream version 0.4.3.1
3554
  fi
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3555
done
3556
3557
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
3558
if test -n "$ac_eof"; then
3559
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
3560
  ac_eof=`expr $ac_eof + 1`
3561
fi
3562
3563
cat >>$CONFIG_STATUS <<_ACEOF
3564
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3565
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3566
_ACEOF
3567
sed '
3568
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3569
s/^/s,@/; s/!/@,|#_!!_#|/
3570
:n
3571
t n
3572
s/'"$ac_delim"'$/,g/; t
3573
s/$/\\/; p
3574
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3575
' >>$CONFIG_STATUS <conf$$subs.sed
3576
rm -f conf$$subs.sed
3577
cat >>$CONFIG_STATUS <<_ACEOF
3578
:end
3579
s/|#_!!_#|//g
3580
CEOF$ac_eof
3581
_ACEOF
3582
3583
3584
# VPATH may cause trouble with some makes, so we remove $(srcdir),
3585
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3586
# trailing colons and then remove the whole line if VPATH becomes empty
3587
# (actually we leave an empty line to preserve line numbers).
3588
if test "x$srcdir" = x.; then
3589
  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
3590
s/:*\$(srcdir):*/:/
3591
s/:*\${srcdir}:*/:/
3592
s/:*@srcdir@:*/:/
3593
s/^\([^=]*=[	 ]*\):*/\1/
3594
s/:*$//
3595
s/^[^=]*=[	 ]*$//
3596
}'
3597
fi
3598
3599
cat >>$CONFIG_STATUS <<\_ACEOF
1 by Michael Vogt
Import upstream version 0.4.3.1
3600
fi # test -n "$CONFIG_FILES"
3601
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3602
3603
for ac_tag in  :F $CONFIG_FILES
3604
do
3605
  case $ac_tag in
3606
  :[FHLC]) ac_mode=$ac_tag; continue;;
3607
  esac
3608
  case $ac_mode$ac_tag in
3609
  :[FHL]*:*);;
3610
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3611
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3612
   { (exit 1); exit 1; }; };;
3613
  :[FH]-) ac_tag=-:-;;
3614
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3615
  esac
3616
  ac_save_IFS=$IFS
3617
  IFS=:
3618
  set x $ac_tag
3619
  IFS=$ac_save_IFS
3620
  shift
3621
  ac_file=$1
3622
  shift
3623
3624
  case $ac_mode in
3625
  :L) ac_source=$1;;
3626
  :[FH])
3627
    ac_file_inputs=
3628
    for ac_f
3629
    do
3630
      case $ac_f in
3631
      -) ac_f="$tmp/stdin";;
3632
      *) # Look for the file first in the build tree, then in the source tree
3633
	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
3634
	 # because $ac_f cannot contain `:'.
3635
	 test -f "$ac_f" ||
3636
	   case $ac_f in
3637
	   [\\/$]*) false;;
3638
	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3639
	   esac ||
3640
	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3641
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3642
   { (exit 1); exit 1; }; };;
3643
      esac
3644
      ac_file_inputs="$ac_file_inputs $ac_f"
3645
    done
3646
3647
    # Let's still pretend it is `configure' which instantiates (i.e., don't
3648
    # use $as_me), people would be surprised to read:
3649
    #    /* config.h.  Generated by config.status.  */
3650
    configure_input="Generated from "`IFS=:
3651
	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3652
    if test x"$ac_file" != x-; then
3653
      configure_input="$ac_file.  $configure_input"
3654
      { echo "$as_me:$LINENO: creating $ac_file" >&5
3655
echo "$as_me: creating $ac_file" >&6;}
3656
    fi
3657
3658
    case $ac_tag in
3659
    *:-:* | *:-) cat >"$tmp/stdin";;
3660
    esac
3661
    ;;
3662
  esac
3663
3664
  ac_dir=`$as_dirname -- "$ac_file" ||
1 by Michael Vogt
Import upstream version 0.4.3.1
3665
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3666
	 X"$ac_file" : 'X\(//\)[^/]' \| \
3667
	 X"$ac_file" : 'X\(//\)$' \| \
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3668
	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1 by Michael Vogt
Import upstream version 0.4.3.1
3669
echo X"$ac_file" |
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3670
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3671
	    s//\1/
3672
	    q
3673
	  }
3674
	  /^X\(\/\/\)[^/].*/{
3675
	    s//\1/
3676
	    q
3677
	  }
3678
	  /^X\(\/\/\)$/{
3679
	    s//\1/
3680
	    q
3681
	  }
3682
	  /^X\(\/\).*/{
3683
	    s//\1/
3684
	    q
3685
	  }
3686
	  s/.*/./; q'`
3687
  { as_dir="$ac_dir"
3688
  case $as_dir in #(
3689
  -*) as_dir=./$as_dir;;
3690
  esac
3691
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
1 by Michael Vogt
Import upstream version 0.4.3.1
3692
    as_dirs=
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3693
    while :; do
3694
      case $as_dir in #(
3695
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3696
      *) as_qdir=$as_dir;;
3697
      esac
3698
      as_dirs="'$as_qdir' $as_dirs"
3699
      as_dir=`$as_dirname -- "$as_dir" ||
1 by Michael Vogt
Import upstream version 0.4.3.1
3700
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3701
	 X"$as_dir" : 'X\(//\)[^/]' \| \
3702
	 X"$as_dir" : 'X\(//\)$' \| \
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3703
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
1 by Michael Vogt
Import upstream version 0.4.3.1
3704
echo X"$as_dir" |
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3705
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3706
	    s//\1/
3707
	    q
3708
	  }
3709
	  /^X\(\/\/\)[^/].*/{
3710
	    s//\1/
3711
	    q
3712
	  }
3713
	  /^X\(\/\/\)$/{
3714
	    s//\1/
3715
	    q
3716
	  }
3717
	  /^X\(\/\).*/{
3718
	    s//\1/
3719
	    q
3720
	  }
3721
	  s/.*/./; q'`
3722
      test -d "$as_dir" && break
1 by Michael Vogt
Import upstream version 0.4.3.1
3723
    done
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3724
    test -z "$as_dirs" || eval "mkdir $as_dirs"
3725
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3726
echo "$as_me: error: cannot create directory $as_dir" >&2;}
1 by Michael Vogt
Import upstream version 0.4.3.1
3727
   { (exit 1); exit 1; }; }; }
3728
  ac_builddir=.
3729
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3730
case "$ac_dir" in
3731
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3732
*)
1 by Michael Vogt
Import upstream version 0.4.3.1
3733
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3734
  # A ".." for each directory in $ac_dir_suffix.
3735
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3736
  case $ac_top_builddir_sub in
3737
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3738
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3739
  esac ;;
3740
esac
3741
ac_abs_top_builddir=$ac_pwd
3742
ac_abs_builddir=$ac_pwd$ac_dir_suffix
3743
# for backward compatibility:
3744
ac_top_builddir=$ac_top_build_prefix
1 by Michael Vogt
Import upstream version 0.4.3.1
3745
3746
case $srcdir in
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3747
  .)  # We are building in place.
1 by Michael Vogt
Import upstream version 0.4.3.1
3748
    ac_srcdir=.
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3749
    ac_top_srcdir=$ac_top_builddir_sub
3750
    ac_abs_top_srcdir=$ac_pwd ;;
3751
  [\\/]* | ?:[\\/]* )  # Absolute name.
1 by Michael Vogt
Import upstream version 0.4.3.1
3752
    ac_srcdir=$srcdir$ac_dir_suffix;
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3753
    ac_top_srcdir=$srcdir
3754
    ac_abs_top_srcdir=$srcdir ;;
3755
  *) # Relative name.
3756
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3757
    ac_top_srcdir=$ac_top_build_prefix$srcdir
3758
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3759
esac
3760
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3761
3762
3763
  case $ac_mode in
3764
  :F)
3765
  #
3766
  # CONFIG_FILE
3767
  #
1 by Michael Vogt
Import upstream version 0.4.3.1
3768
3769
  case $INSTALL in
3770
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3771
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
1 by Michael Vogt
Import upstream version 0.4.3.1
3772
  esac
1.2.7 by Theppitak Karoonboonyanan
Import upstream version 0.4.10
3773
  ac_MKDIR_P=$MKDIR_P
3774
  case $MKDIR_P in
3775
  [\\/$]* | ?:[\\/]* ) ;;
3776
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3777
  esac
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3778
_ACEOF
3779
3780
cat >>$CONFIG_STATUS <<\_ACEOF
3781
# If the template does not know about datarootdir, expand it.
3782
# FIXME: This hack should be removed a few years after 2.60.
3783
ac_datarootdir_hack=; ac_datarootdir_seen=
3784
3785
case `sed -n '/datarootdir/ {
3786
  p
3787
  q
3788
}
3789
/@datadir@/p
3790
/@docdir@/p
3791
/@infodir@/p
3792
/@localedir@/p
3793
/@mandir@/p
3794
' $ac_file_inputs` in
3795
*datarootdir*) ac_datarootdir_seen=yes;;
3796
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3797
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3798
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3799
_ACEOF
3800
cat >>$CONFIG_STATUS <<_ACEOF
3801
  ac_datarootdir_hack='
3802
  s&@datadir@&$datadir&g
3803
  s&@docdir@&$docdir&g
3804
  s&@infodir@&$infodir&g
3805
  s&@localedir@&$localedir&g
3806
  s&@mandir@&$mandir&g
3807
    s&\\\${datarootdir}&$datarootdir&g' ;;
3808
esac
3809
_ACEOF
3810
3811
# Neutralize VPATH when `$srcdir' = `.'.
3812
# Shell code in configure.ac might set extrasub.
3813
# FIXME: do we really want to maintain this feature?
1 by Michael Vogt
Import upstream version 0.4.3.1
3814
cat >>$CONFIG_STATUS <<_ACEOF
3815
  sed "$ac_vpsub
3816
$extrasub
3817
_ACEOF
3818
cat >>$CONFIG_STATUS <<\_ACEOF
3819
:t
3820
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3821
s&@configure_input@&$configure_input&;t t
3822
s&@top_builddir@&$ac_top_builddir_sub&;t t
3823
s&@srcdir@&$ac_srcdir&;t t
3824
s&@abs_srcdir@&$ac_abs_srcdir&;t t
3825
s&@top_srcdir@&$ac_top_srcdir&;t t
3826
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3827
s&@builddir@&$ac_builddir&;t t
3828
s&@abs_builddir@&$ac_abs_builddir&;t t
3829
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3830
s&@INSTALL@&$ac_INSTALL&;t t
1.2.7 by Theppitak Karoonboonyanan
Import upstream version 0.4.10
3831
s&@MKDIR_P@&$ac_MKDIR_P&;t t
1.1.1 by Theppitak Karoonboonyanan
Import upstream version 0.4.5
3832
$ac_datarootdir_hack
3833
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3834
3835
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3836
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3837
  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3838
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3839
which seems to be undefined.  Please make sure it is defined." >&5
3840
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3841
which seems to be undefined.  Please make sure it is defined." >&2;}
3842
3843
  rm -f "$tmp/stdin"
3844
  case $ac_file in
3845
  -) cat "$tmp/out"; rm -f "$tmp/out";;
3846
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3847
  esac
3848
 ;;
3849
3850
3851
3852
  esac
3853
3854
done # for ac_tag
3855
1 by Michael Vogt
Import upstream version 0.4.3.1
3856
3857
{ (exit 0); exit 0; }
3858
_ACEOF
3859
chmod +x $CONFIG_STATUS
3860
ac_clean_files=$ac_clean_files_save
3861
3862
3863
# configure is writing to config.log, and then calls config.status.
3864
# config.status does its own redirection, appending to config.log.
3865
# Unfortunately, on DOS this fails, as config.log is still kept open
3866
# by configure, so config.status won't be able to write to it; its
3867
# output is simply discarded.  So we exec the FD to /dev/null,
3868
# effectively closing config.log, so it can be properly (re)opened and
3869
# appended to by config.status.  When coming back to configure, we
3870
# need to make the FD available again.
3871
if test "$no_create" != yes; then
3872
  ac_cs_success=:
3873
  ac_config_status_args=
3874
  test "$silent" = yes &&
3875
    ac_config_status_args="$ac_config_status_args --quiet"
3876
  exec 5>/dev/null
3877
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3878
  exec 5>>config.log
3879
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3880
  # would make configure fail if this is the last instruction.
3881
  $ac_cs_success || { (exit 1); exit 1; }
3882
fi
3883
3884