~ubuntu-branches/ubuntu/hardy/xfonts-utils/hardy

« back to all changes in this revision

Viewing changes to mkfontdir-X11R7.0-1.0.1/configure

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson, Tollef Fog Heen, Colin Watson
  • Date: 2006-07-12 16:37:08 UTC
  • Revision ID: james.westby@ubuntu.com-20060712163708-1rhlbakh87jfixxy
Tags: 1:1.0.0-6ubuntu1
[ Tollef Fog Heen ]
* Remove /usr/share/X11/fonts and any empty sub-directories to clean up
  cruft left by fc-cache as well as update-fonts-{scale,dir,alias}

[ Colin Watson ]
* Slightly improve error-handling in the above, and do the .postinst.in
  boilerplate stuff so that the XSF build system doesn't clean it up for
  us.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.59 for mkfontdir 1.0.1.
 
3
# Generated by GNU Autoconf 2.59e for mkfontdir 1.0.1.
4
4
#
5
5
# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6
6
#
7
 
# Copyright (C) 2003 Free Software Foundation, Inc.
 
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
8
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
8
9
# This configure script is free software; the Free Software Foundation
9
10
# gives unlimited permission to copy, distribute and modify it.
10
11
## --------------------- ##
18
19
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19
20
  # is contrary to our usage.  Disable this feature.
20
21
  alias -g '${1+"$@"}'='"$@"'
21
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22
 
  set -o posix
 
22
  setopt NO_GLOB_SUBST
 
23
else
 
24
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
23
25
fi
 
26
BIN_SH=xpg4; export BIN_SH # for Tru64
24
27
DUALCASE=1; export DUALCASE # for MKS sh
25
28
 
 
29
 
 
30
# PATH needs CR
 
31
# Avoid depending upon Character Ranges.
 
32
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
33
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
34
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
35
as_cr_digits='0123456789'
 
36
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
37
 
 
38
# The user is always right.
 
39
if test "${PATH_SEPARATOR+set}" != set; then
 
40
  echo "#! /bin/sh" >conf$$.sh
 
41
  echo  "exit 0"   >>conf$$.sh
 
42
  chmod +x conf$$.sh
 
43
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
44
    PATH_SEPARATOR=';'
 
45
  else
 
46
    PATH_SEPARATOR=:
 
47
  fi
 
48
  rm -f conf$$.sh
 
49
fi
 
50
 
26
51
# Support unset when possible.
27
52
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28
53
  as_unset=unset
31
56
fi
32
57
 
33
58
 
 
59
# IFS
 
60
# We need space, tab and new line, in precisely that order.  Quoting is
 
61
# there to prevent editors from complaining about space-tab.
 
62
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
63
# splitting by setting IFS to empty value.)
 
64
as_nl='
 
65
'
 
66
IFS=" ""        $as_nl"
 
67
 
 
68
# Find who we are.  Look in the path if we contain no directory separator.
 
69
case $0 in
 
70
  *[\\/]* ) as_myself=$0 ;;
 
71
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
72
for as_dir in $PATH
 
73
do
 
74
  IFS=$as_save_IFS
 
75
  test -z "$as_dir" && as_dir=.
 
76
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
77
done
 
78
IFS=$as_save_IFS
 
79
 
 
80
     ;;
 
81
esac
 
82
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
83
# in which case we are not to be found in the path.
 
84
if test "x$as_myself" = x; then
 
85
  as_myself=$0
 
86
fi
 
87
if test ! -f "$as_myself"; then
 
88
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
89
  { (exit 1); exit 1; }
 
90
fi
 
91
 
34
92
# Work around bugs in pre-3.0 UWIN ksh.
35
 
$as_unset ENV MAIL MAILPATH
 
93
for as_var in ENV MAIL MAILPATH
 
94
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
95
done
36
96
PS1='$ '
37
97
PS2='> '
38
98
PS4='+ '
46
106
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47
107
    eval $as_var=C; export $as_var
48
108
  else
49
 
    $as_unset $as_var
 
109
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50
110
  fi
51
111
done
52
112
 
53
113
# Required to use basename.
54
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
114
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
115
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
55
116
  as_expr=expr
56
117
else
57
118
  as_expr=false
58
119
fi
59
120
 
60
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
121
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
61
122
  as_basename=basename
62
123
else
63
124
  as_basename=false
65
126
 
66
127
 
67
128
# Name of the executable.
68
 
as_me=`$as_basename "$0" ||
 
129
as_me=`$as_basename -- "$0" ||
69
130
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70
131
         X"$0" : 'X\(//\)$' \| \
71
 
         X"$0" : 'X\(/\)$' \| \
72
 
         .     : '\(.\)' 2>/dev/null ||
 
132
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
73
133
echo X/"$0" |
74
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
76
 
          /^X\/\(\/\).*/{ s//\1/; q; }
77
 
          s/.*/./; q'`
78
 
 
79
 
 
80
 
# PATH needs CR, and LINENO needs CR and PATH.
81
 
# Avoid depending upon Character Ranges.
82
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85
 
as_cr_digits='0123456789'
86
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
87
 
 
88
 
# The user is always right.
89
 
if test "${PATH_SEPARATOR+set}" != set; then
90
 
  echo "#! /bin/sh" >conf$$.sh
91
 
  echo  "exit 0"   >>conf$$.sh
92
 
  chmod +x conf$$.sh
93
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94
 
    PATH_SEPARATOR=';'
95
 
  else
96
 
    PATH_SEPARATOR=:
97
 
  fi
98
 
  rm -f conf$$.sh
99
 
fi
100
 
 
101
 
 
102
 
  as_lineno_1=$LINENO
103
 
  as_lineno_2=$LINENO
104
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
106
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
107
 
  # Find who we are.  Look in the path if we contain no path at all
108
 
  # relative or not.
109
 
  case $0 in
110
 
    *[\\/]* ) as_myself=$0 ;;
111
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112
 
for as_dir in $PATH
113
 
do
114
 
  IFS=$as_save_IFS
115
 
  test -z "$as_dir" && as_dir=.
116
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117
 
done
118
 
 
119
 
       ;;
120
 
  esac
121
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
122
 
  # in which case we are not to be found in the path.
123
 
  if test "x$as_myself" = x; then
124
 
    as_myself=$0
125
 
  fi
126
 
  if test ! -f "$as_myself"; then
127
 
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128
 
   { (exit 1); exit 1; }; }
129
 
  fi
130
 
  case $CONFIG_SHELL in
131
 
  '')
 
134
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
135
            s//\1/
 
136
            q
 
137
          }
 
138
          /^X\/\(\/\/\)$/{
 
139
            s//\1/
 
140
            q
 
141
          }
 
142
          /^X\/\(\/\).*/{
 
143
            s//\1/
 
144
            q
 
145
          }
 
146
          s/.*/./; q'`
 
147
 
 
148
# CDPATH.
 
149
$as_unset CDPATH
 
150
 
 
151
 
 
152
if test "x$CONFIG_SHELL" = x; then
 
153
  if (eval ":") 2>/dev/null; then
 
154
  as_have_required=yes
 
155
else
 
156
  as_have_required=no
 
157
fi
 
158
 
 
159
  if test $as_have_required = yes &&     (eval ":
 
160
(as_func_return () {
 
161
  (exit \$1)
 
162
}
 
163
as_func_success () {
 
164
  as_func_return 0
 
165
}
 
166
as_func_failure () {
 
167
  as_func_return 1
 
168
}
 
169
as_func_ret_success () {
 
170
  return 0
 
171
}
 
172
as_func_ret_failure () {
 
173
  return 1
 
174
}
 
175
 
 
176
exitcode=0
 
177
if as_func_success; then
 
178
  :
 
179
else
 
180
  exitcode=1
 
181
  echo as_func_success failed.
 
182
fi
 
183
 
 
184
if as_func_failure; then
 
185
  exitcode=1
 
186
  echo as_func_failure succeeded.
 
187
fi
 
188
 
 
189
if as_func_ret_success; then
 
190
  :
 
191
else
 
192
  exitcode=1
 
193
  echo as_func_ret_success failed.
 
194
fi
 
195
 
 
196
if as_func_ret_failure; then
 
197
  exitcode=1
 
198
  echo as_func_ret_failure succeeded.
 
199
fi
 
200
 
 
201
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
202
  :
 
203
else
 
204
  exitcode=1
 
205
  echo positional parameters were not saved.
 
206
fi
 
207
 
 
208
test \$exitcode = 0) || { (exit 1); exit 1; }
 
209
 
 
210
(
 
211
  as_lineno_1=\$LINENO
 
212
  as_lineno_2=\$LINENO
 
213
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
214
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
215
") 2> /dev/null; then
 
216
  :
 
217
else
 
218
  as_candidate_shells=
132
219
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
220
for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134
221
do
135
222
  IFS=$as_save_IFS
136
223
  test -z "$as_dir" && as_dir=.
137
 
  for as_base in sh bash ksh sh5; do
138
 
         case $as_dir in
 
224
  case $as_dir in
139
225
         /*)
140
 
           if ("$as_dir/$as_base" -c '
141
 
  as_lineno_1=$LINENO
142
 
  as_lineno_2=$LINENO
143
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
145
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
146
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148
 
             CONFIG_SHELL=$as_dir/$as_base
149
 
             export CONFIG_SHELL
150
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151
 
           fi;;
152
 
         esac
153
 
       done
 
226
           for as_base in sh bash ksh sh5; do
 
227
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
228
           done;;
 
229
       esac
154
230
done
155
 
;;
156
 
  esac
 
231
IFS=$as_save_IFS
 
232
 
 
233
 
 
234
      for as_shell in $as_candidate_shells $SHELL; do
 
235
         # Try only shells which exist, to save several forks.
 
236
         if test -f "$as_shell" &&
 
237
                { ("$as_shell") 2> /dev/null <<\_ASEOF
 
238
# Be Bourne compatible
 
239
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
240
  emulate sh
 
241
  NULLCMD=:
 
242
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
243
  # is contrary to our usage.  Disable this feature.
 
244
  alias -g '${1+"$@"}'='"$@"'
 
245
  setopt NO_GLOB_SUBST
 
246
else
 
247
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
248
fi
 
249
BIN_SH=xpg4; export BIN_SH # for Tru64
 
250
DUALCASE=1; export DUALCASE # for MKS sh
 
251
 
 
252
:
 
253
_ASEOF
 
254
}; then
 
255
  CONFIG_SHELL=$as_shell
 
256
               as_have_required=yes
 
257
               if { "$as_shell" 2> /dev/null <<\_ASEOF
 
258
# Be Bourne compatible
 
259
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
260
  emulate sh
 
261
  NULLCMD=:
 
262
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
263
  # is contrary to our usage.  Disable this feature.
 
264
  alias -g '${1+"$@"}'='"$@"'
 
265
  setopt NO_GLOB_SUBST
 
266
else
 
267
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
268
fi
 
269
BIN_SH=xpg4; export BIN_SH # for Tru64
 
270
DUALCASE=1; export DUALCASE # for MKS sh
 
271
 
 
272
:
 
273
(as_func_return () {
 
274
  (exit $1)
 
275
}
 
276
as_func_success () {
 
277
  as_func_return 0
 
278
}
 
279
as_func_failure () {
 
280
  as_func_return 1
 
281
}
 
282
as_func_ret_success () {
 
283
  return 0
 
284
}
 
285
as_func_ret_failure () {
 
286
  return 1
 
287
}
 
288
 
 
289
exitcode=0
 
290
if as_func_success; then
 
291
  :
 
292
else
 
293
  exitcode=1
 
294
  echo as_func_success failed.
 
295
fi
 
296
 
 
297
if as_func_failure; then
 
298
  exitcode=1
 
299
  echo as_func_failure succeeded.
 
300
fi
 
301
 
 
302
if as_func_ret_success; then
 
303
  :
 
304
else
 
305
  exitcode=1
 
306
  echo as_func_ret_success failed.
 
307
fi
 
308
 
 
309
if as_func_ret_failure; then
 
310
  exitcode=1
 
311
  echo as_func_ret_failure succeeded.
 
312
fi
 
313
 
 
314
if ( set x; as_func_ret_success y && test x = "$1" ); then
 
315
  :
 
316
else
 
317
  exitcode=1
 
318
  echo positional parameters were not saved.
 
319
fi
 
320
 
 
321
test $exitcode = 0) || { (exit 1); exit 1; }
 
322
 
 
323
(
 
324
  as_lineno_1=$LINENO
 
325
  as_lineno_2=$LINENO
 
326
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
327
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
328
 
 
329
_ASEOF
 
330
}; then
 
331
  break
 
332
fi
 
333
 
 
334
fi
 
335
 
 
336
      done
 
337
 
 
338
      if test "x$CONFIG_SHELL" != x; then
 
339
  for as_var in BASH_ENV ENV
 
340
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
341
        done
 
342
        export CONFIG_SHELL
 
343
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
344
fi
 
345
 
 
346
 
 
347
    if test $as_have_required = no; then
 
348
  echo This script requires a shell more modern than all the
 
349
      echo shells that I found on your system.  Please install a
 
350
      echo modern shell, or manually run the script under such a
 
351
      echo shell if you do have one.
 
352
      { (exit 1); exit 1; }
 
353
fi
 
354
 
 
355
 
 
356
fi
 
357
 
 
358
fi
 
359
 
 
360
 
 
361
 
 
362
(eval "as_func_return () {
 
363
  (exit \$1)
 
364
}
 
365
as_func_success () {
 
366
  as_func_return 0
 
367
}
 
368
as_func_failure () {
 
369
  as_func_return 1
 
370
}
 
371
as_func_ret_success () {
 
372
  return 0
 
373
}
 
374
as_func_ret_failure () {
 
375
  return 1
 
376
}
 
377
 
 
378
exitcode=0
 
379
if as_func_success; then
 
380
  :
 
381
else
 
382
  exitcode=1
 
383
  echo as_func_success failed.
 
384
fi
 
385
 
 
386
if as_func_failure; then
 
387
  exitcode=1
 
388
  echo as_func_failure succeeded.
 
389
fi
 
390
 
 
391
if as_func_ret_success; then
 
392
  :
 
393
else
 
394
  exitcode=1
 
395
  echo as_func_ret_success failed.
 
396
fi
 
397
 
 
398
if as_func_ret_failure; then
 
399
  exitcode=1
 
400
  echo as_func_ret_failure succeeded.
 
401
fi
 
402
 
 
403
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
404
  :
 
405
else
 
406
  exitcode=1
 
407
  echo positional parameters were not saved.
 
408
fi
 
409
 
 
410
test \$exitcode = 0") || {
 
411
  echo No shell found that supports shell functions.
 
412
  echo Please tell autoconf@gnu.org about your system,
 
413
  echo including any error possibly output before this
 
414
  echo message
 
415
}
 
416
 
 
417
 
 
418
 
 
419
  as_lineno_1=$LINENO
 
420
  as_lineno_2=$LINENO
 
421
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
422
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
157
423
 
158
424
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159
425
  # uniformly replaced by the line number.  The first 'sed' inserts a
160
 
  # line-number line before each line; the second 'sed' does the real
161
 
  # work.  The second script uses 'N' to pair each line-number line
162
 
  # with the numbered line, and appends trailing '-' during
163
 
  # substitution so that $LINENO is not a special case at line end.
 
426
  # line-number line after each line using $LINENO; the second 'sed'
 
427
  # does the real work.  The second script uses 'N' to pair each
 
428
  # line-number line with the line containing $LINENO, and appends
 
429
  # trailing '-' during substitution so that $LINENO is not a special
 
430
  # case at line end.
164
431
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
166
 
  sed '=' <$as_myself |
 
432
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
433
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
434
  sed -n '
 
435
    p
 
436
    /[$]LINENO/=
 
437
  ' <$as_myself |
167
438
    sed '
 
439
      s/[$]LINENO.*/&-/
 
440
      t lineno
 
441
      b
 
442
      :lineno
168
443
      N
169
 
      s,$,-,
170
 
      : loop
171
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
444
      :loop
 
445
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
172
446
      t loop
173
 
      s,-$,,
174
 
      s,^['$as_cr_digits']*\n,,
 
447
      s/-\n.*//
175
448
    ' >$as_me.lineno &&
176
 
  chmod +x $as_me.lineno ||
 
449
  chmod +x "$as_me.lineno" ||
177
450
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178
451
   { (exit 1); exit 1; }; }
179
452
 
180
453
  # Don't try to exec as it changes $[0], causing all sort of problems
181
454
  # (the dirname of $[0] is not the place where we might find the
182
 
  # original and so on.  Autoconf is especially sensible to this).
183
 
  . ./$as_me.lineno
 
455
  # original and so on.  Autoconf is especially sensitive to this).
 
456
  . "./$as_me.lineno"
184
457
  # Exit status is that of the last command.
185
458
  exit
186
459
}
187
460
 
