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