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