188
461
 
189
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190
 
  *c*,-n*) ECHO_N= ECHO_C='
191
 
' ECHO_T='      ' ;;
192
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
462
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
463
  as_dirname=dirname
 
464
else
 
465
  as_dirname=false
 
466
fi
 
467
 
 
468
ECHO_C= ECHO_N= ECHO_T=
 
469
case `echo -n x` in
 
470
-n*)
 
471
  case `echo 'x\c'` in
 
472
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
473
  *)   ECHO_C='\c';;
 
474
  esac;;
 
475
*)
 
476
  ECHO_N='-n';;
194
477
esac
195
478
 
196
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
479
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
480
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
197
481
  as_expr=expr
198
482
else
199
483
  as_expr=false
200
484
fi
201
485
 
202
486
rm -f conf$$ conf$$.exe conf$$.file
 
487
if test -d conf$$.dir; then
 
488
  rm -f conf$$.dir/conf$$.file
 
489
else
 
490
  rm -f conf$$.dir
 
491
  mkdir conf$$.dir
 
492
fi
203
493
echo >conf$$.file
204
494
if ln -s conf$$.file conf$$ 2>/dev/null; then
205
 
  # We could just check for DJGPP; but this test a) works b) is more generic
206
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207
 
  if test -f conf$$.exe; then
208
 
    # Don't use ln at all; we don't have any links
 
495
  as_ln_s='ln -s'
 
496
  # ... but there are two gotchas:
 
497
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
498
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
499
  # In both cases, we have to default to `cp -p'.
 
500
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
209
501
    as_ln_s='cp -p'
210
 
  else
211
 
    as_ln_s='ln -s'
212
 
  fi
213
502
elif ln conf$$.file conf$$ 2>/dev/null; then
214
503
  as_ln_s=ln
215
504
else
216
505
  as_ln_s='cp -p'
217
506
fi
218
 
rm -f conf$$ conf$$.exe conf$$.file
 
507
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
508
rmdir conf$$.dir 2>/dev/null
219
509
 
220
510
if mkdir -p . 2>/dev/null; then
221
511
  as_mkdir_p=:
224
514
  as_mkdir_p=false
225
515
fi
226
516
 
227
 
as_executable_p="test -f"
 
517
# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
 
518
# systems may use methods other than mode bits to determine executability.
 
519
cat >conf$$.file <<_ASEOF
 
520
#! /bin/sh
 
521
exit 0
 
522
_ASEOF
 
523
chmod +x conf$$.file
 
524
if test -x conf$$.file >/dev/null 2>&1; then
 
525
  as_executable_p="test -x"
 
526
else
 
527
  as_executable_p=:
 
528
fi
 
529
rm -f conf$$.file
228
530
 
229
531
# Sed expression to map a string onto a valid CPP name.
230
532
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233
535
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234
536
 
235
537
 
236
 
# IFS
237
 
# We need space, tab and new line, in precisely that order.
238
 
as_nl='
239
 
'
240
 
IFS="   $as_nl"
241
 
 
242
 
# CDPATH.
243
 
$as_unset CDPATH
244
 
 
 
538
 
 
539
exec 7<&0 </dev/null 6>&1
245
540
 
246
541
# Name of the host.
247
542
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248
543
# so uname gets run too.
249
544
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250
545
 
251
 
exec 6>&1
252
 
 
253
546
#
254
547
# Initializations.
255
548
#
256
549
ac_default_prefix=/usr/local
 
550
ac_clean_files=
257
551
ac_config_libobj_dir=.
 
552
LIBOBJS=
258
553
cross_compiling=no
259
554
subdirs=
260
555
MFLAGS=
261
556
MAKEFLAGS=
262
557
SHELL=${CONFIG_SHELL-/bin/sh}
263
558
 
264
 
# Maximum number of lines to put in a shell here document.
265
 
# This variable seems obsolete.  It should probably be removed, and
266
 
# only ac_max_sed_lines should be used.
267
 
: ${ac_max_here_lines=38}
268
 
 
269
559
# Identity of this package.
270
560
PACKAGE_NAME='mkfontdir'
271
561
PACKAGE_TARNAME='mkfontdir'
273
563
PACKAGE_STRING='mkfontdir 1.0.1'
274
564
PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
275
565
 
276
 
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT SED build build_cpu build_vendor build_os host host_cpu host_vendor host_os APP_MAN_SUFFIX LIB_MAN_SUFFIX FILE_MAN_SUFFIX MISC_MAN_SUFFIX DRIVER_MAN_SUFFIX ADMIN_MAN_SUFFIX APP_MAN_DIR LIB_MAN_DIR FILE_MAN_DIR MISC_MAN_DIR DRIVER_MAN_DIR ADMIN_MAN_DIR LIBOBJS LTLIBOBJS'
 
566
ac_subst_vars='SHELL
 
567
PATH_SEPARATOR
 
568
PACKAGE_NAME
 
569
PACKAGE_TARNAME
 
570
PACKAGE_VERSION
 
571
PACKAGE_STRING
 
572
PACKAGE_BUGREPORT
 
573
exec_prefix
 
574
prefix
 
575
program_transform_name
 
576
bindir
 
577
sbindir
 
578
libexecdir
 
579
datarootdir
 
580
datadir
 
581
sysconfdir
 
582
sharedstatedir
 
583
localstatedir
 
584
includedir
 
585
oldincludedir
 
586
docdir
 
587
infodir
 
588
htmldir
 
589
dvidir
 
590
pdfdir
 
591
psdir
 
592
libdir
 
593
localedir
 
594
mandir
 
595
DEFS
 
596
ECHO_C
 
597
ECHO_N
 
598
ECHO_T
 
599
LIBS
 
600
build_alias
 
601
host_alias
 
602
target_alias
 
603
INSTALL_PROGRAM
 
604
INSTALL_SCRIPT
 
605
INSTALL_DATA
 
606
CYGPATH_W
 
607
PACKAGE
 
608
VERSION
 
609
ACLOCAL
 
610
AUTOCONF
 
611
AUTOMAKE
 
612
AUTOHEADER
 
613
MAKEINFO
 
614
AMTAR
 
615
install_sh
 
616
STRIP
 
617
INSTALL_STRIP_PROGRAM
 
618
AWK
 
619
SET_MAKE
 
620
am__leading_dot
 
621
MAINTAINER_MODE_TRUE
 
622
MAINTAINER_MODE_FALSE
 
623
MAINT
 
624
SED
 
625
build
 
626
build_cpu
 
627
build_vendor
 
628
build_os
 
629
host
 
630
host_cpu
 
631
host_vendor
 
632
host_os
 
633
APP_MAN_SUFFIX
 
634
LIB_MAN_SUFFIX
 
635
FILE_MAN_SUFFIX
 
636
MISC_MAN_SUFFIX
 
637
DRIVER_MAN_SUFFIX
 
638
ADMIN_MAN_SUFFIX
 
639
APP_MAN_DIR
 
640
LIB_MAN_DIR
 
641
FILE_MAN_DIR
 
642
MISC_MAN_DIR
 
643
DRIVER_MAN_DIR
 
644
ADMIN_MAN_DIR
 
645
LIBOBJS
 
646
LTLIBOBJS'
277
647
ac_subst_files=''
 
648
      ac_precious_vars='build_alias
 
649
host_alias
 
650
target_alias'
 
651
 
278
652
 
279
653
# Initialize some variables set by options.
280
654
ac_init_help=
301
675
# and all the variables that are supposed to be based on exec_prefix
302
676
# by default will actually change.
303
677
# Use braces instead of parens because sh, perl, etc. also accept them.
 
678
# (The list follows the same order as the GNU Coding Standards.)
304
679
bindir='${exec_prefix}/bin'
305
680
sbindir='${exec_prefix}/sbin'
306
681
libexecdir='${exec_prefix}/libexec'
307
 
datadir='${prefix}/share'
 
682
datarootdir='${prefix}/share'
 
683
datadir='${datarootdir}'
308
684
sysconfdir='${prefix}/etc'
309
685
sharedstatedir='${prefix}/com'
310
686
localstatedir='${prefix}/var'
311
 
libdir='${exec_prefix}/lib'
312
687
includedir='${prefix}/include'
313
688
oldincludedir='/usr/include'
314
 
infodir='${prefix}/info'
315
 
mandir='${prefix}/man'
 
689
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
690
infodir='${datarootdir}/info'
 
691
htmldir='${docdir}'
 
692
dvidir='${docdir}'
 
693
pdfdir='${docdir}'
 
694
psdir='${docdir}'
 
695
libdir='${exec_prefix}/lib'
 
696
localedir='${datarootdir}/locale'
 
697
mandir='${datarootdir}/man'
316
698
 
317
699
ac_prev=
 
700
ac_dashdash=
318
701
for ac_option
319
702
do
320
703
  # If the previous option needs an argument, assign it.
321
704
  if test -n "$ac_prev"; then
322
 
    eval "$ac_prev=\$ac_option"
 
705
    eval $ac_prev=\$ac_option
323
706
    ac_prev=
324
707
    continue
325
708
  fi
326
709
 
327
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
710
  case $ac_option in
 
711
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
712
  *)    ac_optarg=yes ;;
 
713
  esac
328
714
 
329
715
  # Accept the important Cygnus configure options, so we can diagnose typos.
330
716
 
331
 
  case $ac_option in
 
717
  case $ac_dashdash$ac_option in
 
718
  --)
 
719
    ac_dashdash=yes ;;
332
720
 
333
721
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
334
722
    ac_prev=bindir ;;
350
738
  --config-cache | -C)
351
739
    cache_file=config.cache ;;
352
740
 
353
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
741
  -datadir | --datadir | --datadi | --datad)
354
742
    ac_prev=datadir ;;
355
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
356
 
  | --da=*)
 
743
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
357
744
    datadir=$ac_optarg ;;
358
745
 
 
746
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
747
  | --dataroo | --dataro | --datar)
 
748
    ac_prev=datarootdir ;;
 
749
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
750
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
751
    datarootdir=$ac_optarg ;;
 
752
 
359
753
  -disable-* | --disable-*)
360
754
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
361
755
    # Reject names that are not valid shell variable names.
363
757
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
364
758
   { (exit 1); exit 1; }; }
365
759
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
366
 
    eval "enable_$ac_feature=no" ;;
 
760
    eval enable_$ac_feature=no ;;
 
761
 
 
762
  -docdir | --docdir | --docdi | --doc | --do)
 
763
    ac_prev=docdir ;;
 
764
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
765
    docdir=$ac_optarg ;;
 
766
 
 
767
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
768
    ac_prev=dvidir ;;
 
769
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
770
    dvidir=$ac_optarg ;;
367
771
 
368
772
  -enable-* | --enable-*)
369
773
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
372
776
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
373
777
   { (exit 1); exit 1; }; }
374
778
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
375
 
    case $ac_option in
376
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
377
 
      *) ac_optarg=yes ;;
378
 
    esac
379
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
779
    eval enable_$ac_feature=\$ac_optarg ;;
380
780
 
381
781
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
382
782
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
403
803
  -host=* | --host=* | --hos=* | --ho=*)
404
804
    host_alias=$ac_optarg ;;
405
805
 
 
806
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
807
    ac_prev=htmldir ;;
 
808
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
809
  | --ht=*)
 
810
    htmldir=$ac_optarg ;;
 
811
 
406
812
  -includedir | --includedir | --includedi | --included | --include \
407
813
  | --includ | --inclu | --incl | --inc)
408
814
    ac_prev=includedir ;;
427
833
  | --libexe=* | --libex=* | --libe=*)
428
834
    libexecdir=$ac_optarg ;;
429
835
 
 
836
  -localedir | --localedir | --localedi | --localed | --locale)
 
837
    ac_prev=localedir ;;
 
838
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
839
    localedir=$ac_optarg ;;
 
840
 
430
841
  -localstatedir | --localstatedir | --localstatedi | --localstated \
431
 
  | --localstate | --localstat | --localsta | --localst \
432
 
  | --locals | --local | --loca | --loc | --lo)
 
842
  | --localstate | --localstat | --localsta | --localst | --locals)
433
843
    ac_prev=localstatedir ;;
434
844
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
435
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
436
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
845
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
437
846
    localstatedir=$ac_optarg ;;
438
847
 
439
848
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
498
907
  | --progr-tra=* | --program-tr=* | --program-t=*)
499
908
    program_transform_name=$ac_optarg ;;
500
909
 
 
910
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
911
    ac_prev=pdfdir ;;
 
912
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
913
    pdfdir=$ac_optarg ;;
 
914
 
 
915
  -psdir | --psdir | --psdi | --psd | --ps)
 
916
    ac_prev=psdir ;;
 
917
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
918
    psdir=$ac_optarg ;;
 
919
 
501
920
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
502
921
  | -silent | --silent | --silen | --sile | --sil)
503
922
    silent=yes ;;
554
973
      { echo "$as_me: error: invalid package name: $ac_package" >&2
555
974
   { (exit 1); exit 1; }; }
556
975
    ac_package=`echo $ac_package| sed 's/-/_/g'`
557
 
    case $ac_option in
558
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
559
 
      *) ac_optarg=yes ;;
560
 
    esac
561
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
976
    eval with_$ac_package=\$ac_optarg ;;
562
977
 
563
978
  -without-* | --without-*)
564
979
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
567
982
      { echo "$as_me: error: invalid package name: $ac_package" >&2
568
983
   { (exit 1); exit 1; }; }
569
984
    ac_package=`echo $ac_package | sed 's/-/_/g'`
570
 
    eval "with_$ac_package=no" ;;
 
985
    eval with_$ac_package=no ;;
571
986
 
572
987
  --x)
573
988
    # Obsolete; use --with-x.
598
1013
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
599
1014
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
600
1015
   { (exit 1); exit 1; }; }
601
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602
 
    eval "$ac_envvar='$ac_optarg'"
 
1016
    eval $ac_envvar=\$ac_optarg
603
1017
    export $ac_envvar ;;
604
1018
 
605
1019
  *)
619
1033
   { (exit 1); exit 1; }; }
620
1034
fi
621
1035
 
622
 
# Be sure to have absolute paths.
623
 
for ac_var in exec_prefix prefix
624
 
do
625
 
  eval ac_val=$`echo $ac_var`
626
 
  case $ac_val in
627
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
628
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629
 
   { (exit 1); exit 1; }; };;
630
 
  esac
631
 
done
632
 
 
633
 
# Be sure to have absolute paths.
634
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635
 
              localstatedir libdir includedir oldincludedir infodir mandir
636
 
do
637
 
  eval ac_val=$`echo $ac_var`
638
 
  case $ac_val in
639
 
    [\\/$]* | ?:[\\/]* ) ;;
640
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641
 
   { (exit 1); exit 1; }; };;
642
 
  esac
 
1036
# Be sure to have absolute directory names.
 
1037
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1038
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1039
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1040
                libdir localedir mandir
 
1041
do
 
1042
  eval ac_val=\$$ac_var
 
1043
  case $ac_val in
 
1044
    [\\/$]* | ?:[\\/]* )  continue;;
 
1045
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1046
  esac
 
1047
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1048
   { (exit 1); exit 1; }; }
643
1049
done
644
1050
 
645
1051
# There might be people who depend on the old broken behavior: `$host'
666
1072
test "$silent" = yes && exec 6>/dev/null
667
1073
 
668
1074
 
 
1075
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1076
ac_ls_di=`ls -di .` &&
 
1077
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1078
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1079
   { (exit 1); exit 1; }; }
 
1080
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1081
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1082
   { (exit 1); exit 1; }; }
 
1083
 
 
1084
 
669
1085
# Find the source files, if location was not specified.
670
1086
if test -z "$srcdir"; then
671
1087
  ac_srcdir_defaulted=yes
672
 
  # Try the directory containing this script, then its parent.
673
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
1088
  # Try the directory containing this script, then the parent directory.
 
