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