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