1089
  ac_confdir=`$as_dirname -- "$0" ||
674
1090
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
675
1091
         X"$0" : 'X\(//\)[^/]' \| \
676
1092
         X"$0" : 'X\(//\)$' \| \
677
 
         X"$0" : 'X\(/\)' \| \
678
 
         .     : '\(.\)' 2>/dev/null ||
 
1093
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
679
1094
echo X"$0" |
680
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
682
 
          /^X\(\/\/\)$/{ s//\1/; q; }
683
 
          /^X\(\/\).*/{ s//\1/; q; }
684
 
          s/.*/./; q'`
 
1095
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1096
            s//\1/
 
1097
            q
 
1098
          }
 
1099
          /^X\(\/\/\)[^/].*/{
 
1100
            s//\1/
 
1101
            q
 
1102
          }
 
1103
          /^X\(\/\/\)$/{
 
1104
            s//\1/
 
1105
            q
 
1106
          }
 
1107
          /^X\(\/\).*/{
 
1108
            s//\1/
 
1109
            q
 
1110
          }
 
1111
          s/.*/./; q'`
685
1112
  srcdir=$ac_confdir
686
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1113
  if test ! -r "$srcdir/$ac_unique_file"; then
687
1114
    srcdir=..
688
1115
  fi
689
1116
else
690
1117
  ac_srcdir_defaulted=no
691
1118
fi
692
 
if test ! -r $srcdir/$ac_unique_file; then
693
 
  if test "$ac_srcdir_defaulted" = yes; then
694
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
695
 
   { (exit 1); exit 1; }; }
696
 
  else
697
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
698
 
   { (exit 1); exit 1; }; }
699
 
  fi
700
 
fi
701
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
702
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
703
 
   { (exit 1); exit 1; }; }
704
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705
 
ac_env_build_alias_set=${build_alias+set}
706
 
ac_env_build_alias_value=$build_alias
707
 
ac_cv_env_build_alias_set=${build_alias+set}
708
 
ac_cv_env_build_alias_value=$build_alias
709
 
ac_env_host_alias_set=${host_alias+set}
710
 
ac_env_host_alias_value=$host_alias
711
 
ac_cv_env_host_alias_set=${host_alias+set}
712
 
ac_cv_env_host_alias_value=$host_alias
713
 
ac_env_target_alias_set=${target_alias+set}
714
 
ac_env_target_alias_value=$target_alias
715
 
ac_cv_env_target_alias_set=${target_alias+set}
716
 
ac_cv_env_target_alias_value=$target_alias
 
1119
if test ! -r "$srcdir/$ac_unique_file"; then
 
1120
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1121
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1122
   { (exit 1); exit 1; }; }
 
1123
fi
 
1124
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1125
ac_abs_confdir=`(
 
1126
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1127
   { (exit 1); exit 1; }; }
 
1128
        pwd)`
 
1129
# When building in place, set srcdir=.
 
1130
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1131
  srcdir=.
 
1132
fi
 
1133
# Remove unnecessary trailing slashes from srcdir.
 
1134
# Double slashes in file names in object file debugging info
 
1135
# mess up M-x gdb in Emacs.
 
1136
case $srcdir in
 
1137
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1138
esac
 
1139
for ac_var in $ac_precious_vars; do
 
1140
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1141
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1142
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1143
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1144
done
717
1145
 
718
1146
#
719
1147
# Report the --help message.
742
1170
  -n, --no-create         do not create output files
743
1171
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
744
1172
 
745
 
_ACEOF
746
 
 
747
 
  cat <<_ACEOF
748
1173
Installation directories:
749
1174
  --prefix=PREFIX         install architecture-independent files in PREFIX
750
1175
                          [$ac_default_prefix]
762
1187
  --bindir=DIR           user executables [EPREFIX/bin]
763
1188
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
764
1189
  --libexecdir=DIR       program executables [EPREFIX/libexec]
765
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
766
1190
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
767
1191
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
768
1192
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
769
1193
  --libdir=DIR           object code libraries [EPREFIX/lib]
770
1194
  --includedir=DIR       C header files [PREFIX/include]
771
1195
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
772
 
  --infodir=DIR          info documentation [PREFIX/info]
773
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1196
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 
1197
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 
1198
  --infodir=DIR          info documentation [DATAROOTDIR/info]
 
1199
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 
1200
  --mandir=DIR           man documentation [DATAROOTDIR/man]
 
1201
  --docdir=DIR           documentation root [DATAROOTDIR/doc/mkfontdir]
 
1202
  --htmldir=DIR          html documentation [DOCDIR]
 
1203
  --dvidir=DIR           dvi documentation [DOCDIR]
 
1204
  --pdfdir=DIR           pdf documentation [DOCDIR]
 
1205
  --psdir=DIR            ps documentation [DOCDIR]
774
1206
_ACEOF
775
1207
 
776
1208
  cat <<\_ACEOF
806
1238
 
807
1239
Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
808
1240
_ACEOF
 
1241
ac_status=$?
809
1242
fi
810
1243
 
811
1244
if test "$ac_init_help" = "recursive"; then
812
1245
  # If there are subdirs, report their specific --help.
813
 
  ac_popdir=`pwd`
814
1246
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
815
 
    test -d $ac_dir || continue
 
1247
    test -d "$ac_dir" || continue
816
1248
    ac_builddir=.
817
1249
 
818
 
if test "$ac_dir" != .; then
 
1250
case "$ac_dir" in
 
1251
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1252
*)
819
1253
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
820
 
  # A "../" for each directory in $ac_dir_suffix.
821
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
822
 
else
823
 
  ac_dir_suffix= ac_top_builddir=
824
 
fi
 
1254
  # A ".." for each directory in $ac_dir_suffix.
 
1255
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1256
  case $ac_top_builddir_sub in
 
1257
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1258
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1259
  esac ;;
 
1260
esac
 
1261
ac_abs_top_builddir=$ac_pwd
 
1262
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1263
# for backward compatibility:
 
1264
ac_top_builddir=$ac_top_build_prefix
825
1265
 
826
1266
case $srcdir in
827
 
  .)  # No --srcdir option.  We are building in place.
 
1267
  .)  # We are building in place.
828
1268
    ac_srcdir=.
829
 
    if test -z "$ac_top_builddir"; then
830
 
       ac_top_srcdir=.
831
 
    else
832
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
833
 
    fi ;;
834
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1269
    ac_top_srcdir=$ac_top_builddir_sub
 
1270
    ac_abs_top_srcdir=$ac_pwd ;;
 
1271
  [\\/]* | ?:[\\/]* )  # Absolute name.
835
1272
    ac_srcdir=$srcdir$ac_dir_suffix;
836
 
    ac_top_srcdir=$srcdir ;;
837
 
  *) # Relative path.
838
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
839
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
840
 
esac
841
 
 
842
 
# Do not use `cd foo && pwd` to compute absolute paths, because
843
 
# the directories may not exist.
844
 
case `pwd` in
845
 
.) ac_abs_builddir="$ac_dir";;
846
 
*)
847
 
  case "$ac_dir" in
848
 
  .) ac_abs_builddir=`pwd`;;
849
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
850
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
851
 
  esac;;
852
 
esac
853
 
case $ac_abs_builddir in
854
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
855
 
*)
856
 
  case ${ac_top_builddir}. in
857
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
858
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
859
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
860
 
  esac;;
861
 
esac
862
 
case $ac_abs_builddir in
863
 
.) ac_abs_srcdir=$ac_srcdir;;
864
 
*)
865
 
  case $ac_srcdir in
866
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
867
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
868
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
869
 
  esac;;
870
 
esac
871
 
case $ac_abs_builddir in
872
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
873
 
*)
874
 
  case $ac_top_srcdir in
875
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
876
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
877
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
878
 
  esac;;
879
 
esac
880
 
 
881
 
    cd $ac_dir
882
 
    # Check for guested configure; otherwise get Cygnus style configure.
883
 
    if test -f $ac_srcdir/configure.gnu; then
884
 
      echo
885
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
886
 
    elif test -f $ac_srcdir/configure; then
887
 
      echo
888
 
      $SHELL $ac_srcdir/configure  --help=recursive
889
 
    elif test -f $ac_srcdir/configure.ac ||
890
 
           test -f $ac_srcdir/configure.in; then
891
 
      echo
892
 
      $ac_configure --help
 
1273
    ac_top_srcdir=$srcdir
 
1274
    ac_abs_top_srcdir=$srcdir ;;
 
1275
  *) # Relative name.
 
1276
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1277
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1278
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1279
esac
 
1280
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1281
 
 
1282
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1283
    # Check for guested configure.
 
1284
    if test -f "$ac_srcdir/configure.gnu"; then
 
1285
      echo &&
 
1286
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1287
    elif test -f "$ac_srcdir/configure"; then
 
1288
      echo &&
 
1289
      $SHELL "$ac_srcdir/configure" --help=recursive
893
1290
    else
894
1291
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
895
 
    fi
896
 
    cd $ac_popdir
 
1292
    fi || ac_status=$?
 
1293
    cd "$ac_pwd" || { ac_status=$?; break; }
897
1294
  done
898
1295
fi
899
1296
 
900
 
test -n "$ac_init_help" && exit 0
 
1297
test -n "$ac_init_help" && exit $ac_status
901
1298
if $ac_init_version; then
902
1299
  cat <<\_ACEOF
903
1300
mkfontdir configure 1.0.1
904
 
generated by GNU Autoconf 2.59
 
1301
generated by GNU Autoconf 2.59e
905
1302
 
906
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
1303
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1304
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
907
1305
This configure script is free software; the Free Software Foundation
908
1306
gives unlimited permission to copy, distribute and modify it.
909
1307
_ACEOF
910
 
  exit 0
 
1308
  exit
911
1309
fi
912
 
exec 5>config.log
913
 
cat >&5 <<_ACEOF
 
1310
cat >config.log <<_ACEOF
914
1311
This file contains any messages produced by compilers while
915
1312
running configure, to aid debugging if configure makes a mistake.
916
1313
 
917
1314
It was created by mkfontdir $as_me 1.0.1, which was
918
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
1315
generated by GNU Autoconf 2.59e.  Invocation command line was
919
1316
 
920
1317
  $ $0 $@
921
1318
 
922
1319
_ACEOF
 
1320
exec 5>>config.log
923
1321
{
924
1322
cat <<_ASUNAME
925
1323
## --------- ##
938
1336
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
939
1337
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
940
1338
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
941
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1339
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
942
1340
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
943
1341
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
944
1342
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
952
1350
  test -z "$as_dir" && as_dir=.
953
1351
  echo "PATH: $as_dir"
954
1352
done
 
1353
IFS=$as_save_IFS
955
1354
 
956
1355
} >&5
957
1356
 
973
1372
ac_configure_args=
974
1373
ac_configure_args0=
975
1374
ac_configure_args1=
976
 
ac_sep=
977
1375
ac_must_keep_next=false
978
1376
for ac_pass in 1 2
979
1377
do
984
1382
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
985
1383
    | -silent | --silent | --silen | --sile | --sil)
986
1384
      continue ;;
987
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1385
    *\'*)
988
1386
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
989
1387
    esac
990
1388
    case $ac_pass in
1006
1404
          -* ) ac_must_keep_next=true ;;
1007
1405
        esac
1008
1406
      fi
1009
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1010
 
      # Get rid of the leading space.
1011
 
      ac_sep=" "
 
1407
      ac_configure_args="$ac_configure_args '$ac_arg'"
1012
1408
      ;;
1013
1409
    esac
1014
1410
  done
1019
1415
# When interrupted or exit'd, cleanup temporary files, and complete
1020
1416
# config.log.  We remove comments because anyway the quotes in there
1021
1417
# would cause problems or look ugly.
1022
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1023
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1418
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1419
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1024
1420
trap 'exit_status=$?
1025
1421
  # Save into config.log some information that might help in debugging.
1026
1422
  {
1033
1429
_ASBOX
1034
1430
    echo
1035
1431
    # The following way of writing the cache mishandles newlines in values,
1036
 
{
 
1432
(
 
1433
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1434
    eval ac_val=\$$ac_var
 
1435
    case $ac_val in #(
 
1436
    *${as_nl}*)
 
1437
      case $ac_var in #(
 
1438
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1439
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1440
      esac
 
1441
      case $ac_var in #(
 
1442
      _ | IFS | as_nl) ;; #(
 
1443
      *) $as_unset $ac_var ;;
 
1444
      esac ;;
 
1445
    esac
 
1446
  done
1037
1447
  (set) 2>&1 |
1038
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1039
 
    *ac_space=\ *)
 
1448
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1449
    *${as_nl}ac_space=\ *)
1040
1450
      sed -n \
1041
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1042
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1043
 
      ;;
 
1451
        "s/'\''/'\''\\\\'\'''\''/g;
 
1452
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1453
      ;; #(
1044
1454
    *)
1045
 
      sed -n \
1046
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1455
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1047
1456
      ;;
1048
 
    esac;
1049
 
}
 
1457
    esac |
 
1458
    sort
 
1459
)
1050
1460
    echo
1051
1461
 
1052
1462
    cat <<\_ASBOX
1057
1467
    echo
1058
1468
    for ac_var in $ac_subst_vars
1059
1469
    do
1060
 
      eval ac_val=$`echo $ac_var`
1061
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1470
      eval ac_val=\$$ac_var
 
1471
      case $ac_val in
 
1472
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1473
      esac
 
1474
      echo "$ac_var='\''$ac_val'\''"
1062
1475
    done | sort
1063
1476
    echo
1064
1477
 
1065
1478
    if test -n "$ac_subst_files"; then
1066
1479
      cat <<\_ASBOX
1067
 
## ------------- ##
1068
 
## Output files. ##
1069
 
## ------------- ##
 
1480
## ------------------- ##
 
1481
## File substitutions. ##
 
1482
## ------------------- ##
1070
1483
_ASBOX
1071
1484
      echo
1072
1485
      for ac_var in $ac_subst_files
1073
1486
      do
1074
 
        eval ac_val=$`echo $ac_var`
1075
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1487
        eval ac_val=\$$ac_var
 
1488
        case $ac_val in
 
1489
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1490
        esac
 
1491
        echo "$ac_var='\''$ac_val'\''"
1076
1492
      done | sort
1077
1493
      echo
1078
1494
    fi
1084
1500
## ----------- ##
1085
1501
_ASBOX
1086
1502
      echo
1087
 
      sed "/^$/d" confdefs.h | sort
 
1503
      cat confdefs.h
1088
1504
      echo
1089
1505
    fi
1090
1506
    test "$ac_signal" != 0 &&
1091
1507
      echo "$as_me: caught signal $ac_signal"
1092
1508
    echo "$as_me: exit $exit_status"
1093
1509
  } >&5
1094
 
  rm -f core *.core &&
1095
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1510
  rm -f core *.core core.conftest.* &&
 
1511
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1096
1512
    exit $exit_status
1097
 
     ' 0
 
1513
' 0
1098
1514
for ac_signal in 1 2 13 15; do
1099
1515
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1100
1516
done
1101
1517
ac_signal=0
1102
1518
 
1103
1519
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1104
 
rm -rf conftest* confdefs.h
1105
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1106
 
echo >confdefs.h
 
1520
rm -f -r conftest* confdefs.h
1107
1521
 
1108
1522
# Predefined preprocessor variables.
1109
1523
 
1134
1548
 
1135
1549
# Let the site file select an alternate cache file if it wants to.
1136
1550
# Prefer explicitly selected file to automatically selected ones.
1137
 
if test -z "$CONFIG_SITE"; then
1138
 
  if test "x$prefix" != xNONE; then
1139
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1140
 
  else
1141
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1142
 
  fi
 
1551
if test -n "$CONFIG_SITE"; then
 
1552
  set x "$CONFIG_SITE"
 
1553
elif test "x$prefix" != xNONE; then
 
1554
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1555
else
 
1556
  set x "$ac_default_prefix/share/config.site" \
 
1557
        "$ac_default_prefix/etc/config.site"
1143
1558
fi
1144
 
for ac_site_file in $CONFIG_SITE; do
 
1559
shift
 
1560
for ac_site_file
 
1561
do
1145
1562
  if test -r "$ac_site_file"; then
1146
1563
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1147
1564
echo "$as_me: loading site script $ac_site_file" >&6;}
1157
1574
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1158
1575
echo "$as_me: loading cache $cache_file" >&6;}
1159
1576
    case $cache_file in
1160
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1161
 
      *)                      . ./$cache_file;;
 
1577
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1578
      *)                      . "./$cache_file";;
