configure revision de7ed6e8
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.68 for encodings 1.0.4.
4#
5# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6#
7#
8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10# Foundation, Inc.
11#
12#
13# This configure script is free software; the Free Software Foundation
14# gives unlimited permission to copy, distribute and modify it.
15## -------------------- ##
16## M4sh Initialization. ##
17## -------------------- ##
18
19# Be more Bourne compatible
20DUALCASE=1; export DUALCASE # for MKS sh
21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22  emulate sh
23  NULLCMD=:
24  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25  # is contrary to our usage.  Disable this feature.
26  alias -g '${1+"$@"}'='"$@"'
27  setopt NO_GLOB_SUBST
28else
29  case `(set -o) 2>/dev/null` in #(
30  *posix*) :
31    set -o posix ;; #(
32  *) :
33     ;;
34esac
35fi
36
37
38as_nl='
39'
40export as_nl
41# Printing a long string crashes Solaris 7 /usr/bin/printf.
42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45# Prefer a ksh shell builtin over an external printf program on Solaris,
46# but without wasting forks for bash or zsh.
47if test -z "$BASH_VERSION$ZSH_VERSION" \
48    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49  as_echo='print -r --'
50  as_echo_n='print -rn --'
51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52  as_echo='printf %s\n'
53  as_echo_n='printf %s'
54else
55  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57    as_echo_n='/usr/ucb/echo -n'
58  else
59    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60    as_echo_n_body='eval
61      arg=$1;
62      case $arg in #(
63      *"$as_nl"*)
64	expr "X$arg" : "X\\(.*\\)$as_nl";
65	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66      esac;
67      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68    '
69    export as_echo_n_body
70    as_echo_n='sh -c $as_echo_n_body as_echo'
71  fi
72  export as_echo_body
73  as_echo='sh -c $as_echo_body as_echo'
74fi
75
76# The user is always right.
77if test "${PATH_SEPARATOR+set}" != set; then
78  PATH_SEPARATOR=:
79  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81      PATH_SEPARATOR=';'
82  }
83fi
84
85
86# IFS
87# We need space, tab and new line, in precisely that order.  Quoting is
88# there to prevent editors from complaining about space-tab.
89# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90# splitting by setting IFS to empty value.)
91IFS=" ""	$as_nl"
92
93# Find who we are.  Look in the path if we contain no directory separator.
94as_myself=
95case $0 in #((
96  *[\\/]* ) as_myself=$0 ;;
97  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98for as_dir in $PATH
99do
100  IFS=$as_save_IFS
101  test -z "$as_dir" && as_dir=.
102    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103  done
104IFS=$as_save_IFS
105
106     ;;
107esac
108# We did not find ourselves, most probably we were run as `sh COMMAND'
109# in which case we are not to be found in the path.
110if test "x$as_myself" = x; then
111  as_myself=$0
112fi
113if test ! -f "$as_myself"; then
114  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115  exit 1
116fi
117
118# Unset variables that we do not need and which cause bugs (e.g. in
119# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120# suppresses any "Segmentation fault" message there.  '((' could
121# trigger a bug in pdksh 5.2.14.
122for as_var in BASH_ENV ENV MAIL MAILPATH
123do eval test x\${$as_var+set} = xset \
124  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125done
126PS1='$ '
127PS2='> '
128PS4='+ '
129
130# NLS nuisances.
131LC_ALL=C
132export LC_ALL
133LANGUAGE=C
134export LANGUAGE
135
136# CDPATH.
137(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139if test "x$CONFIG_SHELL" = x; then
140  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141  emulate sh
142  NULLCMD=:
143  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144  # is contrary to our usage.  Disable this feature.
145  alias -g '\${1+\"\$@\"}'='\"\$@\"'
146  setopt NO_GLOB_SUBST
147else
148  case \`(set -o) 2>/dev/null\` in #(
149  *posix*) :
150    set -o posix ;; #(
151  *) :
152     ;;
153esac
154fi
155"
156  as_required="as_fn_return () { (exit \$1); }
157as_fn_success () { as_fn_return 0; }
158as_fn_failure () { as_fn_return 1; }
159as_fn_ret_success () { return 0; }
160as_fn_ret_failure () { return 1; }
161
162exitcode=0
163as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169else
170  exitcode=1; echo positional parameters were not saved.
171fi
172test x\$exitcode = x0 || exit 1"
173  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177test \$(( 1 + 1 )) = 2 || exit 1"
178  if (eval "$as_required") 2>/dev/null; then :
179  as_have_required=yes
180else
181  as_have_required=no
182fi
183  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
184
185else
186  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187as_found=false
188for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
189do
190  IFS=$as_save_IFS
191  test -z "$as_dir" && as_dir=.
192  as_found=:
193  case $as_dir in #(
194	 /*)
195	   for as_base in sh bash ksh sh5; do
196	     # Try only shells that exist, to save several forks.
197	     as_shell=$as_dir/$as_base
198	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200  CONFIG_SHELL=$as_shell as_have_required=yes
201		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
202  break 2
203fi
204fi
205	   done;;
206       esac
207  as_found=false
208done
209$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211  CONFIG_SHELL=$SHELL as_have_required=yes
212fi; }
213IFS=$as_save_IFS
214
215
216      if test "x$CONFIG_SHELL" != x; then :
217  # We cannot yet assume a decent shell, so we have to provide a
218	# neutralization value for shells without unset; and this also
219	# works around shells that cannot unset nonexistent variables.
220	# Preserve -v and -x to the replacement shell.
221	BASH_ENV=/dev/null
222	ENV=/dev/null
223	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
224	export CONFIG_SHELL
225	case $- in # ((((
226	  *v*x* | *x*v* ) as_opts=-vx ;;
227	  *v* ) as_opts=-v ;;
228	  *x* ) as_opts=-x ;;
229	  * ) as_opts= ;;
230	esac
231	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
232fi
233
234    if test x$as_have_required = xno; then :
235  $as_echo "$0: This script requires a shell more modern than all"
236  $as_echo "$0: the shells that I found on your system."
237  if test x${ZSH_VERSION+set} = xset ; then
238    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
240  else
241    $as_echo "$0: Please tell bug-autoconf@gnu.org and
242$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
243$0: about your system, including any error possibly output
244$0: before this message. Then install a modern shell, or
245$0: manually run the script under such a shell if you do
246$0: have one."
247  fi
248  exit 1
249fi
250fi
251fi
252SHELL=${CONFIG_SHELL-/bin/sh}
253export SHELL
254# Unset more variables known to interfere with behavior of common tools.
255CLICOLOR_FORCE= GREP_OPTIONS=
256unset CLICOLOR_FORCE GREP_OPTIONS
257
258## --------------------- ##
259## M4sh Shell Functions. ##
260## --------------------- ##
261# as_fn_unset VAR
262# ---------------
263# Portably unset VAR.
264as_fn_unset ()
265{
266  { eval $1=; unset $1;}
267}
268as_unset=as_fn_unset
269
270# as_fn_set_status STATUS
271# -----------------------
272# Set $? to STATUS, without forking.
273as_fn_set_status ()
274{
275  return $1
276} # as_fn_set_status
277
278# as_fn_exit STATUS
279# -----------------
280# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281as_fn_exit ()
282{
283  set +e
284  as_fn_set_status $1
285  exit $1
286} # as_fn_exit
287
288# as_fn_mkdir_p
289# -------------
290# Create "$as_dir" as a directory, including parents if necessary.
291as_fn_mkdir_p ()
292{
293
294  case $as_dir in #(
295  -*) as_dir=./$as_dir;;
296  esac
297  test -d "$as_dir" || eval $as_mkdir_p || {
298    as_dirs=
299    while :; do
300      case $as_dir in #(
301      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
302      *) as_qdir=$as_dir;;
303      esac
304      as_dirs="'$as_qdir' $as_dirs"
305      as_dir=`$as_dirname -- "$as_dir" ||
306$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
307	 X"$as_dir" : 'X\(//\)[^/]' \| \
308	 X"$as_dir" : 'X\(//\)$' \| \
309	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
310$as_echo X"$as_dir" |
311    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
312	    s//\1/
313	    q
314	  }
315	  /^X\(\/\/\)[^/].*/{
316	    s//\1/
317	    q
318	  }
319	  /^X\(\/\/\)$/{
320	    s//\1/
321	    q
322	  }
323	  /^X\(\/\).*/{
324	    s//\1/
325	    q
326	  }
327	  s/.*/./; q'`
328      test -d "$as_dir" && break
329    done
330    test -z "$as_dirs" || eval "mkdir $as_dirs"
331  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
332
333
334} # as_fn_mkdir_p
335# as_fn_append VAR VALUE
336# ----------------------
337# Append the text in VALUE to the end of the definition contained in VAR. Take
338# advantage of any shell optimizations that allow amortized linear growth over
339# repeated appends, instead of the typical quadratic growth present in naive
340# implementations.
341if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
342  eval 'as_fn_append ()
343  {
344    eval $1+=\$2
345  }'
346else
347  as_fn_append ()
348  {
349    eval $1=\$$1\$2
350  }
351fi # as_fn_append
352
353# as_fn_arith ARG...
354# ------------------
355# Perform arithmetic evaluation on the ARGs, and store the result in the
356# global $as_val. Take advantage of shells that can avoid forks. The arguments
357# must be portable across $(()) and expr.
358if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
359  eval 'as_fn_arith ()
360  {
361    as_val=$(( $* ))
362  }'
363else
364  as_fn_arith ()
365  {
366    as_val=`expr "$@" || test $? -eq 1`
367  }
368fi # as_fn_arith
369
370
371# as_fn_error STATUS ERROR [LINENO LOG_FD]
372# ----------------------------------------
373# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
374# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
375# script with STATUS, using 1 if that was 0.
376as_fn_error ()
377{
378  as_status=$1; test $as_status -eq 0 && as_status=1
379  if test "$4"; then
380    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
381    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
382  fi
383  $as_echo "$as_me: error: $2" >&2
384  as_fn_exit $as_status
385} # as_fn_error
386
387if expr a : '\(a\)' >/dev/null 2>&1 &&
388   test "X`expr 00001 : '.*\(...\)'`" = X001; then
389  as_expr=expr
390else
391  as_expr=false
392fi
393
394if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
395  as_basename=basename
396else
397  as_basename=false
398fi
399
400if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
401  as_dirname=dirname
402else
403  as_dirname=false
404fi
405
406as_me=`$as_basename -- "$0" ||
407$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
408	 X"$0" : 'X\(//\)$' \| \
409	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
410$as_echo X/"$0" |
411    sed '/^.*\/\([^/][^/]*\)\/*$/{
412	    s//\1/
413	    q
414	  }
415	  /^X\/\(\/\/\)$/{
416	    s//\1/
417	    q
418	  }
419	  /^X\/\(\/\).*/{
420	    s//\1/
421	    q
422	  }
423	  s/.*/./; q'`
424
425# Avoid depending upon Character Ranges.
426as_cr_letters='abcdefghijklmnopqrstuvwxyz'
427as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
428as_cr_Letters=$as_cr_letters$as_cr_LETTERS
429as_cr_digits='0123456789'
430as_cr_alnum=$as_cr_Letters$as_cr_digits
431
432
433  as_lineno_1=$LINENO as_lineno_1a=$LINENO
434  as_lineno_2=$LINENO as_lineno_2a=$LINENO
435  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
436  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
437  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
438  sed -n '
439    p
440    /[$]LINENO/=
441  ' <$as_myself |
442    sed '
443      s/[$]LINENO.*/&-/
444      t lineno
445      b
446      :lineno
447      N
448      :loop
449      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450      t loop
451      s/-\n.*//
452    ' >$as_me.lineno &&
453  chmod +x "$as_me.lineno" ||
454    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
455
456  # Don't try to exec as it changes $[0], causing all sort of problems
457  # (the dirname of $[0] is not the place where we might find the
458  # original and so on.  Autoconf is especially sensitive to this).
459  . "./$as_me.lineno"
460  # Exit status is that of the last command.
461  exit
462}
463
464ECHO_C= ECHO_N= ECHO_T=
465case `echo -n x` in #(((((
466-n*)
467  case `echo 'xy\c'` in
468  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
469  xy)  ECHO_C='\c';;
470  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
471       ECHO_T='	';;
472  esac;;
473*)
474  ECHO_N='-n';;
475esac
476
477rm -f conf$$ conf$$.exe conf$$.file
478if test -d conf$$.dir; then
479  rm -f conf$$.dir/conf$$.file
480else
481  rm -f conf$$.dir
482  mkdir conf$$.dir 2>/dev/null
483fi
484if (echo >conf$$.file) 2>/dev/null; then
485  if ln -s conf$$.file conf$$ 2>/dev/null; then
486    as_ln_s='ln -s'
487    # ... but there are two gotchas:
488    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
489    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
490    # In both cases, we have to default to `cp -p'.
491    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
492      as_ln_s='cp -p'
493  elif ln conf$$.file conf$$ 2>/dev/null; then
494    as_ln_s=ln
495  else
496    as_ln_s='cp -p'
497  fi
498else
499  as_ln_s='cp -p'
500fi
501rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
502rmdir conf$$.dir 2>/dev/null
503
504if mkdir -p . 2>/dev/null; then
505  as_mkdir_p='mkdir -p "$as_dir"'
506else
507  test -d ./-p && rmdir ./-p
508  as_mkdir_p=false
509fi
510
511if test -x / >/dev/null 2>&1; then
512  as_test_x='test -x'
513else
514  if ls -dL / >/dev/null 2>&1; then
515    as_ls_L_option=L
516  else
517    as_ls_L_option=
518  fi
519  as_test_x='
520    eval sh -c '\''
521      if test -d "$1"; then
522	test -d "$1/.";
523      else
524	case $1 in #(
525	-*)set "./$1";;
526	esac;
527	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
528	???[sx]*):;;*)false;;esac;fi
529    '\'' sh
530  '
531fi
532as_executable_p=$as_test_x
533
534# Sed expression to map a string onto a valid CPP name.
535as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536
537# Sed expression to map a string onto a valid variable name.
538as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539
540
541test -n "$DJDIR" || exec 7<&0 </dev/null
542exec 6>&1
543
544# Name of the host.
545# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
546# so uname gets run too.
547ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
548
549#
550# Initializations.
551#
552ac_default_prefix=/usr/local
553ac_clean_files=
554ac_config_libobj_dir=.
555LIBOBJS=
556cross_compiling=no
557subdirs=
558MFLAGS=
559MAKEFLAGS=
560
561# Identity of this package.
562PACKAGE_NAME='encodings'
563PACKAGE_TARNAME='encodings'
564PACKAGE_VERSION='1.0.4'
565PACKAGE_STRING='encodings 1.0.4'
566PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
567PACKAGE_URL=''
568
569# Factoring default headers for most tests.
570ac_includes_default="\
571#include <stdio.h>
572#ifdef HAVE_SYS_TYPES_H
573# include <sys/types.h>
574#endif
575#ifdef HAVE_SYS_STAT_H
576# include <sys/stat.h>
577#endif
578#ifdef STDC_HEADERS
579# include <stdlib.h>
580# include <stddef.h>
581#else
582# ifdef HAVE_STDLIB_H
583#  include <stdlib.h>
584# endif
585#endif
586#ifdef HAVE_STRING_H
587# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
588#  include <memory.h>
589# endif
590# include <string.h>
591#endif
592#ifdef HAVE_STRINGS_H
593# include <strings.h>
594#endif
595#ifdef HAVE_INTTYPES_H
596# include <inttypes.h>
597#endif
598#ifdef HAVE_STDINT_H
599# include <stdint.h>
600#endif
601#ifdef HAVE_UNISTD_H
602# include <unistd.h>
603#endif"
604
605ac_subst_vars='am__EXEEXT_FALSE
606am__EXEEXT_TRUE
607LTLIBOBJS
608LIBOBJS
609ENCODINGSDIR
610FONTROOTDIR
611GZIP
612GZIP_LARGE_FALSE
613GZIP_LARGE_TRUE
614GZIP_SMALL_FALSE
615GZIP_SMALL_TRUE
616MKFONTSCALE
617AM_BACKSLASH
618AM_DEFAULT_VERBOSITY
619MAN_SUBSTS
620XORG_MAN_PAGE
621ADMIN_MAN_DIR
622DRIVER_MAN_DIR
623MISC_MAN_DIR
624FILE_MAN_DIR
625LIB_MAN_DIR
626APP_MAN_DIR
627ADMIN_MAN_SUFFIX
628DRIVER_MAN_SUFFIX
629MISC_MAN_SUFFIX
630FILE_MAN_SUFFIX
631LIB_MAN_SUFFIX
632APP_MAN_SUFFIX
633SED
634host_os
635host_vendor
636host_cpu
637host
638build_os
639build_vendor
640build_cpu
641build
642INSTALL_CMD
643PKG_CONFIG
644CHANGELOG_CMD
645CWARNFLAGS
646EGREP
647GREP
648CPP
649am__fastdepCC_FALSE
650am__fastdepCC_TRUE
651CCDEPMODE
652AMDEPBACKSLASH
653AMDEP_FALSE
654AMDEP_TRUE
655am__quote
656am__include
657DEPDIR
658OBJEXT
659EXEEXT
660ac_ct_CC
661CPPFLAGS
662LDFLAGS
663CFLAGS
664CC
665MAINT
666MAINTAINER_MODE_FALSE
667MAINTAINER_MODE_TRUE
668am__untar
669am__tar
670AMTAR
671am__leading_dot
672SET_MAKE
673AWK
674mkdir_p
675MKDIR_P
676INSTALL_STRIP_PROGRAM
677STRIP
678install_sh
679MAKEINFO
680AUTOHEADER
681AUTOMAKE
682AUTOCONF
683ACLOCAL
684VERSION
685PACKAGE
686CYGPATH_W
687am__isrc
688INSTALL_DATA
689INSTALL_SCRIPT
690INSTALL_PROGRAM
691target_alias
692host_alias
693build_alias
694LIBS
695ECHO_T
696ECHO_N
697ECHO_C
698DEFS
699mandir
700localedir
701libdir
702psdir
703pdfdir
704dvidir
705htmldir
706infodir
707docdir
708oldincludedir
709includedir
710localstatedir
711sharedstatedir
712sysconfdir
713datadir
714datarootdir
715libexecdir
716sbindir
717bindir
718program_transform_name
719prefix
720exec_prefix
721PACKAGE_URL
722PACKAGE_BUGREPORT
723PACKAGE_STRING
724PACKAGE_VERSION
725PACKAGE_TARNAME
726PACKAGE_NAME
727PATH_SEPARATOR
728SHELL'
729ac_subst_files=''
730ac_user_opts='
731enable_option_checking
732enable_maintainer_mode
733enable_dependency_tracking
734enable_strict_compilation
735enable_silent_rules
736enable_gzip_small_encodings
737enable_gzip_large_encodings
738with_fontrootdir
739with_encodingsdir
740'
741      ac_precious_vars='build_alias
742host_alias
743target_alias
744CC
745CFLAGS
746LDFLAGS
747LIBS
748CPPFLAGS
749CPP
750PKG_CONFIG'
751
752
753# Initialize some variables set by options.
754ac_init_help=
755ac_init_version=false
756ac_unrecognized_opts=
757ac_unrecognized_sep=
758# The variables have the same names as the options, with
759# dashes changed to underlines.
760cache_file=/dev/null
761exec_prefix=NONE
762no_create=
763no_recursion=
764prefix=NONE
765program_prefix=NONE
766program_suffix=NONE
767program_transform_name=s,x,x,
768silent=
769site=
770srcdir=
771verbose=
772x_includes=NONE
773x_libraries=NONE
774
775# Installation directory options.
776# These are left unexpanded so users can "make install exec_prefix=/foo"
777# and all the variables that are supposed to be based on exec_prefix
778# by default will actually change.
779# Use braces instead of parens because sh, perl, etc. also accept them.
780# (The list follows the same order as the GNU Coding Standards.)
781bindir='${exec_prefix}/bin'
782sbindir='${exec_prefix}/sbin'
783libexecdir='${exec_prefix}/libexec'
784datarootdir='${prefix}/share'
785datadir='${datarootdir}'
786sysconfdir='${prefix}/etc'
787sharedstatedir='${prefix}/com'
788localstatedir='${prefix}/var'
789includedir='${prefix}/include'
790oldincludedir='/usr/include'
791docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
792infodir='${datarootdir}/info'
793htmldir='${docdir}'
794dvidir='${docdir}'
795pdfdir='${docdir}'
796psdir='${docdir}'
797libdir='${exec_prefix}/lib'
798localedir='${datarootdir}/locale'
799mandir='${datarootdir}/man'
800
801ac_prev=
802ac_dashdash=
803for ac_option
804do
805  # If the previous option needs an argument, assign it.
806  if test -n "$ac_prev"; then
807    eval $ac_prev=\$ac_option
808    ac_prev=
809    continue
810  fi
811
812  case $ac_option in
813  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
814  *=)   ac_optarg= ;;
815  *)    ac_optarg=yes ;;
816  esac
817
818  # Accept the important Cygnus configure options, so we can diagnose typos.
819
820  case $ac_dashdash$ac_option in
821  --)
822    ac_dashdash=yes ;;
823
824  -bindir | --bindir | --bindi | --bind | --bin | --bi)
825    ac_prev=bindir ;;
826  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
827    bindir=$ac_optarg ;;
828
829  -build | --build | --buil | --bui | --bu)
830    ac_prev=build_alias ;;
831  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
832    build_alias=$ac_optarg ;;
833
834  -cache-file | --cache-file | --cache-fil | --cache-fi \
835  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
836    ac_prev=cache_file ;;
837  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
838  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
839    cache_file=$ac_optarg ;;
840
841  --config-cache | -C)
842    cache_file=config.cache ;;
843
844  -datadir | --datadir | --datadi | --datad)
845    ac_prev=datadir ;;
846  -datadir=* | --datadir=* | --datadi=* | --datad=*)
847    datadir=$ac_optarg ;;
848
849  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
850  | --dataroo | --dataro | --datar)
851    ac_prev=datarootdir ;;
852  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
853  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
854    datarootdir=$ac_optarg ;;
855
856  -disable-* | --disable-*)
857    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
858    # Reject names that are not valid shell variable names.
859    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
860      as_fn_error $? "invalid feature name: $ac_useropt"
861    ac_useropt_orig=$ac_useropt
862    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
863    case $ac_user_opts in
864      *"
865"enable_$ac_useropt"
866"*) ;;
867      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
868	 ac_unrecognized_sep=', ';;
869    esac
870    eval enable_$ac_useropt=no ;;
871
872  -docdir | --docdir | --docdi | --doc | --do)
873    ac_prev=docdir ;;
874  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
875    docdir=$ac_optarg ;;
876
877  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
878    ac_prev=dvidir ;;
879  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
880    dvidir=$ac_optarg ;;
881
882  -enable-* | --enable-*)
883    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
884    # Reject names that are not valid shell variable names.
885    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
886      as_fn_error $? "invalid feature name: $ac_useropt"
887    ac_useropt_orig=$ac_useropt
888    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
889    case $ac_user_opts in
890      *"
891"enable_$ac_useropt"
892"*) ;;
893      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
894	 ac_unrecognized_sep=', ';;
895    esac
896    eval enable_$ac_useropt=\$ac_optarg ;;
897
898  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
899  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
900  | --exec | --exe | --ex)
901    ac_prev=exec_prefix ;;
902  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
903  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
904  | --exec=* | --exe=* | --ex=*)
905    exec_prefix=$ac_optarg ;;
906
907  -gas | --gas | --ga | --g)
908    # Obsolete; use --with-gas.
909    with_gas=yes ;;
910
911  -help | --help | --hel | --he | -h)
912    ac_init_help=long ;;
913  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
914    ac_init_help=recursive ;;
915  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
916    ac_init_help=short ;;
917
918  -host | --host | --hos | --ho)
919    ac_prev=host_alias ;;
920  -host=* | --host=* | --hos=* | --ho=*)
921    host_alias=$ac_optarg ;;
922
923  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
924    ac_prev=htmldir ;;
925  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
926  | --ht=*)
927    htmldir=$ac_optarg ;;
928
929  -includedir | --includedir | --includedi | --included | --include \
930  | --includ | --inclu | --incl | --inc)
931    ac_prev=includedir ;;
932  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
933  | --includ=* | --inclu=* | --incl=* | --inc=*)
934    includedir=$ac_optarg ;;
935
936  -infodir | --infodir | --infodi | --infod | --info | --inf)
937    ac_prev=infodir ;;
938  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
939    infodir=$ac_optarg ;;
940
941  -libdir | --libdir | --libdi | --libd)
942    ac_prev=libdir ;;
943  -libdir=* | --libdir=* | --libdi=* | --libd=*)
944    libdir=$ac_optarg ;;
945
946  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
947  | --libexe | --libex | --libe)
948    ac_prev=libexecdir ;;
949  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
950  | --libexe=* | --libex=* | --libe=*)
951    libexecdir=$ac_optarg ;;
952
953  -localedir | --localedir | --localedi | --localed | --locale)
954    ac_prev=localedir ;;
955  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
956    localedir=$ac_optarg ;;
957
958  -localstatedir | --localstatedir | --localstatedi | --localstated \
959  | --localstate | --localstat | --localsta | --localst | --locals)
960    ac_prev=localstatedir ;;
961  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
962  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
963    localstatedir=$ac_optarg ;;
964
965  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
966    ac_prev=mandir ;;
967  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
968    mandir=$ac_optarg ;;
969
970  -nfp | --nfp | --nf)
971    # Obsolete; use --without-fp.
972    with_fp=no ;;
973
974  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
975  | --no-cr | --no-c | -n)
976    no_create=yes ;;
977
978  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
979  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
980    no_recursion=yes ;;
981
982  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
983  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
984  | --oldin | --oldi | --old | --ol | --o)
985    ac_prev=oldincludedir ;;
986  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
987  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
988  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
989    oldincludedir=$ac_optarg ;;
990
991  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
992    ac_prev=prefix ;;
993  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
994    prefix=$ac_optarg ;;
995
996  -program-prefix | --program-prefix | --program-prefi | --program-pref \
997  | --program-pre | --program-pr | --program-p)
998    ac_prev=program_prefix ;;
999  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1000  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1001    program_prefix=$ac_optarg ;;
1002
1003  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1004  | --program-suf | --program-su | --program-s)
1005    ac_prev=program_suffix ;;
1006  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1007  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1008    program_suffix=$ac_optarg ;;
1009
1010  -program-transform-name | --program-transform-name \
1011  | --program-transform-nam | --program-transform-na \
1012  | --program-transform-n | --program-transform- \
1013  | --program-transform | --program-transfor \
1014  | --program-transfo | --program-transf \
1015  | --program-trans | --program-tran \
1016  | --progr-tra | --program-tr | --program-t)
1017    ac_prev=program_transform_name ;;
1018  -program-transform-name=* | --program-transform-name=* \
1019  | --program-transform-nam=* | --program-transform-na=* \
1020  | --program-transform-n=* | --program-transform-=* \
1021  | --program-transform=* | --program-transfor=* \
1022  | --program-transfo=* | --program-transf=* \
1023  | --program-trans=* | --program-tran=* \
1024  | --progr-tra=* | --program-tr=* | --program-t=*)
1025    program_transform_name=$ac_optarg ;;
1026
1027  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1028    ac_prev=pdfdir ;;
1029  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1030    pdfdir=$ac_optarg ;;
1031
1032  -psdir | --psdir | --psdi | --psd | --ps)
1033    ac_prev=psdir ;;
1034  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1035    psdir=$ac_optarg ;;
1036
1037  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1038  | -silent | --silent | --silen | --sile | --sil)
1039    silent=yes ;;
1040
1041  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1042    ac_prev=sbindir ;;
1043  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1044  | --sbi=* | --sb=*)
1045    sbindir=$ac_optarg ;;
1046
1047  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1048  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1049  | --sharedst | --shareds | --shared | --share | --shar \
1050  | --sha | --sh)
1051    ac_prev=sharedstatedir ;;
1052  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1053  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1054  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1055  | --sha=* | --sh=*)
1056    sharedstatedir=$ac_optarg ;;
1057
1058  -site | --site | --sit)
1059    ac_prev=site ;;
1060  -site=* | --site=* | --sit=*)
1061    site=$ac_optarg ;;
1062
1063  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1064    ac_prev=srcdir ;;
1065  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1066    srcdir=$ac_optarg ;;
1067
1068  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1069  | --syscon | --sysco | --sysc | --sys | --sy)
1070    ac_prev=sysconfdir ;;
1071  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1072  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1073    sysconfdir=$ac_optarg ;;
1074
1075  -target | --target | --targe | --targ | --tar | --ta | --t)
1076    ac_prev=target_alias ;;
1077  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1078    target_alias=$ac_optarg ;;
1079
1080  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1081    verbose=yes ;;
1082
1083  -version | --version | --versio | --versi | --vers | -V)
1084    ac_init_version=: ;;
1085
1086  -with-* | --with-*)
1087    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1088    # Reject names that are not valid shell variable names.
1089    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1090      as_fn_error $? "invalid package name: $ac_useropt"
1091    ac_useropt_orig=$ac_useropt
1092    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1093    case $ac_user_opts in
1094      *"
1095"with_$ac_useropt"
1096"*) ;;
1097      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1098	 ac_unrecognized_sep=', ';;
1099    esac
1100    eval with_$ac_useropt=\$ac_optarg ;;
1101
1102  -without-* | --without-*)
1103    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1104    # Reject names that are not valid shell variable names.
1105    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1106      as_fn_error $? "invalid package name: $ac_useropt"
1107    ac_useropt_orig=$ac_useropt
1108    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1109    case $ac_user_opts in
1110      *"
1111"with_$ac_useropt"
1112"*) ;;
1113      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1114	 ac_unrecognized_sep=', ';;
1115    esac
1116    eval with_$ac_useropt=no ;;
1117
1118  --x)
1119    # Obsolete; use --with-x.
1120    with_x=yes ;;
1121
1122  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1123  | --x-incl | --x-inc | --x-in | --x-i)
1124    ac_prev=x_includes ;;
1125  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1126  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1127    x_includes=$ac_optarg ;;
1128
1129  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1130  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1131    ac_prev=x_libraries ;;
1132  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1133  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1134    x_libraries=$ac_optarg ;;
1135
1136  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1137Try \`$0 --help' for more information"
1138    ;;
1139
1140  *=*)
1141    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1142    # Reject names that are not valid shell variable names.
1143    case $ac_envvar in #(
1144      '' | [0-9]* | *[!_$as_cr_alnum]* )
1145      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1146    esac
1147    eval $ac_envvar=\$ac_optarg
1148    export $ac_envvar ;;
1149
1150  *)
1151    # FIXME: should be removed in autoconf 3.0.
1152    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1153    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1154      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1155    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1156    ;;
1157
1158  esac
1159done
1160
1161if test -n "$ac_prev"; then
1162  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1163  as_fn_error $? "missing argument to $ac_option"
1164fi
1165
1166if test -n "$ac_unrecognized_opts"; then
1167  case $enable_option_checking in
1168    no) ;;
1169    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1170    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1171  esac
1172fi
1173
1174# Check all directory arguments for consistency.
1175for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1176		datadir sysconfdir sharedstatedir localstatedir includedir \
1177		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1178		libdir localedir mandir
1179do
1180  eval ac_val=\$$ac_var
1181  # Remove trailing slashes.
1182  case $ac_val in
1183    */ )
1184      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1185      eval $ac_var=\$ac_val;;
1186  esac
1187  # Be sure to have absolute directory names.
1188  case $ac_val in
1189    [\\/$]* | ?:[\\/]* )  continue;;
1190    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1191  esac
1192  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1193done
1194
1195# There might be people who depend on the old broken behavior: `$host'
1196# used to hold the argument of --host etc.
1197# FIXME: To remove some day.
1198build=$build_alias
1199host=$host_alias
1200target=$target_alias
1201
1202# FIXME: To remove some day.
1203if test "x$host_alias" != x; then
1204  if test "x$build_alias" = x; then
1205    cross_compiling=maybe
1206    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1207    If a cross compiler is detected then cross compile mode will be used" >&2
1208  elif test "x$build_alias" != "x$host_alias"; then
1209    cross_compiling=yes
1210  fi
1211fi
1212
1213ac_tool_prefix=
1214test -n "$host_alias" && ac_tool_prefix=$host_alias-
1215
1216test "$silent" = yes && exec 6>/dev/null
1217
1218
1219ac_pwd=`pwd` && test -n "$ac_pwd" &&
1220ac_ls_di=`ls -di .` &&
1221ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1222  as_fn_error $? "working directory cannot be determined"
1223test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1224  as_fn_error $? "pwd does not report name of working directory"
1225
1226
1227# Find the source files, if location was not specified.
1228if test -z "$srcdir"; then
1229  ac_srcdir_defaulted=yes
1230  # Try the directory containing this script, then the parent directory.
1231  ac_confdir=`$as_dirname -- "$as_myself" ||
1232$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1233	 X"$as_myself" : 'X\(//\)[^/]' \| \
1234	 X"$as_myself" : 'X\(//\)$' \| \
1235	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1236$as_echo X"$as_myself" |
1237    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1238	    s//\1/
1239	    q
1240	  }
1241	  /^X\(\/\/\)[^/].*/{
1242	    s//\1/
1243	    q
1244	  }
1245	  /^X\(\/\/\)$/{
1246	    s//\1/
1247	    q
1248	  }
1249	  /^X\(\/\).*/{
1250	    s//\1/
1251	    q
1252	  }
1253	  s/.*/./; q'`
1254  srcdir=$ac_confdir
1255  if test ! -r "$srcdir/$ac_unique_file"; then
1256    srcdir=..
1257  fi
1258else
1259  ac_srcdir_defaulted=no
1260fi
1261if test ! -r "$srcdir/$ac_unique_file"; then
1262  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1263  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1264fi
1265ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1266ac_abs_confdir=`(
1267	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1268	pwd)`
1269# When building in place, set srcdir=.
1270if test "$ac_abs_confdir" = "$ac_pwd"; then
1271  srcdir=.
1272fi
1273# Remove unnecessary trailing slashes from srcdir.
1274# Double slashes in file names in object file debugging info
1275# mess up M-x gdb in Emacs.
1276case $srcdir in
1277*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1278esac
1279for ac_var in $ac_precious_vars; do
1280  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1281  eval ac_env_${ac_var}_value=\$${ac_var}
1282  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1283  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1284done
1285
1286#
1287# Report the --help message.
1288#
1289if test "$ac_init_help" = "long"; then
1290  # Omit some internal or obsolete options to make the list less imposing.
1291  # This message is too long to be a string in the A/UX 3.1 sh.
1292  cat <<_ACEOF
1293\`configure' configures encodings 1.0.4 to adapt to many kinds of systems.
1294
1295Usage: $0 [OPTION]... [VAR=VALUE]...
1296
1297To assign environment variables (e.g., CC, CFLAGS...), specify them as
1298VAR=VALUE.  See below for descriptions of some of the useful variables.
1299
1300Defaults for the options are specified in brackets.
1301
1302Configuration:
1303  -h, --help              display this help and exit
1304      --help=short        display options specific to this package
1305      --help=recursive    display the short help of all the included packages
1306  -V, --version           display version information and exit
1307  -q, --quiet, --silent   do not print \`checking ...' messages
1308      --cache-file=FILE   cache test results in FILE [disabled]
1309  -C, --config-cache      alias for \`--cache-file=config.cache'
1310  -n, --no-create         do not create output files
1311      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1312
1313Installation directories:
1314  --prefix=PREFIX         install architecture-independent files in PREFIX
1315                          [$ac_default_prefix]
1316  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1317                          [PREFIX]
1318
1319By default, \`make install' will install all the files in
1320\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1321an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1322for instance \`--prefix=\$HOME'.
1323
1324For better control, use the options below.
1325
1326Fine tuning of the installation directories:
1327  --bindir=DIR            user executables [EPREFIX/bin]
1328  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1329  --libexecdir=DIR        program executables [EPREFIX/libexec]
1330  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1331  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1332  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1333  --libdir=DIR            object code libraries [EPREFIX/lib]
1334  --includedir=DIR        C header files [PREFIX/include]
1335  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1336  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1337  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1338  --infodir=DIR           info documentation [DATAROOTDIR/info]
1339  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1340  --mandir=DIR            man documentation [DATAROOTDIR/man]
1341  --docdir=DIR            documentation root [DATAROOTDIR/doc/encodings]
1342  --htmldir=DIR           html documentation [DOCDIR]
1343  --dvidir=DIR            dvi documentation [DOCDIR]
1344  --pdfdir=DIR            pdf documentation [DOCDIR]
1345  --psdir=DIR             ps documentation [DOCDIR]
1346_ACEOF
1347
1348  cat <<\_ACEOF
1349
1350Program names:
1351  --program-prefix=PREFIX            prepend PREFIX to installed program names
1352  --program-suffix=SUFFIX            append SUFFIX to installed program names
1353  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1354
1355System types:
1356  --build=BUILD     configure for building on BUILD [guessed]
1357  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1358_ACEOF
1359fi
1360
1361if test -n "$ac_init_help"; then
1362  case $ac_init_help in
1363     short | recursive ) echo "Configuration of encodings 1.0.4:";;
1364   esac
1365  cat <<\_ACEOF
1366
1367Optional Features:
1368  --disable-option-checking  ignore unrecognized --enable/--with options
1369  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1370  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1371  --enable-maintainer-mode  enable make rules and dependencies not useful
1372			  (and sometimes confusing) to the casual installer
1373  --disable-dependency-tracking  speeds up one-time build
1374  --enable-dependency-tracking   do not reject slow dependency extractors
1375  --enable-strict-compilation
1376                          Enable all warnings from compiler and make them
1377                          errors (default: disabled)
1378  --enable-silent-rules          less verbose build output (undo: `make V=1')
1379  --disable-silent-rules         verbose build output (undo: `make V=0')
1380  --disable-gzip-small-encodings
1381                          Disable compression of small encoding files
1382  --disable-gzip-large-encodings
1383                          Disable compression of large encoding files
1384
1385Optional Packages:
1386  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1387  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1388  --with-fontrootdir=DIR  Path to root directory for font files
1389  --with-encodingsdir=DIR Path to encodings files [FONTROOTDIR/encodings]
1390
1391Some influential environment variables:
1392  CC          C compiler command
1393  CFLAGS      C compiler flags
1394  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1395              nonstandard directory <lib dir>
1396  LIBS        libraries to pass to the linker, e.g. -l<library>
1397  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1398              you have headers in a nonstandard directory <include dir>
1399  CPP         C preprocessor
1400  PKG_CONFIG  path to pkg-config utility
1401
1402Use these variables to override the choices made by `configure' or to help
1403it to find libraries and programs with nonstandard names/locations.
1404
1405Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1406_ACEOF
1407ac_status=$?
1408fi
1409
1410if test "$ac_init_help" = "recursive"; then
1411  # If there are subdirs, report their specific --help.
1412  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1413    test -d "$ac_dir" ||
1414      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1415      continue
1416    ac_builddir=.
1417
1418case "$ac_dir" in
1419.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1420*)
1421  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1422  # A ".." for each directory in $ac_dir_suffix.
1423  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1424  case $ac_top_builddir_sub in
1425  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1426  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1427  esac ;;
1428esac
1429ac_abs_top_builddir=$ac_pwd
1430ac_abs_builddir=$ac_pwd$ac_dir_suffix
1431# for backward compatibility:
1432ac_top_builddir=$ac_top_build_prefix
1433
1434case $srcdir in
1435  .)  # We are building in place.
1436    ac_srcdir=.
1437    ac_top_srcdir=$ac_top_builddir_sub
1438    ac_abs_top_srcdir=$ac_pwd ;;
1439  [\\/]* | ?:[\\/]* )  # Absolute name.
1440    ac_srcdir=$srcdir$ac_dir_suffix;
1441    ac_top_srcdir=$srcdir
1442    ac_abs_top_srcdir=$srcdir ;;
1443  *) # Relative name.
1444    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1445    ac_top_srcdir=$ac_top_build_prefix$srcdir
1446    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1447esac
1448ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1449
1450    cd "$ac_dir" || { ac_status=$?; continue; }
1451    # Check for guested configure.
1452    if test -f "$ac_srcdir/configure.gnu"; then
1453      echo &&
1454      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1455    elif test -f "$ac_srcdir/configure"; then
1456      echo &&
1457      $SHELL "$ac_srcdir/configure" --help=recursive
1458    else
1459      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1460    fi || ac_status=$?
1461    cd "$ac_pwd" || { ac_status=$?; break; }
1462  done
1463fi
1464
1465test -n "$ac_init_help" && exit $ac_status
1466if $ac_init_version; then
1467  cat <<\_ACEOF
1468encodings configure 1.0.4
1469generated by GNU Autoconf 2.68
1470
1471Copyright (C) 2010 Free Software Foundation, Inc.
1472This configure script is free software; the Free Software Foundation
1473gives unlimited permission to copy, distribute and modify it.
1474_ACEOF
1475  exit
1476fi
1477
1478## ------------------------ ##
1479## Autoconf initialization. ##
1480## ------------------------ ##
1481
1482# ac_fn_c_try_compile LINENO
1483# --------------------------
1484# Try to compile conftest.$ac_ext, and return whether this succeeded.
1485ac_fn_c_try_compile ()
1486{
1487  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1488  rm -f conftest.$ac_objext
1489  if { { ac_try="$ac_compile"
1490case "(($ac_try" in
1491  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1492  *) ac_try_echo=$ac_try;;
1493esac
1494eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1495$as_echo "$ac_try_echo"; } >&5
1496  (eval "$ac_compile") 2>conftest.err
1497  ac_status=$?
1498  if test -s conftest.err; then
1499    grep -v '^ *+' conftest.err >conftest.er1
1500    cat conftest.er1 >&5
1501    mv -f conftest.er1 conftest.err
1502  fi
1503  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1504  test $ac_status = 0; } && {
1505	 test -z "$ac_c_werror_flag" ||
1506	 test ! -s conftest.err
1507       } && test -s conftest.$ac_objext; then :
1508  ac_retval=0
1509else
1510  $as_echo "$as_me: failed program was:" >&5
1511sed 's/^/| /' conftest.$ac_ext >&5
1512
1513	ac_retval=1
1514fi
1515  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1516  as_fn_set_status $ac_retval
1517
1518} # ac_fn_c_try_compile
1519
1520# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1521# ---------------------------------------------
1522# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1523# accordingly.
1524ac_fn_c_check_decl ()
1525{
1526  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1527  as_decl_name=`echo $2|sed 's/ *(.*//'`
1528  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1529  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1530$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1531if eval \${$3+:} false; then :
1532  $as_echo_n "(cached) " >&6
1533else
1534  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1535/* end confdefs.h.  */
1536$4
1537int
1538main ()
1539{
1540#ifndef $as_decl_name
1541#ifdef __cplusplus
1542  (void) $as_decl_use;
1543#else
1544  (void) $as_decl_name;
1545#endif
1546#endif
1547
1548  ;
1549  return 0;
1550}
1551_ACEOF
1552if ac_fn_c_try_compile "$LINENO"; then :
1553  eval "$3=yes"
1554else
1555  eval "$3=no"
1556fi
1557rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1558fi
1559eval ac_res=\$$3
1560	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1561$as_echo "$ac_res" >&6; }
1562  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1563
1564} # ac_fn_c_check_decl
1565
1566# ac_fn_c_try_cpp LINENO
1567# ----------------------
1568# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1569ac_fn_c_try_cpp ()
1570{
1571  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1572  if { { ac_try="$ac_cpp conftest.$ac_ext"
1573case "(($ac_try" in
1574  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1575  *) ac_try_echo=$ac_try;;
1576esac
1577eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1578$as_echo "$ac_try_echo"; } >&5
1579  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1580  ac_status=$?
1581  if test -s conftest.err; then
1582    grep -v '^ *+' conftest.err >conftest.er1
1583    cat conftest.er1 >&5
1584    mv -f conftest.er1 conftest.err
1585  fi
1586  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1587  test $ac_status = 0; } > conftest.i && {
1588	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1589	 test ! -s conftest.err
1590       }; then :
1591  ac_retval=0
1592else
1593  $as_echo "$as_me: failed program was:" >&5
1594sed 's/^/| /' conftest.$ac_ext >&5
1595
1596    ac_retval=1
1597fi
1598  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1599  as_fn_set_status $ac_retval
1600
1601} # ac_fn_c_try_cpp
1602
1603# ac_fn_c_try_run LINENO
1604# ----------------------
1605# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1606# that executables *can* be run.
1607ac_fn_c_try_run ()
1608{
1609  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1610  if { { ac_try="$ac_link"
1611case "(($ac_try" in
1612  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1613  *) ac_try_echo=$ac_try;;
1614esac
1615eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1616$as_echo "$ac_try_echo"; } >&5
1617  (eval "$ac_link") 2>&5
1618  ac_status=$?
1619  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1620  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1621  { { case "(($ac_try" in
1622  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1623  *) ac_try_echo=$ac_try;;
1624esac
1625eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1626$as_echo "$ac_try_echo"; } >&5
1627  (eval "$ac_try") 2>&5
1628  ac_status=$?
1629  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1630  test $ac_status = 0; }; }; then :
1631  ac_retval=0
1632else
1633  $as_echo "$as_me: program exited with status $ac_status" >&5
1634       $as_echo "$as_me: failed program was:" >&5
1635sed 's/^/| /' conftest.$ac_ext >&5
1636
1637       ac_retval=$ac_status
1638fi
1639  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1640  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1641  as_fn_set_status $ac_retval
1642
1643} # ac_fn_c_try_run
1644
1645# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1646# -------------------------------------------------------
1647# Tests whether HEADER exists and can be compiled using the include files in
1648# INCLUDES, setting the cache variable VAR accordingly.
1649ac_fn_c_check_header_compile ()
1650{
1651  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1652  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1653$as_echo_n "checking for $2... " >&6; }
1654if eval \${$3+:} false; then :
1655  $as_echo_n "(cached) " >&6
1656else
1657  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1658/* end confdefs.h.  */
1659$4
1660#include <$2>
1661_ACEOF
1662if ac_fn_c_try_compile "$LINENO"; then :
1663  eval "$3=yes"
1664else
1665  eval "$3=no"
1666fi
1667rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1668fi
1669eval ac_res=\$$3
1670	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1671$as_echo "$ac_res" >&6; }
1672  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1673
1674} # ac_fn_c_check_header_compile
1675cat >config.log <<_ACEOF
1676This file contains any messages produced by compilers while
1677running configure, to aid debugging if configure makes a mistake.
1678
1679It was created by encodings $as_me 1.0.4, which was
1680generated by GNU Autoconf 2.68.  Invocation command line was
1681
1682  $ $0 $@
1683
1684_ACEOF
1685exec 5>>config.log
1686{
1687cat <<_ASUNAME
1688## --------- ##
1689## Platform. ##
1690## --------- ##
1691
1692hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1693uname -m = `(uname -m) 2>/dev/null || echo unknown`
1694uname -r = `(uname -r) 2>/dev/null || echo unknown`
1695uname -s = `(uname -s) 2>/dev/null || echo unknown`
1696uname -v = `(uname -v) 2>/dev/null || echo unknown`
1697
1698/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1699/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1700
1701/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1702/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1703/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1704/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1705/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1706/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1707/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1708
1709_ASUNAME
1710
1711as_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    $as_echo "PATH: $as_dir"
1717  done
1718IFS=$as_save_IFS
1719
1720} >&5
1721
1722cat >&5 <<_ACEOF
1723
1724
1725## ----------- ##
1726## Core tests. ##
1727## ----------- ##
1728
1729_ACEOF
1730
1731
1732# Keep a trace of the command line.
1733# Strip out --no-create and --no-recursion so they do not pile up.
1734# Strip out --silent because we don't want to record it for future runs.
1735# Also quote any args containing shell meta-characters.
1736# Make two passes to allow for proper duplicate-argument suppression.
1737ac_configure_args=
1738ac_configure_args0=
1739ac_configure_args1=
1740ac_must_keep_next=false
1741for ac_pass in 1 2
1742do
1743  for ac_arg
1744  do
1745    case $ac_arg in
1746    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1747    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1748    | -silent | --silent | --silen | --sile | --sil)
1749      continue ;;
1750    *\'*)
1751      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1752    esac
1753    case $ac_pass in
1754    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1755    2)
1756      as_fn_append ac_configure_args1 " '$ac_arg'"
1757      if test $ac_must_keep_next = true; then
1758	ac_must_keep_next=false # Got value, back to normal.
1759      else
1760	case $ac_arg in
1761	  *=* | --config-cache | -C | -disable-* | --disable-* \
1762	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1763	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1764	  | -with-* | --with-* | -without-* | --without-* | --x)
1765	    case "$ac_configure_args0 " in
1766	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1767	    esac
1768	    ;;
1769	  -* ) ac_must_keep_next=true ;;
1770	esac
1771      fi
1772      as_fn_append ac_configure_args " '$ac_arg'"
1773      ;;
1774    esac
1775  done
1776done
1777{ ac_configure_args0=; unset ac_configure_args0;}
1778{ ac_configure_args1=; unset ac_configure_args1;}
1779
1780# When interrupted or exit'd, cleanup temporary files, and complete
1781# config.log.  We remove comments because anyway the quotes in there
1782# would cause problems or look ugly.
1783# WARNING: Use '\'' to represent an apostrophe within the trap.
1784# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1785trap 'exit_status=$?
1786  # Save into config.log some information that might help in debugging.
1787  {
1788    echo
1789
1790    $as_echo "## ---------------- ##
1791## Cache variables. ##
1792## ---------------- ##"
1793    echo
1794    # The following way of writing the cache mishandles newlines in values,
1795(
1796  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1797    eval ac_val=\$$ac_var
1798    case $ac_val in #(
1799    *${as_nl}*)
1800      case $ac_var in #(
1801      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1802$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1803      esac
1804      case $ac_var in #(
1805      _ | IFS | as_nl) ;; #(
1806      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1807      *) { eval $ac_var=; unset $ac_var;} ;;
1808      esac ;;
1809    esac
1810  done
1811  (set) 2>&1 |
1812    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1813    *${as_nl}ac_space=\ *)
1814      sed -n \
1815	"s/'\''/'\''\\\\'\'''\''/g;
1816	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1817      ;; #(
1818    *)
1819      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1820      ;;
1821    esac |
1822    sort
1823)
1824    echo
1825
1826    $as_echo "## ----------------- ##
1827## Output variables. ##
1828## ----------------- ##"
1829    echo
1830    for ac_var in $ac_subst_vars
1831    do
1832      eval ac_val=\$$ac_var
1833      case $ac_val in
1834      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1835      esac
1836      $as_echo "$ac_var='\''$ac_val'\''"
1837    done | sort
1838    echo
1839
1840    if test -n "$ac_subst_files"; then
1841      $as_echo "## ------------------- ##
1842## File substitutions. ##
1843## ------------------- ##"
1844      echo
1845      for ac_var in $ac_subst_files
1846      do
1847	eval ac_val=\$$ac_var
1848	case $ac_val in
1849	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1850	esac
1851	$as_echo "$ac_var='\''$ac_val'\''"
1852      done | sort
1853      echo
1854    fi
1855
1856    if test -s confdefs.h; then
1857      $as_echo "## ----------- ##
1858## confdefs.h. ##
1859## ----------- ##"
1860      echo
1861      cat confdefs.h
1862      echo
1863    fi
1864    test "$ac_signal" != 0 &&
1865      $as_echo "$as_me: caught signal $ac_signal"
1866    $as_echo "$as_me: exit $exit_status"
1867  } >&5
1868  rm -f core *.core core.conftest.* &&
1869    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1870    exit $exit_status
1871' 0
1872for ac_signal in 1 2 13 15; do
1873  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1874done
1875ac_signal=0
1876
1877# confdefs.h avoids OS command line length limits that DEFS can exceed.
1878rm -f -r conftest* confdefs.h
1879
1880$as_echo "/* confdefs.h */" > confdefs.h
1881
1882# Predefined preprocessor variables.
1883
1884cat >>confdefs.h <<_ACEOF
1885#define PACKAGE_NAME "$PACKAGE_NAME"
1886_ACEOF
1887
1888cat >>confdefs.h <<_ACEOF
1889#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1890_ACEOF
1891
1892cat >>confdefs.h <<_ACEOF
1893#define PACKAGE_VERSION "$PACKAGE_VERSION"
1894_ACEOF
1895
1896cat >>confdefs.h <<_ACEOF
1897#define PACKAGE_STRING "$PACKAGE_STRING"
1898_ACEOF
1899
1900cat >>confdefs.h <<_ACEOF
1901#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1902_ACEOF
1903
1904cat >>confdefs.h <<_ACEOF
1905#define PACKAGE_URL "$PACKAGE_URL"
1906_ACEOF
1907
1908
1909# Let the site file select an alternate cache file if it wants to.
1910# Prefer an explicitly selected file to automatically selected ones.
1911ac_site_file1=NONE
1912ac_site_file2=NONE
1913if test -n "$CONFIG_SITE"; then
1914  # We do not want a PATH search for config.site.
1915  case $CONFIG_SITE in #((
1916    -*)  ac_site_file1=./$CONFIG_SITE;;
1917    */*) ac_site_file1=$CONFIG_SITE;;
1918    *)   ac_site_file1=./$CONFIG_SITE;;
1919  esac
1920elif test "x$prefix" != xNONE; then
1921  ac_site_file1=$prefix/share/config.site
1922  ac_site_file2=$prefix/etc/config.site
1923else
1924  ac_site_file1=$ac_default_prefix/share/config.site
1925  ac_site_file2=$ac_default_prefix/etc/config.site
1926fi
1927for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1928do
1929  test "x$ac_site_file" = xNONE && continue
1930  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1931    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1932$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1933    sed 's/^/| /' "$ac_site_file" >&5
1934    . "$ac_site_file" \
1935      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1936$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1937as_fn_error $? "failed to load site script $ac_site_file
1938See \`config.log' for more details" "$LINENO" 5; }
1939  fi
1940done
1941
1942if test -r "$cache_file"; then
1943  # Some versions of bash will fail to source /dev/null (special files
1944  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1945  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1946    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1947$as_echo "$as_me: loading cache $cache_file" >&6;}
1948    case $cache_file in
1949      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1950      *)                      . "./$cache_file";;
1951    esac
1952  fi
1953else
1954  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1955$as_echo "$as_me: creating cache $cache_file" >&6;}
1956  >$cache_file
1957fi
1958
1959# Check that the precious variables saved in the cache have kept the same
1960# value.
1961ac_cache_corrupted=false
1962for ac_var in $ac_precious_vars; do
1963  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1964  eval ac_new_set=\$ac_env_${ac_var}_set
1965  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1966  eval ac_new_val=\$ac_env_${ac_var}_value
1967  case $ac_old_set,$ac_new_set in
1968    set,)
1969      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1970$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1971      ac_cache_corrupted=: ;;
1972    ,set)
1973      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1974$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1975      ac_cache_corrupted=: ;;
1976    ,);;
1977    *)
1978      if test "x$ac_old_val" != "x$ac_new_val"; then
1979	# differences in whitespace do not lead to failure.
1980	ac_old_val_w=`echo x $ac_old_val`
1981	ac_new_val_w=`echo x $ac_new_val`
1982	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1983	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1984$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1985	  ac_cache_corrupted=:
1986	else
1987	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1988$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1989	  eval $ac_var=\$ac_old_val
1990	fi
1991	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1992$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1993	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1994$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1995      fi;;
1996  esac
1997  # Pass precious variables to config.status.
1998  if test "$ac_new_set" = set; then
1999    case $ac_new_val in
2000    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2001    *) ac_arg=$ac_var=$ac_new_val ;;
2002    esac
2003    case " $ac_configure_args " in
2004      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2005      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2006    esac
2007  fi
2008done
2009if $ac_cache_corrupted; then
2010  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2011$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2012  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2013$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2014  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2015fi
2016## -------------------- ##
2017## Main body of script. ##
2018## -------------------- ##
2019
2020ac_ext=c
2021ac_cpp='$CPP $CPPFLAGS'
2022ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2023ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2024ac_compiler_gnu=$ac_cv_c_compiler_gnu
2025
2026
2027am__api_version='1.11'
2028
2029ac_aux_dir=
2030for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2031  if test -f "$ac_dir/install-sh"; then
2032    ac_aux_dir=$ac_dir
2033    ac_install_sh="$ac_aux_dir/install-sh -c"
2034    break
2035  elif test -f "$ac_dir/install.sh"; then
2036    ac_aux_dir=$ac_dir
2037    ac_install_sh="$ac_aux_dir/install.sh -c"
2038    break
2039  elif test -f "$ac_dir/shtool"; then
2040    ac_aux_dir=$ac_dir
2041    ac_install_sh="$ac_aux_dir/shtool install -c"
2042    break
2043  fi
2044done
2045if test -z "$ac_aux_dir"; then
2046  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2047fi
2048
2049# These three variables are undocumented and unsupported,
2050# and are intended to be withdrawn in a future Autoconf release.
2051# They can cause serious problems if a builder's source tree is in a directory
2052# whose full name contains unusual characters.
2053ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2054ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2055ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2056
2057
2058# Find a good install program.  We prefer a C program (faster),
2059# so one script is as good as another.  But avoid the broken or
2060# incompatible versions:
2061# SysV /etc/install, /usr/sbin/install
2062# SunOS /usr/etc/install
2063# IRIX /sbin/install
2064# AIX /bin/install
2065# AmigaOS /C/install, which installs bootblocks on floppy discs
2066# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2067# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2068# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2069# OS/2's system install, which has a completely different semantic
2070# ./install, which can be erroneously created by make from ./install.sh.
2071# Reject install programs that cannot install multiple files.
2072{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2073$as_echo_n "checking for a BSD-compatible install... " >&6; }
2074if test -z "$INSTALL"; then
2075if ${ac_cv_path_install+:} false; then :
2076  $as_echo_n "(cached) " >&6
2077else
2078  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2079for as_dir in $PATH
2080do
2081  IFS=$as_save_IFS
2082  test -z "$as_dir" && as_dir=.
2083    # Account for people who put trailing slashes in PATH elements.
2084case $as_dir/ in #((
2085  ./ | .// | /[cC]/* | \
2086  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2087  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2088  /usr/ucb/* ) ;;
2089  *)
2090    # OSF1 and SCO ODT 3.0 have their own names for install.
2091    # Don't use installbsd from OSF since it installs stuff as root
2092    # by default.
2093    for ac_prog in ginstall scoinst install; do
2094      for ac_exec_ext in '' $ac_executable_extensions; do
2095	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2096	  if test $ac_prog = install &&
2097	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2098	    # AIX install.  It has an incompatible calling convention.
2099	    :
2100	  elif test $ac_prog = install &&
2101	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2102	    # program-specific install script used by HP pwplus--don't use.
2103	    :
2104	  else
2105	    rm -rf conftest.one conftest.two conftest.dir
2106	    echo one > conftest.one
2107	    echo two > conftest.two
2108	    mkdir conftest.dir
2109	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2110	      test -s conftest.one && test -s conftest.two &&
2111	      test -s conftest.dir/conftest.one &&
2112	      test -s conftest.dir/conftest.two
2113	    then
2114	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2115	      break 3
2116	    fi
2117	  fi
2118	fi
2119      done
2120    done
2121    ;;
2122esac
2123
2124  done
2125IFS=$as_save_IFS
2126
2127rm -rf conftest.one conftest.two conftest.dir
2128
2129fi
2130  if test "${ac_cv_path_install+set}" = set; then
2131    INSTALL=$ac_cv_path_install
2132  else
2133    # As a last resort, use the slow shell script.  Don't cache a
2134    # value for INSTALL within a source directory, because that will
2135    # break other packages using the cache if that directory is
2136    # removed, or if the value is a relative name.
2137    INSTALL=$ac_install_sh
2138  fi
2139fi
2140{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2141$as_echo "$INSTALL" >&6; }
2142
2143# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2144# It thinks the first close brace ends the variable substitution.
2145test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2146
2147test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2148
2149test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2150
2151{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2152$as_echo_n "checking whether build environment is sane... " >&6; }
2153# Just in case
2154sleep 1
2155echo timestamp > conftest.file
2156# Reject unsafe characters in $srcdir or the absolute working directory
2157# name.  Accept space and tab only in the latter.
2158am_lf='
2159'
2160case `pwd` in
2161  *[\\\"\#\$\&\'\`$am_lf]*)
2162    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2163esac
2164case $srcdir in
2165  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2166    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2167esac
2168
2169# Do `set' in a subshell so we don't clobber the current shell's
2170# arguments.  Must try -L first in case configure is actually a
2171# symlink; some systems play weird games with the mod time of symlinks
2172# (eg FreeBSD returns the mod time of the symlink's containing
2173# directory).
2174if (
2175   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2176   if test "$*" = "X"; then
2177      # -L didn't work.
2178      set X `ls -t "$srcdir/configure" conftest.file`
2179   fi
2180   rm -f conftest.file
2181   if test "$*" != "X $srcdir/configure conftest.file" \
2182      && test "$*" != "X conftest.file $srcdir/configure"; then
2183
2184      # If neither matched, then we have a broken ls.  This can happen
2185      # if, for instance, CONFIG_SHELL is bash and it inherits a
2186      # broken ls alias from the environment.  This has actually
2187      # happened.  Such a system could not be considered "sane".
2188      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2189alias in your environment" "$LINENO" 5
2190   fi
2191
2192   test "$2" = conftest.file
2193   )
2194then
2195   # Ok.
2196   :
2197else
2198   as_fn_error $? "newly created file is older than distributed files!
2199Check your system clock" "$LINENO" 5
2200fi
2201{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2202$as_echo "yes" >&6; }
2203test "$program_prefix" != NONE &&
2204  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2205# Use a double $ so make ignores it.
2206test "$program_suffix" != NONE &&
2207  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2208# Double any \ or $.
2209# By default was `s,x,x', remove it if useless.
2210ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2211program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2212
2213# expand $ac_aux_dir to an absolute path
2214am_aux_dir=`cd $ac_aux_dir && pwd`
2215
2216if test x"${MISSING+set}" != xset; then
2217  case $am_aux_dir in
2218  *\ * | *\	*)
2219    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2220  *)
2221    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2222  esac
2223fi
2224# Use eval to expand $SHELL
2225if eval "$MISSING --run true"; then
2226  am_missing_run="$MISSING --run "
2227else
2228  am_missing_run=
2229  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2230$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2231fi
2232
2233if test x"${install_sh}" != xset; then
2234  case $am_aux_dir in
2235  *\ * | *\	*)
2236    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2237  *)
2238    install_sh="\${SHELL} $am_aux_dir/install-sh"
2239  esac
2240fi
2241
2242# Installed binaries are usually stripped using `strip' when the user
2243# run `make install-strip'.  However `strip' might not be the right
2244# tool to use in cross-compilation environments, therefore Automake
2245# will honor the `STRIP' environment variable to overrule this program.
2246if test "$cross_compiling" != no; then
2247  if test -n "$ac_tool_prefix"; then
2248  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2249set dummy ${ac_tool_prefix}strip; ac_word=$2
2250{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2251$as_echo_n "checking for $ac_word... " >&6; }
2252if ${ac_cv_prog_STRIP+:} false; then :
2253  $as_echo_n "(cached) " >&6
2254else
2255  if test -n "$STRIP"; then
2256  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2257else
2258as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2259for as_dir in $PATH
2260do
2261  IFS=$as_save_IFS
2262  test -z "$as_dir" && as_dir=.
2263    for ac_exec_ext in '' $ac_executable_extensions; do
2264  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2265    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2266    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2267    break 2
2268  fi
2269done
2270  done
2271IFS=$as_save_IFS
2272
2273fi
2274fi
2275STRIP=$ac_cv_prog_STRIP
2276if test -n "$STRIP"; then
2277  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2278$as_echo "$STRIP" >&6; }
2279else
2280  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2281$as_echo "no" >&6; }
2282fi
2283
2284
2285fi
2286if test -z "$ac_cv_prog_STRIP"; then
2287  ac_ct_STRIP=$STRIP
2288  # Extract the first word of "strip", so it can be a program name with args.
2289set dummy strip; ac_word=$2
2290{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2291$as_echo_n "checking for $ac_word... " >&6; }
2292if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2293  $as_echo_n "(cached) " >&6
2294else
2295  if test -n "$ac_ct_STRIP"; then
2296  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2297else
2298as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2299for as_dir in $PATH
2300do
2301  IFS=$as_save_IFS
2302  test -z "$as_dir" && as_dir=.
2303    for ac_exec_ext in '' $ac_executable_extensions; do
2304  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2305    ac_cv_prog_ac_ct_STRIP="strip"
2306    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2307    break 2
2308  fi
2309done
2310  done
2311IFS=$as_save_IFS
2312
2313fi
2314fi
2315ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2316if test -n "$ac_ct_STRIP"; then
2317  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2318$as_echo "$ac_ct_STRIP" >&6; }
2319else
2320  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2321$as_echo "no" >&6; }
2322fi
2323
2324  if test "x$ac_ct_STRIP" = x; then
2325    STRIP=":"
2326  else
2327    case $cross_compiling:$ac_tool_warned in
2328yes:)
2329{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2330$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2331ac_tool_warned=yes ;;
2332esac
2333    STRIP=$ac_ct_STRIP
2334  fi
2335else
2336  STRIP="$ac_cv_prog_STRIP"
2337fi
2338
2339fi
2340INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2341
2342{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2343$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2344if test -z "$MKDIR_P"; then
2345  if ${ac_cv_path_mkdir+:} false; then :
2346  $as_echo_n "(cached) " >&6
2347else
2348  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2349for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2350do
2351  IFS=$as_save_IFS
2352  test -z "$as_dir" && as_dir=.
2353    for ac_prog in mkdir gmkdir; do
2354	 for ac_exec_ext in '' $ac_executable_extensions; do
2355	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2356	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2357	     'mkdir (GNU coreutils) '* | \
2358	     'mkdir (coreutils) '* | \
2359	     'mkdir (fileutils) '4.1*)
2360	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2361	       break 3;;
2362	   esac
2363	 done
2364       done
2365  done
2366IFS=$as_save_IFS
2367
2368fi
2369
2370  test -d ./--version && rmdir ./--version
2371  if test "${ac_cv_path_mkdir+set}" = set; then
2372    MKDIR_P="$ac_cv_path_mkdir -p"
2373  else
2374    # As a last resort, use the slow shell script.  Don't cache a
2375    # value for MKDIR_P within a source directory, because that will
2376    # break other packages using the cache if that directory is
2377    # removed, or if the value is a relative name.
2378    MKDIR_P="$ac_install_sh -d"
2379  fi
2380fi
2381{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2382$as_echo "$MKDIR_P" >&6; }
2383
2384mkdir_p="$MKDIR_P"
2385case $mkdir_p in
2386  [\\/$]* | ?:[\\/]*) ;;
2387  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2388esac
2389
2390for ac_prog in gawk mawk nawk awk
2391do
2392  # Extract the first word of "$ac_prog", so it can be a program name with args.
2393set dummy $ac_prog; ac_word=$2
2394{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2395$as_echo_n "checking for $ac_word... " >&6; }
2396if ${ac_cv_prog_AWK+:} false; then :
2397  $as_echo_n "(cached) " >&6
2398else
2399  if test -n "$AWK"; then
2400  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2401else
2402as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2403for as_dir in $PATH
2404do
2405  IFS=$as_save_IFS
2406  test -z "$as_dir" && as_dir=.
2407    for ac_exec_ext in '' $ac_executable_extensions; do
2408  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2409    ac_cv_prog_AWK="$ac_prog"
2410    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2411    break 2
2412  fi
2413done
2414  done
2415IFS=$as_save_IFS
2416
2417fi
2418fi
2419AWK=$ac_cv_prog_AWK
2420if test -n "$AWK"; then
2421  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2422$as_echo "$AWK" >&6; }
2423else
2424  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2425$as_echo "no" >&6; }
2426fi
2427
2428
2429  test -n "$AWK" && break
2430done
2431
2432{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2433$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2434set x ${MAKE-make}
2435ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2436if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2437  $as_echo_n "(cached) " >&6
2438else
2439  cat >conftest.make <<\_ACEOF
2440SHELL = /bin/sh
2441all:
2442	@echo '@@@%%%=$(MAKE)=@@@%%%'
2443_ACEOF
2444# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2445case `${MAKE-make} -f conftest.make 2>/dev/null` in
2446  *@@@%%%=?*=@@@%%%*)
2447    eval ac_cv_prog_make_${ac_make}_set=yes;;
2448  *)
2449    eval ac_cv_prog_make_${ac_make}_set=no;;
2450esac
2451rm -f conftest.make
2452fi
2453if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2454  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2455$as_echo "yes" >&6; }
2456  SET_MAKE=
2457else
2458  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2459$as_echo "no" >&6; }
2460  SET_MAKE="MAKE=${MAKE-make}"
2461fi
2462
2463rm -rf .tst 2>/dev/null
2464mkdir .tst 2>/dev/null
2465if test -d .tst; then
2466  am__leading_dot=.
2467else
2468  am__leading_dot=_
2469fi
2470rmdir .tst 2>/dev/null
2471
2472if test "`cd $srcdir && pwd`" != "`pwd`"; then
2473  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2474  # is not polluted with repeated "-I."
2475  am__isrc=' -I$(srcdir)'
2476  # test to see if srcdir already configured
2477  if test -f $srcdir/config.status; then
2478    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2479  fi
2480fi
2481
2482# test whether we have cygpath
2483if test -z "$CYGPATH_W"; then
2484  if (cygpath --version) >/dev/null 2>/dev/null; then
2485    CYGPATH_W='cygpath -w'
2486  else
2487    CYGPATH_W=echo
2488  fi
2489fi
2490
2491
2492# Define the identity of the package.
2493 PACKAGE='encodings'
2494 VERSION='1.0.4'
2495
2496
2497cat >>confdefs.h <<_ACEOF
2498#define PACKAGE "$PACKAGE"
2499_ACEOF
2500
2501
2502cat >>confdefs.h <<_ACEOF
2503#define VERSION "$VERSION"
2504_ACEOF
2505
2506# Some tools Automake needs.
2507
2508ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2509
2510
2511AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2512
2513
2514AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2515
2516
2517AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2518
2519
2520MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2521
2522# We need awk for the "check" target.  The system "awk" is bad on
2523# some platforms.
2524# Always define AMTAR for backward compatibility.
2525
2526AMTAR=${AMTAR-"${am_missing_run}tar"}
2527
2528am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2529
2530
2531
2532
2533
2534
2535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2536$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2537    # Check whether --enable-maintainer-mode was given.
2538if test "${enable_maintainer_mode+set}" = set; then :
2539  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2540else
2541  USE_MAINTAINER_MODE=no
2542fi
2543
2544  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2545$as_echo "$USE_MAINTAINER_MODE" >&6; }
2546   if test $USE_MAINTAINER_MODE = yes; then
2547  MAINTAINER_MODE_TRUE=
2548  MAINTAINER_MODE_FALSE='#'
2549else
2550  MAINTAINER_MODE_TRUE='#'
2551  MAINTAINER_MODE_FALSE=
2552fi
2553
2554  MAINT=$MAINTAINER_MODE_TRUE
2555
2556
2557
2558# Require xorg-macros: XORG_DEFAULT_OPTIONS
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570DEPDIR="${am__leading_dot}deps"
2571
2572ac_config_commands="$ac_config_commands depfiles"
2573
2574
2575am_make=${MAKE-make}
2576cat > confinc << 'END'
2577am__doit:
2578	@echo this is the am__doit target
2579.PHONY: am__doit
2580END
2581# If we don't find an include directive, just comment out the code.
2582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2583$as_echo_n "checking for style of include used by $am_make... " >&6; }
2584am__include="#"
2585am__quote=
2586_am_result=none
2587# First try GNU make style include.
2588echo "include confinc" > confmf
2589# Ignore all kinds of additional output from `make'.
2590case `$am_make -s -f confmf 2> /dev/null` in #(
2591*the\ am__doit\ target*)
2592  am__include=include
2593  am__quote=
2594  _am_result=GNU
2595  ;;
2596esac
2597# Now try BSD make style include.
2598if test "$am__include" = "#"; then
2599   echo '.include "confinc"' > confmf
2600   case `$am_make -s -f confmf 2> /dev/null` in #(
2601   *the\ am__doit\ target*)
2602     am__include=.include
2603     am__quote="\""
2604     _am_result=BSD
2605     ;;
2606   esac
2607fi
2608
2609
2610{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2611$as_echo "$_am_result" >&6; }
2612rm -f confinc confmf
2613
2614# Check whether --enable-dependency-tracking was given.
2615if test "${enable_dependency_tracking+set}" = set; then :
2616  enableval=$enable_dependency_tracking;
2617fi
2618
2619if test "x$enable_dependency_tracking" != xno; then
2620  am_depcomp="$ac_aux_dir/depcomp"
2621  AMDEPBACKSLASH='\'
2622fi
2623 if test "x$enable_dependency_tracking" != xno; then
2624  AMDEP_TRUE=
2625  AMDEP_FALSE='#'
2626else
2627  AMDEP_TRUE='#'
2628  AMDEP_FALSE=
2629fi
2630
2631
2632ac_ext=c
2633ac_cpp='$CPP $CPPFLAGS'
2634ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2635ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2636ac_compiler_gnu=$ac_cv_c_compiler_gnu
2637if test -n "$ac_tool_prefix"; then
2638  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2639set dummy ${ac_tool_prefix}gcc; ac_word=$2
2640{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2641$as_echo_n "checking for $ac_word... " >&6; }
2642if ${ac_cv_prog_CC+:} false; then :
2643  $as_echo_n "(cached) " >&6
2644else
2645  if test -n "$CC"; then
2646  ac_cv_prog_CC="$CC" # Let the user override the test.
2647else
2648as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2649for as_dir in $PATH
2650do
2651  IFS=$as_save_IFS
2652  test -z "$as_dir" && as_dir=.
2653    for ac_exec_ext in '' $ac_executable_extensions; do
2654  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2655    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2656    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2657    break 2
2658  fi
2659done
2660  done
2661IFS=$as_save_IFS
2662
2663fi
2664fi
2665CC=$ac_cv_prog_CC
2666if test -n "$CC"; then
2667  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2668$as_echo "$CC" >&6; }
2669else
2670  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2671$as_echo "no" >&6; }
2672fi
2673
2674
2675fi
2676if test -z "$ac_cv_prog_CC"; then
2677  ac_ct_CC=$CC
2678  # Extract the first word of "gcc", so it can be a program name with args.
2679set dummy gcc; ac_word=$2
2680{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2681$as_echo_n "checking for $ac_word... " >&6; }
2682if ${ac_cv_prog_ac_ct_CC+:} false; then :
2683  $as_echo_n "(cached) " >&6
2684else
2685  if test -n "$ac_ct_CC"; then
2686  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2687else
2688as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2689for as_dir in $PATH
2690do
2691  IFS=$as_save_IFS
2692  test -z "$as_dir" && as_dir=.
2693    for ac_exec_ext in '' $ac_executable_extensions; do
2694  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2695    ac_cv_prog_ac_ct_CC="gcc"
2696    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2697    break 2
2698  fi
2699done
2700  done
2701IFS=$as_save_IFS
2702
2703fi
2704fi
2705ac_ct_CC=$ac_cv_prog_ac_ct_CC
2706if test -n "$ac_ct_CC"; then
2707  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2708$as_echo "$ac_ct_CC" >&6; }
2709else
2710  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2711$as_echo "no" >&6; }
2712fi
2713
2714  if test "x$ac_ct_CC" = x; then
2715    CC=""
2716  else
2717    case $cross_compiling:$ac_tool_warned in
2718yes:)
2719{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2720$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2721ac_tool_warned=yes ;;
2722esac
2723    CC=$ac_ct_CC
2724  fi
2725else
2726  CC="$ac_cv_prog_CC"
2727fi
2728
2729if test -z "$CC"; then
2730          if test -n "$ac_tool_prefix"; then
2731    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2732set dummy ${ac_tool_prefix}cc; ac_word=$2
2733{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2734$as_echo_n "checking for $ac_word... " >&6; }
2735if ${ac_cv_prog_CC+:} false; then :
2736  $as_echo_n "(cached) " >&6
2737else
2738  if test -n "$CC"; then
2739  ac_cv_prog_CC="$CC" # Let the user override the test.
2740else
2741as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2742for as_dir in $PATH
2743do
2744  IFS=$as_save_IFS
2745  test -z "$as_dir" && as_dir=.
2746    for ac_exec_ext in '' $ac_executable_extensions; do
2747  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2748    ac_cv_prog_CC="${ac_tool_prefix}cc"
2749    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2750    break 2
2751  fi
2752done
2753  done
2754IFS=$as_save_IFS
2755
2756fi
2757fi
2758CC=$ac_cv_prog_CC
2759if test -n "$CC"; then
2760  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2761$as_echo "$CC" >&6; }
2762else
2763  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2764$as_echo "no" >&6; }
2765fi
2766
2767
2768  fi
2769fi
2770if test -z "$CC"; then
2771  # Extract the first word of "cc", so it can be a program name with args.
2772set dummy cc; ac_word=$2
2773{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2774$as_echo_n "checking for $ac_word... " >&6; }
2775if ${ac_cv_prog_CC+:} false; then :
2776  $as_echo_n "(cached) " >&6
2777else
2778  if test -n "$CC"; then
2779  ac_cv_prog_CC="$CC" # Let the user override the test.
2780else
2781  ac_prog_rejected=no
2782as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2783for as_dir in $PATH
2784do
2785  IFS=$as_save_IFS
2786  test -z "$as_dir" && as_dir=.
2787    for ac_exec_ext in '' $ac_executable_extensions; do
2788  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2789    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2790       ac_prog_rejected=yes
2791       continue
2792     fi
2793    ac_cv_prog_CC="cc"
2794    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2795    break 2
2796  fi
2797done
2798  done
2799IFS=$as_save_IFS
2800
2801if test $ac_prog_rejected = yes; then
2802  # We found a bogon in the path, so make sure we never use it.
2803  set dummy $ac_cv_prog_CC
2804  shift
2805  if test $# != 0; then
2806    # We chose a different compiler from the bogus one.
2807    # However, it has the same basename, so the bogon will be chosen
2808    # first if we set CC to just the basename; use the full file name.
2809    shift
2810    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2811  fi
2812fi
2813fi
2814fi
2815CC=$ac_cv_prog_CC
2816if test -n "$CC"; then
2817  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2818$as_echo "$CC" >&6; }
2819else
2820  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2821$as_echo "no" >&6; }
2822fi
2823
2824
2825fi
2826if test -z "$CC"; then
2827  if test -n "$ac_tool_prefix"; then
2828  for ac_prog in cl.exe
2829  do
2830    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2831set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2832{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2833$as_echo_n "checking for $ac_word... " >&6; }
2834if ${ac_cv_prog_CC+:} false; then :
2835  $as_echo_n "(cached) " >&6
2836else
2837  if test -n "$CC"; then
2838  ac_cv_prog_CC="$CC" # Let the user override the test.
2839else
2840as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2841for as_dir in $PATH
2842do
2843  IFS=$as_save_IFS
2844  test -z "$as_dir" && as_dir=.
2845    for ac_exec_ext in '' $ac_executable_extensions; do
2846  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2847    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2848    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2849    break 2
2850  fi
2851done
2852  done
2853IFS=$as_save_IFS
2854
2855fi
2856fi
2857CC=$ac_cv_prog_CC
2858if test -n "$CC"; then
2859  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2860$as_echo "$CC" >&6; }
2861else
2862  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2863$as_echo "no" >&6; }
2864fi
2865
2866
2867    test -n "$CC" && break
2868  done
2869fi
2870if test -z "$CC"; then
2871  ac_ct_CC=$CC
2872  for ac_prog in cl.exe
2873do
2874  # Extract the first word of "$ac_prog", so it can be a program name with args.
2875set dummy $ac_prog; ac_word=$2
2876{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2877$as_echo_n "checking for $ac_word... " >&6; }
2878if ${ac_cv_prog_ac_ct_CC+:} false; then :
2879  $as_echo_n "(cached) " >&6
2880else
2881  if test -n "$ac_ct_CC"; then
2882  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2883else
2884as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2885for as_dir in $PATH
2886do
2887  IFS=$as_save_IFS
2888  test -z "$as_dir" && as_dir=.
2889    for ac_exec_ext in '' $ac_executable_extensions; do
2890  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2891    ac_cv_prog_ac_ct_CC="$ac_prog"
2892    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2893    break 2
2894  fi
2895done
2896  done
2897IFS=$as_save_IFS
2898
2899fi
2900fi
2901ac_ct_CC=$ac_cv_prog_ac_ct_CC
2902if test -n "$ac_ct_CC"; then
2903  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2904$as_echo "$ac_ct_CC" >&6; }
2905else
2906  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2907$as_echo "no" >&6; }
2908fi
2909
2910
2911  test -n "$ac_ct_CC" && break
2912done
2913
2914  if test "x$ac_ct_CC" = x; then
2915    CC=""
2916  else
2917    case $cross_compiling:$ac_tool_warned in
2918yes:)
2919{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2920$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2921ac_tool_warned=yes ;;
2922esac
2923    CC=$ac_ct_CC
2924  fi
2925fi
2926
2927fi
2928
2929
2930test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2931$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2932as_fn_error $? "no acceptable C compiler found in \$PATH
2933See \`config.log' for more details" "$LINENO" 5; }
2934
2935# Provide some information about the compiler.
2936$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2937set X $ac_compile
2938ac_compiler=$2
2939for ac_option in --version -v -V -qversion; do
2940  { { ac_try="$ac_compiler $ac_option >&5"
2941case "(($ac_try" in
2942  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2943  *) ac_try_echo=$ac_try;;
2944esac
2945eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2946$as_echo "$ac_try_echo"; } >&5
2947  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2948  ac_status=$?
2949  if test -s conftest.err; then
2950    sed '10a\
2951... rest of stderr output deleted ...
2952         10q' conftest.err >conftest.er1
2953    cat conftest.er1 >&5
2954  fi
2955  rm -f conftest.er1 conftest.err
2956  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2957  test $ac_status = 0; }
2958done
2959
2960cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2961/* end confdefs.h.  */
2962
2963int
2964main ()
2965{
2966
2967  ;
2968  return 0;
2969}
2970_ACEOF
2971ac_clean_files_save=$ac_clean_files
2972ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2973# Try to create an executable without -o first, disregard a.out.
2974# It will help us diagnose broken compilers, and finding out an intuition
2975# of exeext.
2976{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2977$as_echo_n "checking whether the C compiler works... " >&6; }
2978ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2979
2980# The possible output files:
2981ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2982
2983ac_rmfiles=
2984for ac_file in $ac_files
2985do
2986  case $ac_file in
2987    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2988    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2989  esac
2990done
2991rm -f $ac_rmfiles
2992
2993if { { ac_try="$ac_link_default"
2994case "(($ac_try" in
2995  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2996  *) ac_try_echo=$ac_try;;
2997esac
2998eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2999$as_echo "$ac_try_echo"; } >&5
3000  (eval "$ac_link_default") 2>&5
3001  ac_status=$?
3002  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3003  test $ac_status = 0; }; then :
3004  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3005# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3006# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3007# so that the user can short-circuit this test for compilers unknown to
3008# Autoconf.
3009for ac_file in $ac_files ''
3010do
3011  test -f "$ac_file" || continue
3012  case $ac_file in
3013    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3014	;;
3015    [ab].out )
3016	# We found the default executable, but exeext='' is most
3017	# certainly right.
3018	break;;
3019    *.* )
3020	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3021	then :; else
3022	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3023	fi
3024	# We set ac_cv_exeext here because the later test for it is not
3025	# safe: cross compilers may not add the suffix if given an `-o'
3026	# argument, so we may need to know it at that point already.
3027	# Even if this section looks crufty: it has the advantage of
3028	# actually working.
3029	break;;
3030    * )
3031	break;;
3032  esac
3033done
3034test "$ac_cv_exeext" = no && ac_cv_exeext=
3035
3036else
3037  ac_file=''
3038fi
3039if test -z "$ac_file"; then :
3040  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3041$as_echo "no" >&6; }
3042$as_echo "$as_me: failed program was:" >&5
3043sed 's/^/| /' conftest.$ac_ext >&5
3044
3045{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3046$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3047as_fn_error 77 "C compiler cannot create executables
3048See \`config.log' for more details" "$LINENO" 5; }
3049else
3050  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3051$as_echo "yes" >&6; }
3052fi
3053{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3054$as_echo_n "checking for C compiler default output file name... " >&6; }
3055{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3056$as_echo "$ac_file" >&6; }
3057ac_exeext=$ac_cv_exeext
3058
3059rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3060ac_clean_files=$ac_clean_files_save
3061{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3062$as_echo_n "checking for suffix of executables... " >&6; }
3063if { { ac_try="$ac_link"
3064case "(($ac_try" in
3065  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3066  *) ac_try_echo=$ac_try;;
3067esac
3068eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3069$as_echo "$ac_try_echo"; } >&5
3070  (eval "$ac_link") 2>&5
3071  ac_status=$?
3072  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3073  test $ac_status = 0; }; then :
3074  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3075# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3076# work properly (i.e., refer to `conftest.exe'), while it won't with
3077# `rm'.
3078for ac_file in conftest.exe conftest conftest.*; do
3079  test -f "$ac_file" || continue
3080  case $ac_file in
3081    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3082    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3083	  break;;
3084    * ) break;;
3085  esac
3086done
3087else
3088  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3089$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3090as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3091See \`config.log' for more details" "$LINENO" 5; }
3092fi
3093rm -f conftest conftest$ac_cv_exeext
3094{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3095$as_echo "$ac_cv_exeext" >&6; }
3096
3097rm -f conftest.$ac_ext
3098EXEEXT=$ac_cv_exeext
3099ac_exeext=$EXEEXT
3100cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3101/* end confdefs.h.  */
3102#include <stdio.h>
3103int
3104main ()
3105{
3106FILE *f = fopen ("conftest.out", "w");
3107 return ferror (f) || fclose (f) != 0;
3108
3109  ;
3110  return 0;
3111}
3112_ACEOF
3113ac_clean_files="$ac_clean_files conftest.out"
3114# Check that the compiler produces executables we can run.  If not, either
3115# the compiler is broken, or we cross compile.
3116{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3117$as_echo_n "checking whether we are cross compiling... " >&6; }
3118if test "$cross_compiling" != yes; then
3119  { { ac_try="$ac_link"
3120case "(($ac_try" in
3121  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3122  *) ac_try_echo=$ac_try;;
3123esac
3124eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3125$as_echo "$ac_try_echo"; } >&5
3126  (eval "$ac_link") 2>&5
3127  ac_status=$?
3128  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3129  test $ac_status = 0; }
3130  if { ac_try='./conftest$ac_cv_exeext'
3131  { { case "(($ac_try" in
3132  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3133  *) ac_try_echo=$ac_try;;
3134esac
3135eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3136$as_echo "$ac_try_echo"; } >&5
3137  (eval "$ac_try") 2>&5
3138  ac_status=$?
3139  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3140  test $ac_status = 0; }; }; then
3141    cross_compiling=no
3142  else
3143    if test "$cross_compiling" = maybe; then
3144	cross_compiling=yes
3145    else
3146	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3147$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3148as_fn_error $? "cannot run C compiled programs.
3149If you meant to cross compile, use \`--host'.
3150See \`config.log' for more details" "$LINENO" 5; }
3151    fi
3152  fi
3153fi
3154{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3155$as_echo "$cross_compiling" >&6; }
3156
3157rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3158ac_clean_files=$ac_clean_files_save
3159{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3160$as_echo_n "checking for suffix of object files... " >&6; }
3161if ${ac_cv_objext+:} false; then :
3162  $as_echo_n "(cached) " >&6
3163else
3164  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3165/* end confdefs.h.  */
3166
3167int
3168main ()
3169{
3170
3171  ;
3172  return 0;
3173}
3174_ACEOF
3175rm -f conftest.o conftest.obj
3176if { { ac_try="$ac_compile"
3177case "(($ac_try" in
3178  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3179  *) ac_try_echo=$ac_try;;
3180esac
3181eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3182$as_echo "$ac_try_echo"; } >&5
3183  (eval "$ac_compile") 2>&5
3184  ac_status=$?
3185  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3186  test $ac_status = 0; }; then :
3187  for ac_file in conftest.o conftest.obj conftest.*; do
3188  test -f "$ac_file" || continue;
3189  case $ac_file in
3190    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3191    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3192       break;;
3193  esac
3194done
3195else
3196  $as_echo "$as_me: failed program was:" >&5
3197sed 's/^/| /' conftest.$ac_ext >&5
3198
3199{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3200$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3201as_fn_error $? "cannot compute suffix of object files: cannot compile
3202See \`config.log' for more details" "$LINENO" 5; }
3203fi
3204rm -f conftest.$ac_cv_objext conftest.$ac_ext
3205fi
3206{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3207$as_echo "$ac_cv_objext" >&6; }
3208OBJEXT=$ac_cv_objext
3209ac_objext=$OBJEXT
3210{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3211$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3212if ${ac_cv_c_compiler_gnu+:} false; then :
3213  $as_echo_n "(cached) " >&6
3214else
3215  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3216/* end confdefs.h.  */
3217
3218int
3219main ()
3220{
3221#ifndef __GNUC__
3222       choke me
3223#endif
3224
3225  ;
3226  return 0;
3227}
3228_ACEOF
3229if ac_fn_c_try_compile "$LINENO"; then :
3230  ac_compiler_gnu=yes
3231else
3232  ac_compiler_gnu=no
3233fi
3234rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3235ac_cv_c_compiler_gnu=$ac_compiler_gnu
3236
3237fi
3238{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3239$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3240if test $ac_compiler_gnu = yes; then
3241  GCC=yes
3242else
3243  GCC=
3244fi
3245ac_test_CFLAGS=${CFLAGS+set}
3246ac_save_CFLAGS=$CFLAGS
3247{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3248$as_echo_n "checking whether $CC accepts -g... " >&6; }
3249if ${ac_cv_prog_cc_g+:} false; then :
3250  $as_echo_n "(cached) " >&6
3251else
3252  ac_save_c_werror_flag=$ac_c_werror_flag
3253   ac_c_werror_flag=yes
3254   ac_cv_prog_cc_g=no
3255   CFLAGS="-g"
3256   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3257/* end confdefs.h.  */
3258
3259int
3260main ()
3261{
3262
3263  ;
3264  return 0;
3265}
3266_ACEOF
3267if ac_fn_c_try_compile "$LINENO"; then :
3268  ac_cv_prog_cc_g=yes
3269else
3270  CFLAGS=""
3271      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3272/* end confdefs.h.  */
3273
3274int
3275main ()
3276{
3277
3278  ;
3279  return 0;
3280}
3281_ACEOF
3282if ac_fn_c_try_compile "$LINENO"; then :
3283
3284else
3285  ac_c_werror_flag=$ac_save_c_werror_flag
3286	 CFLAGS="-g"
3287	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3288/* end confdefs.h.  */
3289
3290int
3291main ()
3292{
3293
3294  ;
3295  return 0;
3296}
3297_ACEOF
3298if ac_fn_c_try_compile "$LINENO"; then :
3299  ac_cv_prog_cc_g=yes
3300fi
3301rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3302fi
3303rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3304fi
3305rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3306   ac_c_werror_flag=$ac_save_c_werror_flag
3307fi
3308{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3309$as_echo "$ac_cv_prog_cc_g" >&6; }
3310if test "$ac_test_CFLAGS" = set; then
3311  CFLAGS=$ac_save_CFLAGS
3312elif test $ac_cv_prog_cc_g = yes; then
3313  if test "$GCC" = yes; then
3314    CFLAGS="-g -O2"
3315  else
3316    CFLAGS="-g"
3317  fi
3318else
3319  if test "$GCC" = yes; then
3320    CFLAGS="-O2"
3321  else
3322    CFLAGS=
3323  fi
3324fi
3325{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3326$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3327if ${ac_cv_prog_cc_c89+:} false; then :
3328  $as_echo_n "(cached) " >&6
3329else
3330  ac_cv_prog_cc_c89=no
3331ac_save_CC=$CC
3332cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3333/* end confdefs.h.  */
3334#include <stdarg.h>
3335#include <stdio.h>
3336#include <sys/types.h>
3337#include <sys/stat.h>
3338/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3339struct buf { int x; };
3340FILE * (*rcsopen) (struct buf *, struct stat *, int);
3341static char *e (p, i)
3342     char **p;
3343     int i;
3344{
3345  return p[i];
3346}
3347static char *f (char * (*g) (char **, int), char **p, ...)
3348{
3349  char *s;
3350  va_list v;
3351  va_start (v,p);
3352  s = g (p, va_arg (v,int));
3353  va_end (v);
3354  return s;
3355}
3356
3357/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3358   function prototypes and stuff, but not '\xHH' hex character constants.
3359   These don't provoke an error unfortunately, instead are silently treated
3360   as 'x'.  The following induces an error, until -std is added to get
3361   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3362   array size at least.  It's necessary to write '\x00'==0 to get something
3363   that's true only with -std.  */
3364int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3365
3366/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3367   inside strings and character constants.  */
3368#define FOO(x) 'x'
3369int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3370
3371int test (int i, double x);
3372struct s1 {int (*f) (int a);};
3373struct s2 {int (*f) (double a);};
3374int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3375int argc;
3376char **argv;
3377int
3378main ()
3379{
3380return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3381  ;
3382  return 0;
3383}
3384_ACEOF
3385for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3386	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3387do
3388  CC="$ac_save_CC $ac_arg"
3389  if ac_fn_c_try_compile "$LINENO"; then :
3390  ac_cv_prog_cc_c89=$ac_arg
3391fi
3392rm -f core conftest.err conftest.$ac_objext
3393  test "x$ac_cv_prog_cc_c89" != "xno" && break
3394done
3395rm -f conftest.$ac_ext
3396CC=$ac_save_CC
3397
3398fi
3399# AC_CACHE_VAL
3400case "x$ac_cv_prog_cc_c89" in
3401  x)
3402    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3403$as_echo "none needed" >&6; } ;;
3404  xno)
3405    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3406$as_echo "unsupported" >&6; } ;;
3407  *)
3408    CC="$CC $ac_cv_prog_cc_c89"
3409    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3410$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3411esac
3412if test "x$ac_cv_prog_cc_c89" != xno; then :
3413
3414fi
3415
3416ac_ext=c
3417ac_cpp='$CPP $CPPFLAGS'
3418ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3419ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3420ac_compiler_gnu=$ac_cv_c_compiler_gnu
3421
3422depcc="$CC"   am_compiler_list=
3423
3424{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3425$as_echo_n "checking dependency style of $depcc... " >&6; }
3426if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3427  $as_echo_n "(cached) " >&6
3428else
3429  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3430  # We make a subdir and do the tests there.  Otherwise we can end up
3431  # making bogus files that we don't know about and never remove.  For
3432  # instance it was reported that on HP-UX the gcc test will end up
3433  # making a dummy file named `D' -- because `-MD' means `put the output
3434  # in D'.
3435  mkdir conftest.dir
3436  # Copy depcomp to subdir because otherwise we won't find it if we're
3437  # using a relative directory.
3438  cp "$am_depcomp" conftest.dir
3439  cd conftest.dir
3440  # We will build objects and dependencies in a subdirectory because
3441  # it helps to detect inapplicable dependency modes.  For instance
3442  # both Tru64's cc and ICC support -MD to output dependencies as a
3443  # side effect of compilation, but ICC will put the dependencies in
3444  # the current directory while Tru64 will put them in the object
3445  # directory.
3446  mkdir sub
3447
3448  am_cv_CC_dependencies_compiler_type=none
3449  if test "$am_compiler_list" = ""; then
3450     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3451  fi
3452  am__universal=false
3453  case " $depcc " in #(
3454     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3455     esac
3456
3457  for depmode in $am_compiler_list; do
3458    # Setup a source with many dependencies, because some compilers
3459    # like to wrap large dependency lists on column 80 (with \), and
3460    # we should not choose a depcomp mode which is confused by this.
3461    #
3462    # We need to recreate these files for each test, as the compiler may
3463    # overwrite some of them when testing with obscure command lines.
3464    # This happens at least with the AIX C compiler.
3465    : > sub/conftest.c
3466    for i in 1 2 3 4 5 6; do
3467      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3468      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3469      # Solaris 8's {/usr,}/bin/sh.
3470      touch sub/conftst$i.h
3471    done
3472    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3473
3474    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3475    # mode.  It turns out that the SunPro C++ compiler does not properly
3476    # handle `-M -o', and we need to detect this.  Also, some Intel
3477    # versions had trouble with output in subdirs
3478    am__obj=sub/conftest.${OBJEXT-o}
3479    am__minus_obj="-o $am__obj"
3480    case $depmode in
3481    gcc)
3482      # This depmode causes a compiler race in universal mode.
3483      test "$am__universal" = false || continue
3484      ;;
3485    nosideeffect)
3486      # after this tag, mechanisms are not by side-effect, so they'll
3487      # only be used when explicitly requested
3488      if test "x$enable_dependency_tracking" = xyes; then
3489	continue
3490      else
3491	break
3492      fi
3493      ;;
3494    msvisualcpp | msvcmsys)
3495      # This compiler won't grok `-c -o', but also, the minuso test has
3496      # not run yet.  These depmodes are late enough in the game, and
3497      # so weak that their functioning should not be impacted.
3498      am__obj=conftest.${OBJEXT-o}
3499      am__minus_obj=
3500      ;;
3501    none) break ;;
3502    esac
3503    if depmode=$depmode \
3504       source=sub/conftest.c object=$am__obj \
3505       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3506       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3507         >/dev/null 2>conftest.err &&
3508       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3509       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3510       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3511       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3512      # icc doesn't choke on unknown options, it will just issue warnings
3513      # or remarks (even with -Werror).  So we grep stderr for any message
3514      # that says an option was ignored or not supported.
3515      # When given -MP, icc 7.0 and 7.1 complain thusly:
3516      #   icc: Command line warning: ignoring option '-M'; no argument required
3517      # The diagnosis changed in icc 8.0:
3518      #   icc: Command line remark: option '-MP' not supported
3519      if (grep 'ignoring option' conftest.err ||
3520          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3521        am_cv_CC_dependencies_compiler_type=$depmode
3522        break
3523      fi
3524    fi
3525  done
3526
3527  cd ..
3528  rm -rf conftest.dir
3529else
3530  am_cv_CC_dependencies_compiler_type=none
3531fi
3532
3533fi
3534{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3535$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3536CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3537
3538 if
3539  test "x$enable_dependency_tracking" != xno \
3540  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3541  am__fastdepCC_TRUE=
3542  am__fastdepCC_FALSE='#'
3543else
3544  am__fastdepCC_TRUE='#'
3545  am__fastdepCC_FALSE=
3546fi
3547
3548
3549   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3550$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3551if ${ac_cv_prog_cc_c99+:} false; then :
3552  $as_echo_n "(cached) " >&6
3553else
3554  ac_cv_prog_cc_c99=no
3555ac_save_CC=$CC
3556cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3557/* end confdefs.h.  */
3558#include <stdarg.h>
3559#include <stdbool.h>
3560#include <stdlib.h>
3561#include <wchar.h>
3562#include <stdio.h>
3563
3564// Check varargs macros.  These examples are taken from C99 6.10.3.5.
3565#define debug(...) fprintf (stderr, __VA_ARGS__)
3566#define showlist(...) puts (#__VA_ARGS__)
3567#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3568static void
3569test_varargs_macros (void)
3570{
3571  int x = 1234;
3572  int y = 5678;
3573  debug ("Flag");
3574  debug ("X = %d\n", x);
3575  showlist (The first, second, and third items.);
3576  report (x>y, "x is %d but y is %d", x, y);
3577}
3578
3579// Check long long types.
3580#define BIG64 18446744073709551615ull
3581#define BIG32 4294967295ul
3582#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3583#if !BIG_OK
3584  your preprocessor is broken;
3585#endif
3586#if BIG_OK
3587#else
3588  your preprocessor is broken;
3589#endif
3590static long long int bignum = -9223372036854775807LL;
3591static unsigned long long int ubignum = BIG64;
3592
3593struct incomplete_array
3594{
3595  int datasize;
3596  double data[];
3597};
3598
3599struct named_init {
3600  int number;
3601  const wchar_t *name;
3602  double average;
3603};
3604
3605typedef const char *ccp;
3606
3607static inline int
3608test_restrict (ccp restrict text)
3609{
3610  // See if C++-style comments work.
3611  // Iterate through items via the restricted pointer.
3612  // Also check for declarations in for loops.
3613  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3614    continue;
3615  return 0;
3616}
3617
3618// Check varargs and va_copy.
3619static void
3620test_varargs (const char *format, ...)
3621{
3622  va_list args;
3623  va_start (args, format);
3624  va_list args_copy;
3625  va_copy (args_copy, args);
3626
3627  const char *str;
3628  int number;
3629  float fnumber;
3630
3631  while (*format)
3632    {
3633      switch (*format++)
3634	{
3635	case 's': // string
3636	  str = va_arg (args_copy, const char *);
3637	  break;
3638	case 'd': // int
3639	  number = va_arg (args_copy, int);
3640	  break;
3641	case 'f': // float
3642	  fnumber = va_arg (args_copy, double);
3643	  break;
3644	default:
3645	  break;
3646	}
3647    }
3648  va_end (args_copy);
3649  va_end (args);
3650}
3651
3652int
3653main ()
3654{
3655
3656  // Check bool.
3657  _Bool success = false;
3658
3659  // Check restrict.
3660  if (test_restrict ("String literal") == 0)
3661    success = true;
3662  char *restrict newvar = "Another string";
3663
3664  // Check varargs.
3665  test_varargs ("s, d' f .", "string", 65, 34.234);
3666  test_varargs_macros ();
3667
3668  // Check flexible array members.
3669  struct incomplete_array *ia =
3670    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3671  ia->datasize = 10;
3672  for (int i = 0; i < ia->datasize; ++i)
3673    ia->data[i] = i * 1.234;
3674
3675  // Check named initializers.
3676  struct named_init ni = {
3677    .number = 34,
3678    .name = L"Test wide string",
3679    .average = 543.34343,
3680  };
3681
3682  ni.number = 58;
3683
3684  int dynamic_array[ni.number];
3685  dynamic_array[ni.number - 1] = 543;
3686
3687  // work around unused variable warnings
3688  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3689	  || dynamic_array[ni.number - 1] != 543);
3690
3691  ;
3692  return 0;
3693}
3694_ACEOF
3695for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3696do
3697  CC="$ac_save_CC $ac_arg"
3698  if ac_fn_c_try_compile "$LINENO"; then :
3699  ac_cv_prog_cc_c99=$ac_arg
3700fi
3701rm -f core conftest.err conftest.$ac_objext
3702  test "x$ac_cv_prog_cc_c99" != "xno" && break
3703done
3704rm -f conftest.$ac_ext
3705CC=$ac_save_CC
3706
3707fi
3708# AC_CACHE_VAL
3709case "x$ac_cv_prog_cc_c99" in
3710  x)
3711    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3712$as_echo "none needed" >&6; } ;;
3713  xno)
3714    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3715$as_echo "unsupported" >&6; } ;;
3716  *)
3717    CC="$CC $ac_cv_prog_cc_c99"
3718    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3719$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3720esac
3721if test "x$ac_cv_prog_cc_c99" != xno; then :
3722
3723fi
3724
3725
3726
3727ac_ext=c
3728ac_cpp='$CPP $CPPFLAGS'
3729ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3730ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3731ac_compiler_gnu=$ac_cv_c_compiler_gnu
3732{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3733$as_echo_n "checking how to run the C preprocessor... " >&6; }
3734# On Suns, sometimes $CPP names a directory.
3735if test -n "$CPP" && test -d "$CPP"; then
3736  CPP=
3737fi
3738if test -z "$CPP"; then
3739  if ${ac_cv_prog_CPP+:} false; then :
3740  $as_echo_n "(cached) " >&6
3741else
3742      # Double quotes because CPP needs to be expanded
3743    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3744    do
3745      ac_preproc_ok=false
3746for ac_c_preproc_warn_flag in '' yes
3747do
3748  # Use a header file that comes with gcc, so configuring glibc
3749  # with a fresh cross-compiler works.
3750  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3751  # <limits.h> exists even on freestanding compilers.
3752  # On the NeXT, cc -E runs the code through the compiler's parser,
3753  # not just through cpp. "Syntax error" is here to catch this case.
3754  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3755/* end confdefs.h.  */
3756#ifdef __STDC__
3757# include <limits.h>
3758#else
3759# include <assert.h>
3760#endif
3761		     Syntax error
3762_ACEOF
3763if ac_fn_c_try_cpp "$LINENO"; then :
3764
3765else
3766  # Broken: fails on valid input.
3767continue
3768fi
3769rm -f conftest.err conftest.i conftest.$ac_ext
3770
3771  # OK, works on sane cases.  Now check whether nonexistent headers
3772  # can be detected and how.
3773  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3774/* end confdefs.h.  */
3775#include <ac_nonexistent.h>
3776_ACEOF
3777if ac_fn_c_try_cpp "$LINENO"; then :
3778  # Broken: success on invalid input.
3779continue
3780else
3781  # Passes both tests.
3782ac_preproc_ok=:
3783break
3784fi
3785rm -f conftest.err conftest.i conftest.$ac_ext
3786
3787done
3788# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3789rm -f conftest.i conftest.err conftest.$ac_ext
3790if $ac_preproc_ok; then :
3791  break
3792fi
3793
3794    done
3795    ac_cv_prog_CPP=$CPP
3796
3797fi
3798  CPP=$ac_cv_prog_CPP
3799else
3800  ac_cv_prog_CPP=$CPP
3801fi
3802{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3803$as_echo "$CPP" >&6; }
3804ac_preproc_ok=false
3805for ac_c_preproc_warn_flag in '' yes
3806do
3807  # Use a header file that comes with gcc, so configuring glibc
3808  # with a fresh cross-compiler works.
3809  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3810  # <limits.h> exists even on freestanding compilers.
3811  # On the NeXT, cc -E runs the code through the compiler's parser,
3812  # not just through cpp. "Syntax error" is here to catch this case.
3813  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3814/* end confdefs.h.  */
3815#ifdef __STDC__
3816# include <limits.h>
3817#else
3818# include <assert.h>
3819#endif
3820		     Syntax error
3821_ACEOF
3822if ac_fn_c_try_cpp "$LINENO"; then :
3823
3824else
3825  # Broken: fails on valid input.
3826continue
3827fi
3828rm -f conftest.err conftest.i conftest.$ac_ext
3829
3830  # OK, works on sane cases.  Now check whether nonexistent headers
3831  # can be detected and how.
3832  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3833/* end confdefs.h.  */
3834#include <ac_nonexistent.h>
3835_ACEOF
3836if ac_fn_c_try_cpp "$LINENO"; then :
3837  # Broken: success on invalid input.
3838continue
3839else
3840  # Passes both tests.
3841ac_preproc_ok=:
3842break
3843fi
3844rm -f conftest.err conftest.i conftest.$ac_ext
3845
3846done
3847# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3848rm -f conftest.i conftest.err conftest.$ac_ext
3849if $ac_preproc_ok; then :
3850
3851else
3852  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3853$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3854as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3855See \`config.log' for more details" "$LINENO" 5; }
3856fi
3857
3858ac_ext=c
3859ac_cpp='$CPP $CPPFLAGS'
3860ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3861ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3862ac_compiler_gnu=$ac_cv_c_compiler_gnu
3863
3864
3865{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3866$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3867if ${ac_cv_path_GREP+:} false; then :
3868  $as_echo_n "(cached) " >&6
3869else
3870  if test -z "$GREP"; then
3871  ac_path_GREP_found=false
3872  # Loop through the user's path and test for each of PROGNAME-LIST
3873  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3874for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3875do
3876  IFS=$as_save_IFS
3877  test -z "$as_dir" && as_dir=.
3878    for ac_prog in grep ggrep; do
3879    for ac_exec_ext in '' $ac_executable_extensions; do
3880      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3881      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3882# Check for GNU ac_path_GREP and select it if it is found.
3883  # Check for GNU $ac_path_GREP
3884case `"$ac_path_GREP" --version 2>&1` in
3885*GNU*)
3886  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3887*)
3888  ac_count=0
3889  $as_echo_n 0123456789 >"conftest.in"
3890  while :
3891  do
3892    cat "conftest.in" "conftest.in" >"conftest.tmp"
3893    mv "conftest.tmp" "conftest.in"
3894    cp "conftest.in" "conftest.nl"
3895    $as_echo 'GREP' >> "conftest.nl"
3896    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3897    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3898    as_fn_arith $ac_count + 1 && ac_count=$as_val
3899    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3900      # Best one so far, save it but keep looking for a better one
3901      ac_cv_path_GREP="$ac_path_GREP"
3902      ac_path_GREP_max=$ac_count
3903    fi
3904    # 10*(2^10) chars as input seems more than enough
3905    test $ac_count -gt 10 && break
3906  done
3907  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3908esac
3909
3910      $ac_path_GREP_found && break 3
3911    done
3912  done
3913  done
3914IFS=$as_save_IFS
3915  if test -z "$ac_cv_path_GREP"; then
3916    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3917  fi
3918else
3919  ac_cv_path_GREP=$GREP
3920fi
3921
3922fi
3923{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3924$as_echo "$ac_cv_path_GREP" >&6; }
3925 GREP="$ac_cv_path_GREP"
3926
3927
3928{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3929$as_echo_n "checking for egrep... " >&6; }
3930if ${ac_cv_path_EGREP+:} false; then :
3931  $as_echo_n "(cached) " >&6
3932else
3933  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3934   then ac_cv_path_EGREP="$GREP -E"
3935   else
3936     if test -z "$EGREP"; then
3937  ac_path_EGREP_found=false
3938  # Loop through the user's path and test for each of PROGNAME-LIST
3939  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3940for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3941do
3942  IFS=$as_save_IFS
3943  test -z "$as_dir" && as_dir=.
3944    for ac_prog in egrep; do
3945    for ac_exec_ext in '' $ac_executable_extensions; do
3946      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3947      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3948# Check for GNU ac_path_EGREP and select it if it is found.
3949  # Check for GNU $ac_path_EGREP
3950case `"$ac_path_EGREP" --version 2>&1` in
3951*GNU*)
3952  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3953*)
3954  ac_count=0
3955  $as_echo_n 0123456789 >"conftest.in"
3956  while :
3957  do
3958    cat "conftest.in" "conftest.in" >"conftest.tmp"
3959    mv "conftest.tmp" "conftest.in"
3960    cp "conftest.in" "conftest.nl"
3961    $as_echo 'EGREP' >> "conftest.nl"
3962    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3963    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3964    as_fn_arith $ac_count + 1 && ac_count=$as_val
3965    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3966      # Best one so far, save it but keep looking for a better one
3967      ac_cv_path_EGREP="$ac_path_EGREP"
3968      ac_path_EGREP_max=$ac_count
3969    fi
3970    # 10*(2^10) chars as input seems more than enough
3971    test $ac_count -gt 10 && break
3972  done
3973  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3974esac
3975
3976      $ac_path_EGREP_found && break 3
3977    done
3978  done
3979  done
3980IFS=$as_save_IFS
3981  if test -z "$ac_cv_path_EGREP"; then
3982    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3983  fi
3984else
3985  ac_cv_path_EGREP=$EGREP
3986fi
3987
3988   fi
3989fi
3990{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3991$as_echo "$ac_cv_path_EGREP" >&6; }
3992 EGREP="$ac_cv_path_EGREP"
3993
3994
3995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3996$as_echo_n "checking for ANSI C header files... " >&6; }
3997if ${ac_cv_header_stdc+:} false; then :
3998  $as_echo_n "(cached) " >&6
3999else
4000  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4001/* end confdefs.h.  */
4002#include <stdlib.h>
4003#include <stdarg.h>
4004#include <string.h>
4005#include <float.h>
4006
4007int
4008main ()
4009{
4010
4011  ;
4012  return 0;
4013}
4014_ACEOF
4015if ac_fn_c_try_compile "$LINENO"; then :
4016  ac_cv_header_stdc=yes
4017else
4018  ac_cv_header_stdc=no
4019fi
4020rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4021
4022if test $ac_cv_header_stdc = yes; then
4023  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4024  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4025/* end confdefs.h.  */
4026#include <string.h>
4027
4028_ACEOF
4029if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4030  $EGREP "memchr" >/dev/null 2>&1; then :
4031
4032else
4033  ac_cv_header_stdc=no
4034fi
4035rm -f conftest*
4036
4037fi
4038
4039if test $ac_cv_header_stdc = yes; then
4040  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4041  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4042/* end confdefs.h.  */
4043#include <stdlib.h>
4044
4045_ACEOF
4046if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4047  $EGREP "free" >/dev/null 2>&1; then :
4048
4049else
4050  ac_cv_header_stdc=no
4051fi
4052rm -f conftest*
4053
4054fi
4055
4056if test $ac_cv_header_stdc = yes; then
4057  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4058  if test "$cross_compiling" = yes; then :
4059  :
4060else
4061  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4062/* end confdefs.h.  */
4063#include <ctype.h>
4064#include <stdlib.h>
4065#if ((' ' & 0x0FF) == 0x020)
4066# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4067# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4068#else
4069# define ISLOWER(c) \
4070		   (('a' <= (c) && (c) <= 'i') \
4071		     || ('j' <= (c) && (c) <= 'r') \
4072		     || ('s' <= (c) && (c) <= 'z'))
4073# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4074#endif
4075
4076#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4077int
4078main ()
4079{
4080  int i;
4081  for (i = 0; i < 256; i++)
4082    if (XOR (islower (i), ISLOWER (i))
4083	|| toupper (i) != TOUPPER (i))
4084      return 2;
4085  return 0;
4086}
4087_ACEOF
4088if ac_fn_c_try_run "$LINENO"; then :
4089
4090else
4091  ac_cv_header_stdc=no
4092fi
4093rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4094  conftest.$ac_objext conftest.beam conftest.$ac_ext
4095fi
4096
4097fi
4098fi
4099{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4100$as_echo "$ac_cv_header_stdc" >&6; }
4101if test $ac_cv_header_stdc = yes; then
4102
4103$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4104
4105fi
4106
4107# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4108for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4109		  inttypes.h stdint.h unistd.h
4110do :
4111  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4112ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4113"
4114if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4115  cat >>confdefs.h <<_ACEOF
4116#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4117_ACEOF
4118
4119fi
4120
4121done
4122
4123
4124
4125
4126if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4127	if test -n "$ac_tool_prefix"; then
4128  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4129set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4130{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4131$as_echo_n "checking for $ac_word... " >&6; }
4132if ${ac_cv_path_PKG_CONFIG+:} false; then :
4133  $as_echo_n "(cached) " >&6
4134else
4135  case $PKG_CONFIG in
4136  [\\/]* | ?:[\\/]*)
4137  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4138  ;;
4139  *)
4140  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4141for as_dir in $PATH
4142do
4143  IFS=$as_save_IFS
4144  test -z "$as_dir" && as_dir=.
4145    for ac_exec_ext in '' $ac_executable_extensions; do
4146  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4147    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4148    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4149    break 2
4150  fi
4151done
4152  done
4153IFS=$as_save_IFS
4154
4155  ;;
4156esac
4157fi
4158PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4159if test -n "$PKG_CONFIG"; then
4160  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4161$as_echo "$PKG_CONFIG" >&6; }
4162else
4163  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4164$as_echo "no" >&6; }
4165fi
4166
4167
4168fi
4169if test -z "$ac_cv_path_PKG_CONFIG"; then
4170  ac_pt_PKG_CONFIG=$PKG_CONFIG
4171  # Extract the first word of "pkg-config", so it can be a program name with args.
4172set dummy pkg-config; ac_word=$2
4173{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4174$as_echo_n "checking for $ac_word... " >&6; }
4175if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4176  $as_echo_n "(cached) " >&6
4177else
4178  case $ac_pt_PKG_CONFIG in
4179  [\\/]* | ?:[\\/]*)
4180  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4181  ;;
4182  *)
4183  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4184for as_dir in $PATH
4185do
4186  IFS=$as_save_IFS
4187  test -z "$as_dir" && as_dir=.
4188    for ac_exec_ext in '' $ac_executable_extensions; do
4189  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4190    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4191    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4192    break 2
4193  fi
4194done
4195  done
4196IFS=$as_save_IFS
4197
4198  ;;
4199esac
4200fi
4201ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4202if test -n "$ac_pt_PKG_CONFIG"; then
4203  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4204$as_echo "$ac_pt_PKG_CONFIG" >&6; }
4205else
4206  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4207$as_echo "no" >&6; }
4208fi
4209
4210  if test "x$ac_pt_PKG_CONFIG" = x; then
4211    PKG_CONFIG=""
4212  else
4213    case $cross_compiling:$ac_tool_warned in
4214yes:)
4215{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4216$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4217ac_tool_warned=yes ;;
4218esac
4219    PKG_CONFIG=$ac_pt_PKG_CONFIG
4220  fi
4221else
4222  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4223fi
4224
4225fi
4226if test -n "$PKG_CONFIG"; then
4227	_pkg_min_version=0.9.0
4228	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4229$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4230	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4231		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4232$as_echo "yes" >&6; }
4233	else
4234		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4235$as_echo "no" >&6; }
4236		PKG_CONFIG=""
4237	fi
4238
4239fi
4240# Make sure we can run config.sub.
4241$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4242  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4243
4244{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4245$as_echo_n "checking build system type... " >&6; }
4246if ${ac_cv_build+:} false; then :
4247  $as_echo_n "(cached) " >&6
4248else
4249  ac_build_alias=$build_alias
4250test "x$ac_build_alias" = x &&
4251  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4252test "x$ac_build_alias" = x &&
4253  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4254ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4255  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4256
4257fi
4258{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4259$as_echo "$ac_cv_build" >&6; }
4260case $ac_cv_build in
4261*-*-*) ;;
4262*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4263esac
4264build=$ac_cv_build
4265ac_save_IFS=$IFS; IFS='-'
4266set x $ac_cv_build
4267shift
4268build_cpu=$1
4269build_vendor=$2
4270shift; shift
4271# Remember, the first character of IFS is used to create $*,
4272# except with old shells:
4273build_os=$*
4274IFS=$ac_save_IFS
4275case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4276
4277
4278{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4279$as_echo_n "checking host system type... " >&6; }
4280if ${ac_cv_host+:} false; then :
4281  $as_echo_n "(cached) " >&6
4282else
4283  if test "x$host_alias" = x; then
4284  ac_cv_host=$ac_cv_build
4285else
4286  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4287    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4288fi
4289
4290fi
4291{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4292$as_echo "$ac_cv_host" >&6; }
4293case $ac_cv_host in
4294*-*-*) ;;
4295*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4296esac
4297host=$ac_cv_host
4298ac_save_IFS=$IFS; IFS='-'
4299set x $ac_cv_host
4300shift
4301host_cpu=$1
4302host_vendor=$2
4303shift; shift
4304# Remember, the first character of IFS is used to create $*,
4305# except with old shells:
4306host_os=$*
4307IFS=$ac_save_IFS
4308case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4309
4310
4311{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4312$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4313if ${ac_cv_path_SED+:} false; then :
4314  $as_echo_n "(cached) " >&6
4315else
4316            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4317     for ac_i in 1 2 3 4 5 6 7; do
4318       ac_script="$ac_script$as_nl$ac_script"
4319     done
4320     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4321     { ac_script=; unset ac_script;}
4322     if test -z "$SED"; then
4323  ac_path_SED_found=false
4324  # Loop through the user's path and test for each of PROGNAME-LIST
4325  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4326for as_dir in $PATH
4327do
4328  IFS=$as_save_IFS
4329  test -z "$as_dir" && as_dir=.
4330    for ac_prog in sed gsed; do
4331    for ac_exec_ext in '' $ac_executable_extensions; do
4332      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4333      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4334# Check for GNU ac_path_SED and select it if it is found.
4335  # Check for GNU $ac_path_SED
4336case `"$ac_path_SED" --version 2>&1` in
4337*GNU*)
4338  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4339*)
4340  ac_count=0
4341  $as_echo_n 0123456789 >"conftest.in"
4342  while :
4343  do
4344    cat "conftest.in" "conftest.in" >"conftest.tmp"
4345    mv "conftest.tmp" "conftest.in"
4346    cp "conftest.in" "conftest.nl"
4347    $as_echo '' >> "conftest.nl"
4348    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4349    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4350    as_fn_arith $ac_count + 1 && ac_count=$as_val
4351    if test $ac_count -gt ${ac_path_SED_max-0}; then
4352      # Best one so far, save it but keep looking for a better one
4353      ac_cv_path_SED="$ac_path_SED"
4354      ac_path_SED_max=$ac_count
4355    fi
4356    # 10*(2^10) chars as input seems more than enough
4357    test $ac_count -gt 10 && break
4358  done
4359  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4360esac
4361
4362      $ac_path_SED_found && break 3
4363    done
4364  done
4365  done
4366IFS=$as_save_IFS
4367  if test -z "$ac_cv_path_SED"; then
4368    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4369  fi
4370else
4371  ac_cv_path_SED=$SED
4372fi
4373
4374fi
4375{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4376$as_echo "$ac_cv_path_SED" >&6; }
4377 SED="$ac_cv_path_SED"
4378  rm -f conftest.sed
4379
4380
4381
4382
4383
4384if  test "x$GCC" = xyes ; then
4385    CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
4386-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
4387-Wbad-function-cast -Wformat=2"
4388    case `$CC -dumpversion` in
4389    3.4.* | 4.*)
4390	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
4391	;;
4392    esac
4393else
4394    ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
4395if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4396  SUNCC="yes"
4397else
4398  SUNCC="no"
4399fi
4400
4401    if test "x$SUNCC" = "xyes"; then
4402	CWARNFLAGS="-v"
4403    fi
4404fi
4405
4406
4407
4408# If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89
4409
4410
4411
4412# Check whether --enable-strict-compilation was given.
4413if test "${enable_strict_compilation+set}" = set; then :
4414  enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
4415else
4416  STRICT_COMPILE=no
4417fi
4418
4419if test "x$STRICT_COMPILE" = "xyes"; then
4420	ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
4421if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4422  SUNCC="yes"
4423else
4424  SUNCC="no"
4425fi
4426
4427	ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
4428if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
4429  INTELCC="yes"
4430else
4431  INTELCC="no"
4432fi
4433
4434	if test "x$GCC" = xyes ; then
4435		STRICT_CFLAGS="-pedantic -Werror"
4436	elif test "x$SUNCC" = "xyes"; then
4437		STRICT_CFLAGS="-errwarn"
4438    elif test "x$INTELCC" = "xyes"; then
4439		STRICT_CFLAGS="-Werror"
4440	fi
4441fi
4442CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
4443
4444
4445
4446
4447cat >>confdefs.h <<_ACEOF
4448#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
4449_ACEOF
4450
4451	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
4452	if test "x$PVM" = "x"; then
4453		PVM="0"
4454	fi
4455
4456cat >>confdefs.h <<_ACEOF
4457#define PACKAGE_VERSION_MINOR $PVM
4458_ACEOF
4459
4460	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
4461	if test "x$PVP" = "x"; then
4462		PVP="0"
4463	fi
4464
4465cat >>confdefs.h <<_ACEOF
4466#define PACKAGE_VERSION_PATCHLEVEL $PVP
4467_ACEOF
4468
4469
4470
4471CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
4472mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
4473|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
4474echo 'git directory not found: installing possibly empty changelog.' >&2)"
4475
4476
4477
4478
4479macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
4480INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
4481mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
4482|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
4483echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
4484
4485
4486
4487
4488
4489
4490if test x$APP_MAN_SUFFIX = x    ; then
4491    APP_MAN_SUFFIX=1
4492fi
4493if test x$APP_MAN_DIR = x    ; then
4494    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
4495fi
4496
4497if test x$LIB_MAN_SUFFIX = x    ; then
4498    LIB_MAN_SUFFIX=3
4499fi
4500if test x$LIB_MAN_DIR = x    ; then
4501    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
4502fi
4503
4504if test x$FILE_MAN_SUFFIX = x    ; then
4505    case $host_os in
4506	solaris*)	FILE_MAN_SUFFIX=4  ;;
4507	*)		FILE_MAN_SUFFIX=5  ;;
4508    esac
4509fi
4510if test x$FILE_MAN_DIR = x    ; then
4511    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
4512fi
4513
4514if test x$MISC_MAN_SUFFIX = x    ; then
4515    case $host_os in
4516	solaris*)	MISC_MAN_SUFFIX=5  ;;
4517	*)		MISC_MAN_SUFFIX=7  ;;
4518    esac
4519fi
4520if test x$MISC_MAN_DIR = x    ; then
4521    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
4522fi
4523
4524if test x$DRIVER_MAN_SUFFIX = x    ; then
4525    case $host_os in
4526	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
4527	*)		DRIVER_MAN_SUFFIX=4  ;;
4528    esac
4529fi
4530if test x$DRIVER_MAN_DIR = x    ; then
4531    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
4532fi
4533
4534if test x$ADMIN_MAN_SUFFIX = x    ; then
4535    case $host_os in
4536	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
4537	*)		ADMIN_MAN_SUFFIX=8  ;;
4538    esac
4539fi
4540if test x$ADMIN_MAN_DIR = x    ; then
4541    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
4542fi
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558XORG_MAN_PAGE="X Version 11"
4559
4560MAN_SUBSTS="\
4561	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
4562	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
4563	-e 's|__xservername__|Xorg|g' \
4564	-e 's|__xconfigfile__|xorg.conf|g' \
4565	-e 's|__projectroot__|\$(prefix)|g' \
4566	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
4567	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
4568	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
4569	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
4570	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
4571	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
4572	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
4573
4574
4575
4576# Check whether --enable-silent-rules was given.
4577if test "${enable_silent_rules+set}" = set; then :
4578  enableval=$enable_silent_rules;
4579fi
4580
4581case $enable_silent_rules in
4582yes) AM_DEFAULT_VERBOSITY=0;;
4583no)  AM_DEFAULT_VERBOSITY=1;;
4584*)   AM_DEFAULT_VERBOSITY=0;;
4585esac
4586AM_BACKSLASH='\'
4587
4588
4589
4590
4591
4592# Require X.Org's font util macros 1.2 or later
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605# mkfontscale
4606
4607	# Extract the first word of "mkfontscale", so it can be a program name with args.
4608set dummy mkfontscale; ac_word=$2
4609{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4610$as_echo_n "checking for $ac_word... " >&6; }
4611if ${ac_cv_path_MKFONTSCALE+:} false; then :
4612  $as_echo_n "(cached) " >&6
4613else
4614  case $MKFONTSCALE in
4615  [\\/]* | ?:[\\/]*)
4616  ac_cv_path_MKFONTSCALE="$MKFONTSCALE" # Let the user override the test with a path.
4617  ;;
4618  *)
4619  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4620for as_dir in $PATH
4621do
4622  IFS=$as_save_IFS
4623  test -z "$as_dir" && as_dir=.
4624    for ac_exec_ext in '' $ac_executable_extensions; do
4625  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4626    ac_cv_path_MKFONTSCALE="$as_dir/$ac_word$ac_exec_ext"
4627    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4628    break 2
4629  fi
4630done
4631  done
4632IFS=$as_save_IFS
4633
4634  ;;
4635esac
4636fi
4637MKFONTSCALE=$ac_cv_path_MKFONTSCALE
4638if test -n "$MKFONTSCALE"; then
4639  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKFONTSCALE" >&5
4640$as_echo "$MKFONTSCALE" >&6; }
4641else
4642  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4643$as_echo "no" >&6; }
4644fi
4645
4646
4647	if test x"$MKFONTSCALE" = x; then
4648		as_fn_error $? "mkfontscale is required to build $PACKAGE_NAME." "$LINENO" 5
4649	fi
4650
4651
4652# Choose whether or not to compress encodings - default is to compress all
4653
4654{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if small encodings should be compressed" >&5
4655$as_echo_n "checking if small encodings should be compressed... " >&6; }
4656# Check whether --enable-gzip-small-encodings was given.
4657if test "${enable_gzip_small_encodings+set}" = set; then :
4658  enableval=$enable_gzip_small_encodings; GZIP_SMALL="$enableval"
4659else
4660  GZIP_SMALL="yes"
4661fi
4662
4663 if test x$GZIP_SMALL = xyes; then
4664  GZIP_SMALL_TRUE=
4665  GZIP_SMALL_FALSE='#'
4666else
4667  GZIP_SMALL_TRUE='#'
4668  GZIP_SMALL_FALSE=
4669fi
4670
4671{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${GZIP_SMALL}" >&5
4672$as_echo "${GZIP_SMALL}" >&6; }
4673
4674{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if large encodings should be compressed" >&5
4675$as_echo_n "checking if large encodings should be compressed... " >&6; }
4676# Check whether --enable-gzip-large-encodings was given.
4677if test "${enable_gzip_large_encodings+set}" = set; then :
4678  enableval=$enable_gzip_large_encodings; GZIP_LARGE="$enableval"
4679else
4680  GZIP_LARGE="yes"
4681fi
4682
4683 if test x$GZIP_LARGE = xyes; then
4684  GZIP_LARGE_TRUE=
4685  GZIP_LARGE_FALSE='#'
4686else
4687  GZIP_LARGE_TRUE='#'
4688  GZIP_LARGE_FALSE=
4689fi
4690
4691{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${GZIP_LARGE}" >&5
4692$as_echo "${GZIP_LARGE}" >&6; }
4693
4694# gzip
4695
4696if test x$GZIP_SMALL = xyes -o x$GZIP_LARGE = xyes ; then
4697    # Extract the first word of "gzip", so it can be a program name with args.
4698set dummy gzip; ac_word=$2
4699{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4700$as_echo_n "checking for $ac_word... " >&6; }
4701if ${ac_cv_path_GZIP+:} false; then :
4702  $as_echo_n "(cached) " >&6
4703else
4704  case $GZIP in
4705  [\\/]* | ?:[\\/]*)
4706  ac_cv_path_GZIP="$GZIP" # Let the user override the test with a path.
4707  ;;
4708  *)
4709  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4710for as_dir in $PATH
4711do
4712  IFS=$as_save_IFS
4713  test -z "$as_dir" && as_dir=.
4714    for ac_exec_ext in '' $ac_executable_extensions; do
4715  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4716    ac_cv_path_GZIP="$as_dir/$ac_word$ac_exec_ext"
4717    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4718    break 2
4719  fi
4720done
4721  done
4722IFS=$as_save_IFS
4723
4724  ;;
4725esac
4726fi
4727GZIP=$ac_cv_path_GZIP
4728if test -n "$GZIP"; then
4729  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GZIP" >&5
4730$as_echo "$GZIP" >&6; }
4731else
4732  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4733$as_echo "no" >&6; }
4734fi
4735
4736
4737    if [ -z $GZIP ]; then
4738	as_fn_error $? "gzip is needed to compress font encodings" "$LINENO" 5
4739    fi
4740fi
4741
4742
4743
4744
4745	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for root directory for font files" >&5
4746$as_echo_n "checking for root directory for font files... " >&6; }
4747
4748# Check whether --with-fontrootdir was given.
4749if test "${with_fontrootdir+set}" = set; then :
4750  withval=$with_fontrootdir; FONTROOTDIR="$withval"
4751fi
4752
4753	# if --with-fontrootdir not specified...
4754	if test "x${FONTROOTDIR}" = "x"; then
4755		FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil`
4756	fi
4757	# ...and if pkg-config didn't find fontdir in fontutil.pc...
4758	if test "x${FONTROOTDIR}" = "x"; then
4759		FONTROOTDIR="${datadir}/fonts/X11"
4760	fi
4761
4762	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONTROOTDIR}" >&5
4763$as_echo "${FONTROOTDIR}" >&6; }
4764
4765
4766
4767
4768	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for directory for encodings files" >&5
4769$as_echo_n "checking for directory for encodings files... " >&6; }
4770
4771# Check whether --with-encodingsdir was given.
4772if test "${with_encodingsdir+set}" = set; then :
4773  withval=$with_encodingsdir; ENCODINGSDIR="${withval}"
4774else
4775  ENCODINGSDIR='${FONTROOTDIR}/encodings'
4776fi
4777
4778
4779	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ENCODINGSDIR}" >&5
4780$as_echo "${ENCODINGSDIR}" >&6; }
4781
4782
4783ac_config_files="$ac_config_files Makefile large/Makefile"
4784
4785cat >confcache <<\_ACEOF
4786# This file is a shell script that caches the results of configure
4787# tests run on this system so they can be shared between configure
4788# scripts and configure runs, see configure's option --config-cache.
4789# It is not useful on other systems.  If it contains results you don't
4790# want to keep, you may remove or edit it.
4791#
4792# config.status only pays attention to the cache file if you give it
4793# the --recheck option to rerun configure.
4794#
4795# `ac_cv_env_foo' variables (set or unset) will be overridden when
4796# loading this file, other *unset* `ac_cv_foo' will be assigned the
4797# following values.
4798
4799_ACEOF
4800
4801# The following way of writing the cache mishandles newlines in values,
4802# but we know of no workaround that is simple, portable, and efficient.
4803# So, we kill variables containing newlines.
4804# Ultrix sh set writes to stderr and can't be redirected directly,
4805# and sets the high bit in the cache file unless we assign to the vars.
4806(
4807  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4808    eval ac_val=\$$ac_var
4809    case $ac_val in #(
4810    *${as_nl}*)
4811      case $ac_var in #(
4812      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4813$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4814      esac
4815      case $ac_var in #(
4816      _ | IFS | as_nl) ;; #(
4817      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4818      *) { eval $ac_var=; unset $ac_var;} ;;
4819      esac ;;
4820    esac
4821  done
4822
4823  (set) 2>&1 |
4824    case $as_nl`(ac_space=' '; set) 2>&1` in #(
4825    *${as_nl}ac_space=\ *)
4826      # `set' does not quote correctly, so add quotes: double-quote
4827      # substitution turns \\\\ into \\, and sed turns \\ into \.
4828      sed -n \
4829	"s/'/'\\\\''/g;
4830	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4831      ;; #(
4832    *)
4833      # `set' quotes correctly as required by POSIX, so do not add quotes.
4834      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4835      ;;
4836    esac |
4837    sort
4838) |
4839  sed '
4840     /^ac_cv_env_/b end
4841     t clear
4842     :clear
4843     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4844     t end
4845     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4846     :end' >>confcache
4847if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4848  if test -w "$cache_file"; then
4849    if test "x$cache_file" != "x/dev/null"; then
4850      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4851$as_echo "$as_me: updating cache $cache_file" >&6;}
4852      if test ! -f "$cache_file" || test -h "$cache_file"; then
4853	cat confcache >"$cache_file"
4854      else
4855        case $cache_file in #(
4856        */* | ?:*)
4857	  mv -f confcache "$cache_file"$$ &&
4858	  mv -f "$cache_file"$$ "$cache_file" ;; #(
4859        *)
4860	  mv -f confcache "$cache_file" ;;
4861	esac
4862      fi
4863    fi
4864  else
4865    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4866$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4867  fi
4868fi
4869rm -f confcache
4870
4871test "x$prefix" = xNONE && prefix=$ac_default_prefix
4872# Let make expand exec_prefix.
4873test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4874
4875# Transform confdefs.h into DEFS.
4876# Protect against shell expansion while executing Makefile rules.
4877# Protect against Makefile macro expansion.
4878#
4879# If the first sed substitution is executed (which looks for macros that
4880# take arguments), then branch to the quote section.  Otherwise,
4881# look for a macro that doesn't take arguments.
4882ac_script='
4883:mline
4884/\\$/{
4885 N
4886 s,\\\n,,
4887 b mline
4888}
4889t clear
4890:clear
4891s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
4892t quote
4893s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
4894t quote
4895b any
4896:quote
4897s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4898s/\[/\\&/g
4899s/\]/\\&/g
4900s/\$/$$/g
4901H
4902:any
4903${
4904	g
4905	s/^\n//
4906	s/\n/ /g
4907	p
4908}
4909'
4910DEFS=`sed -n "$ac_script" confdefs.h`
4911
4912
4913ac_libobjs=
4914ac_ltlibobjs=
4915U=
4916for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4917  # 1. Remove the extension, and $U if already installed.
4918  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4919  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4920  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4921  #    will be set to the directory where LIBOBJS objects are built.
4922  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4923  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4924done
4925LIBOBJS=$ac_libobjs
4926
4927LTLIBOBJS=$ac_ltlibobjs
4928
4929
4930 if test -n "$EXEEXT"; then
4931  am__EXEEXT_TRUE=
4932  am__EXEEXT_FALSE='#'
4933else
4934  am__EXEEXT_TRUE='#'
4935  am__EXEEXT_FALSE=
4936fi
4937
4938if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4939  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
4940Usually this means the macro was only invoked conditionally." "$LINENO" 5
4941fi
4942if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4943  as_fn_error $? "conditional \"AMDEP\" was never defined.
4944Usually this means the macro was only invoked conditionally." "$LINENO" 5
4945fi
4946if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4947  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4948Usually this means the macro was only invoked conditionally." "$LINENO" 5
4949fi
4950if test -z "${GZIP_SMALL_TRUE}" && test -z "${GZIP_SMALL_FALSE}"; then
4951  as_fn_error $? "conditional \"GZIP_SMALL\" was never defined.
4952Usually this means the macro was only invoked conditionally." "$LINENO" 5
4953fi
4954if test -z "${GZIP_LARGE_TRUE}" && test -z "${GZIP_LARGE_FALSE}"; then
4955  as_fn_error $? "conditional \"GZIP_LARGE\" was never defined.
4956Usually this means the macro was only invoked conditionally." "$LINENO" 5
4957fi
4958
4959: "${CONFIG_STATUS=./config.status}"
4960ac_write_fail=0
4961ac_clean_files_save=$ac_clean_files
4962ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4963{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4964$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4965as_write_fail=0
4966cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4967#! $SHELL
4968# Generated by $as_me.
4969# Run this file to recreate the current configuration.
4970# Compiler output produced by configure, useful for debugging
4971# configure, is in config.log if it exists.
4972
4973debug=false
4974ac_cs_recheck=false
4975ac_cs_silent=false
4976
4977SHELL=\${CONFIG_SHELL-$SHELL}
4978export SHELL
4979_ASEOF
4980cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4981## -------------------- ##
4982## M4sh Initialization. ##
4983## -------------------- ##
4984
4985# Be more Bourne compatible
4986DUALCASE=1; export DUALCASE # for MKS sh
4987if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4988  emulate sh
4989  NULLCMD=:
4990  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4991  # is contrary to our usage.  Disable this feature.
4992  alias -g '${1+"$@"}'='"$@"'
4993  setopt NO_GLOB_SUBST
4994else
4995  case `(set -o) 2>/dev/null` in #(
4996  *posix*) :
4997    set -o posix ;; #(
4998  *) :
4999     ;;
5000esac
5001fi
5002
5003
5004as_nl='
5005'
5006export as_nl
5007# Printing a long string crashes Solaris 7 /usr/bin/printf.
5008as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5009as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5010as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5011# Prefer a ksh shell builtin over an external printf program on Solaris,
5012# but without wasting forks for bash or zsh.
5013if test -z "$BASH_VERSION$ZSH_VERSION" \
5014    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5015  as_echo='print -r --'
5016  as_echo_n='print -rn --'
5017elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5018  as_echo='printf %s\n'
5019  as_echo_n='printf %s'
5020else
5021  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5022    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5023    as_echo_n='/usr/ucb/echo -n'
5024  else
5025    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5026    as_echo_n_body='eval
5027      arg=$1;
5028      case $arg in #(
5029      *"$as_nl"*)
5030	expr "X$arg" : "X\\(.*\\)$as_nl";
5031	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5032      esac;
5033      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5034    '
5035    export as_echo_n_body
5036    as_echo_n='sh -c $as_echo_n_body as_echo'
5037  fi
5038  export as_echo_body
5039  as_echo='sh -c $as_echo_body as_echo'
5040fi
5041
5042# The user is always right.
5043if test "${PATH_SEPARATOR+set}" != set; then
5044  PATH_SEPARATOR=:
5045  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5046    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5047      PATH_SEPARATOR=';'
5048  }
5049fi
5050
5051
5052# IFS
5053# We need space, tab and new line, in precisely that order.  Quoting is
5054# there to prevent editors from complaining about space-tab.
5055# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5056# splitting by setting IFS to empty value.)
5057IFS=" ""	$as_nl"
5058
5059# Find who we are.  Look in the path if we contain no directory separator.
5060as_myself=
5061case $0 in #((
5062  *[\\/]* ) as_myself=$0 ;;
5063  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5064for as_dir in $PATH
5065do
5066  IFS=$as_save_IFS
5067  test -z "$as_dir" && as_dir=.
5068    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5069  done
5070IFS=$as_save_IFS
5071
5072     ;;
5073esac
5074# We did not find ourselves, most probably we were run as `sh COMMAND'
5075# in which case we are not to be found in the path.
5076if test "x$as_myself" = x; then
5077  as_myself=$0
5078fi
5079if test ! -f "$as_myself"; then
5080  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5081  exit 1
5082fi
5083
5084# Unset variables that we do not need and which cause bugs (e.g. in
5085# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
5086# suppresses any "Segmentation fault" message there.  '((' could
5087# trigger a bug in pdksh 5.2.14.
5088for as_var in BASH_ENV ENV MAIL MAILPATH
5089do eval test x\${$as_var+set} = xset \
5090  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5091done
5092PS1='$ '
5093PS2='> '
5094PS4='+ '
5095
5096# NLS nuisances.
5097LC_ALL=C
5098export LC_ALL
5099LANGUAGE=C
5100export LANGUAGE
5101
5102# CDPATH.
5103(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5104
5105
5106# as_fn_error STATUS ERROR [LINENO LOG_FD]
5107# ----------------------------------------
5108# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5109# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5110# script with STATUS, using 1 if that was 0.
5111as_fn_error ()
5112{
5113  as_status=$1; test $as_status -eq 0 && as_status=1
5114  if test "$4"; then
5115    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5116    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5117  fi
5118  $as_echo "$as_me: error: $2" >&2
5119  as_fn_exit $as_status
5120} # as_fn_error
5121
5122
5123# as_fn_set_status STATUS
5124# -----------------------
5125# Set $? to STATUS, without forking.
5126as_fn_set_status ()
5127{
5128  return $1
5129} # as_fn_set_status
5130
5131# as_fn_exit STATUS
5132# -----------------
5133# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5134as_fn_exit ()
5135{
5136  set +e
5137  as_fn_set_status $1
5138  exit $1
5139} # as_fn_exit
5140
5141# as_fn_unset VAR
5142# ---------------
5143# Portably unset VAR.
5144as_fn_unset ()
5145{
5146  { eval $1=; unset $1;}
5147}
5148as_unset=as_fn_unset
5149# as_fn_append VAR VALUE
5150# ----------------------
5151# Append the text in VALUE to the end of the definition contained in VAR. Take
5152# advantage of any shell optimizations that allow amortized linear growth over
5153# repeated appends, instead of the typical quadratic growth present in naive
5154# implementations.
5155if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5156  eval 'as_fn_append ()
5157  {
5158    eval $1+=\$2
5159  }'
5160else
5161  as_fn_append ()
5162  {
5163    eval $1=\$$1\$2
5164  }
5165fi # as_fn_append
5166
5167# as_fn_arith ARG...
5168# ------------------
5169# Perform arithmetic evaluation on the ARGs, and store the result in the
5170# global $as_val. Take advantage of shells that can avoid forks. The arguments
5171# must be portable across $(()) and expr.
5172if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5173  eval 'as_fn_arith ()
5174  {
5175    as_val=$(( $* ))
5176  }'
5177else
5178  as_fn_arith ()
5179  {
5180    as_val=`expr "$@" || test $? -eq 1`
5181  }
5182fi # as_fn_arith
5183
5184
5185if expr a : '\(a\)' >/dev/null 2>&1 &&
5186   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5187  as_expr=expr
5188else
5189  as_expr=false
5190fi
5191
5192if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5193  as_basename=basename
5194else
5195  as_basename=false
5196fi
5197
5198if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5199  as_dirname=dirname
5200else
5201  as_dirname=false
5202fi
5203
5204as_me=`$as_basename -- "$0" ||
5205$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5206	 X"$0" : 'X\(//\)$' \| \
5207	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5208$as_echo X/"$0" |
5209    sed '/^.*\/\([^/][^/]*\)\/*$/{
5210	    s//\1/
5211	    q
5212	  }
5213	  /^X\/\(\/\/\)$/{
5214	    s//\1/
5215	    q
5216	  }
5217	  /^X\/\(\/\).*/{
5218	    s//\1/
5219	    q
5220	  }
5221	  s/.*/./; q'`
5222
5223# Avoid depending upon Character Ranges.
5224as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5225as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5226as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5227as_cr_digits='0123456789'
5228as_cr_alnum=$as_cr_Letters$as_cr_digits
5229
5230ECHO_C= ECHO_N= ECHO_T=
5231case `echo -n x` in #(((((
5232-n*)
5233  case `echo 'xy\c'` in
5234  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
5235  xy)  ECHO_C='\c';;
5236  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5237       ECHO_T='	';;
5238  esac;;
5239*)
5240  ECHO_N='-n';;
5241esac
5242
5243rm -f conf$$ conf$$.exe conf$$.file
5244if test -d conf$$.dir; then
5245  rm -f conf$$.dir/conf$$.file
5246else
5247  rm -f conf$$.dir
5248  mkdir conf$$.dir 2>/dev/null
5249fi
5250if (echo >conf$$.file) 2>/dev/null; then
5251  if ln -s conf$$.file conf$$ 2>/dev/null; then
5252    as_ln_s='ln -s'
5253    # ... but there are two gotchas:
5254    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5255    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5256    # In both cases, we have to default to `cp -p'.
5257    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5258      as_ln_s='cp -p'
5259  elif ln conf$$.file conf$$ 2>/dev/null; then
5260    as_ln_s=ln
5261  else
5262    as_ln_s='cp -p'
5263  fi
5264else
5265  as_ln_s='cp -p'
5266fi
5267rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5268rmdir conf$$.dir 2>/dev/null
5269
5270
5271# as_fn_mkdir_p
5272# -------------
5273# Create "$as_dir" as a directory, including parents if necessary.
5274as_fn_mkdir_p ()
5275{
5276
5277  case $as_dir in #(
5278  -*) as_dir=./$as_dir;;
5279  esac
5280  test -d "$as_dir" || eval $as_mkdir_p || {
5281    as_dirs=
5282    while :; do
5283      case $as_dir in #(
5284      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5285      *) as_qdir=$as_dir;;
5286      esac
5287      as_dirs="'$as_qdir' $as_dirs"
5288      as_dir=`$as_dirname -- "$as_dir" ||
5289$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5290	 X"$as_dir" : 'X\(//\)[^/]' \| \
5291	 X"$as_dir" : 'X\(//\)$' \| \
5292	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5293$as_echo X"$as_dir" |
5294    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5295	    s//\1/
5296	    q
5297	  }
5298	  /^X\(\/\/\)[^/].*/{
5299	    s//\1/
5300	    q
5301	  }
5302	  /^X\(\/\/\)$/{
5303	    s//\1/
5304	    q
5305	  }
5306	  /^X\(\/\).*/{
5307	    s//\1/
5308	    q
5309	  }
5310	  s/.*/./; q'`
5311      test -d "$as_dir" && break
5312    done
5313    test -z "$as_dirs" || eval "mkdir $as_dirs"
5314  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5315
5316
5317} # as_fn_mkdir_p
5318if mkdir -p . 2>/dev/null; then
5319  as_mkdir_p='mkdir -p "$as_dir"'
5320else
5321  test -d ./-p && rmdir ./-p
5322  as_mkdir_p=false
5323fi
5324
5325if test -x / >/dev/null 2>&1; then
5326  as_test_x='test -x'
5327else
5328  if ls -dL / >/dev/null 2>&1; then
5329    as_ls_L_option=L
5330  else
5331    as_ls_L_option=
5332  fi
5333  as_test_x='
5334    eval sh -c '\''
5335      if test -d "$1"; then
5336	test -d "$1/.";
5337      else
5338	case $1 in #(
5339	-*)set "./$1";;
5340	esac;
5341	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5342	???[sx]*):;;*)false;;esac;fi
5343    '\'' sh
5344  '
5345fi
5346as_executable_p=$as_test_x
5347
5348# Sed expression to map a string onto a valid CPP name.
5349as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5350
5351# Sed expression to map a string onto a valid variable name.
5352as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5353
5354
5355exec 6>&1
5356## ----------------------------------- ##
5357## Main body of $CONFIG_STATUS script. ##
5358## ----------------------------------- ##
5359_ASEOF
5360test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5361
5362cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5363# Save the log message, to keep $0 and so on meaningful, and to
5364# report actual input values of CONFIG_FILES etc. instead of their
5365# values after options handling.
5366ac_log="
5367This file was extended by encodings $as_me 1.0.4, which was
5368generated by GNU Autoconf 2.68.  Invocation command line was
5369
5370  CONFIG_FILES    = $CONFIG_FILES
5371  CONFIG_HEADERS  = $CONFIG_HEADERS
5372  CONFIG_LINKS    = $CONFIG_LINKS
5373  CONFIG_COMMANDS = $CONFIG_COMMANDS
5374  $ $0 $@
5375
5376on `(hostname || uname -n) 2>/dev/null | sed 1q`
5377"
5378
5379_ACEOF
5380
5381case $ac_config_files in *"
5382"*) set x $ac_config_files; shift; ac_config_files=$*;;
5383esac
5384
5385
5386
5387cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5388# Files that config.status was made for.
5389config_files="$ac_config_files"
5390config_commands="$ac_config_commands"
5391
5392_ACEOF
5393
5394cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5395ac_cs_usage="\
5396\`$as_me' instantiates files and other configuration actions
5397from templates according to the current configuration.  Unless the files
5398and actions are specified as TAGs, all are instantiated by default.
5399
5400Usage: $0 [OPTION]... [TAG]...
5401
5402  -h, --help       print this help, then exit
5403  -V, --version    print version number and configuration settings, then exit
5404      --config     print configuration, then exit
5405  -q, --quiet, --silent
5406                   do not print progress messages
5407  -d, --debug      don't remove temporary files
5408      --recheck    update $as_me by reconfiguring in the same conditions
5409      --file=FILE[:TEMPLATE]
5410                   instantiate the configuration file FILE
5411
5412Configuration files:
5413$config_files
5414
5415Configuration commands:
5416$config_commands
5417
5418Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
5419
5420_ACEOF
5421cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5422ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5423ac_cs_version="\\
5424encodings config.status 1.0.4
5425configured by $0, generated by GNU Autoconf 2.68,
5426  with options \\"\$ac_cs_config\\"
5427
5428Copyright (C) 2010 Free Software Foundation, Inc.
5429This config.status script is free software; the Free Software Foundation
5430gives unlimited permission to copy, distribute and modify it."
5431
5432ac_pwd='$ac_pwd'
5433srcdir='$srcdir'
5434INSTALL='$INSTALL'
5435MKDIR_P='$MKDIR_P'
5436AWK='$AWK'
5437test -n "\$AWK" || AWK=awk
5438_ACEOF
5439
5440cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5441# The default lists apply if the user does not specify any file.
5442ac_need_defaults=:
5443while test $# != 0
5444do
5445  case $1 in
5446  --*=?*)
5447    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5448    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5449    ac_shift=:
5450    ;;
5451  --*=)
5452    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5453    ac_optarg=
5454    ac_shift=:
5455    ;;
5456  *)
5457    ac_option=$1
5458    ac_optarg=$2
5459    ac_shift=shift
5460    ;;
5461  esac
5462
5463  case $ac_option in
5464  # Handling of the options.
5465  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5466    ac_cs_recheck=: ;;
5467  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5468    $as_echo "$ac_cs_version"; exit ;;
5469  --config | --confi | --conf | --con | --co | --c )
5470    $as_echo "$ac_cs_config"; exit ;;
5471  --debug | --debu | --deb | --de | --d | -d )
5472    debug=: ;;
5473  --file | --fil | --fi | --f )
5474    $ac_shift
5475    case $ac_optarg in
5476    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5477    '') as_fn_error $? "missing file argument" ;;
5478    esac
5479    as_fn_append CONFIG_FILES " '$ac_optarg'"
5480    ac_need_defaults=false;;
5481  --he | --h |  --help | --hel | -h )
5482    $as_echo "$ac_cs_usage"; exit ;;
5483  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5484  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5485    ac_cs_silent=: ;;
5486
5487  # This is an error.
5488  -*) as_fn_error $? "unrecognized option: \`$1'
5489Try \`$0 --help' for more information." ;;
5490
5491  *) as_fn_append ac_config_targets " $1"
5492     ac_need_defaults=false ;;
5493
5494  esac
5495  shift
5496done
5497
5498ac_configure_extra_args=
5499
5500if $ac_cs_silent; then
5501  exec 6>/dev/null
5502  ac_configure_extra_args="$ac_configure_extra_args --silent"
5503fi
5504
5505_ACEOF
5506cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5507if \$ac_cs_recheck; then
5508  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5509  shift
5510  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5511  CONFIG_SHELL='$SHELL'
5512  export CONFIG_SHELL
5513  exec "\$@"
5514fi
5515
5516_ACEOF
5517cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5518exec 5>>config.log
5519{
5520  echo
5521  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5522## Running $as_me. ##
5523_ASBOX
5524  $as_echo "$ac_log"
5525} >&5
5526
5527_ACEOF
5528cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5529#
5530# INIT-COMMANDS
5531#
5532AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5533
5534_ACEOF
5535
5536cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5537
5538# Handling of arguments.
5539for ac_config_target in $ac_config_targets
5540do
5541  case $ac_config_target in
5542    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5543    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5544    "large/Makefile") CONFIG_FILES="$CONFIG_FILES large/Makefile" ;;
5545
5546  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5547  esac
5548done
5549
5550
5551# If the user did not use the arguments to specify the items to instantiate,
5552# then the envvar interface is used.  Set only those that are not.
5553# We use the long form for the default assignment because of an extremely
5554# bizarre bug on SunOS 4.1.3.
5555if $ac_need_defaults; then
5556  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5557  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5558fi
5559
5560# Have a temporary directory for convenience.  Make it in the build tree
5561# simply because there is no reason against having it here, and in addition,
5562# creating and moving files from /tmp can sometimes cause problems.
5563# Hook for its removal unless debugging.
5564# Note that there is a small window in which the directory will not be cleaned:
5565# after its creation but before its name has been assigned to `$tmp'.
5566$debug ||
5567{
5568  tmp= ac_tmp=
5569  trap 'exit_status=$?
5570  : "${ac_tmp:=$tmp}"
5571  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5572' 0
5573  trap 'as_fn_exit 1' 1 2 13 15
5574}
5575# Create a (secure) tmp directory for tmp files.
5576
5577{
5578  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5579  test -d "$tmp"
5580}  ||
5581{
5582  tmp=./conf$$-$RANDOM
5583  (umask 077 && mkdir "$tmp")
5584} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5585ac_tmp=$tmp
5586
5587# Set up the scripts for CONFIG_FILES section.
5588# No need to generate them if there are no CONFIG_FILES.
5589# This happens for instance with `./config.status config.h'.
5590if test -n "$CONFIG_FILES"; then
5591
5592
5593ac_cr=`echo X | tr X '\015'`
5594# On cygwin, bash can eat \r inside `` if the user requested igncr.
5595# But we know of no other shell where ac_cr would be empty at this
5596# point, so we can use a bashism as a fallback.
5597if test "x$ac_cr" = x; then
5598  eval ac_cr=\$\'\\r\'
5599fi
5600ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5601if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5602  ac_cs_awk_cr='\\r'
5603else
5604  ac_cs_awk_cr=$ac_cr
5605fi
5606
5607echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5608_ACEOF
5609
5610
5611{
5612  echo "cat >conf$$subs.awk <<_ACEOF" &&
5613  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5614  echo "_ACEOF"
5615} >conf$$subs.sh ||
5616  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5617ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5618ac_delim='%!_!# '
5619for ac_last_try in false false false false false :; do
5620  . ./conf$$subs.sh ||
5621    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5622
5623  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5624  if test $ac_delim_n = $ac_delim_num; then
5625    break
5626  elif $ac_last_try; then
5627    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5628  else
5629    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5630  fi
5631done
5632rm -f conf$$subs.sh
5633
5634cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5635cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5636_ACEOF
5637sed -n '
5638h
5639s/^/S["/; s/!.*/"]=/
5640p
5641g
5642s/^[^!]*!//
5643:repl
5644t repl
5645s/'"$ac_delim"'$//
5646t delim
5647:nl
5648h
5649s/\(.\{148\}\)..*/\1/
5650t more1
5651s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5652p
5653n
5654b repl
5655:more1
5656s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5657p
5658g
5659s/.\{148\}//
5660t nl
5661:delim
5662h
5663s/\(.\{148\}\)..*/\1/
5664t more2
5665s/["\\]/\\&/g; s/^/"/; s/$/"/
5666p
5667b
5668:more2
5669s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5670p
5671g
5672s/.\{148\}//
5673t delim
5674' <conf$$subs.awk | sed '
5675/^[^""]/{
5676  N
5677  s/\n//
5678}
5679' >>$CONFIG_STATUS || ac_write_fail=1
5680rm -f conf$$subs.awk
5681cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5682_ACAWK
5683cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5684  for (key in S) S_is_set[key] = 1
5685  FS = ""
5686
5687}
5688{
5689  line = $ 0
5690  nfields = split(line, field, "@")
5691  substed = 0
5692  len = length(field[1])
5693  for (i = 2; i < nfields; i++) {
5694    key = field[i]
5695    keylen = length(key)
5696    if (S_is_set[key]) {
5697      value = S[key]
5698      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5699      len += length(value) + length(field[++i])
5700      substed = 1
5701    } else
5702      len += 1 + keylen
5703  }
5704
5705  print line
5706}
5707
5708_ACAWK
5709_ACEOF
5710cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5711if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5712  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5713else
5714  cat
5715fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5716  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5717_ACEOF
5718
5719# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5720# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5721# trailing colons and then remove the whole line if VPATH becomes empty
5722# (actually we leave an empty line to preserve line numbers).
5723if test "x$srcdir" = x.; then
5724  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
5725h
5726s///
5727s/^/:/
5728s/[	 ]*$/:/
5729s/:\$(srcdir):/:/g
5730s/:\${srcdir}:/:/g
5731s/:@srcdir@:/:/g
5732s/^:*//
5733s/:*$//
5734x
5735s/\(=[	 ]*\).*/\1/
5736G
5737s/\n//
5738s/^[^=]*=[	 ]*$//
5739}'
5740fi
5741
5742cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5743fi # test -n "$CONFIG_FILES"
5744
5745
5746eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
5747shift
5748for ac_tag
5749do
5750  case $ac_tag in
5751  :[FHLC]) ac_mode=$ac_tag; continue;;
5752  esac
5753  case $ac_mode$ac_tag in
5754  :[FHL]*:*);;
5755  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5756  :[FH]-) ac_tag=-:-;;
5757  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5758  esac
5759  ac_save_IFS=$IFS
5760  IFS=:
5761  set x $ac_tag
5762  IFS=$ac_save_IFS
5763  shift
5764  ac_file=$1
5765  shift
5766
5767  case $ac_mode in
5768  :L) ac_source=$1;;
5769  :[FH])
5770    ac_file_inputs=
5771    for ac_f
5772    do
5773      case $ac_f in
5774      -) ac_f="$ac_tmp/stdin";;
5775      *) # Look for the file first in the build tree, then in the source tree
5776	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
5777	 # because $ac_f cannot contain `:'.
5778	 test -f "$ac_f" ||
5779	   case $ac_f in
5780	   [\\/$]*) false;;
5781	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5782	   esac ||
5783	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5784      esac
5785      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5786      as_fn_append ac_file_inputs " '$ac_f'"
5787    done
5788
5789    # Let's still pretend it is `configure' which instantiates (i.e., don't
5790    # use $as_me), people would be surprised to read:
5791    #    /* config.h.  Generated by config.status.  */
5792    configure_input='Generated from '`
5793	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5794	`' by configure.'
5795    if test x"$ac_file" != x-; then
5796      configure_input="$ac_file.  $configure_input"
5797      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5798$as_echo "$as_me: creating $ac_file" >&6;}
5799    fi
5800    # Neutralize special characters interpreted by sed in replacement strings.
5801    case $configure_input in #(
5802    *\&* | *\|* | *\\* )
5803       ac_sed_conf_input=`$as_echo "$configure_input" |
5804       sed 's/[\\\\&|]/\\\\&/g'`;; #(
5805    *) ac_sed_conf_input=$configure_input;;
5806    esac
5807
5808    case $ac_tag in
5809    *:-:* | *:-) cat >"$ac_tmp/stdin" \
5810      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5811    esac
5812    ;;
5813  esac
5814
5815  ac_dir=`$as_dirname -- "$ac_file" ||
5816$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5817	 X"$ac_file" : 'X\(//\)[^/]' \| \
5818	 X"$ac_file" : 'X\(//\)$' \| \
5819	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5820$as_echo X"$ac_file" |
5821    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5822	    s//\1/
5823	    q
5824	  }
5825	  /^X\(\/\/\)[^/].*/{
5826	    s//\1/
5827	    q
5828	  }
5829	  /^X\(\/\/\)$/{
5830	    s//\1/
5831	    q
5832	  }
5833	  /^X\(\/\).*/{
5834	    s//\1/
5835	    q
5836	  }
5837	  s/.*/./; q'`
5838  as_dir="$ac_dir"; as_fn_mkdir_p
5839  ac_builddir=.
5840
5841case "$ac_dir" in
5842.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5843*)
5844  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5845  # A ".." for each directory in $ac_dir_suffix.
5846  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5847  case $ac_top_builddir_sub in
5848  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5849  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5850  esac ;;
5851esac
5852ac_abs_top_builddir=$ac_pwd
5853ac_abs_builddir=$ac_pwd$ac_dir_suffix
5854# for backward compatibility:
5855ac_top_builddir=$ac_top_build_prefix
5856
5857case $srcdir in
5858  .)  # We are building in place.
5859    ac_srcdir=.
5860    ac_top_srcdir=$ac_top_builddir_sub
5861    ac_abs_top_srcdir=$ac_pwd ;;
5862  [\\/]* | ?:[\\/]* )  # Absolute name.
5863    ac_srcdir=$srcdir$ac_dir_suffix;
5864    ac_top_srcdir=$srcdir
5865    ac_abs_top_srcdir=$srcdir ;;
5866  *) # Relative name.
5867    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5868    ac_top_srcdir=$ac_top_build_prefix$srcdir
5869    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5870esac
5871ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5872
5873
5874  case $ac_mode in
5875  :F)
5876  #
5877  # CONFIG_FILE
5878  #
5879
5880  case $INSTALL in
5881  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5882  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5883  esac
5884  ac_MKDIR_P=$MKDIR_P
5885  case $MKDIR_P in
5886  [\\/$]* | ?:[\\/]* ) ;;
5887  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5888  esac
5889_ACEOF
5890
5891cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5892# If the template does not know about datarootdir, expand it.
5893# FIXME: This hack should be removed a few years after 2.60.
5894ac_datarootdir_hack=; ac_datarootdir_seen=
5895ac_sed_dataroot='
5896/datarootdir/ {
5897  p
5898  q
5899}
5900/@datadir@/p
5901/@docdir@/p
5902/@infodir@/p
5903/@localedir@/p
5904/@mandir@/p'
5905case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5906*datarootdir*) ac_datarootdir_seen=yes;;
5907*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5908  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5909$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5910_ACEOF
5911cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5912  ac_datarootdir_hack='
5913  s&@datadir@&$datadir&g
5914  s&@docdir@&$docdir&g
5915  s&@infodir@&$infodir&g
5916  s&@localedir@&$localedir&g
5917  s&@mandir@&$mandir&g
5918  s&\\\${datarootdir}&$datarootdir&g' ;;
5919esac
5920_ACEOF
5921
5922# Neutralize VPATH when `$srcdir' = `.'.
5923# Shell code in configure.ac might set extrasub.
5924# FIXME: do we really want to maintain this feature?
5925cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5926ac_sed_extra="$ac_vpsub
5927$extrasub
5928_ACEOF
5929cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5930:t
5931/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5932s|@configure_input@|$ac_sed_conf_input|;t t
5933s&@top_builddir@&$ac_top_builddir_sub&;t t
5934s&@top_build_prefix@&$ac_top_build_prefix&;t t
5935s&@srcdir@&$ac_srcdir&;t t
5936s&@abs_srcdir@&$ac_abs_srcdir&;t t
5937s&@top_srcdir@&$ac_top_srcdir&;t t
5938s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5939s&@builddir@&$ac_builddir&;t t
5940s&@abs_builddir@&$ac_abs_builddir&;t t
5941s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5942s&@INSTALL@&$ac_INSTALL&;t t
5943s&@MKDIR_P@&$ac_MKDIR_P&;t t
5944$ac_datarootdir_hack
5945"
5946eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5947  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5948
5949test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5950  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5951  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
5952      "$ac_tmp/out"`; test -z "$ac_out"; } &&
5953  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5954which seems to be undefined.  Please make sure it is defined" >&5
5955$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5956which seems to be undefined.  Please make sure it is defined" >&2;}
5957
5958  rm -f "$ac_tmp/stdin"
5959  case $ac_file in
5960  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5961  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5962  esac \
5963  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5964 ;;
5965
5966
5967  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5968$as_echo "$as_me: executing $ac_file commands" >&6;}
5969 ;;
5970  esac
5971
5972
5973  case $ac_file$ac_mode in
5974    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5975  # Autoconf 2.62 quotes --file arguments for eval, but not when files
5976  # are listed without --file.  Let's play safe and only enable the eval
5977  # if we detect the quoting.
5978  case $CONFIG_FILES in
5979  *\'*) eval set x "$CONFIG_FILES" ;;
5980  *)   set x $CONFIG_FILES ;;
5981  esac
5982  shift
5983  for mf
5984  do
5985    # Strip MF so we end up with the name of the file.
5986    mf=`echo "$mf" | sed -e 's/:.*$//'`
5987    # Check whether this is an Automake generated Makefile or not.
5988    # We used to match only the files named `Makefile.in', but
5989    # some people rename them; so instead we look at the file content.
5990    # Grep'ing the first line is not enough: some people post-process
5991    # each Makefile.in and add a new line on top of each file to say so.
5992    # Grep'ing the whole file is not good either: AIX grep has a line
5993    # limit of 2048, but all sed's we know have understand at least 4000.
5994    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5995      dirpart=`$as_dirname -- "$mf" ||
5996$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5997	 X"$mf" : 'X\(//\)[^/]' \| \
5998	 X"$mf" : 'X\(//\)$' \| \
5999	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6000$as_echo X"$mf" |
6001    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6002	    s//\1/
6003	    q
6004	  }
6005	  /^X\(\/\/\)[^/].*/{
6006	    s//\1/
6007	    q
6008	  }
6009	  /^X\(\/\/\)$/{
6010	    s//\1/
6011	    q
6012	  }
6013	  /^X\(\/\).*/{
6014	    s//\1/
6015	    q
6016	  }
6017	  s/.*/./; q'`
6018    else
6019      continue
6020    fi
6021    # Extract the definition of DEPDIR, am__include, and am__quote
6022    # from the Makefile without running `make'.
6023    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6024    test -z "$DEPDIR" && continue
6025    am__include=`sed -n 's/^am__include = //p' < "$mf"`
6026    test -z "am__include" && continue
6027    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6028    # When using ansi2knr, U may be empty or an underscore; expand it
6029    U=`sed -n 's/^U = //p' < "$mf"`
6030    # Find all dependency output files, they are included files with
6031    # $(DEPDIR) in their names.  We invoke sed twice because it is the
6032    # simplest approach to changing $(DEPDIR) to its actual value in the
6033    # expansion.
6034    for file in `sed -n "
6035      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6036	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6037      # Make sure the directory exists.
6038      test -f "$dirpart/$file" && continue
6039      fdir=`$as_dirname -- "$file" ||
6040$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6041	 X"$file" : 'X\(//\)[^/]' \| \
6042	 X"$file" : 'X\(//\)$' \| \
6043	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6044$as_echo X"$file" |
6045    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6046	    s//\1/
6047	    q
6048	  }
6049	  /^X\(\/\/\)[^/].*/{
6050	    s//\1/
6051	    q
6052	  }
6053	  /^X\(\/\/\)$/{
6054	    s//\1/
6055	    q
6056	  }
6057	  /^X\(\/\).*/{
6058	    s//\1/
6059	    q
6060	  }
6061	  s/.*/./; q'`
6062      as_dir=$dirpart/$fdir; as_fn_mkdir_p
6063      # echo "creating $dirpart/$file"
6064      echo '# dummy' > "$dirpart/$file"
6065    done
6066  done
6067}
6068 ;;
6069
6070  esac
6071done # for ac_tag
6072
6073
6074as_fn_exit 0
6075_ACEOF
6076ac_clean_files=$ac_clean_files_save
6077
6078test $ac_write_fail = 0 ||
6079  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6080
6081
6082# configure is writing to config.log, and then calls config.status.
6083# config.status does its own redirection, appending to config.log.
6084# Unfortunately, on DOS this fails, as config.log is still kept open
6085# by configure, so config.status won't be able to write to it; its
6086# output is simply discarded.  So we exec the FD to /dev/null,
6087# effectively closing config.log, so it can be properly (re)opened and
6088# appended to by config.status.  When coming back to configure, we
6089# need to make the FD available again.
6090if test "$no_create" != yes; then
6091  ac_cs_success=:
6092  ac_config_status_args=
6093  test "$silent" = yes &&
6094    ac_config_status_args="$ac_config_status_args --quiet"
6095  exec 5>/dev/null
6096  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6097  exec 5>>config.log
6098  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6099  # would make configure fail if this is the last instruction.
6100  $ac_cs_success || as_fn_exit 1
6101fi
6102if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6103  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6104$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6105fi
6106
6107