configure revision 1.1.1.4 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for font-bh-ttf 1.0.4.
4 #
5 # Report bugs to <https://gitlab.freedesktop.org/xorg/font/bh-ttf/-/issues>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9 # Inc.
10 #
11 #
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
17
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 as_nop=:
21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22 then :
23 emulate sh
24 NULLCMD=:
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
28 setopt NO_GLOB_SUBST
29 else $as_nop
30 case `(set -o) 2>/dev/null` in #(
31 *posix*) :
32 set -o posix ;; #(
33 *) :
34 ;;
35 esac
36 fi
37
38
39
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
42
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
48 '
49 export as_nl
50 IFS=" "" $as_nl"
51
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
55
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
61
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70 done
71
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
76
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
83 }
84 fi
85
86
87 # Find who we are. Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
93 do
94 IFS=$as_save_IFS
95 case $as_dir in #(((
96 '') as_dir=./ ;;
97 */) ;;
98 *) as_dir=$as_dir/ ;;
99 esac
100 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101 done
102 IFS=$as_save_IFS
103
104 ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
115
116
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120 _as_can_reexec=no; export _as_can_reexec;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/null
126 ENV=/dev/null
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
132 * ) as_opts= ;;
133 esac
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
139 fi
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142 if test "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145 then :
146 emulate sh
147 NULLCMD=:
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
151 setopt NO_GLOB_SUBST
152 else \$as_nop
153 case \`(set -o) 2>/dev/null\` in #(
154 *posix*) :
155 set -o posix ;; #(
156 *) :
157 ;;
158 esac
159 fi
160 "
161 as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
166
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
174
175 else \$as_nop
176 exitcode=1; echo positional parameters were not saved.
177 fi
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
181 test -x / || exit 1"
182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186 test \$(( 1 + 1 )) = 2 || exit 1"
187 if (eval "$as_required") 2>/dev/null
188 then :
189 as_have_required=yes
190 else $as_nop
191 as_have_required=no
192 fi
193 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
194 then :
195
196 else $as_nop
197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
198 as_found=false
199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
200 do
201 IFS=$as_save_IFS
202 case $as_dir in #(((
203 '') as_dir=./ ;;
204 */) ;;
205 *) as_dir=$as_dir/ ;;
206 esac
207 as_found=:
208 case $as_dir in #(
209 /*)
210 for as_base in sh bash ksh sh5; do
211 # Try only shells that exist, to save several forks.
212 as_shell=$as_dir$as_base
213 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
214 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
215 then :
216 CONFIG_SHELL=$as_shell as_have_required=yes
217 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
218 then :
219 break 2
220 fi
221 fi
222 done;;
223 esac
224 as_found=false
225 done
226 IFS=$as_save_IFS
227 if $as_found
228 then :
229
230 else $as_nop
231 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
233 then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
235 fi
236 fi
237
238
239 if test "x$CONFIG_SHELL" != x
240 then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
260 fi
261
262 if test x$as_have_required = xno
263 then :
264 printf "%s\n" "$0: This script requires a shell more modern than all"
265 printf "%s\n" "$0: the shells that I found on your system."
266 if test ${ZSH_VERSION+y} ; then
267 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
269 else
270 printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
271 $0: https://gitlab.freedesktop.org/xorg/font/bh-ttf/-/issues
272 $0: about your system, including any error possibly output
273 $0: before this message. Then install a modern shell, or
274 $0: manually run the script under such a shell if you do
275 $0: have one."
276 fi
277 exit 1
278 fi
279 fi
280 fi
281 SHELL=${CONFIG_SHELL-/bin/sh}
282 export SHELL
283 # Unset more variables known to interfere with behavior of common tools.
284 CLICOLOR_FORCE= GREP_OPTIONS=
285 unset CLICOLOR_FORCE GREP_OPTIONS
286
287 ## --------------------- ##
288 ## M4sh Shell Functions. ##
289 ## --------------------- ##
290 # as_fn_unset VAR
291 # ---------------
292 # Portably unset VAR.
293 as_fn_unset ()
294 {
295 { eval $1=; unset $1;}
296 }
297 as_unset=as_fn_unset
298
299
300 # as_fn_set_status STATUS
301 # -----------------------
302 # Set $? to STATUS, without forking.
303 as_fn_set_status ()
304 {
305 return $1
306 } # as_fn_set_status
307
308 # as_fn_exit STATUS
309 # -----------------
310 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
311 as_fn_exit ()
312 {
313 set +e
314 as_fn_set_status $1
315 exit $1
316 } # as_fn_exit
317 # as_fn_nop
318 # ---------
319 # Do nothing but, unlike ":", preserve the value of $?.
320 as_fn_nop ()
321 {
322 return $?
323 }
324 as_nop=as_fn_nop
325
326 # as_fn_mkdir_p
327 # -------------
328 # Create "$as_dir" as a directory, including parents if necessary.
329 as_fn_mkdir_p ()
330 {
331
332 case $as_dir in #(
333 -*) as_dir=./$as_dir;;
334 esac
335 test -d "$as_dir" || eval $as_mkdir_p || {
336 as_dirs=
337 while :; do
338 case $as_dir in #(
339 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340 *) as_qdir=$as_dir;;
341 esac
342 as_dirs="'$as_qdir' $as_dirs"
343 as_dir=`$as_dirname -- "$as_dir" ||
344 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
345 X"$as_dir" : 'X\(//\)[^/]' \| \
346 X"$as_dir" : 'X\(//\)$' \| \
347 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
348 printf "%s\n" X"$as_dir" |
349 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
350 s//\1/
351 q
352 }
353 /^X\(\/\/\)[^/].*/{
354 s//\1/
355 q
356 }
357 /^X\(\/\/\)$/{
358 s//\1/
359 q
360 }
361 /^X\(\/\).*/{
362 s//\1/
363 q
364 }
365 s/.*/./; q'`
366 test -d "$as_dir" && break
367 done
368 test -z "$as_dirs" || eval "mkdir $as_dirs"
369 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
370
371
372 } # as_fn_mkdir_p
373
374 # as_fn_executable_p FILE
375 # -----------------------
376 # Test if FILE is an executable regular file.
377 as_fn_executable_p ()
378 {
379 test -f "$1" && test -x "$1"
380 } # as_fn_executable_p
381 # as_fn_append VAR VALUE
382 # ----------------------
383 # Append the text in VALUE to the end of the definition contained in VAR. Take
384 # advantage of any shell optimizations that allow amortized linear growth over
385 # repeated appends, instead of the typical quadratic growth present in naive
386 # implementations.
387 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
388 then :
389 eval 'as_fn_append ()
390 {
391 eval $1+=\$2
392 }'
393 else $as_nop
394 as_fn_append ()
395 {
396 eval $1=\$$1\$2
397 }
398 fi # as_fn_append
399
400 # as_fn_arith ARG...
401 # ------------------
402 # Perform arithmetic evaluation on the ARGs, and store the result in the
403 # global $as_val. Take advantage of shells that can avoid forks. The arguments
404 # must be portable across $(()) and expr.
405 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
406 then :
407 eval 'as_fn_arith ()
408 {
409 as_val=$(( $* ))
410 }'
411 else $as_nop
412 as_fn_arith ()
413 {
414 as_val=`expr "$@" || test $? -eq 1`
415 }
416 fi # as_fn_arith
417
418 # as_fn_nop
419 # ---------
420 # Do nothing but, unlike ":", preserve the value of $?.
421 as_fn_nop ()
422 {
423 return $?
424 }
425 as_nop=as_fn_nop
426
427 # as_fn_error STATUS ERROR [LINENO LOG_FD]
428 # ----------------------------------------
429 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
430 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
431 # script with STATUS, using 1 if that was 0.
432 as_fn_error ()
433 {
434 as_status=$1; test $as_status -eq 0 && as_status=1
435 if test "$4"; then
436 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
437 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
438 fi
439 printf "%s\n" "$as_me: error: $2" >&2
440 as_fn_exit $as_status
441 } # as_fn_error
442
443 if expr a : '\(a\)' >/dev/null 2>&1 &&
444 test "X`expr 00001 : '.*\(...\)'`" = X001; then
445 as_expr=expr
446 else
447 as_expr=false
448 fi
449
450 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
451 as_basename=basename
452 else
453 as_basename=false
454 fi
455
456 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
457 as_dirname=dirname
458 else
459 as_dirname=false
460 fi
461
462 as_me=`$as_basename -- "$0" ||
463 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
464 X"$0" : 'X\(//\)$' \| \
465 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
466 printf "%s\n" X/"$0" |
467 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 s//\1/
469 q
470 }
471 /^X\/\(\/\/\)$/{
472 s//\1/
473 q
474 }
475 /^X\/\(\/\).*/{
476 s//\1/
477 q
478 }
479 s/.*/./; q'`
480
481 # Avoid depending upon Character Ranges.
482 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
483 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
484 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
485 as_cr_digits='0123456789'
486 as_cr_alnum=$as_cr_Letters$as_cr_digits
487
488
489 as_lineno_1=$LINENO as_lineno_1a=$LINENO
490 as_lineno_2=$LINENO as_lineno_2a=$LINENO
491 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
492 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
493 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
494 sed -n '
495 p
496 /[$]LINENO/=
497 ' <$as_myself |
498 sed '
499 s/[$]LINENO.*/&-/
500 t lineno
501 b
502 :lineno
503 N
504 :loop
505 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
506 t loop
507 s/-\n.*//
508 ' >$as_me.lineno &&
509 chmod +x "$as_me.lineno" ||
510 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
511
512 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
513 # already done that, so ensure we don't try to do so again and fall
514 # in an infinite loop. This has already happened in practice.
515 _as_can_reexec=no; export _as_can_reexec
516 # Don't try to exec as it changes $[0], causing all sort of problems
517 # (the dirname of $[0] is not the place where we might find the
518 # original and so on. Autoconf is especially sensitive to this).
519 . "./$as_me.lineno"
520 # Exit status is that of the last command.
521 exit
522 }
523
524
525 # Determine whether it's possible to make 'echo' print without a newline.
526 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
527 # for compatibility with existing Makefiles.
528 ECHO_C= ECHO_N= ECHO_T=
529 case `echo -n x` in #(((((
530 -n*)
531 case `echo 'xy\c'` in
532 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
533 xy) ECHO_C='\c';;
534 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
535 ECHO_T=' ';;
536 esac;;
537 *)
538 ECHO_N='-n';;
539 esac
540
541 # For backward compatibility with old third-party macros, we provide
542 # the shell variables $as_echo and $as_echo_n. New code should use
543 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
544 as_echo='printf %s\n'
545 as_echo_n='printf %s'
546
547
548 rm -f conf$$ conf$$.exe conf$$.file
549 if test -d conf$$.dir; then
550 rm -f conf$$.dir/conf$$.file
551 else
552 rm -f conf$$.dir
553 mkdir conf$$.dir 2>/dev/null
554 fi
555 if (echo >conf$$.file) 2>/dev/null; then
556 if ln -s conf$$.file conf$$ 2>/dev/null; then
557 as_ln_s='ln -s'
558 # ... but there are two gotchas:
559 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
560 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
561 # In both cases, we have to default to `cp -pR'.
562 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
563 as_ln_s='cp -pR'
564 elif ln conf$$.file conf$$ 2>/dev/null; then
565 as_ln_s=ln
566 else
567 as_ln_s='cp -pR'
568 fi
569 else
570 as_ln_s='cp -pR'
571 fi
572 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
573 rmdir conf$$.dir 2>/dev/null
574
575 if mkdir -p . 2>/dev/null; then
576 as_mkdir_p='mkdir -p "$as_dir"'
577 else
578 test -d ./-p && rmdir ./-p
579 as_mkdir_p=false
580 fi
581
582 as_test_x='test -x'
583 as_executable_p=as_fn_executable_p
584
585 # Sed expression to map a string onto a valid CPP name.
586 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
587
588 # Sed expression to map a string onto a valid variable name.
589 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
590
591
592 test -n "$DJDIR" || exec 7<&0 </dev/null
593 exec 6>&1
594
595 # Name of the host.
596 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
597 # so uname gets run too.
598 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
599
600 #
601 # Initializations.
602 #
603 ac_default_prefix=/usr/local
604 ac_clean_files=
605 ac_config_libobj_dir=.
606 LIBOBJS=
607 cross_compiling=no
608 subdirs=
609 MFLAGS=
610 MAKEFLAGS=
611
612 # Identity of this package.
613 PACKAGE_NAME='font-bh-ttf'
614 PACKAGE_TARNAME='font-bh-ttf'
615 PACKAGE_VERSION='1.0.4'
616 PACKAGE_STRING='font-bh-ttf 1.0.4'
617 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/font/bh-ttf/-/issues'
618 PACKAGE_URL=''
619
620 ac_subst_vars='LTLIBOBJS
621 LIBOBJS
622 FC_CONFDIR
623 MKFONTSCALE
624 MKFONTDIR
625 RUN_FCCACHE
626 FCCACHE
627 FONTDIR
628 FONTROOTDIR
629 MAN_SUBSTS
630 XORG_MAN_PAGE
631 ADMIN_MAN_DIR
632 DRIVER_MAN_DIR
633 MISC_MAN_DIR
634 FILE_MAN_DIR
635 LIB_MAN_DIR
636 APP_MAN_DIR
637 ADMIN_MAN_SUFFIX
638 DRIVER_MAN_SUFFIX
639 MISC_MAN_SUFFIX
640 FILE_MAN_SUFFIX
641 LIB_MAN_SUFFIX
642 APP_MAN_SUFFIX
643 SED
644 host_os
645 host_vendor
646 host_cpu
647 host
648 build_os
649 build_vendor
650 build_cpu
651 build
652 INSTALL_CMD
653 PKG_CONFIG_LIBDIR
654 PKG_CONFIG_PATH
655 PKG_CONFIG
656 CHANGELOG_CMD
657 AM_BACKSLASH
658 AM_DEFAULT_VERBOSITY
659 AM_DEFAULT_V
660 AM_V
661 CSCOPE
662 ETAGS
663 CTAGS
664 am__untar
665 am__tar
666 AMTAR
667 am__leading_dot
668 SET_MAKE
669 AWK
670 mkdir_p
671 MKDIR_P
672 INSTALL_STRIP_PROGRAM
673 STRIP
674 install_sh
675 MAKEINFO
676 AUTOHEADER
677 AUTOMAKE
678 AUTOCONF
679 ACLOCAL
680 VERSION
681 PACKAGE
682 CYGPATH_W
683 am__isrc
684 INSTALL_DATA
685 INSTALL_SCRIPT
686 INSTALL_PROGRAM
687 target_alias
688 host_alias
689 build_alias
690 LIBS
691 ECHO_T
692 ECHO_N
693 ECHO_C
694 DEFS
695 mandir
696 localedir
697 libdir
698 psdir
699 pdfdir
700 dvidir
701 htmldir
702 infodir
703 docdir
704 oldincludedir
705 includedir
706 runstatedir
707 localstatedir
708 sharedstatedir
709 sysconfdir
710 datadir
711 datarootdir
712 libexecdir
713 sbindir
714 bindir
715 program_transform_name
716 prefix
717 exec_prefix
718 PACKAGE_URL
719 PACKAGE_BUGREPORT
720 PACKAGE_STRING
721 PACKAGE_VERSION
722 PACKAGE_TARNAME
723 PACKAGE_NAME
724 PATH_SEPARATOR
725 SHELL'
726 ac_subst_files=''
727 ac_user_opts='
728 enable_option_checking
729 enable_silent_rules
730 with_fontrootdir
731 with_fontdir
732 with_fc_confdir
733 '
734 ac_precious_vars='build_alias
735 host_alias
736 target_alias
737 PKG_CONFIG
738 PKG_CONFIG_PATH
739 PKG_CONFIG_LIBDIR'
740
741
742 # Initialize some variables set by options.
743 ac_init_help=
744 ac_init_version=false
745 ac_unrecognized_opts=
746 ac_unrecognized_sep=
747 # The variables have the same names as the options, with
748 # dashes changed to underlines.
749 cache_file=/dev/null
750 exec_prefix=NONE
751 no_create=
752 no_recursion=
753 prefix=NONE
754 program_prefix=NONE
755 program_suffix=NONE
756 program_transform_name=s,x,x,
757 silent=
758 site=
759 srcdir=
760 verbose=
761 x_includes=NONE
762 x_libraries=NONE
763
764 # Installation directory options.
765 # These are left unexpanded so users can "make install exec_prefix=/foo"
766 # and all the variables that are supposed to be based on exec_prefix
767 # by default will actually change.
768 # Use braces instead of parens because sh, perl, etc. also accept them.
769 # (The list follows the same order as the GNU Coding Standards.)
770 bindir='${exec_prefix}/bin'
771 sbindir='${exec_prefix}/sbin'
772 libexecdir='${exec_prefix}/libexec'
773 datarootdir='${prefix}/share'
774 datadir='${datarootdir}'
775 sysconfdir='${prefix}/etc'
776 sharedstatedir='${prefix}/com'
777 localstatedir='${prefix}/var'
778 runstatedir='${localstatedir}/run'
779 includedir='${prefix}/include'
780 oldincludedir='/usr/include'
781 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
782 infodir='${datarootdir}/info'
783 htmldir='${docdir}'
784 dvidir='${docdir}'
785 pdfdir='${docdir}'
786 psdir='${docdir}'
787 libdir='${exec_prefix}/lib'
788 localedir='${datarootdir}/locale'
789 mandir='${datarootdir}/man'
790
791 ac_prev=
792 ac_dashdash=
793 for ac_option
794 do
795 # If the previous option needs an argument, assign it.
796 if test -n "$ac_prev"; then
797 eval $ac_prev=\$ac_option
798 ac_prev=
799 continue
800 fi
801
802 case $ac_option in
803 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
804 *=) ac_optarg= ;;
805 *) ac_optarg=yes ;;
806 esac
807
808 case $ac_dashdash$ac_option in
809 --)
810 ac_dashdash=yes ;;
811
812 -bindir | --bindir | --bindi | --bind | --bin | --bi)
813 ac_prev=bindir ;;
814 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
815 bindir=$ac_optarg ;;
816
817 -build | --build | --buil | --bui | --bu)
818 ac_prev=build_alias ;;
819 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
820 build_alias=$ac_optarg ;;
821
822 -cache-file | --cache-file | --cache-fil | --cache-fi \
823 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
824 ac_prev=cache_file ;;
825 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
826 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
827 cache_file=$ac_optarg ;;
828
829 --config-cache | -C)
830 cache_file=config.cache ;;
831
832 -datadir | --datadir | --datadi | --datad)
833 ac_prev=datadir ;;
834 -datadir=* | --datadir=* | --datadi=* | --datad=*)
835 datadir=$ac_optarg ;;
836
837 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
838 | --dataroo | --dataro | --datar)
839 ac_prev=datarootdir ;;
840 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
841 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
842 datarootdir=$ac_optarg ;;
843
844 -disable-* | --disable-*)
845 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
846 # Reject names that are not valid shell variable names.
847 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
848 as_fn_error $? "invalid feature name: \`$ac_useropt'"
849 ac_useropt_orig=$ac_useropt
850 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
851 case $ac_user_opts in
852 *"
853 "enable_$ac_useropt"
854 "*) ;;
855 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
856 ac_unrecognized_sep=', ';;
857 esac
858 eval enable_$ac_useropt=no ;;
859
860 -docdir | --docdir | --docdi | --doc | --do)
861 ac_prev=docdir ;;
862 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
863 docdir=$ac_optarg ;;
864
865 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
866 ac_prev=dvidir ;;
867 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
868 dvidir=$ac_optarg ;;
869
870 -enable-* | --enable-*)
871 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
872 # Reject names that are not valid shell variable names.
873 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
874 as_fn_error $? "invalid feature name: \`$ac_useropt'"
875 ac_useropt_orig=$ac_useropt
876 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
877 case $ac_user_opts in
878 *"
879 "enable_$ac_useropt"
880 "*) ;;
881 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
882 ac_unrecognized_sep=', ';;
883 esac
884 eval enable_$ac_useropt=\$ac_optarg ;;
885
886 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
887 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
888 | --exec | --exe | --ex)
889 ac_prev=exec_prefix ;;
890 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
891 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
892 | --exec=* | --exe=* | --ex=*)
893 exec_prefix=$ac_optarg ;;
894
895 -gas | --gas | --ga | --g)
896 # Obsolete; use --with-gas.
897 with_gas=yes ;;
898
899 -help | --help | --hel | --he | -h)
900 ac_init_help=long ;;
901 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
902 ac_init_help=recursive ;;
903 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
904 ac_init_help=short ;;
905
906 -host | --host | --hos | --ho)
907 ac_prev=host_alias ;;
908 -host=* | --host=* | --hos=* | --ho=*)
909 host_alias=$ac_optarg ;;
910
911 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
912 ac_prev=htmldir ;;
913 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
914 | --ht=*)
915 htmldir=$ac_optarg ;;
916
917 -includedir | --includedir | --includedi | --included | --include \
918 | --includ | --inclu | --incl | --inc)
919 ac_prev=includedir ;;
920 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
921 | --includ=* | --inclu=* | --incl=* | --inc=*)
922 includedir=$ac_optarg ;;
923
924 -infodir | --infodir | --infodi | --infod | --info | --inf)
925 ac_prev=infodir ;;
926 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
927 infodir=$ac_optarg ;;
928
929 -libdir | --libdir | --libdi | --libd)
930 ac_prev=libdir ;;
931 -libdir=* | --libdir=* | --libdi=* | --libd=*)
932 libdir=$ac_optarg ;;
933
934 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
935 | --libexe | --libex | --libe)
936 ac_prev=libexecdir ;;
937 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
938 | --libexe=* | --libex=* | --libe=*)
939 libexecdir=$ac_optarg ;;
940
941 -localedir | --localedir | --localedi | --localed | --locale)
942 ac_prev=localedir ;;
943 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
944 localedir=$ac_optarg ;;
945
946 -localstatedir | --localstatedir | --localstatedi | --localstated \
947 | --localstate | --localstat | --localsta | --localst | --locals)
948 ac_prev=localstatedir ;;
949 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
950 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
951 localstatedir=$ac_optarg ;;
952
953 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
954 ac_prev=mandir ;;
955 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
956 mandir=$ac_optarg ;;
957
958 -nfp | --nfp | --nf)
959 # Obsolete; use --without-fp.
960 with_fp=no ;;
961
962 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
963 | --no-cr | --no-c | -n)
964 no_create=yes ;;
965
966 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
967 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
968 no_recursion=yes ;;
969
970 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
971 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
972 | --oldin | --oldi | --old | --ol | --o)
973 ac_prev=oldincludedir ;;
974 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
975 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
976 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
977 oldincludedir=$ac_optarg ;;
978
979 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
980 ac_prev=prefix ;;
981 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
982 prefix=$ac_optarg ;;
983
984 -program-prefix | --program-prefix | --program-prefi | --program-pref \
985 | --program-pre | --program-pr | --program-p)
986 ac_prev=program_prefix ;;
987 -program-prefix=* | --program-prefix=* | --program-prefi=* \
988 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
989 program_prefix=$ac_optarg ;;
990
991 -program-suffix | --program-suffix | --program-suffi | --program-suff \
992 | --program-suf | --program-su | --program-s)
993 ac_prev=program_suffix ;;
994 -program-suffix=* | --program-suffix=* | --program-suffi=* \
995 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
996 program_suffix=$ac_optarg ;;
997
998 -program-transform-name | --program-transform-name \
999 | --program-transform-nam | --program-transform-na \
1000 | --program-transform-n | --program-transform- \
1001 | --program-transform | --program-transfor \
1002 | --program-transfo | --program-transf \
1003 | --program-trans | --program-tran \
1004 | --progr-tra | --program-tr | --program-t)
1005 ac_prev=program_transform_name ;;
1006 -program-transform-name=* | --program-transform-name=* \
1007 | --program-transform-nam=* | --program-transform-na=* \
1008 | --program-transform-n=* | --program-transform-=* \
1009 | --program-transform=* | --program-transfor=* \
1010 | --program-transfo=* | --program-transf=* \
1011 | --program-trans=* | --program-tran=* \
1012 | --progr-tra=* | --program-tr=* | --program-t=*)
1013 program_transform_name=$ac_optarg ;;
1014
1015 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1016 ac_prev=pdfdir ;;
1017 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1018 pdfdir=$ac_optarg ;;
1019
1020 -psdir | --psdir | --psdi | --psd | --ps)
1021 ac_prev=psdir ;;
1022 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1023 psdir=$ac_optarg ;;
1024
1025 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1026 | -silent | --silent | --silen | --sile | --sil)
1027 silent=yes ;;
1028
1029 -runstatedir | --runstatedir | --runstatedi | --runstated \
1030 | --runstate | --runstat | --runsta | --runst | --runs \
1031 | --run | --ru | --r)
1032 ac_prev=runstatedir ;;
1033 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1034 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1035 | --run=* | --ru=* | --r=*)
1036 runstatedir=$ac_optarg ;;
1037
1038 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1039 ac_prev=sbindir ;;
1040 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1041 | --sbi=* | --sb=*)
1042 sbindir=$ac_optarg ;;
1043
1044 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1045 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1046 | --sharedst | --shareds | --shared | --share | --shar \
1047 | --sha | --sh)
1048 ac_prev=sharedstatedir ;;
1049 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1050 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1051 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1052 | --sha=* | --sh=*)
1053 sharedstatedir=$ac_optarg ;;
1054
1055 -site | --site | --sit)
1056 ac_prev=site ;;
1057 -site=* | --site=* | --sit=*)
1058 site=$ac_optarg ;;
1059
1060 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1061 ac_prev=srcdir ;;
1062 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1063 srcdir=$ac_optarg ;;
1064
1065 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1066 | --syscon | --sysco | --sysc | --sys | --sy)
1067 ac_prev=sysconfdir ;;
1068 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1069 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1070 sysconfdir=$ac_optarg ;;
1071
1072 -target | --target | --targe | --targ | --tar | --ta | --t)
1073 ac_prev=target_alias ;;
1074 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1075 target_alias=$ac_optarg ;;
1076
1077 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1078 verbose=yes ;;
1079
1080 -version | --version | --versio | --versi | --vers | -V)
1081 ac_init_version=: ;;
1082
1083 -with-* | --with-*)
1084 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1085 # Reject names that are not valid shell variable names.
1086 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1087 as_fn_error $? "invalid package name: \`$ac_useropt'"
1088 ac_useropt_orig=$ac_useropt
1089 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1090 case $ac_user_opts in
1091 *"
1092 "with_$ac_useropt"
1093 "*) ;;
1094 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1095 ac_unrecognized_sep=', ';;
1096 esac
1097 eval with_$ac_useropt=\$ac_optarg ;;
1098
1099 -without-* | --without-*)
1100 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1101 # Reject names that are not valid shell variable names.
1102 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1103 as_fn_error $? "invalid package name: \`$ac_useropt'"
1104 ac_useropt_orig=$ac_useropt
1105 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1106 case $ac_user_opts in
1107 *"
1108 "with_$ac_useropt"
1109 "*) ;;
1110 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1111 ac_unrecognized_sep=', ';;
1112 esac
1113 eval with_$ac_useropt=no ;;
1114
1115 --x)
1116 # Obsolete; use --with-x.
1117 with_x=yes ;;
1118
1119 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1120 | --x-incl | --x-inc | --x-in | --x-i)
1121 ac_prev=x_includes ;;
1122 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1123 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1124 x_includes=$ac_optarg ;;
1125
1126 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1127 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1128 ac_prev=x_libraries ;;
1129 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1130 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1131 x_libraries=$ac_optarg ;;
1132
1133 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1134 Try \`$0 --help' for more information"
1135 ;;
1136
1137 *=*)
1138 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1139 # Reject names that are not valid shell variable names.
1140 case $ac_envvar in #(
1141 '' | [0-9]* | *[!_$as_cr_alnum]* )
1142 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1143 esac
1144 eval $ac_envvar=\$ac_optarg
1145 export $ac_envvar ;;
1146
1147 *)
1148 # FIXME: should be removed in autoconf 3.0.
1149 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1150 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1151 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1152 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1153 ;;
1154
1155 esac
1156 done
1157
1158 if test -n "$ac_prev"; then
1159 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1160 as_fn_error $? "missing argument to $ac_option"
1161 fi
1162
1163 if test -n "$ac_unrecognized_opts"; then
1164 case $enable_option_checking in
1165 no) ;;
1166 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1167 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1168 esac
1169 fi
1170
1171 # Check all directory arguments for consistency.
1172 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1173 datadir sysconfdir sharedstatedir localstatedir includedir \
1174 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1175 libdir localedir mandir runstatedir
1176 do
1177 eval ac_val=\$$ac_var
1178 # Remove trailing slashes.
1179 case $ac_val in
1180 */ )
1181 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1182 eval $ac_var=\$ac_val;;
1183 esac
1184 # Be sure to have absolute directory names.
1185 case $ac_val in
1186 [\\/$]* | ?:[\\/]* ) continue;;
1187 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1188 esac
1189 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1190 done
1191
1192 # There might be people who depend on the old broken behavior: `$host'
1193 # used to hold the argument of --host etc.
1194 # FIXME: To remove some day.
1195 build=$build_alias
1196 host=$host_alias
1197 target=$target_alias
1198
1199 # FIXME: To remove some day.
1200 if test "x$host_alias" != x; then
1201 if test "x$build_alias" = x; then
1202 cross_compiling=maybe
1203 elif test "x$build_alias" != "x$host_alias"; then
1204 cross_compiling=yes
1205 fi
1206 fi
1207
1208 ac_tool_prefix=
1209 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1210
1211 test "$silent" = yes && exec 6>/dev/null
1212
1213
1214 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1215 ac_ls_di=`ls -di .` &&
1216 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1217 as_fn_error $? "working directory cannot be determined"
1218 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1219 as_fn_error $? "pwd does not report name of working directory"
1220
1221
1222 # Find the source files, if location was not specified.
1223 if test -z "$srcdir"; then
1224 ac_srcdir_defaulted=yes
1225 # Try the directory containing this script, then the parent directory.
1226 ac_confdir=`$as_dirname -- "$as_myself" ||
1227 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1228 X"$as_myself" : 'X\(//\)[^/]' \| \
1229 X"$as_myself" : 'X\(//\)$' \| \
1230 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1231 printf "%s\n" X"$as_myself" |
1232 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1233 s//\1/
1234 q
1235 }
1236 /^X\(\/\/\)[^/].*/{
1237 s//\1/
1238 q
1239 }
1240 /^X\(\/\/\)$/{
1241 s//\1/
1242 q
1243 }
1244 /^X\(\/\).*/{
1245 s//\1/
1246 q
1247 }
1248 s/.*/./; q'`
1249 srcdir=$ac_confdir
1250 if test ! -r "$srcdir/$ac_unique_file"; then
1251 srcdir=..
1252 fi
1253 else
1254 ac_srcdir_defaulted=no
1255 fi
1256 if test ! -r "$srcdir/$ac_unique_file"; then
1257 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1258 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1259 fi
1260 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1261 ac_abs_confdir=`(
1262 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1263 pwd)`
1264 # When building in place, set srcdir=.
1265 if test "$ac_abs_confdir" = "$ac_pwd"; then
1266 srcdir=.
1267 fi
1268 # Remove unnecessary trailing slashes from srcdir.
1269 # Double slashes in file names in object file debugging info
1270 # mess up M-x gdb in Emacs.
1271 case $srcdir in
1272 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1273 esac
1274 for ac_var in $ac_precious_vars; do
1275 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1276 eval ac_env_${ac_var}_value=\$${ac_var}
1277 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1278 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1279 done
1280
1281 #
1282 # Report the --help message.
1283 #
1284 if test "$ac_init_help" = "long"; then
1285 # Omit some internal or obsolete options to make the list less imposing.
1286 # This message is too long to be a string in the A/UX 3.1 sh.
1287 cat <<_ACEOF
1288 \`configure' configures font-bh-ttf 1.0.4 to adapt to many kinds of systems.
1289
1290 Usage: $0 [OPTION]... [VAR=VALUE]...
1291
1292 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1293 VAR=VALUE. See below for descriptions of some of the useful variables.
1294
1295 Defaults for the options are specified in brackets.
1296
1297 Configuration:
1298 -h, --help display this help and exit
1299 --help=short display options specific to this package
1300 --help=recursive display the short help of all the included packages
1301 -V, --version display version information and exit
1302 -q, --quiet, --silent do not print \`checking ...' messages
1303 --cache-file=FILE cache test results in FILE [disabled]
1304 -C, --config-cache alias for \`--cache-file=config.cache'
1305 -n, --no-create do not create output files
1306 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1307
1308 Installation directories:
1309 --prefix=PREFIX install architecture-independent files in PREFIX
1310 [$ac_default_prefix]
1311 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1312 [PREFIX]
1313
1314 By default, \`make install' will install all the files in
1315 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1316 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1317 for instance \`--prefix=\$HOME'.
1318
1319 For better control, use the options below.
1320
1321 Fine tuning of the installation directories:
1322 --bindir=DIR user executables [EPREFIX/bin]
1323 --sbindir=DIR system admin executables [EPREFIX/sbin]
1324 --libexecdir=DIR program executables [EPREFIX/libexec]
1325 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1326 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1327 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1328 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1329 --libdir=DIR object code libraries [EPREFIX/lib]
1330 --includedir=DIR C header files [PREFIX/include]
1331 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1332 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1333 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1334 --infodir=DIR info documentation [DATAROOTDIR/info]
1335 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1336 --mandir=DIR man documentation [DATAROOTDIR/man]
1337 --docdir=DIR documentation root [DATAROOTDIR/doc/font-bh-ttf]
1338 --htmldir=DIR html documentation [DOCDIR]
1339 --dvidir=DIR dvi documentation [DOCDIR]
1340 --pdfdir=DIR pdf documentation [DOCDIR]
1341 --psdir=DIR ps documentation [DOCDIR]
1342 _ACEOF
1343
1344 cat <<\_ACEOF
1345
1346 Program names:
1347 --program-prefix=PREFIX prepend PREFIX to installed program names
1348 --program-suffix=SUFFIX append SUFFIX to installed program names
1349 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1350
1351 System types:
1352 --build=BUILD configure for building on BUILD [guessed]
1353 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1354 _ACEOF
1355 fi
1356
1357 if test -n "$ac_init_help"; then
1358 case $ac_init_help in
1359 short | recursive ) echo "Configuration of font-bh-ttf 1.0.4:";;
1360 esac
1361 cat <<\_ACEOF
1362
1363 Optional Features:
1364 --disable-option-checking ignore unrecognized --enable/--with options
1365 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1366 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1367 --enable-silent-rules less verbose build output (undo: "make V=1")
1368 --disable-silent-rules verbose build output (undo: "make V=0")
1369
1370 Optional Packages:
1371 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1372 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1373 --with-fontrootdir=DIR Path to root directory for font files
1374 --with-fontdir=DIR Path to TTF files [FONTROOTDIR/TTF]
1375 --with-fc-confdir=DIR Path to fontconfig's configuration directory
1376
1377 Some influential environment variables:
1378 PKG_CONFIG path to pkg-config utility
1379 PKG_CONFIG_PATH
1380 directories to add to pkg-config's search path
1381 PKG_CONFIG_LIBDIR
1382 path overriding pkg-config's built-in search path
1383
1384 Use these variables to override the choices made by `configure' or to help
1385 it to find libraries and programs with nonstandard names/locations.
1386
1387 Report bugs to <https://gitlab.freedesktop.org/xorg/font/bh-ttf/-/issues>.
1388 _ACEOF
1389 ac_status=$?
1390 fi
1391
1392 if test "$ac_init_help" = "recursive"; then
1393 # If there are subdirs, report their specific --help.
1394 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1395 test -d "$ac_dir" ||
1396 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1397 continue
1398 ac_builddir=.
1399
1400 case "$ac_dir" in
1401 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1402 *)
1403 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1404 # A ".." for each directory in $ac_dir_suffix.
1405 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1406 case $ac_top_builddir_sub in
1407 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1408 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1409 esac ;;
1410 esac
1411 ac_abs_top_builddir=$ac_pwd
1412 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1413 # for backward compatibility:
1414 ac_top_builddir=$ac_top_build_prefix
1415
1416 case $srcdir in
1417 .) # We are building in place.
1418 ac_srcdir=.
1419 ac_top_srcdir=$ac_top_builddir_sub
1420 ac_abs_top_srcdir=$ac_pwd ;;
1421 [\\/]* | ?:[\\/]* ) # Absolute name.
1422 ac_srcdir=$srcdir$ac_dir_suffix;
1423 ac_top_srcdir=$srcdir
1424 ac_abs_top_srcdir=$srcdir ;;
1425 *) # Relative name.
1426 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1427 ac_top_srcdir=$ac_top_build_prefix$srcdir
1428 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1429 esac
1430 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1431
1432 cd "$ac_dir" || { ac_status=$?; continue; }
1433 # Check for configure.gnu first; this name is used for a wrapper for
1434 # Metaconfig's "Configure" on case-insensitive file systems.
1435 if test -f "$ac_srcdir/configure.gnu"; then
1436 echo &&
1437 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1438 elif test -f "$ac_srcdir/configure"; then
1439 echo &&
1440 $SHELL "$ac_srcdir/configure" --help=recursive
1441 else
1442 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1443 fi || ac_status=$?
1444 cd "$ac_pwd" || { ac_status=$?; break; }
1445 done
1446 fi
1447
1448 test -n "$ac_init_help" && exit $ac_status
1449 if $ac_init_version; then
1450 cat <<\_ACEOF
1451 font-bh-ttf configure 1.0.4
1452 generated by GNU Autoconf 2.71
1453
1454 Copyright (C) 2021 Free Software Foundation, Inc.
1455 This configure script is free software; the Free Software Foundation
1456 gives unlimited permission to copy, distribute and modify it.
1457 _ACEOF
1458 exit
1459 fi
1460
1461 ## ------------------------ ##
1462 ## Autoconf initialization. ##
1463 ## ------------------------ ##
1464 ac_configure_args_raw=
1465 for ac_arg
1466 do
1467 case $ac_arg in
1468 *\'*)
1469 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1470 esac
1471 as_fn_append ac_configure_args_raw " '$ac_arg'"
1472 done
1473
1474 case $ac_configure_args_raw in
1475 *$as_nl*)
1476 ac_safe_unquote= ;;
1477 *)
1478 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1479 ac_unsafe_a="$ac_unsafe_z#~"
1480 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1481 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1482 esac
1483
1484 cat >config.log <<_ACEOF
1485 This file contains any messages produced by compilers while
1486 running configure, to aid debugging if configure makes a mistake.
1487
1488 It was created by font-bh-ttf $as_me 1.0.4, which was
1489 generated by GNU Autoconf 2.71. Invocation command line was
1490
1491 $ $0$ac_configure_args_raw
1492
1493 _ACEOF
1494 exec 5>>config.log
1495 {
1496 cat <<_ASUNAME
1497 ## --------- ##
1498 ## Platform. ##
1499 ## --------- ##
1500
1501 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1502 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1503 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1504 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1505 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1506
1507 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1508 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1509
1510 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1511 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1512 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1513 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1514 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1515 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1516 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1517
1518 _ASUNAME
1519
1520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1521 for as_dir in $PATH
1522 do
1523 IFS=$as_save_IFS
1524 case $as_dir in #(((
1525 '') as_dir=./ ;;
1526 */) ;;
1527 *) as_dir=$as_dir/ ;;
1528 esac
1529 printf "%s\n" "PATH: $as_dir"
1530 done
1531 IFS=$as_save_IFS
1532
1533 } >&5
1534
1535 cat >&5 <<_ACEOF
1536
1537
1538 ## ----------- ##
1539 ## Core tests. ##
1540 ## ----------- ##
1541
1542 _ACEOF
1543
1544
1545 # Keep a trace of the command line.
1546 # Strip out --no-create and --no-recursion so they do not pile up.
1547 # Strip out --silent because we don't want to record it for future runs.
1548 # Also quote any args containing shell meta-characters.
1549 # Make two passes to allow for proper duplicate-argument suppression.
1550 ac_configure_args=
1551 ac_configure_args0=
1552 ac_configure_args1=
1553 ac_must_keep_next=false
1554 for ac_pass in 1 2
1555 do
1556 for ac_arg
1557 do
1558 case $ac_arg in
1559 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1560 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1561 | -silent | --silent | --silen | --sile | --sil)
1562 continue ;;
1563 *\'*)
1564 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1565 esac
1566 case $ac_pass in
1567 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1568 2)
1569 as_fn_append ac_configure_args1 " '$ac_arg'"
1570 if test $ac_must_keep_next = true; then
1571 ac_must_keep_next=false # Got value, back to normal.
1572 else
1573 case $ac_arg in
1574 *=* | --config-cache | -C | -disable-* | --disable-* \
1575 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1576 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1577 | -with-* | --with-* | -without-* | --without-* | --x)
1578 case "$ac_configure_args0 " in
1579 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1580 esac
1581 ;;
1582 -* ) ac_must_keep_next=true ;;
1583 esac
1584 fi
1585 as_fn_append ac_configure_args " '$ac_arg'"
1586 ;;
1587 esac
1588 done
1589 done
1590 { ac_configure_args0=; unset ac_configure_args0;}
1591 { ac_configure_args1=; unset ac_configure_args1;}
1592
1593 # When interrupted or exit'd, cleanup temporary files, and complete
1594 # config.log. We remove comments because anyway the quotes in there
1595 # would cause problems or look ugly.
1596 # WARNING: Use '\'' to represent an apostrophe within the trap.
1597 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1598 trap 'exit_status=$?
1599 # Sanitize IFS.
1600 IFS=" "" $as_nl"
1601 # Save into config.log some information that might help in debugging.
1602 {
1603 echo
1604
1605 printf "%s\n" "## ---------------- ##
1606 ## Cache variables. ##
1607 ## ---------------- ##"
1608 echo
1609 # The following way of writing the cache mishandles newlines in values,
1610 (
1611 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1612 eval ac_val=\$$ac_var
1613 case $ac_val in #(
1614 *${as_nl}*)
1615 case $ac_var in #(
1616 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1617 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1618 esac
1619 case $ac_var in #(
1620 _ | IFS | as_nl) ;; #(
1621 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1622 *) { eval $ac_var=; unset $ac_var;} ;;
1623 esac ;;
1624 esac
1625 done
1626 (set) 2>&1 |
1627 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1628 *${as_nl}ac_space=\ *)
1629 sed -n \
1630 "s/'\''/'\''\\\\'\'''\''/g;
1631 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1632 ;; #(
1633 *)
1634 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1635 ;;
1636 esac |
1637 sort
1638 )
1639 echo
1640
1641 printf "%s\n" "## ----------------- ##
1642 ## Output variables. ##
1643 ## ----------------- ##"
1644 echo
1645 for ac_var in $ac_subst_vars
1646 do
1647 eval ac_val=\$$ac_var
1648 case $ac_val in
1649 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1650 esac
1651 printf "%s\n" "$ac_var='\''$ac_val'\''"
1652 done | sort
1653 echo
1654
1655 if test -n "$ac_subst_files"; then
1656 printf "%s\n" "## ------------------- ##
1657 ## File substitutions. ##
1658 ## ------------------- ##"
1659 echo
1660 for ac_var in $ac_subst_files
1661 do
1662 eval ac_val=\$$ac_var
1663 case $ac_val in
1664 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1665 esac
1666 printf "%s\n" "$ac_var='\''$ac_val'\''"
1667 done | sort
1668 echo
1669 fi
1670
1671 if test -s confdefs.h; then
1672 printf "%s\n" "## ----------- ##
1673 ## confdefs.h. ##
1674 ## ----------- ##"
1675 echo
1676 cat confdefs.h
1677 echo
1678 fi
1679 test "$ac_signal" != 0 &&
1680 printf "%s\n" "$as_me: caught signal $ac_signal"
1681 printf "%s\n" "$as_me: exit $exit_status"
1682 } >&5
1683 rm -f core *.core core.conftest.* &&
1684 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1685 exit $exit_status
1686 ' 0
1687 for ac_signal in 1 2 13 15; do
1688 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1689 done
1690 ac_signal=0
1691
1692 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1693 rm -f -r conftest* confdefs.h
1694
1695 printf "%s\n" "/* confdefs.h */" > confdefs.h
1696
1697 # Predefined preprocessor variables.
1698
1699 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1700
1701 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1702
1703 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1704
1705 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1706
1707 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1708
1709 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1710
1711
1712 # Let the site file select an alternate cache file if it wants to.
1713 # Prefer an explicitly selected file to automatically selected ones.
1714 if test -n "$CONFIG_SITE"; then
1715 ac_site_files="$CONFIG_SITE"
1716 elif test "x$prefix" != xNONE; then
1717 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1718 else
1719 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1720 fi
1721
1722 for ac_site_file in $ac_site_files
1723 do
1724 case $ac_site_file in #(
1725 */*) :
1726 ;; #(
1727 *) :
1728 ac_site_file=./$ac_site_file ;;
1729 esac
1730 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1732 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1733 sed 's/^/| /' "$ac_site_file" >&5
1734 . "$ac_site_file" \
1735 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1736 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1737 as_fn_error $? "failed to load site script $ac_site_file
1738 See \`config.log' for more details" "$LINENO" 5; }
1739 fi
1740 done
1741
1742 if test -r "$cache_file"; then
1743 # Some versions of bash will fail to source /dev/null (special files
1744 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1745 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1747 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1748 case $cache_file in
1749 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1750 *) . "./$cache_file";;
1751 esac
1752 fi
1753 else
1754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1755 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1756 >$cache_file
1757 fi
1758
1759
1760 # Auxiliary files required by this configure script.
1761 ac_aux_files="config.guess config.sub missing install-sh"
1762
1763 # Locations in which to look for auxiliary files.
1764 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
1765
1766 # Search for a directory containing all of the required auxiliary files,
1767 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
1768 # If we don't find one directory that contains all the files we need,
1769 # we report the set of missing files from the *first* directory in
1770 # $ac_aux_dir_candidates and give up.
1771 ac_missing_aux_files=""
1772 ac_first_candidate=:
1773 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
1774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1775 as_found=false
1776 for as_dir in $ac_aux_dir_candidates
1777 do
1778 IFS=$as_save_IFS
1779 case $as_dir in #(((
1780 '') as_dir=./ ;;
1781 */) ;;
1782 *) as_dir=$as_dir/ ;;
1783 esac
1784 as_found=:
1785
1786 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
1787 ac_aux_dir_found=yes
1788 ac_install_sh=
1789 for ac_aux in $ac_aux_files
1790 do
1791 # As a special case, if "install-sh" is required, that requirement
1792 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
1793 # and $ac_install_sh is set appropriately for whichever one is found.
1794 if test x"$ac_aux" = x"install-sh"
1795 then
1796 if test -f "${as_dir}install-sh"; then
1797 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
1798 ac_install_sh="${as_dir}install-sh -c"
1799 elif test -f "${as_dir}install.sh"; then
1800 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
1801 ac_install_sh="${as_dir}install.sh -c"
1802 elif test -f "${as_dir}shtool"; then
1803 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
1804 ac_install_sh="${as_dir}shtool install -c"
1805 else
1806 ac_aux_dir_found=no
1807 if $ac_first_candidate; then
1808 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
1809 else
1810 break
1811 fi
1812 fi
1813 else
1814 if test -f "${as_dir}${ac_aux}"; then
1815 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
1816 else
1817 ac_aux_dir_found=no
1818 if $ac_first_candidate; then
1819 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
1820 else
1821 break
1822 fi
1823 fi
1824 fi
1825 done
1826 if test "$ac_aux_dir_found" = yes; then
1827 ac_aux_dir="$as_dir"
1828 break
1829 fi
1830 ac_first_candidate=false
1831
1832 as_found=false
1833 done
1834 IFS=$as_save_IFS
1835 if $as_found
1836 then :
1837
1838 else $as_nop
1839 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
1840 fi
1841
1842
1843 # These three variables are undocumented and unsupported,
1844 # and are intended to be withdrawn in a future Autoconf release.
1845 # They can cause serious problems if a builder's source tree is in a directory
1846 # whose full name contains unusual characters.
1847 if test -f "${ac_aux_dir}config.guess"; then
1848 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
1849 fi
1850 if test -f "${ac_aux_dir}config.sub"; then
1851 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
1852 fi
1853 if test -f "$ac_aux_dir/configure"; then
1854 ac_configure="$SHELL ${ac_aux_dir}configure"
1855 fi
1856
1857 # Check that the precious variables saved in the cache have kept the same
1858 # value.
1859 ac_cache_corrupted=false
1860 for ac_var in $ac_precious_vars; do
1861 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1862 eval ac_new_set=\$ac_env_${ac_var}_set
1863 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1864 eval ac_new_val=\$ac_env_${ac_var}_value
1865 case $ac_old_set,$ac_new_set in
1866 set,)
1867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1868 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1869 ac_cache_corrupted=: ;;
1870 ,set)
1871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1872 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1873 ac_cache_corrupted=: ;;
1874 ,);;
1875 *)
1876 if test "x$ac_old_val" != "x$ac_new_val"; then
1877 # differences in whitespace do not lead to failure.
1878 ac_old_val_w=`echo x $ac_old_val`
1879 ac_new_val_w=`echo x $ac_new_val`
1880 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1882 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1883 ac_cache_corrupted=:
1884 else
1885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1886 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1887 eval $ac_var=\$ac_old_val
1888 fi
1889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1890 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
1891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1892 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
1893 fi;;
1894 esac
1895 # Pass precious variables to config.status.
1896 if test "$ac_new_set" = set; then
1897 case $ac_new_val in
1898 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1899 *) ac_arg=$ac_var=$ac_new_val ;;
1900 esac
1901 case " $ac_configure_args " in
1902 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1903 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1904 esac
1905 fi
1906 done
1907 if $ac_cache_corrupted; then
1908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1909 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1911 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
1912 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
1913 and start over" "$LINENO" 5
1914 fi
1915 ## -------------------- ##
1916 ## Main body of script. ##
1917 ## -------------------- ##
1918
1919 ac_ext=c
1920 ac_cpp='$CPP $CPPFLAGS'
1921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1924
1925
1926 am__api_version='1.16'
1927
1928
1929
1930 # Find a good install program. We prefer a C program (faster),
1931 # so one script is as good as another. But avoid the broken or
1932 # incompatible versions:
1933 # SysV /etc/install, /usr/sbin/install
1934 # SunOS /usr/etc/install
1935 # IRIX /sbin/install
1936 # AIX /bin/install
1937 # AmigaOS /C/install, which installs bootblocks on floppy discs
1938 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1939 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1940 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1941 # OS/2's system install, which has a completely different semantic
1942 # ./install, which can be erroneously created by make from ./install.sh.
1943 # Reject install programs that cannot install multiple files.
1944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1945 printf %s "checking for a BSD-compatible install... " >&6; }
1946 if test -z "$INSTALL"; then
1947 if test ${ac_cv_path_install+y}
1948 then :
1949 printf %s "(cached) " >&6
1950 else $as_nop
1951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1952 for as_dir in $PATH
1953 do
1954 IFS=$as_save_IFS
1955 case $as_dir in #(((
1956 '') as_dir=./ ;;
1957 */) ;;
1958 *) as_dir=$as_dir/ ;;
1959 esac
1960 # Account for fact that we put trailing slashes in our PATH walk.
1961 case $as_dir in #((
1962 ./ | /[cC]/* | \
1963 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1964 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1965 /usr/ucb/* ) ;;
1966 *)
1967 # OSF1 and SCO ODT 3.0 have their own names for install.
1968 # Don't use installbsd from OSF since it installs stuff as root
1969 # by default.
1970 for ac_prog in ginstall scoinst install; do
1971 for ac_exec_ext in '' $ac_executable_extensions; do
1972 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
1973 if test $ac_prog = install &&
1974 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1975 # AIX install. It has an incompatible calling convention.
1976 :
1977 elif test $ac_prog = install &&
1978 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1979 # program-specific install script used by HP pwplus--don't use.
1980 :
1981 else
1982 rm -rf conftest.one conftest.two conftest.dir
1983 echo one > conftest.one
1984 echo two > conftest.two
1985 mkdir conftest.dir
1986 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
1987 test -s conftest.one && test -s conftest.two &&
1988 test -s conftest.dir/conftest.one &&
1989 test -s conftest.dir/conftest.two
1990 then
1991 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
1992 break 3
1993 fi
1994 fi
1995 fi
1996 done
1997 done
1998 ;;
1999 esac
2000
2001 done
2002 IFS=$as_save_IFS
2003
2004 rm -rf conftest.one conftest.two conftest.dir
2005
2006 fi
2007 if test ${ac_cv_path_install+y}; then
2008 INSTALL=$ac_cv_path_install
2009 else
2010 # As a last resort, use the slow shell script. Don't cache a
2011 # value for INSTALL within a source directory, because that will
2012 # break other packages using the cache if that directory is
2013 # removed, or if the value is a relative name.
2014 INSTALL=$ac_install_sh
2015 fi
2016 fi
2017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2018 printf "%s\n" "$INSTALL" >&6; }
2019
2020 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2021 # It thinks the first close brace ends the variable substitution.
2022 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2023
2024 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2025
2026 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2027
2028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2029 printf %s "checking whether build environment is sane... " >&6; }
2030 # Reject unsafe characters in $srcdir or the absolute working directory
2031 # name. Accept space and tab only in the latter.
2032 am_lf='
2033 '
2034 case `pwd` in
2035 *[\\\"\#\$\&\'\`$am_lf]*)
2036 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2037 esac
2038 case $srcdir in
2039 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2040 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2041 esac
2042
2043 # Do 'set' in a subshell so we don't clobber the current shell's
2044 # arguments. Must try -L first in case configure is actually a
2045 # symlink; some systems play weird games with the mod time of symlinks
2046 # (eg FreeBSD returns the mod time of the symlink's containing
2047 # directory).
2048 if (
2049 am_has_slept=no
2050 for am_try in 1 2; do
2051 echo "timestamp, slept: $am_has_slept" > conftest.file
2052 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2053 if test "$*" = "X"; then
2054 # -L didn't work.
2055 set X `ls -t "$srcdir/configure" conftest.file`
2056 fi
2057 if test "$*" != "X $srcdir/configure conftest.file" \
2058 && test "$*" != "X conftest.file $srcdir/configure"; then
2059
2060 # If neither matched, then we have a broken ls. This can happen
2061 # if, for instance, CONFIG_SHELL is bash and it inherits a
2062 # broken ls alias from the environment. This has actually
2063 # happened. Such a system could not be considered "sane".
2064 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2065 alias in your environment" "$LINENO" 5
2066 fi
2067 if test "$2" = conftest.file || test $am_try -eq 2; then
2068 break
2069 fi
2070 # Just in case.
2071 sleep 1
2072 am_has_slept=yes
2073 done
2074 test "$2" = conftest.file
2075 )
2076 then
2077 # Ok.
2078 :
2079 else
2080 as_fn_error $? "newly created file is older than distributed files!
2081 Check your system clock" "$LINENO" 5
2082 fi
2083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2084 printf "%s\n" "yes" >&6; }
2085 # If we didn't sleep, we still need to ensure time stamps of config.status and
2086 # generated files are strictly newer.
2087 am_sleep_pid=
2088 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2089 ( sleep 1 ) &
2090 am_sleep_pid=$!
2091 fi
2092
2093 rm -f conftest.file
2094
2095 test "$program_prefix" != NONE &&
2096 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2097 # Use a double $ so make ignores it.
2098 test "$program_suffix" != NONE &&
2099 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2100 # Double any \ or $.
2101 # By default was `s,x,x', remove it if useless.
2102 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2103 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2104
2105
2106 # Expand $ac_aux_dir to an absolute path.
2107 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2108
2109
2110 if test x"${MISSING+set}" != xset; then
2111 MISSING="\${SHELL} '$am_aux_dir/missing'"
2112 fi
2113 # Use eval to expand $SHELL
2114 if eval "$MISSING --is-lightweight"; then
2115 am_missing_run="$MISSING "
2116 else
2117 am_missing_run=
2118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2119 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2120 fi
2121
2122 if test x"${install_sh+set}" != xset; then
2123 case $am_aux_dir in
2124 *\ * | *\ *)
2125 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2126 *)
2127 install_sh="\${SHELL} $am_aux_dir/install-sh"
2128 esac
2129 fi
2130
2131 # Installed binaries are usually stripped using 'strip' when the user
2132 # run "make install-strip". However 'strip' might not be the right
2133 # tool to use in cross-compilation environments, therefore Automake
2134 # will honor the 'STRIP' environment variable to overrule this program.
2135 if test "$cross_compiling" != no; then
2136 if test -n "$ac_tool_prefix"; then
2137 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2138 set dummy ${ac_tool_prefix}strip; ac_word=$2
2139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2140 printf %s "checking for $ac_word... " >&6; }
2141 if test ${ac_cv_prog_STRIP+y}
2142 then :
2143 printf %s "(cached) " >&6
2144 else $as_nop
2145 if test -n "$STRIP"; then
2146 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2147 else
2148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2149 for as_dir in $PATH
2150 do
2151 IFS=$as_save_IFS
2152 case $as_dir in #(((
2153 '') as_dir=./ ;;
2154 */) ;;
2155 *) as_dir=$as_dir/ ;;
2156 esac
2157 for ac_exec_ext in '' $ac_executable_extensions; do
2158 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2159 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2160 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2161 break 2
2162 fi
2163 done
2164 done
2165 IFS=$as_save_IFS
2166
2167 fi
2168 fi
2169 STRIP=$ac_cv_prog_STRIP
2170 if test -n "$STRIP"; then
2171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2172 printf "%s\n" "$STRIP" >&6; }
2173 else
2174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2175 printf "%s\n" "no" >&6; }
2176 fi
2177
2178
2179 fi
2180 if test -z "$ac_cv_prog_STRIP"; then
2181 ac_ct_STRIP=$STRIP
2182 # Extract the first word of "strip", so it can be a program name with args.
2183 set dummy strip; ac_word=$2
2184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2185 printf %s "checking for $ac_word... " >&6; }
2186 if test ${ac_cv_prog_ac_ct_STRIP+y}
2187 then :
2188 printf %s "(cached) " >&6
2189 else $as_nop
2190 if test -n "$ac_ct_STRIP"; then
2191 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2192 else
2193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2194 for as_dir in $PATH
2195 do
2196 IFS=$as_save_IFS
2197 case $as_dir in #(((
2198 '') as_dir=./ ;;
2199 */) ;;
2200 *) as_dir=$as_dir/ ;;
2201 esac
2202 for ac_exec_ext in '' $ac_executable_extensions; do
2203 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2204 ac_cv_prog_ac_ct_STRIP="strip"
2205 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2206 break 2
2207 fi
2208 done
2209 done
2210 IFS=$as_save_IFS
2211
2212 fi
2213 fi
2214 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2215 if test -n "$ac_ct_STRIP"; then
2216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2217 printf "%s\n" "$ac_ct_STRIP" >&6; }
2218 else
2219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2220 printf "%s\n" "no" >&6; }
2221 fi
2222
2223 if test "x$ac_ct_STRIP" = x; then
2224 STRIP=":"
2225 else
2226 case $cross_compiling:$ac_tool_warned in
2227 yes:)
2228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2229 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2230 ac_tool_warned=yes ;;
2231 esac
2232 STRIP=$ac_ct_STRIP
2233 fi
2234 else
2235 STRIP="$ac_cv_prog_STRIP"
2236 fi
2237
2238 fi
2239 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2240
2241
2242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
2243 printf %s "checking for a race-free mkdir -p... " >&6; }
2244 if test -z "$MKDIR_P"; then
2245 if test ${ac_cv_path_mkdir+y}
2246 then :
2247 printf %s "(cached) " >&6
2248 else $as_nop
2249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2250 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2251 do
2252 IFS=$as_save_IFS
2253 case $as_dir in #(((
2254 '') as_dir=./ ;;
2255 */) ;;
2256 *) as_dir=$as_dir/ ;;
2257 esac
2258 for ac_prog in mkdir gmkdir; do
2259 for ac_exec_ext in '' $ac_executable_extensions; do
2260 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
2261 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
2262 'mkdir ('*'coreutils) '* | \
2263 'BusyBox '* | \
2264 'mkdir (fileutils) '4.1*)
2265 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
2266 break 3;;
2267 esac
2268 done
2269 done
2270 done
2271 IFS=$as_save_IFS
2272
2273 fi
2274
2275 test -d ./--version && rmdir ./--version
2276 if test ${ac_cv_path_mkdir+y}; then
2277 MKDIR_P="$ac_cv_path_mkdir -p"
2278 else
2279 # As a last resort, use the slow shell script. Don't cache a
2280 # value for MKDIR_P within a source directory, because that will
2281 # break other packages using the cache if that directory is
2282 # removed, or if the value is a relative name.
2283 MKDIR_P="$ac_install_sh -d"
2284 fi
2285 fi
2286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2287 printf "%s\n" "$MKDIR_P" >&6; }
2288
2289 for ac_prog in gawk mawk nawk awk
2290 do
2291 # Extract the first word of "$ac_prog", so it can be a program name with args.
2292 set dummy $ac_prog; ac_word=$2
2293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2294 printf %s "checking for $ac_word... " >&6; }
2295 if test ${ac_cv_prog_AWK+y}
2296 then :
2297 printf %s "(cached) " >&6
2298 else $as_nop
2299 if test -n "$AWK"; then
2300 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2301 else
2302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2303 for as_dir in $PATH
2304 do
2305 IFS=$as_save_IFS
2306 case $as_dir in #(((
2307 '') as_dir=./ ;;
2308 */) ;;
2309 *) as_dir=$as_dir/ ;;
2310 esac
2311 for ac_exec_ext in '' $ac_executable_extensions; do
2312 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2313 ac_cv_prog_AWK="$ac_prog"
2314 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2315 break 2
2316 fi
2317 done
2318 done
2319 IFS=$as_save_IFS
2320
2321 fi
2322 fi
2323 AWK=$ac_cv_prog_AWK
2324 if test -n "$AWK"; then
2325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2326 printf "%s\n" "$AWK" >&6; }
2327 else
2328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2329 printf "%s\n" "no" >&6; }
2330 fi
2331
2332
2333 test -n "$AWK" && break
2334 done
2335
2336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2337 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2338 set x ${MAKE-make}
2339 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2340 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
2341 then :
2342 printf %s "(cached) " >&6
2343 else $as_nop
2344 cat >conftest.make <<\_ACEOF
2345 SHELL = /bin/sh
2346 all:
2347 @echo '@@@%%%=$(MAKE)=@@@%%%'
2348 _ACEOF
2349 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2350 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2351 *@@@%%%=?*=@@@%%%*)
2352 eval ac_cv_prog_make_${ac_make}_set=yes;;
2353 *)
2354 eval ac_cv_prog_make_${ac_make}_set=no;;
2355 esac
2356 rm -f conftest.make
2357 fi
2358 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2360 printf "%s\n" "yes" >&6; }
2361 SET_MAKE=
2362 else
2363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2364 printf "%s\n" "no" >&6; }
2365 SET_MAKE="MAKE=${MAKE-make}"
2366 fi
2367
2368 rm -rf .tst 2>/dev/null
2369 mkdir .tst 2>/dev/null
2370 if test -d .tst; then
2371 am__leading_dot=.
2372 else
2373 am__leading_dot=_
2374 fi
2375 rmdir .tst 2>/dev/null
2376
2377 # Check whether --enable-silent-rules was given.
2378 if test ${enable_silent_rules+y}
2379 then :
2380 enableval=$enable_silent_rules;
2381 fi
2382
2383 case $enable_silent_rules in # (((
2384 yes) AM_DEFAULT_VERBOSITY=0;;
2385 no) AM_DEFAULT_VERBOSITY=1;;
2386 *) AM_DEFAULT_VERBOSITY=1;;
2387 esac
2388 am_make=${MAKE-make}
2389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2390 printf %s "checking whether $am_make supports nested variables... " >&6; }
2391 if test ${am_cv_make_support_nested_variables+y}
2392 then :
2393 printf %s "(cached) " >&6
2394 else $as_nop
2395 if printf "%s\n" 'TRUE=$(BAR$(V))
2396 BAR0=false
2397 BAR1=true
2398 V=1
2399 am__doit:
2400 @$(TRUE)
2401 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2402 am_cv_make_support_nested_variables=yes
2403 else
2404 am_cv_make_support_nested_variables=no
2405 fi
2406 fi
2407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2408 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
2409 if test $am_cv_make_support_nested_variables = yes; then
2410 AM_V='$(V)'
2411 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2412 else
2413 AM_V=$AM_DEFAULT_VERBOSITY
2414 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2415 fi
2416 AM_BACKSLASH='\'
2417
2418 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2419 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2420 # is not polluted with repeated "-I."
2421 am__isrc=' -I$(srcdir)'
2422 # test to see if srcdir already configured
2423 if test -f $srcdir/config.status; then
2424 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2425 fi
2426 fi
2427
2428 # test whether we have cygpath
2429 if test -z "$CYGPATH_W"; then
2430 if (cygpath --version) >/dev/null 2>/dev/null; then
2431 CYGPATH_W='cygpath -w'
2432 else
2433 CYGPATH_W=echo
2434 fi
2435 fi
2436
2437
2438 # Define the identity of the package.
2439 PACKAGE='font-bh-ttf'
2440 VERSION='1.0.4'
2441
2442
2443 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
2444
2445
2446 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
2447
2448 # Some tools Automake needs.
2449
2450 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2451
2452
2453 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2454
2455
2456 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2457
2458
2459 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2460
2461
2462 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2463
2464 # For better backward compatibility. To be removed once Automake 1.9.x
2465 # dies out for good. For more background, see:
2466 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2467 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2468 mkdir_p='$(MKDIR_P)'
2469
2470 # We need awk for the "check" target (and possibly the TAP driver). The
2471 # system "awk" is bad on some platforms.
2472 # Always define AMTAR for backward compatibility. Yes, it's still used
2473 # in the wild :-( We should find a proper way to deprecate it ...
2474 AMTAR='$${TAR-tar}'
2475
2476
2477 # We'll loop over all known methods to create a tar archive until one works.
2478 _am_tools='gnutar pax cpio none'
2479
2480 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2481
2482
2483
2484
2485
2486 # Variables for tags utilities; see am/tags.am
2487 if test -z "$CTAGS"; then
2488 CTAGS=ctags
2489 fi
2490
2491 if test -z "$ETAGS"; then
2492 ETAGS=etags
2493 fi
2494
2495 if test -z "$CSCOPE"; then
2496 CSCOPE=cscope
2497 fi
2498
2499
2500
2501 # POSIX will say in a future version that running "rm -f" with no argument
2502 # is OK; and we want to be able to make that assumption in our Makefile
2503 # recipes. So use an aggressive probe to check that the usage we want is
2504 # actually supported "in the wild" to an acceptable degree.
2505 # See automake bug#10828.
2506 # To make any issue more visible, cause the running configure to be aborted
2507 # by default if the 'rm' program in use doesn't match our expectations; the
2508 # user can still override this though.
2509 if rm -f && rm -fr && rm -rf; then : OK; else
2510 cat >&2 <<'END'
2511 Oops!
2512
2513 Your 'rm' program seems unable to run without file operands specified
2514 on the command line, even when the '-f' option is present. This is contrary
2515 to the behaviour of most rm programs out there, and not conforming with
2516 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2517
2518 Please tell bug-automake@gnu.org about your system, including the value
2519 of your $PATH and any error possibly output before this message. This
2520 can help us improve future automake versions.
2521
2522 END
2523 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2524 echo 'Configuration will proceed anyway, since you have set the' >&2
2525 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2526 echo >&2
2527 else
2528 cat >&2 <<'END'
2529 Aborting the configuration process, to ensure you take notice of the issue.
2530
2531 You can download and install GNU coreutils to get an 'rm' implementation
2532 that behaves properly: <https://www.gnu.org/software/coreutils/>.
2533
2534 If you want to complete the configuration process using your problematic
2535 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2536 to "yes", and re-run configure.
2537
2538 END
2539 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2540 fi
2541 fi
2542
2543
2544 # Require xorg-macros 1.20 or later: XORG_DEFAULT_NOCODE_OPTIONS
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
2564 if test -n "$ac_tool_prefix"; then
2565 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
2566 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
2567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2568 printf %s "checking for $ac_word... " >&6; }
2569 if test ${ac_cv_path_PKG_CONFIG+y}
2570 then :
2571 printf %s "(cached) " >&6
2572 else $as_nop
2573 case $PKG_CONFIG in
2574 [\\/]* | ?:[\\/]*)
2575 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
2576 ;;
2577 *)
2578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2579 for as_dir in $PATH
2580 do
2581 IFS=$as_save_IFS
2582 case $as_dir in #(((
2583 '') as_dir=./ ;;
2584 */) ;;
2585 *) as_dir=$as_dir/ ;;
2586 esac
2587 for ac_exec_ext in '' $ac_executable_extensions; do
2588 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2589 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
2590 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2591 break 2
2592 fi
2593 done
2594 done
2595 IFS=$as_save_IFS
2596
2597 ;;
2598 esac
2599 fi
2600 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
2601 if test -n "$PKG_CONFIG"; then
2602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
2603 printf "%s\n" "$PKG_CONFIG" >&6; }
2604 else
2605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2606 printf "%s\n" "no" >&6; }
2607 fi
2608
2609
2610 fi
2611 if test -z "$ac_cv_path_PKG_CONFIG"; then
2612 ac_pt_PKG_CONFIG=$PKG_CONFIG
2613 # Extract the first word of "pkg-config", so it can be a program name with args.
2614 set dummy pkg-config; ac_word=$2
2615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2616 printf %s "checking for $ac_word... " >&6; }
2617 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
2618 then :
2619 printf %s "(cached) " >&6
2620 else $as_nop
2621 case $ac_pt_PKG_CONFIG in
2622 [\\/]* | ?:[\\/]*)
2623 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
2624 ;;
2625 *)
2626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2627 for as_dir in $PATH
2628 do
2629 IFS=$as_save_IFS
2630 case $as_dir in #(((
2631 '') as_dir=./ ;;
2632 */) ;;
2633 *) as_dir=$as_dir/ ;;
2634 esac
2635 for ac_exec_ext in '' $ac_executable_extensions; do
2636 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2637 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
2638 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2639 break 2
2640 fi
2641 done
2642 done
2643 IFS=$as_save_IFS
2644
2645 ;;
2646 esac
2647 fi
2648 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
2649 if test -n "$ac_pt_PKG_CONFIG"; then
2650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
2651 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
2652 else
2653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2654 printf "%s\n" "no" >&6; }
2655 fi
2656
2657 if test "x$ac_pt_PKG_CONFIG" = x; then
2658 PKG_CONFIG=""
2659 else
2660 case $cross_compiling:$ac_tool_warned in
2661 yes:)
2662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2663 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2664 ac_tool_warned=yes ;;
2665 esac
2666 PKG_CONFIG=$ac_pt_PKG_CONFIG
2667 fi
2668 else
2669 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
2670 fi
2671
2672 fi
2673 if test -n "$PKG_CONFIG"; then
2674 _pkg_min_version=0.9.0
2675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
2676 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
2677 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
2678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2679 printf "%s\n" "yes" >&6; }
2680 else
2681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2682 printf "%s\n" "no" >&6; }
2683 PKG_CONFIG=""
2684 fi
2685 fi
2686
2687
2688 # Make sure we can run config.sub.
2689 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
2690 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
2691
2692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2693 printf %s "checking build system type... " >&6; }
2694 if test ${ac_cv_build+y}
2695 then :
2696 printf %s "(cached) " >&6
2697 else $as_nop
2698 ac_build_alias=$build_alias
2699 test "x$ac_build_alias" = x &&
2700 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
2701 test "x$ac_build_alias" = x &&
2702 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2703 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
2704 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
2705
2706 fi
2707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2708 printf "%s\n" "$ac_cv_build" >&6; }
2709 case $ac_cv_build in
2710 *-*-*) ;;
2711 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2712 esac
2713 build=$ac_cv_build
2714 ac_save_IFS=$IFS; IFS='-'
2715 set x $ac_cv_build
2716 shift
2717 build_cpu=$1
2718 build_vendor=$2
2719 shift; shift
2720 # Remember, the first character of IFS is used to create $*,
2721 # except with old shells:
2722 build_os=$*
2723 IFS=$ac_save_IFS
2724 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2725
2726
2727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2728 printf %s "checking host system type... " >&6; }
2729 if test ${ac_cv_host+y}
2730 then :
2731 printf %s "(cached) " >&6
2732 else $as_nop
2733 if test "x$host_alias" = x; then
2734 ac_cv_host=$ac_cv_build
2735 else
2736 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
2737 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
2738 fi
2739
2740 fi
2741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2742 printf "%s\n" "$ac_cv_host" >&6; }
2743 case $ac_cv_host in
2744 *-*-*) ;;
2745 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2746 esac
2747 host=$ac_cv_host
2748 ac_save_IFS=$IFS; IFS='-'
2749 set x $ac_cv_host
2750 shift
2751 host_cpu=$1
2752 host_vendor=$2
2753 shift; shift
2754 # Remember, the first character of IFS is used to create $*,
2755 # except with old shells:
2756 host_os=$*
2757 IFS=$ac_save_IFS
2758 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2759
2760
2761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2762 printf %s "checking for a sed that does not truncate output... " >&6; }
2763 if test ${ac_cv_path_SED+y}
2764 then :
2765 printf %s "(cached) " >&6
2766 else $as_nop
2767 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2768 for ac_i in 1 2 3 4 5 6 7; do
2769 ac_script="$ac_script$as_nl$ac_script"
2770 done
2771 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
2772 { ac_script=; unset ac_script;}
2773 if test -z "$SED"; then
2774 ac_path_SED_found=false
2775 # Loop through the user's path and test for each of PROGNAME-LIST
2776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2777 for as_dir in $PATH
2778 do
2779 IFS=$as_save_IFS
2780 case $as_dir in #(((
2781 '') as_dir=./ ;;
2782 */) ;;
2783 *) as_dir=$as_dir/ ;;
2784 esac
2785 for ac_prog in sed gsed
2786 do
2787 for ac_exec_ext in '' $ac_executable_extensions; do
2788 ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
2789 as_fn_executable_p "$ac_path_SED" || continue
2790 # Check for GNU ac_path_SED and select it if it is found.
2791 # Check for GNU $ac_path_SED
2792 case `"$ac_path_SED" --version 2>&1` in
2793 *GNU*)
2794 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2795 *)
2796 ac_count=0
2797 printf %s 0123456789 >"conftest.in"
2798 while :
2799 do
2800 cat "conftest.in" "conftest.in" >"conftest.tmp"
2801 mv "conftest.tmp" "conftest.in"
2802 cp "conftest.in" "conftest.nl"
2803 printf "%s\n" '' >> "conftest.nl"
2804 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2805 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2806 as_fn_arith $ac_count + 1 && ac_count=$as_val
2807 if test $ac_count -gt ${ac_path_SED_max-0}; then
2808 # Best one so far, save it but keep looking for a better one
2809 ac_cv_path_SED="$ac_path_SED"
2810 ac_path_SED_max=$ac_count
2811 fi
2812 # 10*(2^10) chars as input seems more than enough
2813 test $ac_count -gt 10 && break
2814 done
2815 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2816 esac
2817
2818 $ac_path_SED_found && break 3
2819 done
2820 done
2821 done
2822 IFS=$as_save_IFS
2823 if test -z "$ac_cv_path_SED"; then
2824 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
2825 fi
2826 else
2827 ac_cv_path_SED=$SED
2828 fi
2829
2830 fi
2831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2832 printf "%s\n" "$ac_cv_path_SED" >&6; }
2833 SED="$ac_cv_path_SED"
2834 rm -f conftest.sed
2835
2836
2837
2838
2839
2840 cat >>confdefs.h <<_ACEOF
2841 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
2842 _ACEOF
2843
2844 PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
2845 if test "x$PVM" = "x"; then
2846 PVM="0"
2847 fi
2848
2849 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
2850
2851 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
2852 if test "x$PVP" = "x"; then
2853 PVP="0"
2854 fi
2855
2856 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
2857
2858
2859
2860 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
2861 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
2862 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
2863 touch \$(top_srcdir)/ChangeLog; \
2864 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
2865
2866
2867
2868
2869 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
2870 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
2871 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
2872 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
2873 touch \$(top_srcdir)/INSTALL; \
2874 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
2875
2876
2877
2878
2879
2880
2881 case $host_os in
2882 solaris*)
2883 # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
2884 # check for a man page file found in later versions that use
2885 # traditional section numbers instead
2886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
2887 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
2888 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
2889 then :
2890 printf %s "(cached) " >&6
2891 else $as_nop
2892 test "$cross_compiling" = yes &&
2893 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2894 if test -r "/usr/share/man/man7/attributes.7"; then
2895 ac_cv_file__usr_share_man_man7_attributes_7=yes
2896 else
2897 ac_cv_file__usr_share_man_man7_attributes_7=no
2898 fi
2899 fi
2900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
2901 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
2902 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
2903 then :
2904 SYSV_MAN_SECTIONS=false
2905 else $as_nop
2906 SYSV_MAN_SECTIONS=true
2907 fi
2908
2909 ;;
2910 *) SYSV_MAN_SECTIONS=false ;;
2911 esac
2912
2913 if test x$APP_MAN_SUFFIX = x ; then
2914 APP_MAN_SUFFIX=1
2915 fi
2916 if test x$APP_MAN_DIR = x ; then
2917 APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
2918 fi
2919
2920 if test x$LIB_MAN_SUFFIX = x ; then
2921 LIB_MAN_SUFFIX=3
2922 fi
2923 if test x$LIB_MAN_DIR = x ; then
2924 LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
2925 fi
2926
2927 if test x$FILE_MAN_SUFFIX = x ; then
2928 case $SYSV_MAN_SECTIONS in
2929 true) FILE_MAN_SUFFIX=4 ;;
2930 *) FILE_MAN_SUFFIX=5 ;;
2931 esac
2932 fi
2933 if test x$FILE_MAN_DIR = x ; then
2934 FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
2935 fi
2936
2937 if test x$MISC_MAN_SUFFIX = x ; then
2938 case $SYSV_MAN_SECTIONS in
2939 true) MISC_MAN_SUFFIX=5 ;;
2940 *) MISC_MAN_SUFFIX=7 ;;
2941 esac
2942 fi
2943 if test x$MISC_MAN_DIR = x ; then
2944 MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
2945 fi
2946
2947 if test x$DRIVER_MAN_SUFFIX = x ; then
2948 case $SYSV_MAN_SECTIONS in
2949 true) DRIVER_MAN_SUFFIX=7 ;;
2950 *) DRIVER_MAN_SUFFIX=4 ;;
2951 esac
2952 fi
2953 if test x$DRIVER_MAN_DIR = x ; then
2954 DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
2955 fi
2956
2957 if test x$ADMIN_MAN_SUFFIX = x ; then
2958 case $SYSV_MAN_SECTIONS in
2959 true) ADMIN_MAN_SUFFIX=1m ;;
2960 *) ADMIN_MAN_SUFFIX=8 ;;
2961 esac
2962 fi
2963 if test x$ADMIN_MAN_DIR = x ; then
2964 ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
2965 fi
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981 XORG_MAN_PAGE="X Version 11"
2982
2983 MAN_SUBSTS="\
2984 -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
2985 -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
2986 -e 's|__xservername__|Xorg|g' \
2987 -e 's|__xconfigfile__|xorg.conf|g' \
2988 -e 's|__projectroot__|\$(prefix)|g' \
2989 -e 's|__apploaddir__|\$(appdefaultdir)|g' \
2990 -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
2991 -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
2992 -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
2993 -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
2994 -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
2995 -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
2996
2997
2998
2999 # Check whether --enable-silent-rules was given.
3000 if test ${enable_silent_rules+y}
3001 then :
3002 enableval=$enable_silent_rules;
3003 fi
3004
3005 case $enable_silent_rules in # (((
3006 yes) AM_DEFAULT_VERBOSITY=0;;
3007 no) AM_DEFAULT_VERBOSITY=1;;
3008 *) AM_DEFAULT_VERBOSITY=0;;
3009 esac
3010 am_make=${MAKE-make}
3011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3012 printf %s "checking whether $am_make supports nested variables... " >&6; }
3013 if test ${am_cv_make_support_nested_variables+y}
3014 then :
3015 printf %s "(cached) " >&6
3016 else $as_nop
3017 if printf "%s\n" 'TRUE=$(BAR$(V))
3018 BAR0=false
3019 BAR1=true
3020 V=1
3021 am__doit:
3022 @$(TRUE)
3023 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3024 am_cv_make_support_nested_variables=yes
3025 else
3026 am_cv_make_support_nested_variables=no
3027 fi
3028 fi
3029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3030 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
3031 if test $am_cv_make_support_nested_variables = yes; then
3032 AM_V='$(V)'
3033 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3034 else
3035 AM_V=$AM_DEFAULT_VERBOSITY
3036 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3037 fi
3038 AM_BACKSLASH='\'
3039
3040
3041
3042 # Require X.Org's font util macros 1.2 or later
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for root directory for font files" >&5
3059 printf %s "checking for root directory for font files... " >&6; }
3060
3061 # Check whether --with-fontrootdir was given.
3062 if test ${with_fontrootdir+y}
3063 then :
3064 withval=$with_fontrootdir; FONTROOTDIR="$withval"
3065 fi
3066
3067 # if --with-fontrootdir not specified...
3068 if test "x${FONTROOTDIR}" = "x"; then
3069 FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil`
3070 fi
3071 # ...and if pkg-config didn't find fontdir in fontutil.pc...
3072 if test "x${FONTROOTDIR}" = "x"; then
3073 FONTROOTDIR="${datadir}/fonts/X11"
3074 fi
3075
3076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${FONTROOTDIR}" >&5
3077 printf "%s\n" "${FONTROOTDIR}" >&6; }
3078
3079
3080
3081
3082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for directory for TTF files" >&5
3083 printf %s "checking for directory for TTF files... " >&6; }
3084
3085 # Check whether --with-fontdir was given.
3086 if test ${with_fontdir+y}
3087 then :
3088 withval=$with_fontdir; FONTDIR="${withval}"
3089 else $as_nop
3090 FONTDIR='${FONTROOTDIR}/TTF'
3091 fi
3092
3093
3094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${FONTDIR}" >&5
3095 printf "%s\n" "${FONTDIR}" >&6; }
3096
3097
3098
3099
3100 # Extract the first word of "fc-cache", so it can be a program name with args.
3101 set dummy fc-cache; ac_word=$2
3102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3103 printf %s "checking for $ac_word... " >&6; }
3104 if test ${ac_cv_path_FCCACHE+y}
3105 then :
3106 printf %s "(cached) " >&6
3107 else $as_nop
3108 case $FCCACHE in
3109 [\\/]* | ?:[\\/]*)
3110 ac_cv_path_FCCACHE="$FCCACHE" # Let the user override the test with a path.
3111 ;;
3112 *)
3113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3114 for as_dir in $PATH
3115 do
3116 IFS=$as_save_IFS
3117 case $as_dir in #(((
3118 '') as_dir=./ ;;
3119 */) ;;
3120 *) as_dir=$as_dir/ ;;
3121 esac
3122 for ac_exec_ext in '' $ac_executable_extensions; do
3123 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3124 ac_cv_path_FCCACHE="$as_dir$ac_word$ac_exec_ext"
3125 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3126 break 2
3127 fi
3128 done
3129 done
3130 IFS=$as_save_IFS
3131
3132 ;;
3133 esac
3134 fi
3135 FCCACHE=$ac_cv_path_FCCACHE
3136 if test -n "$FCCACHE"; then
3137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FCCACHE" >&5
3138 printf "%s\n" "$FCCACHE" >&6; }
3139 else
3140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3141 printf "%s\n" "no" >&6; }
3142 fi
3143
3144
3145 FCCACHE_WARN='echo "** Warning: fonts.cache not built" ; echo "** Generate this file manually on host system using fc-cache"'
3146 if test x"$FCCACHE" = x || test x"$cross_compiling" != x"no" ; then
3147 RUN_FCCACHE="${FCCACHE_WARN}"
3148 else
3149 RUN_FCCACHE='@(if test -z "$(DESTDIR)"; then echo $(FCCACHE) $(fontdir); $(FCCACHE) $(fontdir); else'
3150 RUN_FCCACHE="${RUN_FCCACHE} ${FCCACHE_WARN} ; fi)"
3151 fi
3152
3153
3154
3155 if test x"$cross_compiling" != x"no" ; then
3156 # Extract the first word of "mkfontdir", so it can be a program name with args.
3157 set dummy mkfontdir; ac_word=$2
3158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3159 printf %s "checking for $ac_word... " >&6; }
3160 if test ${ac_cv_path_MKFONTDIR+y}
3161 then :
3162 printf %s "(cached) " >&6
3163 else $as_nop
3164 case $MKFONTDIR in
3165 [\\/]* | ?:[\\/]*)
3166 ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path.
3167 ;;
3168 *)
3169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3170 for as_dir in $PATH
3171 do
3172 IFS=$as_save_IFS
3173 case $as_dir in #(((
3174 '') as_dir=./ ;;
3175 */) ;;
3176 *) as_dir=$as_dir/ ;;
3177 esac
3178 for ac_exec_ext in '' $ac_executable_extensions; do
3179 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3180 ac_cv_path_MKFONTDIR="$as_dir$ac_word$ac_exec_ext"
3181 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3182 break 2
3183 fi
3184 done
3185 done
3186 IFS=$as_save_IFS
3187
3188 test -z "$ac_cv_path_MKFONTDIR" && ac_cv_path_MKFONTDIR=""""
3189 ;;
3190 esac
3191 fi
3192 MKFONTDIR=$ac_cv_path_MKFONTDIR
3193 if test -n "$MKFONTDIR"; then
3194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKFONTDIR" >&5
3195 printf "%s\n" "$MKFONTDIR" >&6; }
3196 else
3197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3198 printf "%s\n" "no" >&6; }
3199 fi
3200
3201
3202 MKFONTDIR_WARN='echo "** Warning: mkfontdir not run" ; echo "** Run mkfontdir manually on host system"'
3203
3204 if test x"$MKFONTDIR" = x; then
3205 MKFONTDIR="${MKFONTDIR_WARN} ; echo '** mkfontdir'"
3206 fi
3207 else
3208
3209 # Extract the first word of "mkfontdir", so it can be a program name with args.
3210 set dummy mkfontdir; ac_word=$2
3211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3212 printf %s "checking for $ac_word... " >&6; }
3213 if test ${ac_cv_path_MKFONTDIR+y}
3214 then :
3215 printf %s "(cached) " >&6
3216 else $as_nop
3217 case $MKFONTDIR in
3218 [\\/]* | ?:[\\/]*)
3219 ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path.
3220 ;;
3221 *)
3222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3223 for as_dir in $PATH
3224 do
3225 IFS=$as_save_IFS
3226 case $as_dir in #(((
3227 '') as_dir=./ ;;
3228 */) ;;
3229 *) as_dir=$as_dir/ ;;
3230 esac
3231 for ac_exec_ext in '' $ac_executable_extensions; do
3232 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3233 ac_cv_path_MKFONTDIR="$as_dir$ac_word$ac_exec_ext"
3234 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3235 break 2
3236 fi
3237 done
3238 done
3239 IFS=$as_save_IFS
3240
3241 ;;
3242 esac
3243 fi
3244 MKFONTDIR=$ac_cv_path_MKFONTDIR
3245 if test -n "$MKFONTDIR"; then
3246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKFONTDIR" >&5
3247 printf "%s\n" "$MKFONTDIR" >&6; }
3248 else
3249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3250 printf "%s\n" "no" >&6; }
3251 fi
3252
3253
3254 if test x"$MKFONTDIR" = x; then
3255 as_fn_error $? "mkfontdir is required to build $PACKAGE_NAME." "$LINENO" 5
3256 fi
3257
3258 fi
3259
3260
3261
3262
3263
3264 # Extract the first word of "mkfontscale", so it can be a program name with args.
3265 set dummy mkfontscale; ac_word=$2
3266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3267 printf %s "checking for $ac_word... " >&6; }
3268 if test ${ac_cv_path_MKFONTSCALE+y}
3269 then :
3270 printf %s "(cached) " >&6
3271 else $as_nop
3272 case $MKFONTSCALE in
3273 [\\/]* | ?:[\\/]*)
3274 ac_cv_path_MKFONTSCALE="$MKFONTSCALE" # Let the user override the test with a path.
3275 ;;
3276 *)
3277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3278 for as_dir in $PATH
3279 do
3280 IFS=$as_save_IFS
3281 case $as_dir in #(((
3282 '') as_dir=./ ;;
3283 */) ;;
3284 *) as_dir=$as_dir/ ;;
3285 esac
3286 for ac_exec_ext in '' $ac_executable_extensions; do
3287 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3288 ac_cv_path_MKFONTSCALE="$as_dir$ac_word$ac_exec_ext"
3289 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3290 break 2
3291 fi
3292 done
3293 done
3294 IFS=$as_save_IFS
3295
3296 ;;
3297 esac
3298 fi
3299 MKFONTSCALE=$ac_cv_path_MKFONTSCALE
3300 if test -n "$MKFONTSCALE"; then
3301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKFONTSCALE" >&5
3302 printf "%s\n" "$MKFONTSCALE" >&6; }
3303 else
3304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3305 printf "%s\n" "no" >&6; }
3306 fi
3307
3308
3309 if test x"$MKFONTSCALE" = x; then
3310 as_fn_error $? "mkfontscale is required to build $PACKAGE_NAME." "$LINENO" 5
3311 fi
3312
3313
3314
3315
3316
3317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fontconfig's configuration directory" >&5
3318 printf %s "checking for fontconfig's configuration directory... " >&6; }
3319
3320 # Check whether --with-fc-confdir was given.
3321 if test ${with_fc_confdir+y}
3322 then :
3323 withval=$with_fc_confdir; FC_CONFDIR="$withval"
3324 fi
3325
3326 # if --with-fc-confdir was not specified
3327 if test "x${FC_CONFDIR}" = "x"; then
3328 FC_CONFDIR=`$PKG_CONFIG --variable=confdir fontconfig`
3329 fi
3330 # ...and if pkg-config didn't find confdir in fontconfig.pc...
3331 if test "x${FC_CONFDIR}" = "x"; then
3332 FC_CONFDIR="${sysconfdir}/fonts"
3333 fi
3334
3335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${FC_CONFDIR}" >&5
3336 printf "%s\n" "${FC_CONFDIR}" >&6; }
3337
3338
3339 ac_config_files="$ac_config_files Makefile"
3340
3341 cat >confcache <<\_ACEOF
3342 # This file is a shell script that caches the results of configure
3343 # tests run on this system so they can be shared between configure
3344 # scripts and configure runs, see configure's option --config-cache.
3345 # It is not useful on other systems. If it contains results you don't
3346 # want to keep, you may remove or edit it.
3347 #
3348 # config.status only pays attention to the cache file if you give it
3349 # the --recheck option to rerun configure.
3350 #
3351 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3352 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3353 # following values.
3354
3355 _ACEOF
3356
3357 # The following way of writing the cache mishandles newlines in values,
3358 # but we know of no workaround that is simple, portable, and efficient.
3359 # So, we kill variables containing newlines.
3360 # Ultrix sh set writes to stderr and can't be redirected directly,
3361 # and sets the high bit in the cache file unless we assign to the vars.
3362 (
3363 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3364 eval ac_val=\$$ac_var
3365 case $ac_val in #(
3366 *${as_nl}*)
3367 case $ac_var in #(
3368 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3369 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3370 esac
3371 case $ac_var in #(
3372 _ | IFS | as_nl) ;; #(
3373 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3374 *) { eval $ac_var=; unset $ac_var;} ;;
3375 esac ;;
3376 esac
3377 done
3378
3379 (set) 2>&1 |
3380 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3381 *${as_nl}ac_space=\ *)
3382 # `set' does not quote correctly, so add quotes: double-quote
3383 # substitution turns \\\\ into \\, and sed turns \\ into \.
3384 sed -n \
3385 "s/'/'\\\\''/g;
3386 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3387 ;; #(
3388 *)
3389 # `set' quotes correctly as required by POSIX, so do not add quotes.
3390 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3391 ;;
3392 esac |
3393 sort
3394 ) |
3395 sed '
3396 /^ac_cv_env_/b end
3397 t clear
3398 :clear
3399 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
3400 t end
3401 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3402 :end' >>confcache
3403 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3404 if test -w "$cache_file"; then
3405 if test "x$cache_file" != "x/dev/null"; then
3406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3407 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
3408 if test ! -f "$cache_file" || test -h "$cache_file"; then
3409 cat confcache >"$cache_file"
3410 else
3411 case $cache_file in #(
3412 */* | ?:*)
3413 mv -f confcache "$cache_file"$$ &&
3414 mv -f "$cache_file"$$ "$cache_file" ;; #(
3415 *)
3416 mv -f confcache "$cache_file" ;;
3417 esac
3418 fi
3419 fi
3420 else
3421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3422 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
3423 fi
3424 fi
3425 rm -f confcache
3426
3427 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3428 # Let make expand exec_prefix.
3429 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3430
3431 # Transform confdefs.h into DEFS.
3432 # Protect against shell expansion while executing Makefile rules.
3433 # Protect against Makefile macro expansion.
3434 #
3435 # If the first sed substitution is executed (which looks for macros that
3436 # take arguments), then branch to the quote section. Otherwise,
3437 # look for a macro that doesn't take arguments.
3438 ac_script='
3439 :mline
3440 /\\$/{
3441 N
3442 s,\\\n,,
3443 b mline
3444 }
3445 t clear
3446 :clear
3447 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3448 t quote
3449 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3450 t quote
3451 b any
3452 :quote
3453 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3454 s/\[/\\&/g
3455 s/\]/\\&/g
3456 s/\$/$$/g
3457 H
3458 :any
3459 ${
3460 g
3461 s/^\n//
3462 s/\n/ /g
3463 p
3464 }
3465 '
3466 DEFS=`sed -n "$ac_script" confdefs.h`
3467
3468
3469 ac_libobjs=
3470 ac_ltlibobjs=
3471 U=
3472 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3473 # 1. Remove the extension, and $U if already installed.
3474 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3475 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
3476 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3477 # will be set to the directory where LIBOBJS objects are built.
3478 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3479 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3480 done
3481 LIBOBJS=$ac_libobjs
3482
3483 LTLIBOBJS=$ac_ltlibobjs
3484
3485
3486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
3487 printf %s "checking that generated files are newer than configure... " >&6; }
3488 if test -n "$am_sleep_pid"; then
3489 # Hide warnings about reused PIDs.
3490 wait $am_sleep_pid 2>/dev/null
3491 fi
3492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
3493 printf "%s\n" "done" >&6; }
3494
3495
3496 : "${CONFIG_STATUS=./config.status}"
3497 ac_write_fail=0
3498 ac_clean_files_save=$ac_clean_files
3499 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3501 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
3502 as_write_fail=0
3503 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3504 #! $SHELL
3505 # Generated by $as_me.
3506 # Run this file to recreate the current configuration.
3507 # Compiler output produced by configure, useful for debugging
3508 # configure, is in config.log if it exists.
3509
3510 debug=false
3511 ac_cs_recheck=false
3512 ac_cs_silent=false
3513
3514 SHELL=\${CONFIG_SHELL-$SHELL}
3515 export SHELL
3516 _ASEOF
3517 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3518 ## -------------------- ##
3519 ## M4sh Initialization. ##
3520 ## -------------------- ##
3521
3522 # Be more Bourne compatible
3523 DUALCASE=1; export DUALCASE # for MKS sh
3524 as_nop=:
3525 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
3526 then :
3527 emulate sh
3528 NULLCMD=:
3529 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3530 # is contrary to our usage. Disable this feature.
3531 alias -g '${1+"$@"}'='"$@"'
3532 setopt NO_GLOB_SUBST
3533 else $as_nop
3534 case `(set -o) 2>/dev/null` in #(
3535 *posix*) :
3536 set -o posix ;; #(
3537 *) :
3538 ;;
3539 esac
3540 fi
3541
3542
3543
3544 # Reset variables that may have inherited troublesome values from
3545 # the environment.
3546
3547 # IFS needs to be set, to space, tab, and newline, in precisely that order.
3548 # (If _AS_PATH_WALK were called with IFS unset, it would have the
3549 # side effect of setting IFS to empty, thus disabling word splitting.)
3550 # Quoting is to prevent editors from complaining about space-tab.
3551 as_nl='
3552 '
3553 export as_nl
3554 IFS=" "" $as_nl"
3555
3556 PS1='$ '
3557 PS2='> '
3558 PS4='+ '
3559
3560 # Ensure predictable behavior from utilities with locale-dependent output.
3561 LC_ALL=C
3562 export LC_ALL
3563 LANGUAGE=C
3564 export LANGUAGE
3565
3566 # We cannot yet rely on "unset" to work, but we need these variables
3567 # to be unset--not just set to an empty or harmless value--now, to
3568 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
3569 # also avoids known problems related to "unset" and subshell syntax
3570 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
3571 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
3572 do eval test \${$as_var+y} \
3573 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3574 done
3575
3576 # Ensure that fds 0, 1, and 2 are open.
3577 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
3578 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
3579 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
3580
3581 # The user is always right.
3582 if ${PATH_SEPARATOR+false} :; then
3583 PATH_SEPARATOR=:
3584 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3585 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3586 PATH_SEPARATOR=';'
3587 }
3588 fi
3589
3590
3591 # Find who we are. Look in the path if we contain no directory separator.
3592 as_myself=
3593 case $0 in #((
3594 *[\\/]* ) as_myself=$0 ;;
3595 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3596 for as_dir in $PATH
3597 do
3598 IFS=$as_save_IFS
3599 case $as_dir in #(((
3600 '') as_dir=./ ;;
3601 */) ;;
3602 *) as_dir=$as_dir/ ;;
3603 esac
3604 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
3605 done
3606 IFS=$as_save_IFS
3607
3608 ;;
3609 esac
3610 # We did not find ourselves, most probably we were run as `sh COMMAND'
3611 # in which case we are not to be found in the path.
3612 if test "x$as_myself" = x; then
3613 as_myself=$0
3614 fi
3615 if test ! -f "$as_myself"; then
3616 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3617 exit 1
3618 fi
3619
3620
3621
3622 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3623 # ----------------------------------------
3624 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3625 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3626 # script with STATUS, using 1 if that was 0.
3627 as_fn_error ()
3628 {
3629 as_status=$1; test $as_status -eq 0 && as_status=1
3630 if test "$4"; then
3631 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3632 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3633 fi
3634 printf "%s\n" "$as_me: error: $2" >&2
3635 as_fn_exit $as_status
3636 } # as_fn_error
3637
3638
3639
3640 # as_fn_set_status STATUS
3641 # -----------------------
3642 # Set $? to STATUS, without forking.
3643 as_fn_set_status ()
3644 {
3645 return $1
3646 } # as_fn_set_status
3647
3648 # as_fn_exit STATUS
3649 # -----------------
3650 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3651 as_fn_exit ()
3652 {
3653 set +e
3654 as_fn_set_status $1
3655 exit $1
3656 } # as_fn_exit
3657
3658 # as_fn_unset VAR
3659 # ---------------
3660 # Portably unset VAR.
3661 as_fn_unset ()
3662 {
3663 { eval $1=; unset $1;}
3664 }
3665 as_unset=as_fn_unset
3666
3667 # as_fn_append VAR VALUE
3668 # ----------------------
3669 # Append the text in VALUE to the end of the definition contained in VAR. Take
3670 # advantage of any shell optimizations that allow amortized linear growth over
3671 # repeated appends, instead of the typical quadratic growth present in naive
3672 # implementations.
3673 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
3674 then :
3675 eval 'as_fn_append ()
3676 {
3677 eval $1+=\$2
3678 }'
3679 else $as_nop
3680 as_fn_append ()
3681 {
3682 eval $1=\$$1\$2
3683 }
3684 fi # as_fn_append
3685
3686 # as_fn_arith ARG...
3687 # ------------------
3688 # Perform arithmetic evaluation on the ARGs, and store the result in the
3689 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3690 # must be portable across $(()) and expr.
3691 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
3692 then :
3693 eval 'as_fn_arith ()
3694 {
3695 as_val=$(( $* ))
3696 }'
3697 else $as_nop
3698 as_fn_arith ()
3699 {
3700 as_val=`expr "$@" || test $? -eq 1`
3701 }
3702 fi # as_fn_arith
3703
3704
3705 if expr a : '\(a\)' >/dev/null 2>&1 &&
3706 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3707 as_expr=expr
3708 else
3709 as_expr=false
3710 fi
3711
3712 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3713 as_basename=basename
3714 else
3715 as_basename=false
3716 fi
3717
3718 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3719 as_dirname=dirname
3720 else
3721 as_dirname=false
3722 fi
3723
3724 as_me=`$as_basename -- "$0" ||
3725 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3726 X"$0" : 'X\(//\)$' \| \
3727 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3728 printf "%s\n" X/"$0" |
3729 sed '/^.*\/\([^/][^/]*\)\/*$/{
3730 s//\1/
3731 q
3732 }
3733 /^X\/\(\/\/\)$/{
3734 s//\1/
3735 q
3736 }
3737 /^X\/\(\/\).*/{
3738 s//\1/
3739 q
3740 }
3741 s/.*/./; q'`
3742
3743 # Avoid depending upon Character Ranges.
3744 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3745 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3746 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3747 as_cr_digits='0123456789'
3748 as_cr_alnum=$as_cr_Letters$as_cr_digits
3749
3750
3751 # Determine whether it's possible to make 'echo' print without a newline.
3752 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
3753 # for compatibility with existing Makefiles.
3754 ECHO_C= ECHO_N= ECHO_T=
3755 case `echo -n x` in #(((((
3756 -n*)
3757 case `echo 'xy\c'` in
3758 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3759 xy) ECHO_C='\c';;
3760 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3761 ECHO_T=' ';;
3762 esac;;
3763 *)
3764 ECHO_N='-n';;
3765 esac
3766
3767 # For backward compatibility with old third-party macros, we provide
3768 # the shell variables $as_echo and $as_echo_n. New code should use
3769 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
3770 as_echo='printf %s\n'
3771 as_echo_n='printf %s'
3772
3773 rm -f conf$$ conf$$.exe conf$$.file
3774 if test -d conf$$.dir; then
3775 rm -f conf$$.dir/conf$$.file
3776 else
3777 rm -f conf$$.dir
3778 mkdir conf$$.dir 2>/dev/null
3779 fi
3780 if (echo >conf$$.file) 2>/dev/null; then
3781 if ln -s conf$$.file conf$$ 2>/dev/null; then
3782 as_ln_s='ln -s'
3783 # ... but there are two gotchas:
3784 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3785 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3786 # In both cases, we have to default to `cp -pR'.
3787 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3788 as_ln_s='cp -pR'
3789 elif ln conf$$.file conf$$ 2>/dev/null; then
3790 as_ln_s=ln
3791 else
3792 as_ln_s='cp -pR'
3793 fi
3794 else
3795 as_ln_s='cp -pR'
3796 fi
3797 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3798 rmdir conf$$.dir 2>/dev/null
3799
3800
3801 # as_fn_mkdir_p
3802 # -------------
3803 # Create "$as_dir" as a directory, including parents if necessary.
3804 as_fn_mkdir_p ()
3805 {
3806
3807 case $as_dir in #(
3808 -*) as_dir=./$as_dir;;
3809 esac
3810 test -d "$as_dir" || eval $as_mkdir_p || {
3811 as_dirs=
3812 while :; do
3813 case $as_dir in #(
3814 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3815 *) as_qdir=$as_dir;;
3816 esac
3817 as_dirs="'$as_qdir' $as_dirs"
3818 as_dir=`$as_dirname -- "$as_dir" ||
3819 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3820 X"$as_dir" : 'X\(//\)[^/]' \| \
3821 X"$as_dir" : 'X\(//\)$' \| \
3822 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3823 printf "%s\n" X"$as_dir" |
3824 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3825 s//\1/
3826 q
3827 }
3828 /^X\(\/\/\)[^/].*/{
3829 s//\1/
3830 q
3831 }
3832 /^X\(\/\/\)$/{
3833 s//\1/
3834 q
3835 }
3836 /^X\(\/\).*/{
3837 s//\1/
3838 q
3839 }
3840 s/.*/./; q'`
3841 test -d "$as_dir" && break
3842 done
3843 test -z "$as_dirs" || eval "mkdir $as_dirs"
3844 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3845
3846
3847 } # as_fn_mkdir_p
3848 if mkdir -p . 2>/dev/null; then
3849 as_mkdir_p='mkdir -p "$as_dir"'
3850 else
3851 test -d ./-p && rmdir ./-p
3852 as_mkdir_p=false
3853 fi
3854
3855
3856 # as_fn_executable_p FILE
3857 # -----------------------
3858 # Test if FILE is an executable regular file.
3859 as_fn_executable_p ()
3860 {
3861 test -f "$1" && test -x "$1"
3862 } # as_fn_executable_p
3863 as_test_x='test -x'
3864 as_executable_p=as_fn_executable_p
3865
3866 # Sed expression to map a string onto a valid CPP name.
3867 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3868
3869 # Sed expression to map a string onto a valid variable name.
3870 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3871
3872
3873 exec 6>&1
3874 ## ----------------------------------- ##
3875 ## Main body of $CONFIG_STATUS script. ##
3876 ## ----------------------------------- ##
3877 _ASEOF
3878 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3879
3880 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3881 # Save the log message, to keep $0 and so on meaningful, and to
3882 # report actual input values of CONFIG_FILES etc. instead of their
3883 # values after options handling.
3884 ac_log="
3885 This file was extended by font-bh-ttf $as_me 1.0.4, which was
3886 generated by GNU Autoconf 2.71. Invocation command line was
3887
3888 CONFIG_FILES = $CONFIG_FILES
3889 CONFIG_HEADERS = $CONFIG_HEADERS
3890 CONFIG_LINKS = $CONFIG_LINKS
3891 CONFIG_COMMANDS = $CONFIG_COMMANDS
3892 $ $0 $@
3893
3894 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3895 "
3896
3897 _ACEOF
3898
3899 case $ac_config_files in *"
3900 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3901 esac
3902
3903
3904
3905 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3906 # Files that config.status was made for.
3907 config_files="$ac_config_files"
3908
3909 _ACEOF
3910
3911 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3912 ac_cs_usage="\
3913 \`$as_me' instantiates files and other configuration actions
3914 from templates according to the current configuration. Unless the files
3915 and actions are specified as TAGs, all are instantiated by default.
3916
3917 Usage: $0 [OPTION]... [TAG]...
3918
3919 -h, --help print this help, then exit
3920 -V, --version print version number and configuration settings, then exit
3921 --config print configuration, then exit
3922 -q, --quiet, --silent
3923 do not print progress messages
3924 -d, --debug don't remove temporary files
3925 --recheck update $as_me by reconfiguring in the same conditions
3926 --file=FILE[:TEMPLATE]
3927 instantiate the configuration file FILE
3928
3929 Configuration files:
3930 $config_files
3931
3932 Report bugs to <https://gitlab.freedesktop.org/xorg/font/bh-ttf/-/issues>."
3933
3934 _ACEOF
3935 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
3936 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
3937 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3938 ac_cs_config='$ac_cs_config_escaped'
3939 ac_cs_version="\\
3940 font-bh-ttf config.status 1.0.4
3941 configured by $0, generated by GNU Autoconf 2.71,
3942 with options \\"\$ac_cs_config\\"
3943
3944 Copyright (C) 2021 Free Software Foundation, Inc.
3945 This config.status script is free software; the Free Software Foundation
3946 gives unlimited permission to copy, distribute and modify it."
3947
3948 ac_pwd='$ac_pwd'
3949 srcdir='$srcdir'
3950 INSTALL='$INSTALL'
3951 MKDIR_P='$MKDIR_P'
3952 AWK='$AWK'
3953 test -n "\$AWK" || AWK=awk
3954 _ACEOF
3955
3956 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3957 # The default lists apply if the user does not specify any file.
3958 ac_need_defaults=:
3959 while test $# != 0
3960 do
3961 case $1 in
3962 --*=?*)
3963 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3964 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3965 ac_shift=:
3966 ;;
3967 --*=)
3968 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3969 ac_optarg=
3970 ac_shift=:
3971 ;;
3972 *)
3973 ac_option=$1
3974 ac_optarg=$2
3975 ac_shift=shift
3976 ;;
3977 esac
3978
3979 case $ac_option in
3980 # Handling of the options.
3981 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3982 ac_cs_recheck=: ;;
3983 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3984 printf "%s\n" "$ac_cs_version"; exit ;;
3985 --config | --confi | --conf | --con | --co | --c )
3986 printf "%s\n" "$ac_cs_config"; exit ;;
3987 --debug | --debu | --deb | --de | --d | -d )
3988 debug=: ;;
3989 --file | --fil | --fi | --f )
3990 $ac_shift
3991 case $ac_optarg in
3992 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3993 '') as_fn_error $? "missing file argument" ;;
3994 esac
3995 as_fn_append CONFIG_FILES " '$ac_optarg'"
3996 ac_need_defaults=false;;
3997 --he | --h | --help | --hel | -h )
3998 printf "%s\n" "$ac_cs_usage"; exit ;;
3999 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4000 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4001 ac_cs_silent=: ;;
4002
4003 # This is an error.
4004 -*) as_fn_error $? "unrecognized option: \`$1'
4005 Try \`$0 --help' for more information." ;;
4006
4007 *) as_fn_append ac_config_targets " $1"
4008 ac_need_defaults=false ;;
4009
4010 esac
4011 shift
4012 done
4013
4014 ac_configure_extra_args=
4015
4016 if $ac_cs_silent; then
4017 exec 6>/dev/null
4018 ac_configure_extra_args="$ac_configure_extra_args --silent"
4019 fi
4020
4021 _ACEOF
4022 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4023 if \$ac_cs_recheck; then
4024 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4025 shift
4026 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
4027 CONFIG_SHELL='$SHELL'
4028 export CONFIG_SHELL
4029 exec "\$@"
4030 fi
4031
4032 _ACEOF
4033 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4034 exec 5>>config.log
4035 {
4036 echo
4037 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4038 ## Running $as_me. ##
4039 _ASBOX
4040 printf "%s\n" "$ac_log"
4041 } >&5
4042
4043 _ACEOF
4044 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4045 _ACEOF
4046
4047 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4048
4049 # Handling of arguments.
4050 for ac_config_target in $ac_config_targets
4051 do
4052 case $ac_config_target in
4053 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4054
4055 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4056 esac
4057 done
4058
4059
4060 # If the user did not use the arguments to specify the items to instantiate,
4061 # then the envvar interface is used. Set only those that are not.
4062 # We use the long form for the default assignment because of an extremely
4063 # bizarre bug on SunOS 4.1.3.
4064 if $ac_need_defaults; then
4065 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
4066 fi
4067
4068 # Have a temporary directory for convenience. Make it in the build tree
4069 # simply because there is no reason against having it here, and in addition,
4070 # creating and moving files from /tmp can sometimes cause problems.
4071 # Hook for its removal unless debugging.
4072 # Note that there is a small window in which the directory will not be cleaned:
4073 # after its creation but before its name has been assigned to `$tmp'.
4074 $debug ||
4075 {
4076 tmp= ac_tmp=
4077 trap 'exit_status=$?
4078 : "${ac_tmp:=$tmp}"
4079 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4080 ' 0
4081 trap 'as_fn_exit 1' 1 2 13 15
4082 }
4083 # Create a (secure) tmp directory for tmp files.
4084
4085 {
4086 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4087 test -d "$tmp"
4088 } ||
4089 {
4090 tmp=./conf$$-$RANDOM
4091 (umask 077 && mkdir "$tmp")
4092 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4093 ac_tmp=$tmp
4094
4095 # Set up the scripts for CONFIG_FILES section.
4096 # No need to generate them if there are no CONFIG_FILES.
4097 # This happens for instance with `./config.status config.h'.
4098 if test -n "$CONFIG_FILES"; then
4099
4100
4101 ac_cr=`echo X | tr X '\015'`
4102 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4103 # But we know of no other shell where ac_cr would be empty at this
4104 # point, so we can use a bashism as a fallback.
4105 if test "x$ac_cr" = x; then
4106 eval ac_cr=\$\'\\r\'
4107 fi
4108 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4109 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4110 ac_cs_awk_cr='\\r'
4111 else
4112 ac_cs_awk_cr=$ac_cr
4113 fi
4114
4115 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4116 _ACEOF
4117
4118
4119 {
4120 echo "cat >conf$$subs.awk <<_ACEOF" &&
4121 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4122 echo "_ACEOF"
4123 } >conf$$subs.sh ||
4124 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4125 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4126 ac_delim='%!_!# '
4127 for ac_last_try in false false false false false :; do
4128 . ./conf$$subs.sh ||
4129 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4130
4131 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4132 if test $ac_delim_n = $ac_delim_num; then
4133 break
4134 elif $ac_last_try; then
4135 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4136 else
4137 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4138 fi
4139 done
4140 rm -f conf$$subs.sh
4141
4142 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4143 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4144 _ACEOF
4145 sed -n '
4146 h
4147 s/^/S["/; s/!.*/"]=/
4148 p
4149 g
4150 s/^[^!]*!//
4151 :repl
4152 t repl
4153 s/'"$ac_delim"'$//
4154 t delim
4155 :nl
4156 h
4157 s/\(.\{148\}\)..*/\1/
4158 t more1
4159 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4160 p
4161 n
4162 b repl
4163 :more1
4164 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4165 p
4166 g
4167 s/.\{148\}//
4168 t nl
4169 :delim
4170 h
4171 s/\(.\{148\}\)..*/\1/
4172 t more2
4173 s/["\\]/\\&/g; s/^/"/; s/$/"/
4174 p
4175 b
4176 :more2
4177 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4178 p
4179 g
4180 s/.\{148\}//
4181 t delim
4182 ' <conf$$subs.awk | sed '
4183 /^[^""]/{
4184 N
4185 s/\n//
4186 }
4187 ' >>$CONFIG_STATUS || ac_write_fail=1
4188 rm -f conf$$subs.awk
4189 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4190 _ACAWK
4191 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4192 for (key in S) S_is_set[key] = 1
4193 FS = ""
4194
4195 }
4196 {
4197 line = $ 0
4198 nfields = split(line, field, "@")
4199 substed = 0
4200 len = length(field[1])
4201 for (i = 2; i < nfields; i++) {
4202 key = field[i]
4203 keylen = length(key)
4204 if (S_is_set[key]) {
4205 value = S[key]
4206 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4207 len += length(value) + length(field[++i])
4208 substed = 1
4209 } else
4210 len += 1 + keylen
4211 }
4212
4213 print line
4214 }
4215
4216 _ACAWK
4217 _ACEOF
4218 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4219 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4220 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4221 else
4222 cat
4223 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4224 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4225 _ACEOF
4226
4227 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4228 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4229 # trailing colons and then remove the whole line if VPATH becomes empty
4230 # (actually we leave an empty line to preserve line numbers).
4231 if test "x$srcdir" = x.; then
4232 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4233 h
4234 s///
4235 s/^/:/
4236 s/[ ]*$/:/
4237 s/:\$(srcdir):/:/g
4238 s/:\${srcdir}:/:/g
4239 s/:@srcdir@:/:/g
4240 s/^:*//
4241 s/:*$//
4242 x
4243 s/\(=[ ]*\).*/\1/
4244 G
4245 s/\n//
4246 s/^[^=]*=[ ]*$//
4247 }'
4248 fi
4249
4250 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4251 fi # test -n "$CONFIG_FILES"
4252
4253
4254 eval set X " :F $CONFIG_FILES "
4255 shift
4256 for ac_tag
4257 do
4258 case $ac_tag in
4259 :[FHLC]) ac_mode=$ac_tag; continue;;
4260 esac
4261 case $ac_mode$ac_tag in
4262 :[FHL]*:*);;
4263 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4264 :[FH]-) ac_tag=-:-;;
4265 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4266 esac
4267 ac_save_IFS=$IFS
4268 IFS=:
4269 set x $ac_tag
4270 IFS=$ac_save_IFS
4271 shift
4272 ac_file=$1
4273 shift
4274
4275 case $ac_mode in
4276 :L) ac_source=$1;;
4277 :[FH])
4278 ac_file_inputs=
4279 for ac_f
4280 do
4281 case $ac_f in
4282 -) ac_f="$ac_tmp/stdin";;
4283 *) # Look for the file first in the build tree, then in the source tree
4284 # (if the path is not absolute). The absolute path cannot be DOS-style,
4285 # because $ac_f cannot contain `:'.
4286 test -f "$ac_f" ||
4287 case $ac_f in
4288 [\\/$]*) false;;
4289 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4290 esac ||
4291 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4292 esac
4293 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4294 as_fn_append ac_file_inputs " '$ac_f'"
4295 done
4296
4297 # Let's still pretend it is `configure' which instantiates (i.e., don't
4298 # use $as_me), people would be surprised to read:
4299 # /* config.h. Generated by config.status. */
4300 configure_input='Generated from '`
4301 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4302 `' by configure.'
4303 if test x"$ac_file" != x-; then
4304 configure_input="$ac_file. $configure_input"
4305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4306 printf "%s\n" "$as_me: creating $ac_file" >&6;}
4307 fi
4308 # Neutralize special characters interpreted by sed in replacement strings.
4309 case $configure_input in #(
4310 *\&* | *\|* | *\\* )
4311 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
4312 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4313 *) ac_sed_conf_input=$configure_input;;
4314 esac
4315
4316 case $ac_tag in
4317 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4318 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4319 esac
4320 ;;
4321 esac
4322
4323 ac_dir=`$as_dirname -- "$ac_file" ||
4324 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4325 X"$ac_file" : 'X\(//\)[^/]' \| \
4326 X"$ac_file" : 'X\(//\)$' \| \
4327 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4328 printf "%s\n" X"$ac_file" |
4329 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4330 s//\1/
4331 q
4332 }
4333 /^X\(\/\/\)[^/].*/{
4334 s//\1/
4335 q
4336 }
4337 /^X\(\/\/\)$/{
4338 s//\1/
4339 q
4340 }
4341 /^X\(\/\).*/{
4342 s//\1/
4343 q
4344 }
4345 s/.*/./; q'`
4346 as_dir="$ac_dir"; as_fn_mkdir_p
4347 ac_builddir=.
4348
4349 case "$ac_dir" in
4350 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4351 *)
4352 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
4353 # A ".." for each directory in $ac_dir_suffix.
4354 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4355 case $ac_top_builddir_sub in
4356 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4357 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4358 esac ;;
4359 esac
4360 ac_abs_top_builddir=$ac_pwd
4361 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4362 # for backward compatibility:
4363 ac_top_builddir=$ac_top_build_prefix
4364
4365 case $srcdir in
4366 .) # We are building in place.
4367 ac_srcdir=.
4368 ac_top_srcdir=$ac_top_builddir_sub
4369 ac_abs_top_srcdir=$ac_pwd ;;
4370 [\\/]* | ?:[\\/]* ) # Absolute name.
4371 ac_srcdir=$srcdir$ac_dir_suffix;
4372 ac_top_srcdir=$srcdir
4373 ac_abs_top_srcdir=$srcdir ;;
4374 *) # Relative name.
4375 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4376 ac_top_srcdir=$ac_top_build_prefix$srcdir
4377 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4378 esac
4379 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4380
4381
4382 case $ac_mode in
4383 :F)
4384 #
4385 # CONFIG_FILE
4386 #
4387
4388 case $INSTALL in
4389 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4390 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4391 esac
4392 ac_MKDIR_P=$MKDIR_P
4393 case $MKDIR_P in
4394 [\\/$]* | ?:[\\/]* ) ;;
4395 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
4396 esac
4397 _ACEOF
4398
4399 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4400 # If the template does not know about datarootdir, expand it.
4401 # FIXME: This hack should be removed a few years after 2.60.
4402 ac_datarootdir_hack=; ac_datarootdir_seen=
4403 ac_sed_dataroot='
4404 /datarootdir/ {
4405 p
4406 q
4407 }
4408 /@datadir@/p
4409 /@docdir@/p
4410 /@infodir@/p
4411 /@localedir@/p
4412 /@mandir@/p'
4413 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4414 *datarootdir*) ac_datarootdir_seen=yes;;
4415 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4417 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4418 _ACEOF
4419 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4420 ac_datarootdir_hack='
4421 s&@datadir@&$datadir&g
4422 s&@docdir@&$docdir&g
4423 s&@infodir@&$infodir&g
4424 s&@localedir@&$localedir&g
4425 s&@mandir@&$mandir&g
4426 s&\\\${datarootdir}&$datarootdir&g' ;;
4427 esac
4428 _ACEOF
4429
4430 # Neutralize VPATH when `$srcdir' = `.'.
4431 # Shell code in configure.ac might set extrasub.
4432 # FIXME: do we really want to maintain this feature?
4433 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4434 ac_sed_extra="$ac_vpsub
4435 $extrasub
4436 _ACEOF
4437 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4438 :t
4439 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4440 s|@configure_input@|$ac_sed_conf_input|;t t
4441 s&@top_builddir@&$ac_top_builddir_sub&;t t
4442 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4443 s&@srcdir@&$ac_srcdir&;t t
4444 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4445 s&@top_srcdir@&$ac_top_srcdir&;t t
4446 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4447 s&@builddir@&$ac_builddir&;t t
4448 s&@abs_builddir@&$ac_abs_builddir&;t t
4449 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4450 s&@INSTALL@&$ac_INSTALL&;t t
4451 s&@MKDIR_P@&$ac_MKDIR_P&;t t
4452 $ac_datarootdir_hack
4453 "
4454 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4455 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4456
4457 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4458 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4459 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4460 "$ac_tmp/out"`; test -z "$ac_out"; } &&
4461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4462 which seems to be undefined. Please make sure it is defined" >&5
4463 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4464 which seems to be undefined. Please make sure it is defined" >&2;}
4465
4466 rm -f "$ac_tmp/stdin"
4467 case $ac_file in
4468 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4469 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4470 esac \
4471 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4472 ;;
4473
4474
4475
4476 esac
4477
4478 done # for ac_tag
4479
4480
4481 as_fn_exit 0
4482 _ACEOF
4483 ac_clean_files=$ac_clean_files_save
4484
4485 test $ac_write_fail = 0 ||
4486 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4487
4488
4489 # configure is writing to config.log, and then calls config.status.
4490 # config.status does its own redirection, appending to config.log.
4491 # Unfortunately, on DOS this fails, as config.log is still kept open
4492 # by configure, so config.status won't be able to write to it; its
4493 # output is simply discarded. So we exec the FD to /dev/null,
4494 # effectively closing config.log, so it can be properly (re)opened and
4495 # appended to by config.status. When coming back to configure, we
4496 # need to make the FD available again.
4497 if test "$no_create" != yes; then
4498 ac_cs_success=:
4499 ac_config_status_args=
4500 test "$silent" = yes &&
4501 ac_config_status_args="$ac_config_status_args --quiet"
4502 exec 5>/dev/null
4503 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4504 exec 5>>config.log
4505 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4506 # would make configure fail if this is the last instruction.
4507 $ac_cs_success || as_fn_exit 1
4508 fi
4509 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4511 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4512 fi
4513
4514
4515