1162
1579
    esac
1163
1580
  fi
1164
1581
else
1170
1587
# Check that the precious variables saved in the cache have kept the same
1171
1588
# value.
1172
1589
ac_cache_corrupted=false
1173
 
for ac_var in `(set) 2>&1 |
1174
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1590
for ac_var in $ac_precious_vars; do
1175
1591
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1176
1592
  eval ac_new_set=\$ac_env_${ac_var}_set
1177
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1178
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
1593
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
1594
  eval ac_new_val=\$ac_env_${ac_var}_value
1179
1595
  case $ac_old_set,$ac_new_set in
1180
1596
    set,)
1181
1597
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1200
1616
  # Pass precious variables to config.status.
1201
1617
  if test "$ac_new_set" = set; then
1202
1618
    case $ac_new_val in
1203
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1204
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1619
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1205
1620
    *) ac_arg=$ac_var=$ac_new_val ;;
1206
1621
    esac
1207
1622
    case " $ac_configure_args " in
1218
1633
   { (exit 1); exit 1; }; }
1219
1634
fi
1220
1635
 
 
1636
 
 
1637
 
 
1638
 
 
1639
 
 
1640
 
 
1641
 
 
1642
 
 
1643
 
 
1644
 
 
1645
 
 
1646
 
 
1647
 
 
1648
 
 
1649
 
 
1650
 
 
1651
 
 
1652
 
 
1653
 
 
1654
 
 
1655
 
 
1656
 
 
1657
 
 
1658
 
 
1659
 
1221
1660
ac_ext=c
1222
1661
ac_cpp='$CPP $CPPFLAGS'
1223
1662
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1225
1664
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1226
1665
 
1227
1666
 
1228
 
 
1229
 
 
1230
 
 
1231
 
 
1232
 
 
1233
 
 
1234
 
 
1235
 
 
1236
 
 
1237
 
 
1238
 
 
1239
 
 
1240
 
 
1241
 
 
1242
 
 
1243
 
 
1244
 
 
1245
 
 
1246
 
 
1247
 
 
1248
 
 
1249
 
 
1250
 
 
1251
 
 
1252
 
 
1253
1667
am__api_version="1.7"
1254
1668
ac_aux_dir=
1255
 
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1256
 
  if test -f $ac_dir/install-sh; then
 
1669
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
1670
  if test -f "$ac_dir/install-sh"; then
1257
1671
    ac_aux_dir=$ac_dir
1258
1672
    ac_install_sh="$ac_aux_dir/install-sh -c"
1259
1673
    break
1260
 
  elif test -f $ac_dir/install.sh; then
 
1674
  elif test -f "$ac_dir/install.sh"; then
1261
1675
    ac_aux_dir=$ac_dir
1262
1676
    ac_install_sh="$ac_aux_dir/install.sh -c"
1263
1677
    break
1264
 
  elif test -f $ac_dir/shtool; then
 
1678
  elif test -f "$ac_dir/shtool"; then
1265
1679
    ac_aux_dir=$ac_dir
1266
1680
    ac_install_sh="$ac_aux_dir/shtool install -c"
1267
1681
    break
1268
1682
  fi
1269
1683
done
1270
1684
if test -z "$ac_aux_dir"; then
1271
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1272
 
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 
1685
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
1686
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1273
1687
   { (exit 1); exit 1; }; }
1274
1688
fi
1275
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1276
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1277
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
1689
 
 
1690
# These three variables are undocumented and unsupported,
 
1691
# and are intended to be withdrawn in a future Autoconf release.
 
1692
# They can cause serious problems if a builder's source tree is in a directory
 
1693
# whose full name contains unusual characters.
 
1694
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
1695
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
1696
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
1697
 
1278
1698
 
1279
1699
# Find a good install program.  We prefer a C program (faster),
1280
1700
# so one script is as good as another.  But avoid the broken or
1289
1709
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1290
1710
# OS/2's system install, which has a completely different semantic
1291
1711
# ./install, which can be erroneously created by make from ./install.sh.
1292
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1293
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
1712
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
1713
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1294
1714
if test -z "$INSTALL"; then
1295
1715
if test "${ac_cv_path_install+set}" = set; then
1296
1716
  echo $ECHO_N "(cached) $ECHO_C" >&6
1312
1732
    # by default.
1313
1733
    for ac_prog in ginstall scoinst install; do
1314
1734
      for ac_exec_ext in '' $ac_executable_extensions; do
1315
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
1735
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1316
1736
          if test $ac_prog = install &&
1317
1737
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1318
1738
            # AIX install.  It has an incompatible calling convention.
1331
1751
    ;;
1332
1752
esac
1333
1753
done
 
1754
IFS=$as_save_IFS
1334
1755
 
1335
1756
 
1336
1757
fi
1337
1758
  if test "${ac_cv_path_install+set}" = set; then
1338
1759
    INSTALL=$ac_cv_path_install
1339
1760
  else
1340
 
    # As a last resort, use the slow shell script.  We don't cache a
1341
 
    # path for INSTALL within a source directory, because that will
 
1761
    # As a last resort, use the slow shell script.  Don't cache a
 
1762
    # value for INSTALL within a source directory, because that will
1342
1763
    # break other packages using the cache if that directory is
1343
 
    # removed, or if the path is relative.
 
1764
    # removed, or if the value is a relative name.
1344
1765
    INSTALL=$ac_install_sh
1345
1766
  fi
1346
1767
fi
1347
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1348
 
echo "${ECHO_T}$INSTALL" >&6
 
1768
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
1769
echo "${ECHO_T}$INSTALL" >&6; }
1349
1770
 
1350
1771
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1351
1772
# It thinks the first close brace ends the variable substitution.
1355
1776
 
1356
1777
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1357
1778
 
1358
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1359
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
1779
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
1780
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1360
1781
# Just in case
1361
1782
sleep 1
1362
1783
echo timestamp > conftest.file
1398
1819
Check your system clock" >&2;}
1399
1820
   { (exit 1); exit 1; }; }
1400
1821
fi
1401
 
echo "$as_me:$LINENO: result: yes" >&5
1402
 
echo "${ECHO_T}yes" >&6
 
1822
{ echo "$as_me:$LINENO: result: yes" >&5
 
1823
echo "${ECHO_T}yes" >&6; }
1403
1824
test "$program_prefix" != NONE &&
1404
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
1825
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1405
1826
# Use a double $ so make ignores it.
1406
1827
test "$program_suffix" != NONE &&
1407
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 
1828
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1408
1829
# Double any \ or $.  echo might interpret backslashes.
1409
1830
# By default was `s,x,x', remove it if useless.
1410
1831
cat <<\_ACEOF >conftest.sed
1411
1832
s/[\\$]/&&/g;s/;s,x,x,$//
1412
1833
_ACEOF
1413
1834
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1414
 
rm conftest.sed
 
1835
rm -f conftest.sed
1415
1836
 
1416
1837
 
1417
1838
# expand $ac_aux_dir to an absolute path
1431
1852
do
1432
1853
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1433
1854
set dummy $ac_prog; ac_word=$2
1434
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1435
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1855
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1856
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1436
1857
if test "${ac_cv_prog_AWK+set}" = set; then
1437
1858
  echo $ECHO_N "(cached) $ECHO_C" >&6
1438
1859
else
1445
1866
  IFS=$as_save_IFS
1446
1867
  test -z "$as_dir" && as_dir=.
1447
1868
  for ac_exec_ext in '' $ac_executable_extensions; do
1448
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1869
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1449
1870
    ac_cv_prog_AWK="$ac_prog"
1450
1871
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1451
1872
    break 2
1452
1873
  fi
1453
1874
done
1454
1875
done
 
1876
IFS=$as_save_IFS
1455
1877
 
1456
1878
fi
1457
1879
fi
1458
1880
AWK=$ac_cv_prog_AWK
1459
1881
if test -n "$AWK"; then
1460
 
  echo "$as_me:$LINENO: result: $AWK" >&5
1461
 
echo "${ECHO_T}$AWK" >&6
 
1882
  { echo "$as_me:$LINENO: result: $AWK" >&5
 
1883
echo "${ECHO_T}$AWK" >&6; }
1462
1884
else
1463
 
  echo "$as_me:$LINENO: result: no" >&5
1464
 
echo "${ECHO_T}no" >&6
 
1885
  { echo "$as_me:$LINENO: result: no" >&5
 
1886
echo "${ECHO_T}no" >&6; }
1465
1887
fi
1466
1888
 
 
1889
 
1467
1890
  test -n "$AWK" && break
1468
1891
done
1469
1892
 
1470
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1471
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1472
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1473
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
1893
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
1894
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
1895
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/^a-zA-Z0-9_/_/g'`
 
1896
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1474
1897
  echo $ECHO_N "(cached) $ECHO_C" >&6
1475
1898
else
1476
1899
  cat >conftest.make <<\_ACEOF
 
1900
SHELL = /bin/sh
1477
1901
all:
1478
 
        @echo 'ac_maketemp="$(MAKE)"'
 
1902
        @echo '@@@%%%=$(MAKE)=@@@%%%'
1479
1903
_ACEOF
1480
1904
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1481
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1482
 
if test -n "$ac_maketemp"; then
1483
 
  eval ac_cv_prog_make_${ac_make}_set=yes
1484
 
else
1485
 
  eval ac_cv_prog_make_${ac_make}_set=no
1486
 
fi
 
1905
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
1906
  *@@@%%%=?*=@@@%%%*)
 
1907
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
1908
  *)
 
1909
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
1910
esac
1487
1911
rm -f conftest.make
1488
1912
fi
1489
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1490
 
  echo "$as_me:$LINENO: result: yes" >&5
1491
 
echo "${ECHO_T}yes" >&6
 
1913
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
1914
  { echo "$as_me:$LINENO: result: yes" >&5
 
1915
echo "${ECHO_T}yes" >&6; }
1492
1916
  SET_MAKE=
1493
1917
else
1494
 
  echo "$as_me:$LINENO: result: no" >&5
1495
 
echo "${ECHO_T}no" >&6
 
1918
  { echo "$as_me:$LINENO: result: no" >&5
 
1919
echo "${ECHO_T}no" >&6; }
1496
1920
  SET_MAKE="MAKE=${MAKE-make}"
1497
1921
fi
1498
1922
 
1566
1990
  if test -n "$ac_tool_prefix"; then
1567
1991
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1568
1992
set dummy ${ac_tool_prefix}strip; ac_word=$2
1569
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1570
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1993
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1994
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1571
1995
if test "${ac_cv_prog_STRIP+set}" = set; then
1572
1996
  echo $ECHO_N "(cached) $ECHO_C" >&6
1573
1997
else
1580
2004
  IFS=$as_save_IFS
1581
2005
  test -z "$as_dir" && as_dir=.
1582
2006
  for ac_exec_ext in '' $ac_executable_extensions; do
1583
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2007
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1584
2008
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1585
2009
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1586
2010
    break 2
1587
2011
  fi
1588
2012
done
1589
2013
done
 
2014
IFS=$as_save_IFS
1590
2015
 
1591
2016
fi
1592
2017
fi
1593
2018
STRIP=$ac_cv_prog_STRIP
1594
2019
if test -n "$STRIP"; then
1595
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
1596
 
echo "${ECHO_T}$STRIP" >&6
 
2020
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
2021
echo "${ECHO_T}$STRIP" >&6; }
1597
2022
else
1598
 
  echo "$as_me:$LINENO: result: no" >&5
1599
 
echo "${ECHO_T}no" >&6
 
2023
  { echo "$as_me:$LINENO: result: no" >&5
 
2024
echo "${ECHO_T}no" >&6; }
1600
2025
fi
 
2026
 
1601
2027
 
1602
2028
fi
1603
2029
if test -z "$ac_cv_prog_STRIP"; then
1604
2030
  ac_ct_STRIP=$STRIP
1605
2031
  # Extract the first word of "strip", so it can be a program name with args.
1606
2032
set dummy strip; ac_word=$2
1607
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1608
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2033
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2034
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1609
2035
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1610
2036
  echo $ECHO_N "(cached) $ECHO_C" >&6
1611
2037
else
1618
2044
  IFS=$as_save_IFS
1619
2045
  test -z "$as_dir" && as_dir=.
1620
2046
  for ac_exec_ext in '' $ac_executable_extensions; do
1621
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2047
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1622
2048
    ac_cv_prog_ac_ct_STRIP="strip"
1623
2049
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1624
2050
    break 2
1625
2051
  fi
1626
2052
done
1627
2053
done
 
2054
IFS=$as_save_IFS
1628
2055
 
1629
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1630
2056
fi
1631
2057
fi
1632
2058
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1633
2059
if test -n "$ac_ct_STRIP"; then
1634
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1635
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
2060
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2061
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
1636
2062
else
1637
 
  echo "$as_me:$LINENO: result: no" >&5
1638
 
echo "${ECHO_T}no" >&6
 
2063
  { echo "$as_me:$LINENO: result: no" >&5
 
2064
echo "${ECHO_T}no" >&6; }
1639
2065
fi
1640
2066
 
1641
 
  STRIP=$ac_ct_STRIP
 
2067
  if test "x$ac_ct_STRIP" = x; then
 
2068
    STRIP=":"
 
2069
  else
 
2070
    case $cross_compiling:$ac_tool_warned in
 
2071
yes:)
 
2072
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2073
whose name does not start with the host triplet.  If you think this
 
2074
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2075
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2076
whose name does not start with the host triplet.  If you think this
 
2077
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2078
ac_tool_warned=yes ;;
 
2079
esac
 
2080
    STRIP=$ac_ct_STRIP
 
2081
  fi
1642
2082
else
1643
2083
  STRIP="$ac_cv_prog_STRIP"
1644
2084
fi
1651
2091
 
1652
2092
 
1653
2093
 
1654
 
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1655
 
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1656
 
    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
 
2094
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2095
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
 
2096
    # Check whether --enable-maintainer-mode was given.
1657
2097
if test "${enable_maintainer_mode+set}" = set; then
1658
 
  enableval="$enable_maintainer_mode"
1659
 
  USE_MAINTAINER_MODE=$enableval
 
2098
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
1660
2099
else
1661
2100
  USE_MAINTAINER_MODE=no
1662
 
fi;
1663
 
  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1664
 
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
 
2101
fi
 
2102
 
 
2103
  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
2104
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
1665
2105
 
1666
2106
 
1667
2107
if test $USE_MAINTAINER_MODE = yes; then
1689
2129
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1690
2130
# OS/2's system install, which has a completely different semantic
1691
2131
# ./install, which can be erroneously created by make from ./install.sh.
1692
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1693
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
2132
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2133
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1694
2134
if test -z "$INSTALL"; then
1695
2135
if test "${ac_cv_path_install+set}" = set; then
1696
2136
  echo $ECHO_N "(cached) $ECHO_C" >&6
1712
2152
    # by default.
1713
2153
    for ac_prog in ginstall scoinst install; do
1714
2154
      for ac_exec_ext in '' $ac_executable_extensions; do
1715
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
2155
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1716
2156
          if test $ac_prog = install &&
1717
2157
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1718
2158
            # AIX install.  It has an incompatible calling convention.
1731
2171
    ;;
1732
2172
esac
1733
2173
done
 
2174
IFS=$as_save_IFS
1734
2175
 
1735
2176
 
1736
2177
fi
1737
2178
  if test "${ac_cv_path_install+set}" = set; then
1738
2179
    INSTALL=$ac_cv_path_install
1739
2180
  else
1740
 
    # As a last resort, use the slow shell script.  We don't cache a
1741
 
    # path for INSTALL within a source directory, because that will
 
2181
    # As a last resort, use the slow shell script.  Don't cache a
 
2182
    # value for INSTALL within a source directory, because that will
1742
2183
    # break other packages using the cache if that directory is
1743
 
    # removed, or if the path is relative.
 
2184
    # removed, or if the value is a relative name.
1744
2185
    INSTALL=$ac_install_sh
1745
2186
  fi
1746
2187
fi
1747
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1748
 
echo "${ECHO_T}$INSTALL" >&6
 
2188
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2189
echo "${ECHO_T}$INSTALL" >&6; }
1749
2190
 
1750
2191
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1751
2192
# It thinks the first close brace ends the variable substitution.
1758
2199
 
1759
2200
# Extract the first word of "sed", so it can be a program name with args.
1760
2201
set dummy sed; ac_word=$2
1761
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1762
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2202
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2203
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1763
2204
if test "${ac_cv_path_SED+set}" = set; then
1764
2205
  echo $ECHO_N "(cached) $ECHO_C" >&6
