configure revision 92bb16f8
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
16if 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
23else
24  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
25fi
26BIN_SH=xpg4; export BIN_SH # for Tru64
27DUALCASE=1; export DUALCASE # for MKS sh
28
29
30# PATH needs CR
31# Avoid depending upon Character Ranges.
32as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34as_cr_Letters=$as_cr_letters$as_cr_LETTERS
35as_cr_digits='0123456789'
36as_cr_alnum=$as_cr_Letters$as_cr_digits
37
38# The user is always right.
39if 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
49fi
50
51# Support unset when possible.
52if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53  as_unset=unset
54else
55  as_unset=false
56fi
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.)
64as_nl='
65'
66IFS=" ""	$as_nl"
67
68# Find who we are.  Look in the path if we contain no directory separator.
69case $0 in
70  *[\\/]* ) as_myself=$0 ;;
71  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72for as_dir in $PATH
73do
74  IFS=$as_save_IFS
75  test -z "$as_dir" && as_dir=.
76  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
77done
78IFS=$as_save_IFS
79
80     ;;
81esac
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.
84if test "x$as_myself" = x; then
85  as_myself=$0
86fi
87if 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; }
90fi
91
92# Work around bugs in pre-3.0 UWIN ksh.
93for as_var in ENV MAIL MAILPATH
94do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
95done
96PS1='$ '
97PS2='> '
98PS4='+ '
99
100# NLS nuisances.
101for 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
105do
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
111done
112
113# Required to use basename.
114if expr a : '\(a\)' >/dev/null 2>&1 &&
115   test "X`expr 00001 : '.*\(...\)'`" = X001; then
116  as_expr=expr
117else
118  as_expr=false
119fi
120
121if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
122  as_basename=basename
123else
124  as_basename=false
125fi
126
127
128# Name of the executable.
129as_me=`$as_basename -- "$0" ||
130$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
131	 X"$0" : 'X\(//\)$' \| \
132	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
133echo 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
152if test "x$CONFIG_SHELL" = x; then
153  if (eval ":") 2>/dev/null; then
154  as_have_required=yes
155else
156  as_have_required=no
157fi
158
159  if test $as_have_required = yes && 	 (eval ":
160(as_func_return () {
161  (exit \$1)
162}
163as_func_success () {
164  as_func_return 0
165}
166as_func_failure () {
167  as_func_return 1
168}
169as_func_ret_success () {
170  return 0
171}
172as_func_ret_failure () {
173  return 1
174}
175
176exitcode=0
177if as_func_success; then
178  :
179else
180  exitcode=1
181  echo as_func_success failed.
182fi
183
184if as_func_failure; then
185  exitcode=1
186  echo as_func_failure succeeded.
187fi
188
189if as_func_ret_success; then
190  :
191else
192  exitcode=1
193  echo as_func_ret_success failed.
194fi
195
196if as_func_ret_failure; then
197  exitcode=1
198  echo as_func_ret_failure succeeded.
199fi
200
201if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
202  :
203else
204  exitcode=1
205  echo positional parameters were not saved.
206fi
207
208test \$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  :
217else
218  as_candidate_shells=
219    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221do
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
230done
231IFS=$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
239if 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
246else
247  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
248fi
249BIN_SH=xpg4; export BIN_SH # for Tru64
250DUALCASE=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
259if 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
266else
267  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
268fi
269BIN_SH=xpg4; export BIN_SH # for Tru64
270DUALCASE=1; export DUALCASE # for MKS sh
271
272:
273(as_func_return () {
274  (exit $1)
275}
276as_func_success () {
277  as_func_return 0
278}
279as_func_failure () {
280  as_func_return 1
281}
282as_func_ret_success () {
283  return 0
284}
285as_func_ret_failure () {
286  return 1
287}
288
289exitcode=0
290if as_func_success; then
291  :
292else
293  exitcode=1
294  echo as_func_success failed.
295fi
296
297if as_func_failure; then
298  exitcode=1
299  echo as_func_failure succeeded.
300fi
301
302if as_func_ret_success; then
303  :
304else
305  exitcode=1
306  echo as_func_ret_success failed.
307fi
308
309if as_func_ret_failure; then
310  exitcode=1
311  echo as_func_ret_failure succeeded.
312fi
313
314if ( set x; as_func_ret_success y && test x = "$1" ); then
315  :
316else
317  exitcode=1
318  echo positional parameters were not saved.
319fi
320
321test $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
332fi
333
334fi
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+"$@"}
344fi
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; }
353fi
354
355
356fi
357
358fi
359
360
361
362(eval "as_func_return () {
363  (exit \$1)
364}
365as_func_success () {
366  as_func_return 0
367}
368as_func_failure () {
369  as_func_return 1
370}
371as_func_ret_success () {
372  return 0
373}
374as_func_ret_failure () {
375  return 1
376}
377
378exitcode=0
379if as_func_success; then
380  :
381else
382  exitcode=1
383  echo as_func_success failed.
384fi
385
386if as_func_failure; then
387  exitcode=1
388  echo as_func_failure succeeded.
389fi
390
391if as_func_ret_success; then
392  :
393else
394  exitcode=1
395  echo as_func_ret_success failed.
396fi
397
398if as_func_ret_failure; then
399  exitcode=1
400  echo as_func_ret_failure succeeded.
401fi
402
403if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
404  :
405else
406  exitcode=1
407  echo positional parameters were not saved.
408fi
409
410test \$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
462if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
463  as_dirname=dirname
464else
465  as_dirname=false
466fi
467
468ECHO_C= ECHO_N= ECHO_T=
469case `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';;
477esac
478
479if expr a : '\(a\)' >/dev/null 2>&1 &&
480   test "X`expr 00001 : '.*\(...\)'`" = X001; then
481  as_expr=expr
482else
483  as_expr=false
484fi
485
486rm -f conf$$ conf$$.exe conf$$.file
487if test -d conf$$.dir; then
488  rm -f conf$$.dir/conf$$.file
489else
490  rm -f conf$$.dir
491  mkdir conf$$.dir
492fi
493echo >conf$$.file
494if 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'
502elif ln conf$$.file conf$$ 2>/dev/null; then
503  as_ln_s=ln
504else
505  as_ln_s='cp -p'
506fi
507rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
508rmdir conf$$.dir 2>/dev/null
509
510if mkdir -p . 2>/dev/null; then
511  as_mkdir_p=:
512else
513  test -d ./-p && rmdir ./-p
514  as_mkdir_p=false
515fi
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.
519cat >conf$$.file <<_ASEOF
520#! /bin/sh
521exit 0
522_ASEOF
523chmod +x conf$$.file
524if test -x conf$$.file >/dev/null 2>&1; then
525  as_executable_p="test -x"
526else
527  as_executable_p=:
528fi
529rm -f conf$$.file
530
531# Sed expression to map a string onto a valid CPP name.
532as_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.
535as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
536
537
538
539exec 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.
544ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
545
546#
547# Initializations.
548#
549ac_default_prefix=/usr/local
550ac_clean_files=
551ac_config_libobj_dir=.
552LIBOBJS=
553cross_compiling=no
554subdirs=
555MFLAGS=
556MAKEFLAGS=
557SHELL=${CONFIG_SHELL-/bin/sh}
558
559# Identity of this package.
560PACKAGE_NAME='encodings'
561PACKAGE_TARNAME='encodings'
562PACKAGE_VERSION='1.0.2'
563PACKAGE_STRING='encodings 1.0.2'
564PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
565
566ac_subst_vars='SHELL
567PATH_SEPARATOR
568PACKAGE_NAME
569PACKAGE_TARNAME
570PACKAGE_VERSION
571PACKAGE_STRING
572PACKAGE_BUGREPORT
573exec_prefix
574prefix
575program_transform_name
576bindir
577sbindir
578libexecdir
579datarootdir
580datadir
581sysconfdir
582sharedstatedir
583localstatedir
584includedir
585oldincludedir
586docdir
587infodir
588htmldir
589dvidir
590pdfdir
591psdir
592libdir
593localedir
594mandir
595DEFS
596ECHO_C
597ECHO_N
598ECHO_T
599LIBS
600build_alias
601host_alias
602target_alias
603INSTALL_PROGRAM
604INSTALL_SCRIPT
605INSTALL_DATA
606CYGPATH_W
607PACKAGE
608VERSION
609ACLOCAL
610AUTOCONF
611AUTOMAKE
612AUTOHEADER
613MAKEINFO
614install_sh
615STRIP
616INSTALL_STRIP_PROGRAM
617mkdir_p
618AWK
619SET_MAKE
620am__leading_dot
621AMTAR
622am__tar
623am__untar
624AMSHOWCMDSAT
625AMDEPSHOWCMDSAT
626AMPRETTYECHO
627AMCMDECHO
628LT_QUIET
629MKFONTSCALE
630GZIP_SMALL_TRUE
631GZIP_SMALL_FALSE
632GZIP_LARGE_TRUE
633GZIP_LARGE_FALSE
634GZIP
635ENCODINGSDIR
636LIBOBJS
637LTLIBOBJS'
638ac_subst_files=''
639      ac_precious_vars='build_alias
640host_alias
641target_alias'
642
643
644# Initialize some variables set by options.
645ac_init_help=
646ac_init_version=false
647# The variables have the same names as the options, with
648# dashes changed to underlines.
649cache_file=/dev/null
650exec_prefix=NONE
651no_create=
652no_recursion=
653prefix=NONE
654program_prefix=NONE
655program_suffix=NONE
656program_transform_name=s,x,x,
657silent=
658site=
659srcdir=
660verbose=
661x_includes=NONE
662x_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.)
670bindir='${exec_prefix}/bin'
671sbindir='${exec_prefix}/sbin'
672libexecdir='${exec_prefix}/libexec'
673datarootdir='${prefix}/share'
674datadir='${datarootdir}'
675sysconfdir='${prefix}/etc'
676sharedstatedir='${prefix}/com'
677localstatedir='${prefix}/var'
678includedir='${prefix}/include'
679oldincludedir='/usr/include'
680docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
681infodir='${datarootdir}/info'
682htmldir='${docdir}'
683dvidir='${docdir}'
684pdfdir='${docdir}'
685psdir='${docdir}'
686libdir='${exec_prefix}/lib'
687localedir='${datarootdir}/locale'
688mandir='${datarootdir}/man'
689
690ac_prev=
691ac_dashdash=
692for ac_option
693do
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
997Try \`$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
1019done
1020
1021if 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; }; }
1025fi
1026
1027# Be sure to have absolute directory names.
1028for 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
1032do
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; }; }
1040done
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.
1045build=$build_alias
1046host=$host_alias
1047target=$target_alias
1048
1049# FIXME: To remove some day.
1050if 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
1058fi
1059
1060ac_tool_prefix=
1061test -n "$host_alias" && ac_tool_prefix=$host_alias-
1062
1063test "$silent" = yes && exec 6>/dev/null
1064
1065
1066ac_pwd=`pwd` && test -n "$ac_pwd" &&
1067ac_ls_di=`ls -di .` &&
1068ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1069  { echo "$as_me: error: Working directory cannot be determined" >&2
1070   { (exit 1); exit 1; }; }
1071test "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.
1077if 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 ||
1085echo 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
1107else
1108  ac_srcdir_defaulted=no
1109fi
1110if 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; }; }
1114fi
1115ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1116ac_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=.
1121if test "$ac_abs_confdir" = "$ac_pwd"; then
1122  srcdir=.
1123fi
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.
1127case $srcdir in
1128*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1129esac
1130for 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}
1135done
1136
1137#
1138# Report the --help message.
1139#
1140if 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
1146Usage: $0 [OPTION]... [VAR=VALUE]...
1147
1148To assign environment variables (e.g., CC, CFLAGS...), specify them as
1149VAR=VALUE.  See below for descriptions of some of the useful variables.
1150
1151Defaults for the options are specified in brackets.
1152
1153Configuration:
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
1164Installation 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
1170By default, \`make install' will install all the files in
1171\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1172an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1173for instance \`--prefix=\$HOME'.
1174
1175For better control, use the options below.
1176
1177Fine 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
1201Program 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
1206fi
1207
1208if 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
1214Optional 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
1224Optional 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
1232Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1233_ACEOF
1234ac_status=$?
1235fi
1236
1237if 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
1243case "$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 ;;
1253esac
1254ac_abs_top_builddir=$ac_pwd
1255ac_abs_builddir=$ac_pwd$ac_dir_suffix
1256# for backward compatibility:
1257ac_top_builddir=$ac_top_build_prefix
1258
1259case $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 ;;
1272esac
1273ac_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
1288fi
1289
1290test -n "$ac_init_help" && exit $ac_status
1291if $ac_init_version; then
1292  cat <<\_ACEOF
1293encodings configure 1.0.2
1294generated by GNU Autoconf 2.60
1295
1296Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
12972002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1298This configure script is free software; the Free Software Foundation
1299gives unlimited permission to copy, distribute and modify it.
1300_ACEOF
1301  exit
1302fi
1303cat >config.log <<_ACEOF
1304This file contains any messages produced by compilers while
1305running configure, to aid debugging if configure makes a mistake.
1306
1307It was created by encodings $as_me 1.0.2, which was
1308generated by GNU Autoconf 2.60.  Invocation command line was
1309
1310  $ $0 $@
1311
1312_ACEOF
1313exec 5>>config.log
1314{
1315cat <<_ASUNAME
1316## --------- ##
1317## Platform. ##
1318## --------- ##
1319
1320hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1321uname -m = `(uname -m) 2>/dev/null || echo unknown`
1322uname -r = `(uname -r) 2>/dev/null || echo unknown`
1323uname -s = `(uname -s) 2>/dev/null || echo unknown`
1324uname -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
1339as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1340for as_dir in $PATH
1341do
1342  IFS=$as_save_IFS
1343  test -z "$as_dir" && as_dir=.
1344  echo "PATH: $as_dir"
1345done
1346IFS=$as_save_IFS
1347
1348} >&5
1349
1350cat >&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.
1365ac_configure_args=
1366ac_configure_args0=
1367ac_configure_args1=
1368ac_must_keep_next=false
1369for ac_pass in 1 2
1370do
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
1404done
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.
1413trap '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
1432echo "$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
1507for ac_signal in 1 2 13 15; do
1508  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1509done
1510ac_signal=0
1511
1512# confdefs.h avoids OS command line length limits that DEFS can exceed.
1513rm -f -r conftest* confdefs.h
1514
1515# Predefined preprocessor variables.
1516
1517cat >>confdefs.h <<_ACEOF
1518#define PACKAGE_NAME "$PACKAGE_NAME"
1519_ACEOF
1520
1521
1522cat >>confdefs.h <<_ACEOF
1523#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1524_ACEOF
1525
1526
1527cat >>confdefs.h <<_ACEOF
1528#define PACKAGE_VERSION "$PACKAGE_VERSION"
1529_ACEOF
1530
1531
1532cat >>confdefs.h <<_ACEOF
1533#define PACKAGE_STRING "$PACKAGE_STRING"
1534_ACEOF
1535
1536
1537cat >>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.
1544if test -n "$CONFIG_SITE"; then
1545  set x "$CONFIG_SITE"
1546elif test "x$prefix" != xNONE; then
1547  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1548else
1549  set x "$ac_default_prefix/share/config.site" \
1550	"$ac_default_prefix/etc/config.site"
1551fi
1552shift
1553for ac_site_file
1554do
1555  if test -r "$ac_site_file"; then
1556    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1557echo "$as_me: loading site script $ac_site_file" >&6;}
1558    sed 's/^/| /' "$ac_site_file" >&5
1559    . "$ac_site_file"
1560  fi
1561done
1562
1563if 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
1568echo "$as_me: loading cache $cache_file" >&6;}
1569    case $cache_file in
1570      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1571      *)                      . "./$cache_file";;
1572    esac
1573  fi
1574else
1575  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1576echo "$as_me: creating cache $cache_file" >&6;}
1577  >$cache_file
1578fi
1579
1580# Check that the precious variables saved in the cache have kept the same
1581# value.
1582ac_cache_corrupted=false
1583for 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
1591echo "$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
1595echo "$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
1601echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1602	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1603echo "$as_me:   former value:  $ac_old_val" >&2;}
1604	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1605echo "$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
1620done
1621if $ac_cache_corrupted; then
1622  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1623echo "$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
1625echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1626   { (exit 1); exit 1; }; }
1627fi
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
1653ac_ext=c
1654ac_cpp='$CPP $CPPFLAGS'
1655ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1656ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1657ac_compiler_gnu=$ac_cv_c_compiler_gnu
1658
1659
1660am__api_version="1.9"
1661ac_aux_dir=
1662for 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
1676done
1677if test -z "$ac_aux_dir"; then
1678  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1679echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1680   { (exit 1); exit 1; }; }
1681fi
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.
1687ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1688ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1689ac_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
1706echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1707if test -z "$INSTALL"; then
1708if test "${ac_cv_path_install+set}" = set; then
1709  echo $ECHO_N "(cached) $ECHO_C" >&6
1710else
1711  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1712for as_dir in $PATH
1713do
1714  IFS=$as_save_IFS
1715  test -z "$as_dir" && as_dir=.
1716  # Account for people who put trailing slashes in PATH elements.
1717case $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    ;;
1745esac
1746done
1747IFS=$as_save_IFS
1748
1749
1750fi
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
1760fi
1761{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1762echo "${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.
1766test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1767
1768test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1769
1770test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1771
1772{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1773echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1774# Just in case
1775sleep 1
1776echo 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).
1782if (
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
1797alias in your environment" >&5
1798echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1799alias in your environment" >&2;}
1800   { (exit 1); exit 1; }; }
1801   fi
1802
1803   test "$2" = conftest.file
1804   )
1805then
1806   # Ok.
1807   :
1808else
1809   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1810Check your system clock" >&5
1811echo "$as_me: error: newly created file is older than distributed files!
1812Check your system clock" >&2;}
1813   { (exit 1); exit 1; }; }
1814fi
1815{ echo "$as_me:$LINENO: result: yes" >&5
1816echo "${ECHO_T}yes" >&6; }
1817test "$program_prefix" != NONE &&
1818  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1819# Use a double $ so make ignores it.
1820test "$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.
1824cat <<\_ACEOF >conftest.sed
1825s/[\\$]/&&/g;s/;s,x,x,$//
1826_ACEOF
1827program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1828rm -f conftest.sed
1829
1830# expand $ac_aux_dir to an absolute path
1831am_aux_dir=`cd $ac_aux_dir && pwd`
1832
1833test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1834# Use eval to expand $SHELL
1835if eval "$MISSING --run true"; then
1836  am_missing_run="$MISSING --run "
1837else
1838  am_missing_run=
1839  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1840echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1841fi
1842
1843if 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 --'
1859else
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
1874fi
1875
1876for ac_prog in gawk mawk nawk awk
1877do
1878  # Extract the first word of "$ac_prog", so it can be a program name with args.
1879set dummy $ac_prog; ac_word=$2
1880{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1881echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1882if test "${ac_cv_prog_AWK+set}" = set; then
1883  echo $ECHO_N "(cached) $ECHO_C" >&6
1884else
1885  if test -n "$AWK"; then
1886  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1887else
1888as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1889for as_dir in $PATH
1890do
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
1899done
1900done
1901IFS=$as_save_IFS
1902
1903fi
1904fi
1905AWK=$ac_cv_prog_AWK
1906if test -n "$AWK"; then
1907  { echo "$as_me:$LINENO: result: $AWK" >&5
1908echo "${ECHO_T}$AWK" >&6; }
1909else
1910  { echo "$as_me:$LINENO: result: no" >&5
1911echo "${ECHO_T}no" >&6; }
1912fi
1913
1914
1915  test -n "$AWK" && break
1916done
1917
1918{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1919echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1920set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1921if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1922  echo $ECHO_N "(cached) $ECHO_C" >&6
1923else
1924  cat >conftest.make <<\_ACEOF
1925SHELL = /bin/sh
1926all:
1927	@echo '@@@%%%=$(MAKE)=@@@%%%'
1928_ACEOF
1929# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1930case `${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;;
1935esac
1936rm -f conftest.make
1937fi
1938if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1939  { echo "$as_me:$LINENO: result: yes" >&5
1940echo "${ECHO_T}yes" >&6; }
1941  SET_MAKE=
1942else
1943  { echo "$as_me:$LINENO: result: no" >&5
1944echo "${ECHO_T}no" >&6; }
1945  SET_MAKE="MAKE=${MAKE-make}"
1946fi
1947
1948rm -rf .tst 2>/dev/null
1949mkdir .tst 2>/dev/null
1950if test -d .tst; then
1951  am__leading_dot=.
1952else
1953  am__leading_dot=_
1954fi
1955rmdir .tst 2>/dev/null
1956
1957# Check whether --enable-pretty-cmds was given.
1958if test "${enable_pretty_cmds+set}" = set; then
1959  enableval=$enable_pretty_cmds;
1960fi
1961
1962AMSHOWCMDSAT=''
1963AMDEPSHOWCMDSAT=''
1964AMPRETTYECHO=true
1965AMCMDECHO=echo
1966if test "x$enable_pretty_cmds" == xyes;
1967then
1968  AMSHOWCMDSAT='@'
1969  test x$enable_dependency_tracking == xno && AMDEPSHOWCMDSAT='@'
1970  AMPRETTYECHO=echo
1971  AMCMDECHO=true
1972  LT_QUIET='--quiet'
1973fi
1974
1975
1976
1977
1978
1979
1980# test to see if srcdir already configured
1981if 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
1984echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1985   { (exit 1); exit 1; }; }
1986fi
1987
1988# test whether we have cygpath
1989if 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
1995fi
1996
1997
1998# Define the identity of the package.
1999 PACKAGE='encodings'
2000 VERSION='1.0.2'
2001
2002
2003cat >>confdefs.h <<_ACEOF
2004#define PACKAGE "$PACKAGE"
2005_ACEOF
2006
2007
2008cat >>confdefs.h <<_ACEOF
2009#define VERSION "$VERSION"
2010_ACEOF
2011
2012# Some tools Automake needs.
2013
2014ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2015
2016
2017AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2018
2019
2020AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2021
2022
2023AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2024
2025
2026MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2027
2028install_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.
2034if 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.
2037set dummy ${ac_tool_prefix}strip; ac_word=$2
2038{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2039echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2040if test "${ac_cv_prog_STRIP+set}" = set; then
2041  echo $ECHO_N "(cached) $ECHO_C" >&6
2042else
2043  if test -n "$STRIP"; then
2044  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2045else
2046as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2047for as_dir in $PATH
2048do
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
2057done
2058done
2059IFS=$as_save_IFS
2060
2061fi
2062fi
2063STRIP=$ac_cv_prog_STRIP
2064if test -n "$STRIP"; then
2065  { echo "$as_me:$LINENO: result: $STRIP" >&5
2066echo "${ECHO_T}$STRIP" >&6; }
2067else
2068  { echo "$as_me:$LINENO: result: no" >&5
2069echo "${ECHO_T}no" >&6; }
2070fi
2071
2072
2073fi
2074if 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.
2077set dummy strip; ac_word=$2
2078{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2079echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2080if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2081  echo $ECHO_N "(cached) $ECHO_C" >&6
2082else
2083  if test -n "$ac_ct_STRIP"; then
2084  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2085else
2086as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2087for as_dir in $PATH
2088do
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
2097done
2098done
2099IFS=$as_save_IFS
2100
2101fi
2102fi
2103ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2104if test -n "$ac_ct_STRIP"; then
2105  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2106echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2107else
2108  { echo "$as_me:$LINENO: result: no" >&5
2109echo "${ECHO_T}no" >&6; }
2110fi
2111
2112  if test "x$ac_ct_STRIP" = x; then
2113    STRIP=":"
2114  else
2115    case $cross_compiling:$ac_tool_warned in
2116yes:)
2117{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2118whose name does not start with the host triplet.  If you think this
2119configuration is useful to you, please write to autoconf@gnu.org." >&5
2120echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2121whose name does not start with the host triplet.  If you think this
2122configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2123ac_tool_warned=yes ;;
2124esac
2125    STRIP=$ac_ct_STRIP
2126  fi
2127else
2128  STRIP="$ac_cv_prog_STRIP"
2129fi
2130
2131fi
2132INSTALL_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
2138AMTAR=${AMTAR-"${am_missing_run}tar"}
2139
2140am__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.
2153set dummy mkfontscale; ac_word=$2
2154{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2155echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2156if test "${ac_cv_path_MKFONTSCALE+set}" = set; then
2157  echo $ECHO_N "(cached) $ECHO_C" >&6
2158else
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
2165for as_dir in $PATH
2166do
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
2175done
2176done
2177IFS=$as_save_IFS
2178
2179  ;;
2180esac
2181fi
2182MKFONTSCALE=$ac_cv_path_MKFONTSCALE
2183if test -n "$MKFONTSCALE"; then
2184  { echo "$as_me:$LINENO: result: $MKFONTSCALE" >&5
2185echo "${ECHO_T}$MKFONTSCALE" >&6; }
2186else
2187  { echo "$as_me:$LINENO: result: no" >&5
2188echo "${ECHO_T}no" >&6; }
2189fi
2190
2191
2192if [ -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
2194echo "$as_me: error: mkfontscale is needed to build fontenc. Please install the app/mkfontscale package from X.Org." >&2;}
2195   { (exit 1); exit 1; }; }
2196fi
2197
2198# Choose whether or not to compress encodings - default is to compress all
2199
2200# Check whether --enable-gzip-small-encodings was given.
2201if test "${enable_gzip_small_encodings+set}" = set; then
2202  enableval=$enable_gzip_small_encodings; GZIP_SMALL="$enableval"
2203else
2204  GZIP_SMALL="yes"
2205fi
2206
2207
2208
2209if test x$GZIP_SMALL = xyes; then
2210  GZIP_SMALL_TRUE=
2211  GZIP_SMALL_FALSE='#'
2212else
2213  GZIP_SMALL_TRUE='#'
2214  GZIP_SMALL_FALSE=
2215fi
2216
2217
2218# Check whether --enable-gzip-large-encodings was given.
2219if test "${enable_gzip_large_encodings+set}" = set; then
2220  enableval=$enable_gzip_large_encodings; GZIP_LARGE="$enableval"
2221else
2222  GZIP_LARGE="yes"
2223fi
2224
2225
2226
2227if test x$GZIP_LARGE = xyes; then
2228  GZIP_LARGE_TRUE=
2229  GZIP_LARGE_FALSE='#'
2230else
2231  GZIP_LARGE_TRUE='#'
2232  GZIP_LARGE_FALSE=
2233fi
2234
2235
2236# gzip
2237
2238if 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.
2240set dummy gzip; ac_word=$2
2241{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2242echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2243if test "${ac_cv_path_GZIP+set}" = set; then
2244  echo $ECHO_N "(cached) $ECHO_C" >&6
2245else
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
2252for as_dir in $PATH
2253do
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
2262done
2263done
2264IFS=$as_save_IFS
2265
2266  ;;
2267esac
2268fi
2269GZIP=$ac_cv_path_GZIP
2270if test -n "$GZIP"; then
2271  { echo "$as_me:$LINENO: result: $GZIP" >&5
2272echo "${ECHO_T}$GZIP" >&6; }
2273else
2274  { echo "$as_me:$LINENO: result: no" >&5
2275echo "${ECHO_T}no" >&6; }
2276fi
2277
2278
2279    if [ -z $GZIP ]; then
2280	{ { echo "$as_me:$LINENO: error: gzip is needed to compress font encodings" >&5
2281echo "$as_me: error: gzip is needed to compress font encodings" >&2;}
2282   { (exit 1); exit 1; }; }
2283    fi
2284fi
2285
2286DEFAULT_ENCODINGSDIR=${libdir}/X11/fonts/encodings
2287
2288# Check whether --with-encodingsdir was given.
2289if test "${with_encodingsdir+set}" = set; then
2290  withval=$with_encodingsdir; ENCODINGSDIR="$withval"
2291else
2292  ENCODINGSDIR="$DEFAULT_ENCODINGSDIR"
2293fi
2294
2295
2296
2297
2298
2299# Check whether --with-release-version was given.
2300if test "${with_release_version+set}" = set; then
2301  withval=$with_release_version; RELEASE_VERSION="$withval"
2302else
2303  RELEASE_VERSION=""
2304fi
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
2310echo "$as_me: Building with package name set to $PACKAGE" >&6;}
2311	fi
2312
2313
2314ac_config_files="$ac_config_files Makefile large/Makefile"
2315
2316cat >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
2344echo "$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
2377if 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
2381echo "$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
2385echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2386  fi
2387fi
2388rm -f confcache
2389
2390test "x$prefix" = xNONE && prefix=$ac_default_prefix
2391# Let make expand exec_prefix.
2392test "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.
2401ac_script='
2402t clear
2403:clear
2404s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
2405t quote
2406s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
2407t quote
2408b any
2409:quote
2410s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2411s/\[/\\&/g
2412s/\]/\\&/g
2413s/\$/$$/g
2414H
2415:any
2416${
2417	g
2418	s/^\n//
2419	s/\n/ /g
2420	p
2421}
2422'
2423DEFS=`sed -n "$ac_script" confdefs.h`
2424
2425
2426ac_libobjs=
2427ac_ltlibobjs=
2428for 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'
2436done
2437LIBOBJS=$ac_libobjs
2438
2439LTLIBOBJS=$ac_ltlibobjs
2440
2441
2442if test -z "${GZIP_SMALL_TRUE}" && test -z "${GZIP_SMALL_FALSE}"; then
2443  { { echo "$as_me:$LINENO: error: conditional \"GZIP_SMALL\" was never defined.
2444Usually this means the macro was only invoked conditionally." >&5
2445echo "$as_me: error: conditional \"GZIP_SMALL\" was never defined.
2446Usually this means the macro was only invoked conditionally." >&2;}
2447   { (exit 1); exit 1; }; }
2448fi
2449if test -z "${GZIP_LARGE_TRUE}" && test -z "${GZIP_LARGE_FALSE}"; then
2450  { { echo "$as_me:$LINENO: error: conditional \"GZIP_LARGE\" was never defined.
2451Usually this means the macro was only invoked conditionally." >&5
2452echo "$as_me: error: conditional \"GZIP_LARGE\" was never defined.
2453Usually this means the macro was only invoked conditionally." >&2;}
2454   { (exit 1); exit 1; }; }
2455fi
2456
2457: ${CONFIG_STATUS=./config.status}
2458ac_clean_files_save=$ac_clean_files
2459ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2460{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2461echo "$as_me: creating $CONFIG_STATUS" >&6;}
2462cat >$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
2469debug=false
2470ac_cs_recheck=false
2471ac_cs_silent=false
2472SHELL=\${CONFIG_SHELL-$SHELL}
2473_ACEOF
2474
2475cat >>$CONFIG_STATUS <<\_ACEOF
2476## --------------------- ##
2477## M4sh Initialization.  ##
2478## --------------------- ##
2479
2480# Be Bourne compatible
2481if 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
2488else
2489  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
2490fi
2491BIN_SH=xpg4; export BIN_SH # for Tru64
2492DUALCASE=1; export DUALCASE # for MKS sh
2493
2494
2495# PATH needs CR
2496# Avoid depending upon Character Ranges.
2497as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2498as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2499as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2500as_cr_digits='0123456789'
2501as_cr_alnum=$as_cr_Letters$as_cr_digits
2502
2503# The user is always right.
2504if 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
2514fi
2515
2516# Support unset when possible.
2517if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2518  as_unset=unset
2519else
2520  as_unset=false
2521fi
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.)
2529as_nl='
2530'
2531IFS=" ""	$as_nl"
2532
2533# Find who we are.  Look in the path if we contain no directory separator.
2534case $0 in
2535  *[\\/]* ) as_myself=$0 ;;
2536  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2537for as_dir in $PATH
2538do
2539  IFS=$as_save_IFS
2540  test -z "$as_dir" && as_dir=.
2541  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2542done
2543IFS=$as_save_IFS
2544
2545     ;;
2546esac
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.
2549if test "x$as_myself" = x; then
2550  as_myself=$0
2551fi
2552if 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; }
2555fi
2556
2557# Work around bugs in pre-3.0 UWIN ksh.
2558for as_var in ENV MAIL MAILPATH
2559do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2560done
2561PS1='$ '
2562PS2='> '
2563PS4='+ '
2564
2565# NLS nuisances.
2566for 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
2570do
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
2576done
2577
2578# Required to use basename.
2579if expr a : '\(a\)' >/dev/null 2>&1 &&
2580   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2581  as_expr=expr
2582else
2583  as_expr=false
2584fi
2585
2586if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2587  as_basename=basename
2588else
2589  as_basename=false
2590fi
2591
2592
2593# Name of the executable.
2594as_me=`$as_basename -- "$0" ||
2595$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2596	 X"$0" : 'X\(//\)$' \| \
2597	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2598echo 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
2661if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2662  as_dirname=dirname
2663else
2664  as_dirname=false
2665fi
2666
2667ECHO_C= ECHO_N= ECHO_T=
2668case `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';;
2676esac
2677
2678if expr a : '\(a\)' >/dev/null 2>&1 &&
2679   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2680  as_expr=expr
2681else
2682  as_expr=false
2683fi
2684
2685rm -f conf$$ conf$$.exe conf$$.file
2686if test -d conf$$.dir; then
2687  rm -f conf$$.dir/conf$$.file
2688else
2689  rm -f conf$$.dir
2690  mkdir conf$$.dir
2691fi
2692echo >conf$$.file
2693if 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'
2701elif ln conf$$.file conf$$ 2>/dev/null; then
2702  as_ln_s=ln
2703else
2704  as_ln_s='cp -p'
2705fi
2706rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2707rmdir conf$$.dir 2>/dev/null
2708
2709if mkdir -p . 2>/dev/null; then
2710  as_mkdir_p=:
2711else
2712  test -d ./-p && rmdir ./-p
2713  as_mkdir_p=false
2714fi
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.
2718cat >conf$$.file <<_ASEOF
2719#! /bin/sh
2720exit 0
2721_ASEOF
2722chmod +x conf$$.file
2723if test -x conf$$.file >/dev/null 2>&1; then
2724  as_executable_p="test -x"
2725else
2726  as_executable_p=:
2727fi
2728rm -f conf$$.file
2729
2730# Sed expression to map a string onto a valid CPP name.
2731as_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.
2734as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2735
2736
2737exec 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.
2742ac_log="
2743This file was extended by encodings $as_me 1.0.2, which was
2744generated 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
2752on `(hostname || uname -n) 2>/dev/null | sed 1q`
2753"
2754
2755_ACEOF
2756
2757cat >>$CONFIG_STATUS <<_ACEOF
2758# Files that config.status was made for.
2759config_files="$ac_config_files"
2760
2761_ACEOF
2762
2763cat >>$CONFIG_STATUS <<\_ACEOF
2764ac_cs_usage="\
2765\`$as_me' instantiates files from templates according to the
2766current configuration.
2767
2768Usage: $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
2778Configuration files:
2779$config_files
2780
2781Report bugs to <bug-autoconf@gnu.org>."
2782
2783_ACEOF
2784cat >>$CONFIG_STATUS <<_ACEOF
2785ac_cs_version="\\
2786encodings config.status 1.0.2
2787configured by $0, generated by GNU Autoconf 2.60,
2788  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2789
2790Copyright (C) 2006 Free Software Foundation, Inc.
2791This config.status script is free software; the Free Software Foundation
2792gives unlimited permission to copy, distribute and modify it."
2793
2794ac_pwd='$ac_pwd'
2795srcdir='$srcdir'
2796INSTALL='$INSTALL'
2797_ACEOF
2798
2799cat >>$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.
2802ac_need_defaults=:
2803while test $# != 0
2804do
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
2838Try \`$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
2846done
2847
2848ac_configure_extra_args=
2849
2850if $ac_cs_silent; then
2851  exec 6>/dev/null
2852  ac_configure_extra_args="$ac_configure_extra_args --silent"
2853fi
2854
2855_ACEOF
2856cat >>$CONFIG_STATUS <<_ACEOF
2857if \$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
2862fi
2863
2864_ACEOF
2865cat >>$CONFIG_STATUS <<\_ACEOF
2866exec 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
2876cat >>$CONFIG_STATUS <<_ACEOF
2877_ACEOF
2878
2879cat >>$CONFIG_STATUS <<\_ACEOF
2880
2881# Handling of arguments.
2882for ac_config_target in $ac_config_targets
2883do
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
2889echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2890   { (exit 1); exit 1; }; };;
2891  esac
2892done
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.
2899if $ac_need_defaults; then
2900  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2901fi
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
2938if test -n "$CONFIG_FILES"; then
2939
2940_ACEOF
2941
2942
2943
2944ac_delim='%!_!# '
2945for ac_last_try in false false false false false :; do
2946  cat >conf$$subs.sed <<_ACEOF
2947SHELL!$SHELL$ac_delim
2948PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
2949PACKAGE_NAME!$PACKAGE_NAME$ac_delim
2950PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
2951PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
2952PACKAGE_STRING!$PACKAGE_STRING$ac_delim
2953PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
2954exec_prefix!$exec_prefix$ac_delim
2955prefix!$prefix$ac_delim
2956program_transform_name!$program_transform_name$ac_delim
2957bindir!$bindir$ac_delim
2958sbindir!$sbindir$ac_delim
2959libexecdir!$libexecdir$ac_delim
2960datarootdir!$datarootdir$ac_delim
2961datadir!$datadir$ac_delim
2962sysconfdir!$sysconfdir$ac_delim
2963sharedstatedir!$sharedstatedir$ac_delim
2964localstatedir!$localstatedir$ac_delim
2965includedir!$includedir$ac_delim
2966oldincludedir!$oldincludedir$ac_delim
2967docdir!$docdir$ac_delim
2968infodir!$infodir$ac_delim
2969htmldir!$htmldir$ac_delim
2970dvidir!$dvidir$ac_delim
2971pdfdir!$pdfdir$ac_delim
2972psdir!$psdir$ac_delim
2973libdir!$libdir$ac_delim
2974localedir!$localedir$ac_delim
2975mandir!$mandir$ac_delim
2976DEFS!$DEFS$ac_delim
2977ECHO_C!$ECHO_C$ac_delim
2978ECHO_N!$ECHO_N$ac_delim
2979ECHO_T!$ECHO_T$ac_delim
2980LIBS!$LIBS$ac_delim
2981build_alias!$build_alias$ac_delim
2982host_alias!$host_alias$ac_delim
2983target_alias!$target_alias$ac_delim
2984INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
2985INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
2986INSTALL_DATA!$INSTALL_DATA$ac_delim
2987CYGPATH_W!$CYGPATH_W$ac_delim
2988PACKAGE!$PACKAGE$ac_delim
2989VERSION!$VERSION$ac_delim
2990ACLOCAL!$ACLOCAL$ac_delim
2991AUTOCONF!$AUTOCONF$ac_delim
2992AUTOMAKE!$AUTOMAKE$ac_delim
2993AUTOHEADER!$AUTOHEADER$ac_delim
2994MAKEINFO!$MAKEINFO$ac_delim
2995install_sh!$install_sh$ac_delim
2996STRIP!$STRIP$ac_delim
2997INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
2998mkdir_p!$mkdir_p$ac_delim
2999AWK!$AWK$ac_delim
3000SET_MAKE!$SET_MAKE$ac_delim
3001am__leading_dot!$am__leading_dot$ac_delim
3002AMTAR!$AMTAR$ac_delim
3003am__tar!$am__tar$ac_delim
3004am__untar!$am__untar$ac_delim
3005AMSHOWCMDSAT!$AMSHOWCMDSAT$ac_delim
3006AMDEPSHOWCMDSAT!$AMDEPSHOWCMDSAT$ac_delim
3007AMPRETTYECHO!$AMPRETTYECHO$ac_delim
3008AMCMDECHO!$AMCMDECHO$ac_delim
3009LT_QUIET!$LT_QUIET$ac_delim
3010MKFONTSCALE!$MKFONTSCALE$ac_delim
3011GZIP_SMALL_TRUE!$GZIP_SMALL_TRUE$ac_delim
3012GZIP_SMALL_FALSE!$GZIP_SMALL_FALSE$ac_delim
3013GZIP_LARGE_TRUE!$GZIP_LARGE_TRUE$ac_delim
3014GZIP_LARGE_FALSE!$GZIP_LARGE_FALSE$ac_delim
3015GZIP!$GZIP$ac_delim
3016ENCODINGSDIR!$ENCODINGSDIR$ac_delim
3017LIBOBJS!$LIBOBJS$ac_delim
3018LTLIBOBJS!$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
3025echo "$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
3030done
3031
3032ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
3033if test -n "$ac_eof"; then
3034  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
3035  ac_eof=`expr $ac_eof + 1`
3036fi
3037
3038cat >>$CONFIG_STATUS <<_ACEOF
3039cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3040/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3041_ACEOF
3042sed '
3043s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3044s/^/s,@/; s/!/@,|#_!!_#|/
3045:n
3046t n
3047s/'"$ac_delim"'$/,g/; t
3048s/$/\\/; p
3049N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3050' >>$CONFIG_STATUS <conf$$subs.sed
3051rm -f conf$$subs.sed
3052cat >>$CONFIG_STATUS <<_ACEOF
3053:end
3054s/|#_!!_#|//g
3055CEOF$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).
3063if test "x$srcdir" = x.; then
3064  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
3065s/:*\$(srcdir):*/:/
3066s/:*\${srcdir}:*/:/
3067s/:*@srcdir@:*/:/
3068s/^\([^=]*=[	 ]*\):*/\1/
3069s/:*$//
3070s/^[^=]*=[	 ]*$//
3071}'
3072fi
3073
3074cat >>$CONFIG_STATUS <<\_ACEOF
3075fi # test -n "$CONFIG_FILES"
3076
3077
3078for ac_tag in  :F $CONFIG_FILES
3079do
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
3086echo "$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
3116echo "$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
3130echo "$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 ||
3144echo 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 ||
3179echo 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
3201echo "$as_me: error: cannot create directory $as_dir" >&2;}
3202   { (exit 1); exit 1; }; }; }
3203  ac_builddir=.
3204
3205case "$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 ;;
3215esac
3216ac_abs_top_builddir=$ac_pwd
3217ac_abs_builddir=$ac_pwd$ac_dir_suffix
3218# for backward compatibility:
3219ac_top_builddir=$ac_top_build_prefix
3220
3221case $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 ;;
3234esac
3235ac_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
3250cat >>$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.
3253ac_datarootdir_hack=; ac_datarootdir_seen=
3254
3255case `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
3268echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3269_ACEOF
3270cat >>$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' ;;
3278esac
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?
3284cat >>$CONFIG_STATUS <<_ACEOF
3285  sed "$ac_vpsub
3286$extrasub
3287_ACEOF
3288cat >>$CONFIG_STATUS <<\_ACEOF
3289:t
3290/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3291s&@configure_input@&$configure_input&;t t
3292s&@top_builddir@&$ac_top_builddir_sub&;t t
3293s&@srcdir@&$ac_srcdir&;t t
3294s&@abs_srcdir@&$ac_abs_srcdir&;t t
3295s&@top_srcdir@&$ac_top_srcdir&;t t
3296s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3297s&@builddir@&$ac_builddir&;t t
3298s&@abs_builddir@&$ac_abs_builddir&;t t
3299s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3300s&@INSTALL@&$ac_INSTALL&;t t
3301$ac_datarootdir_hack
3302" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3303
3304test -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'
3308which seems to be undefined.  Please make sure it is defined." >&5
3309echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3310which 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
3323done # for ac_tag
3324
3325
3326{ (exit 0); exit 0; }
3327_ACEOF
3328chmod +x $CONFIG_STATUS
3329ac_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.
3340if 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; }
3351fi
3352
3353