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