1765
2206
else
1774
2215
  IFS=$as_save_IFS
1775
2216
  test -z "$as_dir" && as_dir=.
1776
2217
  for ac_exec_ext in '' $ac_executable_extensions; do
1777
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2218
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1778
2219
    ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
1779
2220
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1780
2221
    break 2
1781
2222
  fi
1782
2223
done
1783
2224
done
 
2225
IFS=$as_save_IFS
1784
2226
 
1785
2227
  ;;
1786
2228
esac
1787
2229
fi
1788
2230
SED=$ac_cv_path_SED
1789
 
 
1790
2231
if test -n "$SED"; then
1791
 
  echo "$as_me:$LINENO: result: $SED" >&5
1792
 
echo "${ECHO_T}$SED" >&6
 
2232
  { echo "$as_me:$LINENO: result: $SED" >&5
 
2233
echo "${ECHO_T}$SED" >&6; }
1793
2234
else
1794
 
  echo "$as_me:$LINENO: result: no" >&5
1795
 
echo "${ECHO_T}no" >&6
 
2235
  { echo "$as_me:$LINENO: result: no" >&5
 
2236
echo "${ECHO_T}no" >&6; }
1796
2237
fi
1797
2238
 
1798
2239
 
1799
2240
 
 
2241
 
1800
2242
# Make sure we can run config.sub.
1801
 
$ac_config_sub sun4 >/dev/null 2>&1 ||
1802
 
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1803
 
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 
2243
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
2244
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
2245
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1804
2246
   { (exit 1); exit 1; }; }
1805
2247
 
1806
 
echo "$as_me:$LINENO: checking build system type" >&5
1807
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6
 
2248
{ echo "$as_me:$LINENO: checking build system type" >&5
 
2249
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1808
2250
if test "${ac_cv_build+set}" = set; then
1809
2251
  echo $ECHO_N "(cached) $ECHO_C" >&6
1810
2252
else
1811
 
  ac_cv_build_alias=$build_alias
1812
 
test -z "$ac_cv_build_alias" &&
1813
 
  ac_cv_build_alias=`$ac_config_guess`
1814
 
test -z "$ac_cv_build_alias" &&
 
2253
  ac_build_alias=$build_alias
 
2254
test "x$ac_build_alias" = x &&
 
2255
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
2256
test "x$ac_build_alias" = x &&
1815
2257
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1816
2258
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1817
2259
   { (exit 1); exit 1; }; }
1818
 
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1819
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1820
 
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 
2260
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
2261
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
2262
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1821
2263
   { (exit 1); exit 1; }; }
1822
2264
 
1823
2265
fi
1824
 
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1825
 
echo "${ECHO_T}$ac_cv_build" >&6
 
2266
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
2267
echo "${ECHO_T}$ac_cv_build" >&6; }
 
2268
case $ac_cv_build in
 
2269
*-*-*) ;;
 
2270
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
2271
echo "$as_me: error: invalid value of canonical build" >&2;}
 
2272
   { (exit 1); exit 1; }; };;
 
2273
esac
1826
2274
build=$ac_cv_build
1827
 
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1828
 
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1829
 
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1830
 
 
1831
 
 
1832
 
echo "$as_me:$LINENO: checking host system type" >&5
1833
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6
 
2275
ac_save_IFS=$IFS; IFS='-'
 
2276
set x $ac_cv_build
 
2277
shift
 
2278
build_cpu=$1
 
2279
build_vendor=$2
 
2280
shift; shift
 
2281
# Remember, the first character of IFS is used to create $*,
 
2282
# except with old shells:
 
2283
build_os=$*
 
2284
IFS=$ac_save_IFS
 
2285
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
2286
 
 
2287
 
 
2288
{ echo "$as_me:$LINENO: checking host system type" >&5
 
2289
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1834
2290
if test "${ac_cv_host+set}" = set; then
1835
2291
  echo $ECHO_N "(cached) $ECHO_C" >&6
1836
2292
else
1837
 
  ac_cv_host_alias=$host_alias
1838
 
test -z "$ac_cv_host_alias" &&
1839
 
  ac_cv_host_alias=$ac_cv_build_alias
1840
 
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1841
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1842
 
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 
2293
  if test "x$host_alias" = x; then
 
2294
  ac_cv_host=$ac_cv_build
 
2295
else
 
2296
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
2297
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
2298
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1843
2299
   { (exit 1); exit 1; }; }
 
2300
fi
1844
2301
 
1845
2302
fi
1846
 
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1847
 
echo "${ECHO_T}$ac_cv_host" >&6
 
2303
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
2304
echo "${ECHO_T}$ac_cv_host" >&6; }
 
2305
case $ac_cv_host in
 
2306
*-*-*) ;;
 
2307
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
2308
echo "$as_me: error: invalid value of canonical host" >&2;}
 
2309
   { (exit 1); exit 1; }; };;
 
2310
esac
1848
2311
host=$ac_cv_host
1849
 
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1850
 
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1851
 
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 
2312
ac_save_IFS=$IFS; IFS='-'
 
2313
set x $ac_cv_host
 
2314
shift
 
2315
host_cpu=$1
 
2316
host_vendor=$2
 
2317
shift; shift
 
2318
# Remember, the first character of IFS is used to create $*,
 
2319
# except with old shells:
 
2320
host_os=$*
 
2321
IFS=$ac_save_IFS
 
2322
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1852
2323
 
1853
2324
 
1854
2325
 
1856
2327
 
1857
2328
if test x$APP_MAN_SUFFIX = x    ; then
1858
2329
    case $host_os in
1859
 
        linux*) APP_MAN_SUFFIX=1x ;;
 
2330
        k*bsd*-gnu)     APP_MAN_SUFFIX=1x ;;
1860
2331
        *)      APP_MAN_SUFFIX=1  ;;
1861
2332
    esac
1862
2333
fi
1863
2334
if test x$APP_MAN_DIR = x    ; then
1864
2335
    case $host_os in
1865
 
        linux*) APP_MAN_DIR='$(mandir)/man1' ;;
 
2336
        k*bsd*-gnu)     APP_MAN_DIR='$(mandir)/man1' ;;
1866
2337
        *)      APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' ;;
1867
2338
    esac
1868
2339
fi
1869
2340
 
1870
2341
if test x$LIB_MAN_SUFFIX = x    ; then
1871
2342
    case $host_os in
1872
 
        linux*) LIB_MAN_SUFFIX=3x ;;
 
2343
        k*bsd*-gnu)     LIB_MAN_SUFFIX=3x ;;
1873
2344
        *)      LIB_MAN_SUFFIX=3  ;;
1874
2345
    esac
1875
2346
fi
1876
2347
if test x$LIB_MAN_DIR = x    ; then
1877
2348
    case $host_os in
1878
 
        linux*) LIB_MAN_DIR='$(mandir)/man3' ;;
 
2349
        k*bsd*-gnu)     LIB_MAN_DIR='$(mandir)/man3' ;;
1879
2350
        *)      LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' ;;
1880
2351
    esac
1881
2352
fi
1882
2353
 
1883
2354
if test x$FILE_MAN_SUFFIX = x    ; then
1884
2355
    case $host_os in
1885
 
        linux*)         FILE_MAN_SUFFIX=5x ;;
 
2356
        k*bsd*-gnu)             FILE_MAN_SUFFIX=5x ;;
1886
2357
        solaris*)       FILE_MAN_SUFFIX=4  ;;
1887
2358
        *)              FILE_MAN_SUFFIX=5  ;;
1888
2359
    esac
1889
2360
fi
1890
2361
if test x$FILE_MAN_DIR = x    ; then
1891
2362
    case $host_os in
1892
 
        linux*) FILE_MAN_DIR='$(mandir)/man5' ;;
 
2363
        k*bsd*-gnu)     FILE_MAN_DIR='$(mandir)/man5' ;;
1893
2364
        *)      FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' ;;
1894
2365
    esac
1895
2366
fi
1898
2369
# LinuxDebian, not other Linuxes, so we leave it unchanged here
1899
2370
if test x$MISC_MAN_SUFFIX = x    ; then
1900
2371
    case $host_os in
1901
 
#       linux*)         MISC_MAN_SUFFIX=7x ;;
 
2372
#       k*bsd*-gnu)             MISC_MAN_SUFFIX=7x ;;
1902
2373
        solaris*)       MISC_MAN_SUFFIX=5  ;;
1903
2374
        *)              MISC_MAN_SUFFIX=7  ;;
1904
2375
    esac
1905
2376
fi
1906
2377
if test x$MISC_MAN_DIR = x    ; then
1907
2378
    case $host_os in
1908
 
#       linux*) MISC_MAN_DIR='$(mandir)/man7' ;;
 
2379
#       k*bsd*-gnu)     MISC_MAN_DIR='$(mandir)/man7' ;;
1909
2380
        *)      MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' ;;
1910
2381
    esac
1911
2382
fi
1914
2385
# LinuxDebian, not other Linuxes, so we leave it unchanged here
1915
2386
if test x$DRIVER_MAN_SUFFIX = x    ; then
1916
2387
    case $host_os in
1917
 
#       linux*)         DRIVER_MAN_SUFFIX=4x ;;
 
2388
#       k*bsd*-gnu)             DRIVER_MAN_SUFFIX=4x ;;
1918
2389
        solaris*)       DRIVER_MAN_SUFFIX=7  ;;
1919
2390
        *)              DRIVER_MAN_SUFFIX=4  ;;
1920
2391
    esac
1921
2392
fi
1922
2393
if test x$DRIVER_MAN_DIR = x    ; then
1923
2394
    case $host_os in
1924
 
#       linux*) DRIVER_MAN_DIR='$(mandir)/man4' ;;
 
2395
#       k*bsd*-gnu)     DRIVER_MAN_DIR='$(mandir)/man4' ;;
1925
2396
        *)      DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' ;;
1926
2397
    esac
1927
2398
fi
1952
2423
 
1953
2424
 
1954
2425
 
1955
 
# Check whether --with-release-version or --without-release-version was given.
 
2426
# Check whether --with-release-version was given.
1956
2427
if test "${with_release_version+set}" = set; then
1957
 
  withval="$with_release_version"
1958
 
  RELEASE_VERSION="$withval"
 
2428
  withval=$with_release_version; RELEASE_VERSION="$withval"
1959
2429
else
1960
2430
  RELEASE_VERSION=""
1961
 
fi;
 
2431
fi
 
2432
 
1962
2433
        if test "x$RELEASE_VERSION" != "x"; then
1963
2434
                PACKAGE="$PACKAGE-$RELEASE_VERSION"
1964
2435
                PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
1967
2438
        fi
1968
2439
 
1969
2440
 
1970
 
          ac_config_files="$ac_config_files Makefile"
 
2441
ac_config_files="$ac_config_files Makefile"
 
2442
 
1971
2443
cat >confcache <<\_ACEOF
1972
2444
# This file is a shell script that caches the results of configure
1973
2445
# tests run on this system so they can be shared between configure
1986
2458
 
1987
2459
# The following way of writing the cache mishandles newlines in values,
1988
2460
# but we know of no workaround that is simple, portable, and efficient.
1989
 
# So, don't put newlines in cache variables' values.
 
2461
# So, we kill variables containing newlines.
1990
2462
# Ultrix sh set writes to stderr and can't be redirected directly,
1991
2463
# and sets the high bit in the cache file unless we assign to the vars.
1992
 
{
 
2464
(
 
2465
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
2466
    eval ac_val=\$$ac_var
 
2467
    case $ac_val in #(
 
2468
    *${as_nl}*)
 
2469
      case $ac_var in #(
 
2470
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
2471
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
2472
      esac
 
2473
      case $ac_var in #(
 
2474
      _ | IFS | as_nl) ;; #(
 
2475
      *) $as_unset $ac_var ;;
 
2476
      esac ;;
 
2477
    esac
 
2478
  done
 
2479
 
1993
2480
  (set) 2>&1 |
1994
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
1995
 
    *ac_space=\ *)
 
2481
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
2482
    *${as_nl}ac_space=\ *)
1996
2483
      # `set' does not quote correctly, so add quotes (double-quote
1997
2484
      # substitution turns \\\\ into \\, and sed turns \\ into \).
1998
2485
      sed -n \
1999
2486
        "s/'/'\\\\''/g;
2000
2487
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2001
 
      ;;
 
2488
      ;; #(
2002
2489
    *)
2003
2490
      # `set' quotes correctly as required by POSIX, so do not add quotes.
2004
 
      sed -n \
2005
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
2491
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2006
2492
      ;;
2007
 
    esac;
2008
 
} |
 
2493
    esac |
 
2494
    sort
 
2495
) |
2009
2496
  sed '
 
2497
     /^ac_cv_env_/b end
2010
2498
     t clear
2011
 
     : clear
 
2499
     :clear
2012
2500
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2013
2501
     t end
2014
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2015
 
     : end' >>confcache
2016
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
2017
 
  if test -w $cache_file; then
2018
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
2502
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
2503
     :end' >>confcache
 
2504
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
2505
  if test -w "$cache_file"; then
 
2506
    test "x$cache_file" != "x/dev/null" &&
 
2507
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
2508
echo "$as_me: updating cache $cache_file" >&6;}
2019
2509
    cat confcache >$cache_file
2020
2510
  else
2021
 
    echo "not updating unwritable cache $cache_file"
 
2511
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
2512
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2022
2513
  fi
2023
2514
fi
2024
2515
rm -f confcache
2027
2518
# Let make expand exec_prefix.
2028
2519
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2029
2520
 
2030
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
2031
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2032
 
# trailing colons and then remove the whole line if VPATH becomes empty
2033
 
# (actually we leave an empty line to preserve line numbers).
2034
 
if test "x$srcdir" = x.; then
2035
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
2036
 
s/:*\$(srcdir):*/:/;
2037
 
s/:*\${srcdir}:*/:/;
2038
 
s/:*@srcdir@:*/:/;
2039
 
s/^\([^=]*=[     ]*\):*/\1/;
2040
 
s/:*$//;
2041
 
s/^[^=]*=[       ]*$//;
2042
 
}'
2043
 
fi
2044
 
 
2045
2521
# Transform confdefs.h into DEFS.
2046
2522
# Protect against shell expansion while executing Makefile rules.
2047
2523
# Protect against Makefile macro expansion.
2048
2524
#
2049
2525
# If the first sed substitution is executed (which looks for macros that
2050
 
# take arguments), then we branch to the quote section.  Otherwise,
 
2526
# take arguments), then branch to the quote section.  Otherwise,
2051
2527
# look for a macro that doesn't take arguments.
2052
 
cat >confdef2opt.sed <<\_ACEOF
 
2528
ac_script='
2053
2529
t clear
2054
 
: clear
2055
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
2056
 
t quote
2057
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
2058
 
t quote
2059
 
d
2060
 
: quote
2061
 
s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
2062
 
s,\[,\\&,g
2063
 
s,\],\\&,g
2064
 
s,\$,$$,g
2065
 
p
2066
 
_ACEOF
2067
 
# We use echo to avoid assuming a particular line-breaking character.
2068
 
# The extra dot is to prevent the shell from consuming trailing
2069
 
# line-breaks from the sub-command output.  A line-break within
2070
 
# single-quotes doesn't work because, if this script is created in a
2071
 
# platform that uses two characters for line-breaks (e.g., DOS), tr
2072
 
# would break.
2073
 
ac_LF_and_DOT=`echo; echo .`
2074
 
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2075
 
rm -f confdef2opt.sed
 
2530
:clear
 
2531
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
 
2532
t quote
 
2533
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
 
2534
t quote
 
2535
b any
 
2536
:quote
 
2537
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
 
2538
s/\[/\\&/g
 
2539
s/\]/\\&/g
 
2540
s/\$/$$/g
 
2541
H
 
2542
:any
 
2543
${
 
2544
        g
 
2545
        s/^\n//
 
2546
        s/\n/ /g
 
2547
        p
 
2548
}
 
2549
'
 
2550
DEFS=`sed -n "$ac_script" confdefs.h`
2076
2551
 
2077
2552
 
2078
2553
ac_libobjs=
2079
2554
ac_ltlibobjs=
2080
2555
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2081
2556
  # 1. Remove the extension, and $U if already installed.
2082
 
  ac_i=`echo "$ac_i" |
2083
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2084
 
  # 2. Add them.
2085
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2086
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
2557
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
2558
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
2559
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
2560
  #    will be set to the directory where LIBOBJS objects are built.
 
2561
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
2562
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2087
2563
done
2088
2564
LIBOBJS=$ac_libobjs
2089
2565
 
2128
2604
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2129
2605
  # is contrary to our usage.  Disable this feature.
2130
2606
  alias -g '${1+"$@"}'='"$@"'
2131
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2132
 
  set -o posix
 
2607
  setopt NO_GLOB_SUBST
 
2608
else
 
2609
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
2133
2610
fi
 
2611
BIN_SH=xpg4; export BIN_SH # for Tru64
2134
2612
DUALCASE=1; export DUALCASE # for MKS sh
2135
2613
 
 
2614
 
 
2615
# PATH needs CR
 
2616
# Avoid depending upon Character Ranges.
 
2617
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
2618
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
2619
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
2620
as_cr_digits='0123456789'
 
2621
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
2622
 
 
2623
# The user is always right.
 
2624
if test "${PATH_SEPARATOR+set}" != set; then
 
2625
  echo "#! /bin/sh" >conf$$.sh
 
2626
  echo  "exit 0"   >>conf$$.sh
 
2627
  chmod +x conf$$.sh
 
2628
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
2629
    PATH_SEPARATOR=';'
 
2630
  else
 
2631
    PATH_SEPARATOR=:
 
2632
  fi
 
2633
  rm -f conf$$.sh
 
2634
fi
 
2635
 
2136
2636
# Support unset when possible.
2137
2637
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2138
2638
  as_unset=unset
2141
2641
fi
2142
2642
 
2143
2643
 
 
2644
# IFS
 
2645
# We need space, tab and new line, in precisely that order.  Quoting is
 
2646
# there to prevent editors from complaining about space-tab.
 
2647
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
2648
# splitting by setting IFS to empty value.)
 
2649
as_nl='
 
2650
'
 
2651
IFS=" ""        $as_nl"
 
2652
 
 
2653
# Find who we are.  Look in the path if we contain no directory separator.
 
2654
case $0 in
 
2655
  *[\\/]* ) as_myself=$0 ;;
 
2656
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2657
for as_dir in $PATH
 
2658
do
 
2659
  IFS=$as_save_IFS
 
2660
  test -z "$as_dir" && as_dir=.
 
2661
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
2662
done
 
2663
IFS=$as_save_IFS
 
2664
 
 
2665
     ;;
 
2666
esac
 
2667
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
2668
# in which case we are not to be found in the path.
 
2669
if test "x$as_myself" = x; then
 
2670
  as_myself=$0
 
2671
fi
 
2672
if test ! -f "$as_myself"; then
 
2673
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
2674
  { (exit 1); exit 1; }
 
2675
fi
 
2676
 
2144
2677
# Work around bugs in pre-3.0 UWIN ksh.
2145
 
$as_unset ENV MAIL MAILPATH
 
2678
for as_var in ENV MAIL MAILPATH
 
2679
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
2680
done
2146
2681
PS1='$ '
2147
2682
PS2='> '
2148
2683
PS4='+ '
2156
2691
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2157
2692
    eval $as_var=C; export $as_var
2158
2693
  else
2159
 
    $as_unset $as_var
 
2694
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2160
2695
  fi
2161
2696
done
2162
2697
 
2163
2698
# Required to use basename.
2164
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
2699
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
2700
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2165
2701
  as_expr=expr
2166
2702
else
2167
2703
  as_expr=false
2168
2704
fi
2169
2705
 
2170
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
2706
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2171
2707
  as_basename=basename
2172
2708
else
2173
2709
  as_basename=false
2175
2711
 
2176
2712
 
2177
2713
# Name of the executable.
2178
 
as_me=`$as_basename "$0" ||
 
2714
as_me=`$as_basename -- "$0" ||
2179
2715
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2180
2716
         X"$0" : 'X\(//\)$' \| \
2181
 
         X"$0" : 'X\(/\)$' \| \
2182
 
         .     : '\(.\)' 2>/dev/null ||
 
2717
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2183
2718
echo X/"$0" |
2184
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2185
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
2186
 
          /^X\/\(\/\).*/{ s//\1/; q; }
2187
 
          s/.*/./; q'`
2188
 
 
2189
 
 
2190
 
# PATH needs CR, and LINENO needs CR and PATH.
2191
 
# Avoid depending upon Character Ranges.
2192
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2193
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2194
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2195
 
as_cr_digits='0123456789'
2196
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
2197
 
 
2198
 
# The user is always right.
2199
 
if test "${PATH_SEPARATOR+set}" != set; then
2200
 
  echo "#! /bin/sh" >conf$$.sh
2201
 
  echo  "exit 0"   >>conf$$.sh
2202
 
  chmod +x conf$$.sh
2203
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2204
 
    PATH_SEPARATOR=';'
2205
 
  else
2206
 
    PATH_SEPARATOR=:
2207
 
  fi
2208
 
  rm -f conf$$.sh
2209
 
fi
2210
 
 
2211
 
 
2212
 
  as_lineno_1=$LINENO
2213
 
  as_lineno_2=$LINENO
2214
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2215
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
2216
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
2217
 
  # Find who we are.  Look in the path if we contain no path at all
2218
 
  # relative or not.
2219
 
  case $0 in
2220
 
    *[\\/]* ) as_myself=$0 ;;
2221
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2222
 
for as_dir in $PATH
2223
 
do
2224
 
  IFS=$as_save_IFS
2225
 
  test -z "$as_dir" && as_dir=.
2226
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2227
 
done
2228
 
 
2229
 
       ;;
2230
 
  esac
2231
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
2232
 
  # in which case we are not to be found in the path.
2233
 
  if test "x$as_myself" = x; then
2234
 
    as_myself=$0
2235
 
  fi
2236
 
  if test ! -f "$as_myself"; then
2237
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2238
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2239
 
   { (exit 1); exit 1; }; }
2240
 
  fi
2241
 
  case $CONFIG_SHELL in
2242
 
  '')
2243
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2244
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2245
 
do
2246
 
  IFS=$as_save_IFS
2247
 
  test -z "$as_dir" && as_dir=.
2248
 
  for as_base in sh bash ksh sh5; do
2249
 
         case $as_dir in
2250
 
         /*)
2251
 
           if ("$as_dir/$as_base" -c '
2252
 
  as_lineno_1=$LINENO
2253
 
  as_lineno_2=$LINENO
2254
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2255
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
2256
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
2257
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2258
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2259
 
             CONFIG_SHELL=$as_dir/$as_base
2260
 
             export CONFIG_SHELL
2261
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2262
 
           fi;;
2263
 
         esac
2264
 
       done
2265
 
done
2266
 
;;
2267
 
  esac
 
2719
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
2720
            s//\1/
 
2721
            q
 
2722
          }
 
2723
          /^X\/\(\/\/\)$/{
 
2724
            s//\1/
 
2725
            q
 
2726
          }
 
2727
          /^X\/\(\/\).*/{
 
2728
            s//\1/
 
2729
            q
 
2730
          }
 
2731
          s/.*/./; q'`
 
2732
 
 
2733
# CDPATH.
 
2734
$as_unset CDPATH
 
2735
 
 
2736
 
 
2737
 
 
2738
  as_lineno_1=$LINENO
 
2739
  as_lineno_2=$LINENO
 
2740
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
2741
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2268
2742
 
2269
2743
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2270
2744
  # uniformly replaced by the line number.  The first 'sed' inserts a
2271
 
  # line-number line before each line; the second 'sed' does the real
2272
 
  # work.  The second script uses 'N' to pair each line-number line
2273
 
  # with the numbered line, and appends trailing '-' during
2274
 
  # substitution so that $LINENO is not a special case at line end.
 
2745
  # line-number line after each line using $LINENO; the second 'sed'
 
2746
  # does the real work.  The second script uses 'N' to pair each
 
2747
  # line-number line with the line containing $LINENO, and appends
 
2748
  # trailing '-' during substitution so that $LINENO is not a special
 
2749
  # case at line end.
2275
2750
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2276
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
2277
 
  sed '=' <$as_myself |
 
2751
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
2752
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
2753
  sed -n '
 
2754
    p
 
2755
    /[$]LINENO/=
 
2756
  ' <$as_myself |
2278
2757
    sed '
 
2758
      s/[$]LINENO.*/&-/
 
2759
      t lineno
 
2760
      b
 
2761
      :lineno
2279
2762
      N
2280
 
      s,$,-,
2281
 
      : loop
2282
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
2763
      :loop
 
2764
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2283
2765
      t loop
2284
 
      s,-$,,
2285
 
      s,^['$as_cr_digits']*\n,,
 
2766
      s/-\n.*//
2286
2767
    ' >$as_me.lineno &&
2287
 
  chmod +x $as_me.lineno ||
2288
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2289
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
2768
  chmod +x "$as_me.lineno" ||
 
2769
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2290
2770
   { (exit 1); exit 1; }; }
2291
2771
 
2292
2772
  # Don't try to exec as it changes $[0], causing all sort of problems
2293
2773
  # (the dirname of $[0] is not the place where we might find the
2294
 
  # original and so on.  Autoconf is especially sensible to this).
2295
 
  . ./$as_me.lineno
 
2774
  # original and so on.  Autoconf is especially sensitive to this).
 
2775
  . "./$as_me.lineno"
2296
2776
  # Exit status is that of the last command.
2297
2777
  exit
2298
2778
}
2299
2779
 
2300
2780
 
2301
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2302
 
  *c*,-n*) ECHO_N= ECHO_C='
2303
 
' ECHO_T='      ' ;;
2304
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2305
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
2781
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
2782
  as_dirname=dirname
 
2783
else
 
2784
  as_dirname=false
 
2785
fi
 
2786
 
 
2787
ECHO_C= ECHO_N= ECHO_T=
 
2788
case `echo -n x` in
 
2789
-n*)
 
2790
  case `echo 'x\c'` in
 
2791
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
2792
  *)   ECHO_C='\c';;
 
2793
  esac;;
 
2794
*)
 
2795
  ECHO_N='-n';;
2306
2796
esac
2307
2797
 
2308
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
2798
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
2799
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2309
2800
  as_expr=expr
2310
2801
else
2311
2802
  as_expr=false
2312
2803
fi
2313
2804
 
2314
2805
rm -f conf$$ conf$$.exe conf$$.file
 
2806
if test -d conf$$.dir; then
 
2807
  rm -f conf$$.dir/conf$$.file
 
2808
else
 
2809
  rm -f conf$$.dir
 
2810
  mkdir conf$$.dir
 
2811
fi
2315
2812
echo >conf$$.file
2316
2813
if ln -s conf$$.file conf$$ 2>/dev/null; then
2317
 
  # We could just check for DJGPP; but this test a) works b) is more generic
2318
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2319
 
  if test -f conf$$.exe; then
2320
 
    # Don't use ln at all; we don't have any links
 
2814
  as_ln_s='ln -s'
 
2815
  # ... but there are two gotchas:
 
2816
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
2817
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
2818
  # In both cases, we have to default to `cp -p'.
 
2819
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2321
2820
    as_ln_s='cp -p'
2322
 
  else
2323
 
    as_ln_s='ln -s'
2324
 
  fi
2325
2821
elif ln conf$$.file conf$$ 2>/dev/null; then
2326
2822
  as_ln_s=ln
2327
2823
else
2328
2824
  as_ln_s='cp -p'
2329
2825
fi
2330
 
rm -f conf$$ conf$$.exe conf$$.file
 
2826
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
2827
rmdir conf$$.dir 2>/dev/null
2331
2828
 
2332
2829
if mkdir -p . 2>/dev/null; then
2333
2830
  as_mkdir_p=:
2336
2833
  as_mkdir_p=false
2337
2834
fi
2338
2835
 
2339
 
as_executable_p="test -f"
 
2836
# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
 
2837
# systems may use methods other than mode bits to determine executability.
 
2838
cat >conf$$.file <<_ASEOF
 
2839
#! /bin/sh
 
2840
exit 0
 
2841
_ASEOF
 
2842
chmod +x conf$$.file
 
2843
if test -x conf$$.file >/dev/null 2>&1; then
 
2844
  as_executable_p="test -x"
 
2845
else
 
2846
  as_executable_p=:
 
2847
fi
 
2848
rm -f conf$$.file
2340
2849
 
2341
2850
# Sed expression to map a string onto a valid CPP name.
2342
2851
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2345
2854
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2346
2855
 
2347
2856
 
2348
 
# IFS
2349
 
# We need space, tab and new line, in precisely that order.
2350
 
as_nl='
2351
 
'
2352
 
IFS="   $as_nl"
2353
 
 
2354
 
# CDPATH.
2355
 
$as_unset CDPATH
2356
 
 
2357
2857
exec 6>&1
2358
2858
 
2359
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
2859
# Save the log message, to keep $[0] and so on meaningful, and to
2360
2860
# report actual input values of CONFIG_FILES etc. instead of their
2361
 
# values after options handling.  Logging --version etc. is OK.
2362
 
exec 5>>config.log
2363
 
{
2364
 
  echo
2365
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2366
 
## Running $as_me. ##
2367
 
_ASBOX
2368
 
} >&5
2369
 
cat >&5 <<_CSEOF
2370
 
 
 
2861
# values after options handling.
 
2862
ac_log="
2371
2863
This file was extended by mkfontdir $as_me 1.0.1, which was
2372
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
2864
generated by GNU Autoconf 2.59e.  Invocation command line was
2373
2865
 
2374
2866
  CONFIG_FILES    = $CONFIG_FILES
2375
2867
  CONFIG_HEADERS  = $CONFIG_HEADERS
2377
2869
  CONFIG_COMMANDS = $CONFIG_COMMANDS
2378
2870
  $ $0 $@
2379
2871
 
2380
 
_CSEOF
2381
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2382
 
echo >&5
 
2872
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
2873
"
 
2874
 
2383
2875
_ACEOF
2384
2876
 
 
2877
cat >>$CONFIG_STATUS <<_ACEOF
2385
2878
# Files that config.status was made for.
2386
 
if test -n "$ac_config_files"; then
2387
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2388
 
fi
2389
 
 
2390
 
if test -n "$ac_config_headers"; then
2391
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2392
 
fi
2393
 
 
2394
 
if test -n "$ac_config_links"; then
2395
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2396
 
fi
2397
 
 
2398
 
if test -n "$ac_config_commands"; then
2399
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2400
 
fi
 
2879
config_files="$ac_config_files"
 
2880
 
 
2881
_ACEOF
2401
2882
 
2402
2883
cat >>$CONFIG_STATUS <<\_ACEOF
2403
 
 
2404
2884
ac_cs_usage="\
2405
2885
\`$as_me' instantiates files from templates according to the
2406
2886
current configuration.
2419
2899
$config_files
2420
2900
 
2421
2901
Report bugs to <bug-autoconf@gnu.org>."
 
2902
 
2422
2903
_ACEOF
2423
 
 
2424
2904
cat >>$CONFIG_STATUS <<_ACEOF
2425
2905
ac_cs_version="\\
2426
2906
mkfontdir config.status 1.0.1
2427
 
configured by $0, generated by GNU Autoconf 2.59,
2428
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
2907
configured by $0, generated by GNU Autoconf 2.59e,
 
2908
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2429
2909
 
2430
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
2910
Copyright (C) 2006 Free Software Foundation, Inc.
2431
2911
This config.status script is free software; the Free Software Foundation
2432
2912
gives unlimited permission to copy, distribute and modify it."
2433
 
srcdir=$srcdir
2434
 
INSTALL="$INSTALL"
 
2913
 
 
2914
ac_pwd='$ac_pwd'
 
2915
srcdir='$srcdir'
 
2916
INSTALL='$INSTALL'
2435
2917
_ACEOF
2436
2918
 
2437
2919
cat >>$CONFIG_STATUS <<\_ACEOF
2442
2924
do
2443
2925
  case $1 in
2444
2926
  --*=*)
2445
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
2446
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
2927
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
2928
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2447
2929
    ac_shift=:
2448
2930
    ;;
2449
 
  -*)
 
2931
  *)
2450
2932
    ac_option=$1
2451
2933
    ac_optarg=$2
2452
2934
    ac_shift=shift
2453
2935
    ;;
2454
 
  *) # This is not an option, so the user has probably given explicit
2455
 
     # arguments.
2456
 
     ac_option=$1
2457
 
     ac_need_defaults=false;;
2458
2936
  esac
2459
2937
 
2460
2938
  case $ac_option in
2461
2939
  # Handling of the options.
2462
 
_ACEOF
2463
 
cat >>$CONFIG_STATUS <<\_ACEOF
2464
2940
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2465
2941
    ac_cs_recheck=: ;;
2466
 
  --version | --vers* | -V )
2467
 
    echo "$ac_cs_version"; exit 0 ;;
2468
 
  --he | --h)
2469
 
    # Conflict between --help and --header
2470
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
2471
 
Try \`$0 --help' for more information." >&5
2472
 
echo "$as_me: error: ambiguous option: $1
2473
 
Try \`$0 --help' for more information." >&2;}
2474
 
   { (exit 1); exit 1; }; };;
2475
 
  --help | --hel | -h )
2476
 
    echo "$ac_cs_usage"; exit 0 ;;
2477
 
  --debug | --d* | -d )
 
2942
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
2943
    echo "$ac_cs_version"; exit ;;
 
2944
  --debug | --debu | --deb | --de | --d | -d )
2478
2945
    debug=: ;;
2479
2946
  --file | --fil | --fi | --f )
2480
2947
    $ac_shift
2481
2948
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2482
2949
    ac_need_defaults=false;;
2483
 
  --header | --heade | --head | --hea )
2484
 
    $ac_shift
2485
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2486
 
    ac_need_defaults=false;;
 
2950
  --he | --h |  --help | --hel | -h )
 
2951
    echo "$ac_cs_usage"; exit ;;
2487
2952
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2488
2953
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
2489
2954
    ac_cs_silent=: ;;
2490
2955
 
2491
2956
  # This is an error.
2492
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2493
 
Try \`$0 --help' for more information." >&5
2494
 
echo "$as_me: error: unrecognized option: $1
2495
 
Try \`$0 --help' for more information." >&2;}
 
2957
  -*) { echo "$as_me: error: unrecognized option: $1
 
2958
Try \`$0 --help' for more information." >&2
2496
2959
   { (exit 1); exit 1; }; } ;;
2497
2960
 
2498
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
2961
  *) ac_config_targets="$ac_config_targets $1"
 
2962
     ac_need_defaults=false ;;
2499
2963
 
2500
2964
  esac
2501
2965
  shift
2511
2975
_ACEOF
2512
2976
cat >>$CONFIG_STATUS <<_ACEOF
2513
2977
if \$ac_cs_recheck; then
2514
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2515
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
2978
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
2979
  CONFIG_SHELL=$SHELL
 
2980
  export CONFIG_SHELL
 
2981
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2516
2982
fi
2517
2983
 
2518
2984
_ACEOF
2519
 
 
2520
 
 
2521
 
 
2522
 
 
2523
 
 
2524
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
2985
cat >>$CONFIG_STATUS <<\_ACEOF
 
2986
exec 5>>config.log
 
2987
{
 
2988
  echo
 
2989
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
2990
## Running $as_me. ##
 
2991
_ASBOX
 
2992
  echo "$ac_log"
 
2993
} >&5
 
2994
 
 
2995
_ACEOF
 
2996
cat >>$CONFIG_STATUS <<_ACEOF
 
2997
_ACEOF
 
2998
 
 
2999
cat >>$CONFIG_STATUS <<\_ACEOF
 
3000
 
 
3001
# Handling of arguments.
2525
3002
for ac_config_target in $ac_config_targets
2526
3003
do
2527
 
  case "$ac_config_target" in
2528
 
  # Handling of arguments.
2529
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
3004
  case $ac_config_target in
 
3005
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
3006
 
2530
3007
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2531
3008
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2532
3009
   { (exit 1); exit 1; }; };;
2533
3010
  esac
2534
3011
done
2535
3012
 
 
3013
 
2536
3014
# If the user did not use the arguments to specify the items to instantiate,
2537
3015
# then the envvar interface is used.  Set only those that are not.
2538
3016
# We use the long form for the default assignment because of an extremely
2542
3020
fi
2543
3021
 
2544
3022
# Have a temporary directory for convenience.  Make it in the build tree
2545
 
# simply because there is no reason to put it here, and in addition,
 
3023
# simply because there is no reason against having it here, and in addition,
2546
3024
# creating and moving files from /tmp can sometimes cause problems.
2547
 
# Create a temporary directory, and hook for its removal unless debugging.
 
3025
# Hook for its removal unless debugging.
 
3026
# Note that there is a small window in which the directory will not be cleaned:
 
3027
# after its creation but before its name has been assigned to `$tmp'.
2548
3028
$debug ||
2549
3029
{
2550
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
3030
  tmp=
 
3031
  trap 'exit_status=$?
 
3032
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
3033
' 0
2551
3034
  trap '{ (exit 1); exit 1; }' 1 2 13 15
2552
3035
}
2553
 
 
2554
3036
# Create a (secure) tmp directory for tmp files.
2555
3037
 
2556
3038
{
2557
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
3039
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2558
3040
  test -n "$tmp" && test -d "$tmp"
2559
3041
}  ||
2560
3042
{
2561
 
  tmp=./confstat$$-$RANDOM
2562
 
  (umask 077 && mkdir $tmp)
 
3043
  tmp=./conf$$-$RANDOM
 
3044
  (umask 077 && mkdir "$tmp")
2563
3045
} ||
2564
3046
{
2565
3047
   echo "$me: cannot create a temporary directory in ." >&2
2566
3048
   { (exit 1); exit 1; }
2567
3049
}
2568
3050
 
2569
 
_ACEOF
2570
 
 
2571
 
cat >>$CONFIG_STATUS <<_ACEOF
2572
 
 
2573
3051
#
2574
 
# CONFIG_FILES section.
 
3052
# Set up the sed scripts for CONFIG_FILES section.
2575
3053
#
2576
3054
 
2577
3055
# No need to generate the scripts if there are no CONFIG_FILES.
2578
3056
# This happens for instance when ./config.status config.h
2579
 
if test -n "\$CONFIG_FILES"; then
2580
 
  # Protect against being on the right side of a sed subst in config.status.
2581
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2582
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2583
 
s,@SHELL@,$SHELL,;t t
2584
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2585
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2586
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2587
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2588
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2589
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2590
 
s,@exec_prefix@,$exec_prefix,;t t
2591
 
s,@prefix@,$prefix,;t t
2592
 
s,@program_transform_name@,$program_transform_name,;t t
2593
 
s,@bindir@,$bindir,;t t
2594
 
s,@sbindir@,$sbindir,;t t
2595
 
s,@libexecdir@,$libexecdir,;t t
2596
 
s,@datadir@,$datadir,;t t
2597
 
s,@sysconfdir@,$sysconfdir,;t t
2598
 
s,@sharedstatedir@,$sharedstatedir,;t t
2599
 
s,@localstatedir@,$localstatedir,;t t
2600
 
s,@libdir@,$libdir,;t t
2601
 
s,@includedir@,$includedir,;t t
2602
 
s,@oldincludedir@,$oldincludedir,;t t
2603
 
s,@infodir@,$infodir,;t t
2604
 
s,@mandir@,$mandir,;t t
2605
 
s,@build_alias@,$build_alias,;t t
2606
 
s,@host_alias@,$host_alias,;t t
2607
 
s,@target_alias@,$target_alias,;t t
2608
 
s,@DEFS@,$DEFS,;t t
2609
 
s,@ECHO_C@,$ECHO_C,;t t
2610
 
s,@ECHO_N@,$ECHO_N,;t t
2611
 
s,@ECHO_T@,$ECHO_T,;t t
2612
 
s,@LIBS@,$LIBS,;t t
2613
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2614
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2615
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2616
 
s,@CYGPATH_W@,$CYGPATH_W,;t t
2617
 
s,@PACKAGE@,$PACKAGE,;t t
2618
 
s,@VERSION@,$VERSION,;t t
2619
 
s,@ACLOCAL@,$ACLOCAL,;t t
2620
 
s,@AUTOCONF@,$AUTOCONF,;t t
2621
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
2622
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
2623
 
s,@MAKEINFO@,$MAKEINFO,;t t
2624
 
s,@AMTAR@,$AMTAR,;t t
2625
 
s,@install_sh@,$install_sh,;t t
2626
 
s,@STRIP@,$STRIP,;t t
2627
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
2628
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
2629
 
s,@AWK@,$AWK,;t t
2630
 
s,@SET_MAKE@,$SET_MAKE,;t t
2631
 
s,@am__leading_dot@,$am__leading_dot,;t t
2632
 
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
2633
 
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
2634
 
s,@MAINT@,$MAINT,;t t
2635
 
s,@SED@,$SED,;t t
2636
 
s,@build@,$build,;t t
2637
 
s,@build_cpu@,$build_cpu,;t t
2638
 
s,@build_vendor@,$build_vendor,;t t
2639
 
s,@build_os@,$build_os,;t t
2640
 
s,@host@,$host,;t t
2641
 
s,@host_cpu@,$host_cpu,;t t
2642
 
s,@host_vendor@,$host_vendor,;t t
2643
 
s,@host_os@,$host_os,;t t
2644
 
s,@APP_MAN_SUFFIX@,$APP_MAN_SUFFIX,;t t
2645
 
s,@LIB_MAN_SUFFIX@,$LIB_MAN_SUFFIX,;t t
2646
 
s,@FILE_MAN_SUFFIX@,$FILE_MAN_SUFFIX,;t t
2647
 
s,@MISC_MAN_SUFFIX@,$MISC_MAN_SUFFIX,;t t
2648
 
s,@DRIVER_MAN_SUFFIX@,$DRIVER_MAN_SUFFIX,;t t
2649
 
s,@ADMIN_MAN_SUFFIX@,$ADMIN_MAN_SUFFIX,;t t
2650
 
s,@APP_MAN_DIR@,$APP_MAN_DIR,;t t
2651
 
s,@LIB_MAN_DIR@,$LIB_MAN_DIR,;t t
2652
 
s,@FILE_MAN_DIR@,$FILE_MAN_DIR,;t t
2653
 
s,@MISC_MAN_DIR@,$MISC_MAN_DIR,;t t
2654
 
s,@DRIVER_MAN_DIR@,$DRIVER_MAN_DIR,;t t
2655
 
s,@ADMIN_MAN_DIR@,$ADMIN_MAN_DIR,;t t
2656
 
s,@LIBOBJS@,$LIBOBJS,;t t
2657
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2658
 
CEOF
2659
 
 
2660
 
_ACEOF
2661
 
 
2662
 
  cat >>$CONFIG_STATUS <<\_ACEOF
2663
 
  # Split the substitutions into bite-sized pieces for seds with
2664
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
2665
 
  ac_max_sed_lines=48
2666
 
  ac_sed_frag=1 # Number of current file.
2667
 
  ac_beg=1 # First line for current file.
2668
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
2669
 
  ac_more_lines=:
2670
 
  ac_sed_cmds=
2671
 
  while $ac_more_lines; do
2672
 
    if test $ac_beg -gt 1; then
2673
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2674
 
    else
2675
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2676
 
    fi
2677
 
    if test ! -s $tmp/subs.frag; then
2678
 
      ac_more_lines=false
2679
 
    else
2680
 
      # The purpose of the label and of the branching condition is to
2681
 
      # speed up the sed processing (if there are no `@' at all, there
2682
 
      # is no need to browse any of the substitutions).
2683
 
      # These are the two extra sed commands mentioned above.
2684
 
      (echo ':t
2685
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2686
 
      if test -z "$ac_sed_cmds"; then
2687
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2688
 
      else
2689
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2690
 
      fi
2691
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
2692
 
      ac_beg=$ac_end
2693
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
2694
 
    fi
2695
 
  done
2696
 
  if test -z "$ac_sed_cmds"; then
2697
 
    ac_sed_cmds=cat
 
3057
if test -n "$CONFIG_FILES"; then
 
3058
 
 
3059
_ACEOF
 
3060
 
 
3061
 
 
3062
 
 
3063
ac_delim='%!_!# '
 
3064
for ac_last_try in false false false false false :; do
 
3065
  cat >conf$$subs.sed <<_ACEOF
 
3066
SHELL!$SHELL$ac_delim
 
3067
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 
3068
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 
3069
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 
3070
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 
3071
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 
3072
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 
3073
exec_prefix!$exec_prefix$ac_delim
 
3074
prefix!$prefix$ac_delim
 
3075
program_transform_name!$program_transform_name$ac_delim
 
3076
bindir!$bindir$ac_delim
 
3077
sbindir!$sbindir$ac_delim
 
3078
libexecdir!$libexecdir$ac_delim
 
3079
datarootdir!$datarootdir$ac_delim
 
3080
datadir!$datadir$ac_delim
 
3081
sysconfdir!$sysconfdir$ac_delim
 
3082
sharedstatedir!$sharedstatedir$ac_delim
 
3083
localstatedir!$localstatedir$ac_delim
 
3084
includedir!$includedir$ac_delim
 
3085
oldincludedir!$oldincludedir$ac_delim
 
3086
docdir!$docdir$ac_delim
 
3087
infodir!$infodir$ac_delim
 
3088
htmldir!$htmldir$ac_delim
 
3089
dvidir!$dvidir$ac_delim
 
3090
pdfdir!$pdfdir$ac_delim
 
3091
psdir!$psdir$ac_delim
 
3092
libdir!$libdir$ac_delim
 
3093
localedir!$localedir$ac_delim
 
3094
mandir!$mandir$ac_delim
 
3095
DEFS!$DEFS$ac_delim
 
3096
ECHO_C!$ECHO_C$ac_delim
 
3097
ECHO_N!$ECHO_N$ac_delim
 
3098
ECHO_T!$ECHO_T$ac_delim
 
3099
LIBS!$LIBS$ac_delim
 
3100
build_alias!$build_alias$ac_delim
 
3101
host_alias!$host_alias$ac_delim
 
3102
target_alias!$target_alias$ac_delim
 
3103
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 
3104
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 
3105
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
3106
CYGPATH_W!$CYGPATH_W$ac_delim
 
3107
PACKAGE!$PACKAGE$ac_delim
 
3108
VERSION!$VERSION$ac_delim
 
3109
ACLOCAL!$ACLOCAL$ac_delim
 
3110
AUTOCONF!$AUTOCONF$ac_delim
 
3111
AUTOMAKE!$AUTOMAKE$ac_delim
 
3112
AUTOHEADER!$AUTOHEADER$ac_delim
 
3113
MAKEINFO!$MAKEINFO$ac_delim
 
3114
AMTAR!$AMTAR$ac_delim
 
3115
install_sh!$install_sh$ac_delim
 
3116
STRIP!$STRIP$ac_delim
 
3117
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
 
3118
AWK!$AWK$ac_delim
 
3119
SET_MAKE!$SET_MAKE$ac_delim
 
3120
am__leading_dot!$am__leading_dot$ac_delim
 
3121
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
 
3122
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
 
3123
MAINT!$MAINT$ac_delim
 
3124
SED!$SED$ac_delim
 
3125
build!$build$ac_delim
 
3126
build_cpu!$build_cpu$ac_delim
 
3127
build_vendor!$build_vendor$ac_delim
 
3128
build_os!$build_os$ac_delim
 
3129
host!$host$ac_delim
 
3130
host_cpu!$host_cpu$ac_delim
 
3131
host_vendor!$host_vendor$ac_delim
 
3132
host_os!$host_os$ac_delim
 
3133
APP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim
 
3134
LIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim
 
3135
FILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim
 
3136
MISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim
 
3137
DRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim
 
3138
ADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim
 
3139
APP_MAN_DIR!$APP_MAN_DIR$ac_delim
 
3140
LIB_MAN_DIR!$LIB_MAN_DIR$ac_delim
 
3141
FILE_MAN_DIR!$FILE_MAN_DIR$ac_delim
 
3142
MISC_MAN_DIR!$MISC_MAN_DIR$ac_delim
 
3143
DRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim
 
3144
ADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim
 
3145
LIBOBJS!$LIBOBJS$ac_delim
 
3146
LTLIBOBJS!$LTLIBOBJS$ac_delim
 
3147
_ACEOF
 
3148
 
 
3149
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 81; then
 
3150
    break
 
3151
  elif $ac_last_try; then
 
3152
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
3153
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
3154
   { (exit 1); exit 1; }; }
 
3155
  else
 
3156
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2698
3157
  fi
 
3158
done
 
3159
 
 
3160
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
3161
if test -n "$ac_eof"; then
 
3162
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
3163
  ac_eof=`expr $ac_eof + 1`
 
3164
fi
 
3165
 
 
3166
cat >>$CONFIG_STATUS <<_ACEOF
 
3167
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
3168
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 
3169
_ACEOF
 
3170
sed '
 
3171
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
3172
s/^/s,@/; s/!/@,|#_!!_#|/
 
3173
:n
 
3174
t n
 
3175
s/'"$ac_delim"'$/,g/; t
 
3176
s/$/\\/; p
 
3177
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
3178
' >>$CONFIG_STATUS <conf$$subs.sed
 
3179
rm -f conf$$subs.sed
 
3180
cat >>$CONFIG_STATUS <<_ACEOF
 
3181
:end
 
3182
s/|#_!!_#|//g
 
3183
CEOF$ac_eof
 
3184
_ACEOF
 
3185
 
 
3186
 
 
3187
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
3188
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
3189
# trailing colons and then remove the whole line if VPATH becomes empty
 
3190
# (actually we leave an empty line to preserve line numbers).
 
3191
if test "x$srcdir" = x.; then
 
3192
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
3193
s/:*\$(srcdir):*/:/
 
3194
s/:*\${srcdir}:*/:/
 
3195
s/:*@srcdir@:*/:/
 
3196
s/^\([^=]*=[     ]*\):*/\1/
 
3197
s/:*$//
 
3198
s/^[^=]*=[       ]*$//
 
3199
}'
 
3200
fi
 
3201
 
 
3202
cat >>$CONFIG_STATUS <<\_ACEOF
2699
3203
fi # test -n "$CONFIG_FILES"
2700
3204
 
2701
 
_ACEOF
2702
 
cat >>$CONFIG_STATUS <<\_ACEOF
2703
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2704
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2705
 
  case $ac_file in
2706
 
  - | *:- | *:-:* ) # input from stdin
2707
 
        cat >$tmp/stdin
2708
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2709
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2710
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2711
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2712
 
  * )   ac_file_in=$ac_file.in ;;
2713
 
  esac
2714
 
 
2715
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2716
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
3205
 
 
3206
for ac_tag in  :F $CONFIG_FILES
 
3207
do
 
3208
  case $ac_tag in
 
3209
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
3210
  esac
 
3211
  case $ac_mode$ac_tag in
 
3212
  :[FHL]*:*);;
 
3213
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
3214
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
3215
   { (exit 1); exit 1; }; };;
 
3216
  :[FH]-) ac_tag=-:-;;
 
3217
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
3218
  esac
 
3219
  ac_save_IFS=$IFS
 
3220
  IFS=:
 
3221
  set x $ac_tag
 
3222
  IFS=$ac_save_IFS
 
3223
  shift
 
3224
  ac_file=$1
 
3225
  shift
 
3226
 
 
3227
  case $ac_mode in
 
3228
  :L) ac_source=$1;;
 
3229
  :[FH])
 
3230
    ac_file_inputs=
 
3231
    for ac_f
 
3232
    do
 
3233
      case $ac_f in
 
3234
      -) ac_f="$tmp/stdin";;
 
3235
      *) # Look for the file first in the build tree, then in the source tree
 
3236
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
3237
         # because $ac_f cannot contain `:'.
 
3238
         test -f "$ac_f" ||
 
3239
           case $ac_f in
 
3240
           [\\/$]*) false;;
 
3241
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
3242
           esac ||
 
3243
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
3244
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
3245
   { (exit 1); exit 1; }; };;
 
3246
      esac
 
3247
      ac_file_inputs="$ac_file_inputs $ac_f"
 
3248
    done
 
3249
 
 
3250
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
3251
    # use $as_me), people would be surprised to read:
 
3252
    #    /* config.h.  Generated by config.status.  */
 
3253
    configure_input="Generated from "`IFS=:
 
3254
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
3255
    if test x"$ac_file" != x-; then
 
3256
      configure_input="$ac_file.  $configure_input"
 
3257
      { echo "$as_me:$LINENO: creating $ac_file" >&5
 
3258
echo "$as_me: creating $ac_file" >&6;}
 
3259
    fi
 
3260
 
 
3261
    case $ac_tag in
 
3262
    *:-:* | *:-) cat >"$tmp/stdin";;
 
3263
    esac
 
3264
    ;;
 
3265
  esac
 
3266
 
 
3267
  ac_dir=`$as_dirname -- "$ac_file" ||
2717
3268
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2718
3269
         X"$ac_file" : 'X\(//\)[^/]' \| \
2719
3270
         X"$ac_file" : 'X\(//\)$' \| \
2720
 
         X"$ac_file" : 'X\(/\)' \| \
2721
 
         .     : '\(.\)' 2>/dev/null ||
 
3271
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2722
3272
echo X"$ac_file" |
2723
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2724
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2725
 
          /^X\(\/\/\)$/{ s//\1/; q; }
2726
 
          /^X\(\/\).*/{ s//\1/; q; }
2727
 
          s/.*/./; q'`
2728
 
  { if $as_mkdir_p; then
2729
 
    mkdir -p "$ac_dir"
2730
 
  else
2731
 
    as_dir="$ac_dir"
 
3273
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
3274
            s//\1/
 
3275
            q
 
3276
          }
 
3277
          /^X\(\/\/\)[^/].*/{
 
3278
            s//\1/
 
3279
            q
 
3280
          }
 
3281
          /^X\(\/\/\)$/{
 
3282
            s//\1/
 
3283
            q
 
3284
          }
 
3285
          /^X\(\/\).*/{
 
3286
            s//\1/
 
3287
            q
 
3288
          }
 
3289
          s/.*/./; q'`
 
3290
  { as_dir="$ac_dir"
 
3291
  case $as_dir in #(
 
3292
  -*) as_dir=./$as_dir;;
 
3293
  esac
 
3294
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
2732
3295
    as_dirs=
2733
 
    while test ! -d "$as_dir"; do
2734
 
      as_dirs="$as_dir $as_dirs"
2735
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
3296
    while :; do
 
3297
      case $as_dir in #(
 
3298
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
3299
      *) as_qdir=$as_dir;;
 
3300
      esac
 
3301
      as_dirs="'$as_qdir' $as_dirs"
 
3302
      as_dir=`$as_dirname -- "$as_dir" ||
2736
3303
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2737
3304
         X"$as_dir" : 'X\(//\)[^/]' \| \
2738
3305
         X"$as_dir" : 'X\(//\)$' \| \
2739
 
         X"$as_dir" : 'X\(/\)' \| \
2740
 
         .     : '\(.\)' 2>/dev/null ||
 
3306
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2741
3307
echo X"$as_dir" |
2742
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2743
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2744
 
          /^X\(\/\/\)$/{ s//\1/; q; }
2745
 
          /^X\(\/\).*/{ s//\1/; q; }
2746
 
          s/.*/./; q'`
 
3308
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
3309
            s//\1/
 
3310
            q
 
3311
          }
 
3312
          /^X\(\/\/\)[^/].*/{
 
3313
            s//\1/
 
3314
            q
 
3315
          }
 
3316
          /^X\(\/\/\)$/{
 
3317
            s//\1/
 
3318
            q
 
3319
          }
 
3320
          /^X\(\/\).*/{
 
3321
            s//\1/
 
3322
            q
 
3323
          }
 
3324
          s/.*/./; q'`
 
3325
      test -d "$as_dir" && break
2747
3326
    done
2748
 
    test ! -n "$as_dirs" || mkdir $as_dirs
2749
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2750
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
3327
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
3328
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
3329
echo "$as_me: error: cannot create directory $as_dir" >&2;}
2751
3330
   { (exit 1); exit 1; }; }; }
2752
 
 
2753
3331
  ac_builddir=.
2754
3332
 
2755
 
if test "$ac_dir" != .; then
 
3333
case "$ac_dir" in
 
3334
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
3335
*)
2756
3336
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2757
 
  # A "../" for each directory in $ac_dir_suffix.
2758
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2759
 
else
2760
 
  ac_dir_suffix= ac_top_builddir=
2761
 
fi
 
3337
  # A ".." for each directory in $ac_dir_suffix.
 
3338
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
3339
  case $ac_top_builddir_sub in
 
3340
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
3341
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
3342
  esac ;;
 
3343
esac
 
3344
ac_abs_top_builddir=$ac_pwd
 
3345
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
3346
# for backward compatibility:
 
3347
ac_top_builddir=$ac_top_build_prefix
2762
3348
 
2763
3349
case $srcdir in
2764
 
  .)  # No --srcdir option.  We are building in place.
 
3350
  .)  # We are building in place.
2765
3351
    ac_srcdir=.
2766
 
    if test -z "$ac_top_builddir"; then
2767
 
       ac_top_srcdir=.
2768
 
    else
2769
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2770
 
    fi ;;
2771
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
3352
    ac_top_srcdir=$ac_top_builddir_sub
 
3353
    ac_abs_top_srcdir=$ac_pwd ;;
 
3354
  [\\/]* | ?:[\\/]* )  # Absolute name.
2772
3355
    ac_srcdir=$srcdir$ac_dir_suffix;
2773
 
    ac_top_srcdir=$srcdir ;;
2774
 
  *) # Relative path.
2775
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2776
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
2777
 
esac
2778
 
 
2779
 
# Do not use `cd foo && pwd` to compute absolute paths, because
2780
 
# the directories may not exist.
2781
 
case `pwd` in
2782
 
.) ac_abs_builddir="$ac_dir";;
2783
 
*)
2784
 
  case "$ac_dir" in
2785
 
  .) ac_abs_builddir=`pwd`;;
2786
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2787
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
2788
 
  esac;;
2789
 
esac
2790
 
case $ac_abs_builddir in
2791
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
2792
 
*)
2793
 
  case ${ac_top_builddir}. in
2794
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
2795
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2796
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2797
 
  esac;;
2798
 
esac
2799
 
case $ac_abs_builddir in
2800
 
.) ac_abs_srcdir=$ac_srcdir;;
2801
 
*)
2802
 
  case $ac_srcdir in
2803
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
2804
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2805
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2806
 
  esac;;
2807
 
esac
2808
 
case $ac_abs_builddir in
2809
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
2810
 
*)
2811
 
  case $ac_top_srcdir in
2812
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
2813
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2814
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
2815
 
  esac;;
2816
 
esac
2817
 
 
 
3356
    ac_top_srcdir=$srcdir
 
3357
    ac_abs_top_srcdir=$srcdir ;;
 
3358
  *) # Relative name.
 
3359
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
3360
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
3361
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
3362
esac
 
3363
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
3364
 
 
3365
 
 
3366
  case $ac_mode in
 
3367
  :F)
 
3368
  #
 
3369
  # CONFIG_FILE
 
3370
  #
2818
3371
 
2819
3372
  case $INSTALL in
2820
3373
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2821
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
3374
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
2822
3375
  esac
2823
 
 
2824
 
  if test x"$ac_file" != x-; then
2825
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
2826
 
echo "$as_me: creating $ac_file" >&6;}
2827
 
    rm -f "$ac_file"
2828
 
  fi
2829
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
2830
 
  # use $as_me), people would be surprised to read:
2831
 
  #    /* config.h.  Generated by config.status.  */
2832
 
  if test x"$ac_file" = x-; then
2833
 
    configure_input=
2834
 
  else
2835
 
    configure_input="$ac_file.  "
2836
 
  fi
2837
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
2838
 
                                     sed 's,.*/,,'` by configure."
2839
 
 
2840
 
  # First look for the input files in the build tree, otherwise in the
2841
 
  # src tree.
2842
 
  ac_file_inputs=`IFS=:
2843
 
    for f in $ac_file_in; do
2844
 
      case $f in
2845
 
      -) echo $tmp/stdin ;;
2846
 
      [\\/$]*)
2847
 
         # Absolute (can't be DOS-style, as IFS=:)
2848
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2849
 
echo "$as_me: error: cannot find input file: $f" >&2;}
2850
 
   { (exit 1); exit 1; }; }
2851
 
         echo "$f";;
2852
 
      *) # Relative
2853
 
         if test -f "$f"; then
2854
 
           # Build tree
2855
 
           echo "$f"
2856
 
         elif test -f "$srcdir/$f"; then
2857
 
           # Source tree
2858
 
           echo "$srcdir/$f"
2859
 
         else
2860
 
           # /dev/null tree
2861
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2862
 
echo "$as_me: error: cannot find input file: $f" >&2;}
2863
 
   { (exit 1); exit 1; }; }
2864
 
         fi;;
2865
 
      esac
2866
 
    done` || { (exit 1); exit 1; }
2867
 
_ACEOF
 
3376
_ACEOF
 
3377
 
 
3378
cat >>$CONFIG_STATUS <<\_ACEOF
 
3379
# If the template does not know about datarootdir, expand it.
 
3380
# FIXME: This hack should be removed a few years after 2.60.
 
3381
ac_datarootdir_hack=; ac_datarootdir_seen=
 
3382
 
 
3383
case `sed -n '/datarootdir/ {
 
3384
  p
 
3385
  q
 
3386
}
 
3387
/@datadir@/p
 
3388
/@docdir@/p
 
3389
/@infodir@/p
 
3390
/@localedir@/p
 
3391
/@mandir@/p
 
3392
' $ac_file_inputs` in
 
3393
*datarootdir*) ac_datarootdir_seen=yes;;
 
3394
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
3395
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
3396
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
3397
_ACEOF
 
3398
cat >>$CONFIG_STATUS <<_ACEOF
 
3399
  ac_datarootdir_hack='
 
3400
  s&@datadir@&$datadir&g
 
3401
  s&@docdir@&$docdir&g
 
3402
  s&@infodir@&$infodir&g
 
3403
  s&@localedir@&$localedir&g
 
3404
  s&@mandir@&$mandir&g
 
3405
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
3406
esac
 
3407
_ACEOF
 
3408
 
 
3409
# Neutralize VPATH when `$srcdir' = `.'.
 
3410
# Shell code in configure.ac might set extrasub.
 
3411
# FIXME: do we really want to maintain this feature?
2868
3412
cat >>$CONFIG_STATUS <<_ACEOF
2869
3413
  sed "$ac_vpsub
2870
3414
$extrasub
2872
3416
cat >>$CONFIG_STATUS <<\_ACEOF
2873
3417
:t
2874
3418
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2875
 
s,@configure_input@,$configure_input,;t t
2876
 
s,@srcdir@,$ac_srcdir,;t t
2877
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
2878
 
s,@top_srcdir@,$ac_top_srcdir,;t t
2879
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2880
 
s,@builddir@,$ac_builddir,;t t
2881
 
s,@abs_builddir@,$ac_abs_builddir,;t t
2882
 
s,@top_builddir@,$ac_top_builddir,;t t
2883
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2884
 
s,@INSTALL@,$ac_INSTALL,;t t
2885
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2886
 
  rm -f $tmp/stdin
2887
 
  if test x"$ac_file" != x-; then
2888
 
    mv $tmp/out $ac_file
2889
 
  else
2890
 
    cat $tmp/out
2891
 
    rm -f $tmp/out
2892
 
  fi
2893
 
 
2894
 
done
2895
 
_ACEOF
2896
 
 
2897
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
3419
s&@configure_input@&$configure_input&;t t
 
3420
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
3421
s&@srcdir@&$ac_srcdir&;t t
 
3422
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
3423
s&@top_srcdir@&$ac_top_srcdir&;t t
 
3424
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
3425
s&@builddir@&$ac_builddir&;t t
 
3426
s&@abs_builddir@&$ac_abs_builddir&;t t
 
3427
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
3428
s&@INSTALL@&$ac_INSTALL&;t t
 
3429
$ac_datarootdir_hack
 
3430
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
 
3431
 
 
3432
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
3433
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
3434
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
3435
which seems to be undefined.  Please make sure it is defined." >&5
 
3436
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
3437
which seems to be undefined.  Please make sure it is defined." >&2;}
 
3438
 
 
3439
  rm -f "$tmp/stdin"
 
3440
  case $ac_file in
 
3441
  -) cat "$tmp/out"; rm -f "$tmp/out";;
 
3442
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 
3443
  esac
 
3444
 ;;
 
3445
 
 
3446
 
 
3447
 
 
3448
  esac
 
3449
 
 
3450
done # for ac_tag
 
3451
 
2898
3452
 
2899
3453
{ (exit 0); exit 0; }
2900
3454
_ACEOF