• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for xkeyboard-config 2.30.
4#
5#
6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7#
8#
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## -------------------- ##
12## M4sh Initialization. ##
13## -------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18  emulate sh
19  NULLCMD=:
20  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21  # is contrary to our usage.  Disable this feature.
22  alias -g '${1+"$@"}'='"$@"'
23  setopt NO_GLOB_SUBST
24else
25  case `(set -o) 2>/dev/null` in #(
26  *posix*) :
27    set -o posix ;; #(
28  *) :
29     ;;
30esac
31fi
32
33
34as_nl='
35'
36export as_nl
37# Printing a long string crashes Solaris 7 /usr/bin/printf.
38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41# Prefer a ksh shell builtin over an external printf program on Solaris,
42# but without wasting forks for bash or zsh.
43if test -z "$BASH_VERSION$ZSH_VERSION" \
44    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45  as_echo='print -r --'
46  as_echo_n='print -rn --'
47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48  as_echo='printf %s\n'
49  as_echo_n='printf %s'
50else
51  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53    as_echo_n='/usr/ucb/echo -n'
54  else
55    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56    as_echo_n_body='eval
57      arg=$1;
58      case $arg in #(
59      *"$as_nl"*)
60	expr "X$arg" : "X\\(.*\\)$as_nl";
61	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62      esac;
63      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64    '
65    export as_echo_n_body
66    as_echo_n='sh -c $as_echo_n_body as_echo'
67  fi
68  export as_echo_body
69  as_echo='sh -c $as_echo_body as_echo'
70fi
71
72# The user is always right.
73if test "${PATH_SEPARATOR+set}" != set; then
74  PATH_SEPARATOR=:
75  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77      PATH_SEPARATOR=';'
78  }
79fi
80
81
82# IFS
83# We need space, tab and new line, in precisely that order.  Quoting is
84# there to prevent editors from complaining about space-tab.
85# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86# splitting by setting IFS to empty value.)
87IFS=" ""	$as_nl"
88
89# Find who we are.  Look in the path if we contain no directory separator.
90as_myself=
91case $0 in #((
92  *[\\/]* ) as_myself=$0 ;;
93  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94for as_dir in $PATH
95do
96  IFS=$as_save_IFS
97  test -z "$as_dir" && as_dir=.
98    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99  done
100IFS=$as_save_IFS
101
102     ;;
103esac
104# We did not find ourselves, most probably we were run as `sh COMMAND'
105# in which case we are not to be found in the path.
106if test "x$as_myself" = x; then
107  as_myself=$0
108fi
109if test ! -f "$as_myself"; then
110  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111  exit 1
112fi
113
114# Unset variables that we do not need and which cause bugs (e.g. in
115# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
116# suppresses any "Segmentation fault" message there.  '((' could
117# trigger a bug in pdksh 5.2.14.
118for as_var in BASH_ENV ENV MAIL MAILPATH
119do eval test x\${$as_var+set} = xset \
120  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121done
122PS1='$ '
123PS2='> '
124PS4='+ '
125
126# NLS nuisances.
127LC_ALL=C
128export LC_ALL
129LANGUAGE=C
130export LANGUAGE
131
132# CDPATH.
133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135# Use a proper internal environment variable to ensure we don't fall
136  # into an infinite loop, continuously re-executing ourselves.
137  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138    _as_can_reexec=no; export _as_can_reexec;
139    # We cannot yet assume a decent shell, so we have to provide a
140# neutralization value for shells without unset; and this also
141# works around shells that cannot unset nonexistent variables.
142# Preserve -v and -x to the replacement shell.
143BASH_ENV=/dev/null
144ENV=/dev/null
145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146case $- in # ((((
147  *v*x* | *x*v* ) as_opts=-vx ;;
148  *v* ) as_opts=-v ;;
149  *x* ) as_opts=-x ;;
150  * ) as_opts= ;;
151esac
152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153# Admittedly, this is quite paranoid, since all the known shells bail
154# out after a failed `exec'.
155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156as_fn_exit 255
157  fi
158  # We don't want this to propagate to other subprocesses.
159          { _as_can_reexec=; unset _as_can_reexec;}
160if test "x$CONFIG_SHELL" = x; then
161  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162  emulate sh
163  NULLCMD=:
164  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165  # is contrary to our usage.  Disable this feature.
166  alias -g '\${1+\"\$@\"}'='\"\$@\"'
167  setopt NO_GLOB_SUBST
168else
169  case \`(set -o) 2>/dev/null\` in #(
170  *posix*) :
171    set -o posix ;; #(
172  *) :
173     ;;
174esac
175fi
176"
177  as_required="as_fn_return () { (exit \$1); }
178as_fn_success () { as_fn_return 0; }
179as_fn_failure () { as_fn_return 1; }
180as_fn_ret_success () { return 0; }
181as_fn_ret_failure () { return 1; }
182
183exitcode=0
184as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190else
191  exitcode=1; echo positional parameters were not saved.
192fi
193test x\$exitcode = x0 || exit 1
194test -x / || exit 1"
195  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199test \$(( 1 + 1 )) = 2 || exit 1"
200  if (eval "$as_required") 2>/dev/null; then :
201  as_have_required=yes
202else
203  as_have_required=no
204fi
205  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
206
207else
208  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
209as_found=false
210for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
211do
212  IFS=$as_save_IFS
213  test -z "$as_dir" && as_dir=.
214  as_found=:
215  case $as_dir in #(
216	 /*)
217	   for as_base in sh bash ksh sh5; do
218	     # Try only shells that exist, to save several forks.
219	     as_shell=$as_dir/$as_base
220	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222  CONFIG_SHELL=$as_shell as_have_required=yes
223		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
224  break 2
225fi
226fi
227	   done;;
228       esac
229  as_found=false
230done
231$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233  CONFIG_SHELL=$SHELL as_have_required=yes
234fi; }
235IFS=$as_save_IFS
236
237
238      if test "x$CONFIG_SHELL" != x; then :
239  export CONFIG_SHELL
240             # We cannot yet assume a decent shell, so we have to provide a
241# neutralization value for shells without unset; and this also
242# works around shells that cannot unset nonexistent variables.
243# Preserve -v and -x to the replacement shell.
244BASH_ENV=/dev/null
245ENV=/dev/null
246(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247case $- in # ((((
248  *v*x* | *x*v* ) as_opts=-vx ;;
249  *v* ) as_opts=-v ;;
250  *x* ) as_opts=-x ;;
251  * ) as_opts= ;;
252esac
253exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254# Admittedly, this is quite paranoid, since all the known shells bail
255# out after a failed `exec'.
256$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
257exit 255
258fi
259
260    if test x$as_have_required = xno; then :
261  $as_echo "$0: This script requires a shell more modern than all"
262  $as_echo "$0: the shells that I found on your system."
263  if test x${ZSH_VERSION+set} = xset ; then
264    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
266  else
267    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268$0: including any error possibly output before this
269$0: message. Then install a modern shell, or manually run
270$0: the script under such a shell if you do have one."
271  fi
272  exit 1
273fi
274fi
275fi
276SHELL=${CONFIG_SHELL-/bin/sh}
277export SHELL
278# Unset more variables known to interfere with behavior of common tools.
279CLICOLOR_FORCE= GREP_OPTIONS=
280unset CLICOLOR_FORCE GREP_OPTIONS
281
282## --------------------- ##
283## M4sh Shell Functions. ##
284## --------------------- ##
285# as_fn_unset VAR
286# ---------------
287# Portably unset VAR.
288as_fn_unset ()
289{
290  { eval $1=; unset $1;}
291}
292as_unset=as_fn_unset
293
294# as_fn_set_status STATUS
295# -----------------------
296# Set $? to STATUS, without forking.
297as_fn_set_status ()
298{
299  return $1
300} # as_fn_set_status
301
302# as_fn_exit STATUS
303# -----------------
304# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
305as_fn_exit ()
306{
307  set +e
308  as_fn_set_status $1
309  exit $1
310} # as_fn_exit
311
312# as_fn_mkdir_p
313# -------------
314# Create "$as_dir" as a directory, including parents if necessary.
315as_fn_mkdir_p ()
316{
317
318  case $as_dir in #(
319  -*) as_dir=./$as_dir;;
320  esac
321  test -d "$as_dir" || eval $as_mkdir_p || {
322    as_dirs=
323    while :; do
324      case $as_dir in #(
325      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
326      *) as_qdir=$as_dir;;
327      esac
328      as_dirs="'$as_qdir' $as_dirs"
329      as_dir=`$as_dirname -- "$as_dir" ||
330$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331	 X"$as_dir" : 'X\(//\)[^/]' \| \
332	 X"$as_dir" : 'X\(//\)$' \| \
333	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334$as_echo X"$as_dir" |
335    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336	    s//\1/
337	    q
338	  }
339	  /^X\(\/\/\)[^/].*/{
340	    s//\1/
341	    q
342	  }
343	  /^X\(\/\/\)$/{
344	    s//\1/
345	    q
346	  }
347	  /^X\(\/\).*/{
348	    s//\1/
349	    q
350	  }
351	  s/.*/./; q'`
352      test -d "$as_dir" && break
353    done
354    test -z "$as_dirs" || eval "mkdir $as_dirs"
355  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
356
357
358} # as_fn_mkdir_p
359
360# as_fn_executable_p FILE
361# -----------------------
362# Test if FILE is an executable regular file.
363as_fn_executable_p ()
364{
365  test -f "$1" && test -x "$1"
366} # as_fn_executable_p
367# as_fn_append VAR VALUE
368# ----------------------
369# Append the text in VALUE to the end of the definition contained in VAR. Take
370# advantage of any shell optimizations that allow amortized linear growth over
371# repeated appends, instead of the typical quadratic growth present in naive
372# implementations.
373if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374  eval 'as_fn_append ()
375  {
376    eval $1+=\$2
377  }'
378else
379  as_fn_append ()
380  {
381    eval $1=\$$1\$2
382  }
383fi # as_fn_append
384
385# as_fn_arith ARG...
386# ------------------
387# Perform arithmetic evaluation on the ARGs, and store the result in the
388# global $as_val. Take advantage of shells that can avoid forks. The arguments
389# must be portable across $(()) and expr.
390if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
391  eval 'as_fn_arith ()
392  {
393    as_val=$(( $* ))
394  }'
395else
396  as_fn_arith ()
397  {
398    as_val=`expr "$@" || test $? -eq 1`
399  }
400fi # as_fn_arith
401
402
403# as_fn_error STATUS ERROR [LINENO LOG_FD]
404# ----------------------------------------
405# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407# script with STATUS, using 1 if that was 0.
408as_fn_error ()
409{
410  as_status=$1; test $as_status -eq 0 && as_status=1
411  if test "$4"; then
412    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414  fi
415  $as_echo "$as_me: error: $2" >&2
416  as_fn_exit $as_status
417} # as_fn_error
418
419if expr a : '\(a\)' >/dev/null 2>&1 &&
420   test "X`expr 00001 : '.*\(...\)'`" = X001; then
421  as_expr=expr
422else
423  as_expr=false
424fi
425
426if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
427  as_basename=basename
428else
429  as_basename=false
430fi
431
432if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
433  as_dirname=dirname
434else
435  as_dirname=false
436fi
437
438as_me=`$as_basename -- "$0" ||
439$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440	 X"$0" : 'X\(//\)$' \| \
441	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
442$as_echo X/"$0" |
443    sed '/^.*\/\([^/][^/]*\)\/*$/{
444	    s//\1/
445	    q
446	  }
447	  /^X\/\(\/\/\)$/{
448	    s//\1/
449	    q
450	  }
451	  /^X\/\(\/\).*/{
452	    s//\1/
453	    q
454	  }
455	  s/.*/./; q'`
456
457# Avoid depending upon Character Ranges.
458as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461as_cr_digits='0123456789'
462as_cr_alnum=$as_cr_Letters$as_cr_digits
463
464
465  as_lineno_1=$LINENO as_lineno_1a=$LINENO
466  as_lineno_2=$LINENO as_lineno_2a=$LINENO
467  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
469  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
470  sed -n '
471    p
472    /[$]LINENO/=
473  ' <$as_myself |
474    sed '
475      s/[$]LINENO.*/&-/
476      t lineno
477      b
478      :lineno
479      N
480      :loop
481      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
482      t loop
483      s/-\n.*//
484    ' >$as_me.lineno &&
485  chmod +x "$as_me.lineno" ||
486    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
487
488  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489  # already done that, so ensure we don't try to do so again and fall
490  # in an infinite loop.  This has already happened in practice.
491  _as_can_reexec=no; export _as_can_reexec
492  # Don't try to exec as it changes $[0], causing all sort of problems
493  # (the dirname of $[0] is not the place where we might find the
494  # original and so on.  Autoconf is especially sensitive to this).
495  . "./$as_me.lineno"
496  # Exit status is that of the last command.
497  exit
498}
499
500ECHO_C= ECHO_N= ECHO_T=
501case `echo -n x` in #(((((
502-n*)
503  case `echo 'xy\c'` in
504  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
505  xy)  ECHO_C='\c';;
506  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
507       ECHO_T='	';;
508  esac;;
509*)
510  ECHO_N='-n';;
511esac
512
513rm -f conf$$ conf$$.exe conf$$.file
514if test -d conf$$.dir; then
515  rm -f conf$$.dir/conf$$.file
516else
517  rm -f conf$$.dir
518  mkdir conf$$.dir 2>/dev/null
519fi
520if (echo >conf$$.file) 2>/dev/null; then
521  if ln -s conf$$.file conf$$ 2>/dev/null; then
522    as_ln_s='ln -s'
523    # ... but there are two gotchas:
524    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526    # In both cases, we have to default to `cp -pR'.
527    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
528      as_ln_s='cp -pR'
529  elif ln conf$$.file conf$$ 2>/dev/null; then
530    as_ln_s=ln
531  else
532    as_ln_s='cp -pR'
533  fi
534else
535  as_ln_s='cp -pR'
536fi
537rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538rmdir conf$$.dir 2>/dev/null
539
540if mkdir -p . 2>/dev/null; then
541  as_mkdir_p='mkdir -p "$as_dir"'
542else
543  test -d ./-p && rmdir ./-p
544  as_mkdir_p=false
545fi
546
547as_test_x='test -x'
548as_executable_p=as_fn_executable_p
549
550# Sed expression to map a string onto a valid CPP name.
551as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552
553# Sed expression to map a string onto a valid variable name.
554as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555
556
557test -n "$DJDIR" || exec 7<&0 </dev/null
558exec 6>&1
559
560# Name of the host.
561# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562# so uname gets run too.
563ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564
565#
566# Initializations.
567#
568ac_default_prefix=/usr/local
569ac_clean_files=
570ac_config_libobj_dir=.
571LIBOBJS=
572cross_compiling=no
573subdirs=
574MFLAGS=
575MAKEFLAGS=
576
577# Identity of this package.
578PACKAGE_NAME='xkeyboard-config'
579PACKAGE_TARNAME='xkeyboard-config'
580PACKAGE_VERSION='2.30'
581PACKAGE_STRING='xkeyboard-config 2.30'
582PACKAGE_BUGREPORT=''
583PACKAGE_URL=''
584
585ac_unique_file="rules/base.xml"
586gt_needs=
587ac_subst_vars='am__EXEEXT_FALSE
588am__EXEEXT_TRUE
589LTLIBOBJS
590LIBOBJS
591xkb_rules_symlink
592xkb_base
593GETTEXT_PACKAGE
594POSUB
595LTLIBINTL
596LIBINTL
597INTLLIBS
598LTLIBICONV
599LIBICONV
600INTL_MACOSX_LIBS
601EGREP
602GREP
603CPP
604am__fastdepCC_FALSE
605am__fastdepCC_TRUE
606CCDEPMODE
607am__nodep
608AMDEPBACKSLASH
609AMDEP_FALSE
610AMDEP_TRUE
611am__include
612DEPDIR
613OBJEXT
614EXEEXT
615ac_ct_CC
616CPPFLAGS
617LDFLAGS
618CFLAGS
619CC
620XGETTEXT_EXTRA_OPTIONS
621MSGMERGE
622XGETTEXT_015
623XGETTEXT
624GMSGFMT_015
625MSGFMT_015
626GMSGFMT
627MSGFMT
628GETTEXT_MACRO_VERSION
629USE_NLS
630USE_COMPAT_RULES_FALSE
631USE_COMPAT_RULES_TRUE
632CREATE_RULES_SYMLINK_FALSE
633CREATE_RULES_SYMLINK_TRUE
634DEPS_LIBS
635DEPS_CFLAGS
636PKG_CONFIG_LIBDIR
637PKG_CONFIG_PATH
638PKG_CONFIG
639pkgpyexecdir
640pyexecdir
641pkgpythondir
642pythondir
643PYTHON_PLATFORM
644PYTHON_EXEC_PREFIX
645PYTHON_PREFIX
646PYTHON_VERSION
647PYTHON
648HAVE_XSLTPROC_FALSE
649HAVE_XSLTPROC_TRUE
650XSLTPROC
651MAN_SUBSTS
652XORG_MAN_PAGE
653ADMIN_MAN_DIR
654DRIVER_MAN_DIR
655MISC_MAN_DIR
656FILE_MAN_DIR
657LIB_MAN_DIR
658APP_MAN_DIR
659ADMIN_MAN_SUFFIX
660DRIVER_MAN_SUFFIX
661MISC_MAN_SUFFIX
662FILE_MAN_SUFFIX
663LIB_MAN_SUFFIX
664APP_MAN_SUFFIX
665SED
666host_os
667host_vendor
668host_cpu
669host
670build_os
671build_vendor
672build_cpu
673build
674AM_BACKSLASH
675AM_DEFAULT_VERBOSITY
676AM_DEFAULT_V
677AM_V
678am__untar
679am__tar
680AMTAR
681am__leading_dot
682SET_MAKE
683AWK
684mkdir_p
685MKDIR_P
686INSTALL_STRIP_PROGRAM
687STRIP
688install_sh
689MAKEINFO
690AUTOHEADER
691AUTOMAKE
692AUTOCONF
693ACLOCAL
694VERSION
695PACKAGE
696CYGPATH_W
697am__isrc
698INSTALL_DATA
699INSTALL_SCRIPT
700INSTALL_PROGRAM
701target_alias
702host_alias
703build_alias
704LIBS
705ECHO_T
706ECHO_N
707ECHO_C
708DEFS
709mandir
710localedir
711libdir
712psdir
713pdfdir
714dvidir
715htmldir
716infodir
717docdir
718oldincludedir
719includedir
720localstatedir
721sharedstatedir
722sysconfdir
723datadir
724datarootdir
725libexecdir
726sbindir
727bindir
728program_transform_name
729prefix
730exec_prefix
731PACKAGE_URL
732PACKAGE_BUGREPORT
733PACKAGE_STRING
734PACKAGE_VERSION
735PACKAGE_TARNAME
736PACKAGE_NAME
737PATH_SEPARATOR
738SHELL
739am__quote'
740ac_subst_files=''
741ac_user_opts='
742enable_option_checking
743enable_silent_rules
744with_xsltproc
745with_xkb_base
746with_xkb_rules_symlink
747enable_compat_rules
748enable_runtime_deps
749enable_nls
750enable_dependency_tracking
751with_gnu_ld
752enable_rpath
753with_libiconv_prefix
754with_libintl_prefix
755'
756      ac_precious_vars='build_alias
757host_alias
758target_alias
759XSLTPROC
760PYTHON
761PKG_CONFIG
762PKG_CONFIG_PATH
763PKG_CONFIG_LIBDIR
764DEPS_CFLAGS
765DEPS_LIBS
766CC
767CFLAGS
768LDFLAGS
769LIBS
770CPPFLAGS
771CPP'
772
773
774# Initialize some variables set by options.
775ac_init_help=
776ac_init_version=false
777ac_unrecognized_opts=
778ac_unrecognized_sep=
779# The variables have the same names as the options, with
780# dashes changed to underlines.
781cache_file=/dev/null
782exec_prefix=NONE
783no_create=
784no_recursion=
785prefix=NONE
786program_prefix=NONE
787program_suffix=NONE
788program_transform_name=s,x,x,
789silent=
790site=
791srcdir=
792verbose=
793x_includes=NONE
794x_libraries=NONE
795
796# Installation directory options.
797# These are left unexpanded so users can "make install exec_prefix=/foo"
798# and all the variables that are supposed to be based on exec_prefix
799# by default will actually change.
800# Use braces instead of parens because sh, perl, etc. also accept them.
801# (The list follows the same order as the GNU Coding Standards.)
802bindir='${exec_prefix}/bin'
803sbindir='${exec_prefix}/sbin'
804libexecdir='${exec_prefix}/libexec'
805datarootdir='${prefix}/share'
806datadir='${datarootdir}'
807sysconfdir='${prefix}/etc'
808sharedstatedir='${prefix}/com'
809localstatedir='${prefix}/var'
810includedir='${prefix}/include'
811oldincludedir='/usr/include'
812docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
813infodir='${datarootdir}/info'
814htmldir='${docdir}'
815dvidir='${docdir}'
816pdfdir='${docdir}'
817psdir='${docdir}'
818libdir='${exec_prefix}/lib'
819localedir='${datarootdir}/locale'
820mandir='${datarootdir}/man'
821
822ac_prev=
823ac_dashdash=
824for ac_option
825do
826  # If the previous option needs an argument, assign it.
827  if test -n "$ac_prev"; then
828    eval $ac_prev=\$ac_option
829    ac_prev=
830    continue
831  fi
832
833  case $ac_option in
834  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
835  *=)   ac_optarg= ;;
836  *)    ac_optarg=yes ;;
837  esac
838
839  # Accept the important Cygnus configure options, so we can diagnose typos.
840
841  case $ac_dashdash$ac_option in
842  --)
843    ac_dashdash=yes ;;
844
845  -bindir | --bindir | --bindi | --bind | --bin | --bi)
846    ac_prev=bindir ;;
847  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
848    bindir=$ac_optarg ;;
849
850  -build | --build | --buil | --bui | --bu)
851    ac_prev=build_alias ;;
852  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
853    build_alias=$ac_optarg ;;
854
855  -cache-file | --cache-file | --cache-fil | --cache-fi \
856  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
857    ac_prev=cache_file ;;
858  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
859  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
860    cache_file=$ac_optarg ;;
861
862  --config-cache | -C)
863    cache_file=config.cache ;;
864
865  -datadir | --datadir | --datadi | --datad)
866    ac_prev=datadir ;;
867  -datadir=* | --datadir=* | --datadi=* | --datad=*)
868    datadir=$ac_optarg ;;
869
870  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
871  | --dataroo | --dataro | --datar)
872    ac_prev=datarootdir ;;
873  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
874  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
875    datarootdir=$ac_optarg ;;
876
877  -disable-* | --disable-*)
878    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
879    # Reject names that are not valid shell variable names.
880    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
881      as_fn_error $? "invalid feature name: $ac_useropt"
882    ac_useropt_orig=$ac_useropt
883    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
884    case $ac_user_opts in
885      *"
886"enable_$ac_useropt"
887"*) ;;
888      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
889	 ac_unrecognized_sep=', ';;
890    esac
891    eval enable_$ac_useropt=no ;;
892
893  -docdir | --docdir | --docdi | --doc | --do)
894    ac_prev=docdir ;;
895  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
896    docdir=$ac_optarg ;;
897
898  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
899    ac_prev=dvidir ;;
900  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
901    dvidir=$ac_optarg ;;
902
903  -enable-* | --enable-*)
904    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
905    # Reject names that are not valid shell variable names.
906    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
907      as_fn_error $? "invalid feature name: $ac_useropt"
908    ac_useropt_orig=$ac_useropt
909    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
910    case $ac_user_opts in
911      *"
912"enable_$ac_useropt"
913"*) ;;
914      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
915	 ac_unrecognized_sep=', ';;
916    esac
917    eval enable_$ac_useropt=\$ac_optarg ;;
918
919  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
920  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
921  | --exec | --exe | --ex)
922    ac_prev=exec_prefix ;;
923  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
924  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
925  | --exec=* | --exe=* | --ex=*)
926    exec_prefix=$ac_optarg ;;
927
928  -gas | --gas | --ga | --g)
929    # Obsolete; use --with-gas.
930    with_gas=yes ;;
931
932  -help | --help | --hel | --he | -h)
933    ac_init_help=long ;;
934  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
935    ac_init_help=recursive ;;
936  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
937    ac_init_help=short ;;
938
939  -host | --host | --hos | --ho)
940    ac_prev=host_alias ;;
941  -host=* | --host=* | --hos=* | --ho=*)
942    host_alias=$ac_optarg ;;
943
944  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
945    ac_prev=htmldir ;;
946  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
947  | --ht=*)
948    htmldir=$ac_optarg ;;
949
950  -includedir | --includedir | --includedi | --included | --include \
951  | --includ | --inclu | --incl | --inc)
952    ac_prev=includedir ;;
953  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
954  | --includ=* | --inclu=* | --incl=* | --inc=*)
955    includedir=$ac_optarg ;;
956
957  -infodir | --infodir | --infodi | --infod | --info | --inf)
958    ac_prev=infodir ;;
959  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
960    infodir=$ac_optarg ;;
961
962  -libdir | --libdir | --libdi | --libd)
963    ac_prev=libdir ;;
964  -libdir=* | --libdir=* | --libdi=* | --libd=*)
965    libdir=$ac_optarg ;;
966
967  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
968  | --libexe | --libex | --libe)
969    ac_prev=libexecdir ;;
970  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
971  | --libexe=* | --libex=* | --libe=*)
972    libexecdir=$ac_optarg ;;
973
974  -localedir | --localedir | --localedi | --localed | --locale)
975    ac_prev=localedir ;;
976  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
977    localedir=$ac_optarg ;;
978
979  -localstatedir | --localstatedir | --localstatedi | --localstated \
980  | --localstate | --localstat | --localsta | --localst | --locals)
981    ac_prev=localstatedir ;;
982  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
983  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
984    localstatedir=$ac_optarg ;;
985
986  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
987    ac_prev=mandir ;;
988  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
989    mandir=$ac_optarg ;;
990
991  -nfp | --nfp | --nf)
992    # Obsolete; use --without-fp.
993    with_fp=no ;;
994
995  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
996  | --no-cr | --no-c | -n)
997    no_create=yes ;;
998
999  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1000  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1001    no_recursion=yes ;;
1002
1003  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1004  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1005  | --oldin | --oldi | --old | --ol | --o)
1006    ac_prev=oldincludedir ;;
1007  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1008  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1009  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1010    oldincludedir=$ac_optarg ;;
1011
1012  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1013    ac_prev=prefix ;;
1014  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1015    prefix=$ac_optarg ;;
1016
1017  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1018  | --program-pre | --program-pr | --program-p)
1019    ac_prev=program_prefix ;;
1020  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1021  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1022    program_prefix=$ac_optarg ;;
1023
1024  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1025  | --program-suf | --program-su | --program-s)
1026    ac_prev=program_suffix ;;
1027  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1028  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1029    program_suffix=$ac_optarg ;;
1030
1031  -program-transform-name | --program-transform-name \
1032  | --program-transform-nam | --program-transform-na \
1033  | --program-transform-n | --program-transform- \
1034  | --program-transform | --program-transfor \
1035  | --program-transfo | --program-transf \
1036  | --program-trans | --program-tran \
1037  | --progr-tra | --program-tr | --program-t)
1038    ac_prev=program_transform_name ;;
1039  -program-transform-name=* | --program-transform-name=* \
1040  | --program-transform-nam=* | --program-transform-na=* \
1041  | --program-transform-n=* | --program-transform-=* \
1042  | --program-transform=* | --program-transfor=* \
1043  | --program-transfo=* | --program-transf=* \
1044  | --program-trans=* | --program-tran=* \
1045  | --progr-tra=* | --program-tr=* | --program-t=*)
1046    program_transform_name=$ac_optarg ;;
1047
1048  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1049    ac_prev=pdfdir ;;
1050  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1051    pdfdir=$ac_optarg ;;
1052
1053  -psdir | --psdir | --psdi | --psd | --ps)
1054    ac_prev=psdir ;;
1055  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1056    psdir=$ac_optarg ;;
1057
1058  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1059  | -silent | --silent | --silen | --sile | --sil)
1060    silent=yes ;;
1061
1062  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1063    ac_prev=sbindir ;;
1064  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1065  | --sbi=* | --sb=*)
1066    sbindir=$ac_optarg ;;
1067
1068  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1069  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1070  | --sharedst | --shareds | --shared | --share | --shar \
1071  | --sha | --sh)
1072    ac_prev=sharedstatedir ;;
1073  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1074  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1075  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1076  | --sha=* | --sh=*)
1077    sharedstatedir=$ac_optarg ;;
1078
1079  -site | --site | --sit)
1080    ac_prev=site ;;
1081  -site=* | --site=* | --sit=*)
1082    site=$ac_optarg ;;
1083
1084  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1085    ac_prev=srcdir ;;
1086  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1087    srcdir=$ac_optarg ;;
1088
1089  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1090  | --syscon | --sysco | --sysc | --sys | --sy)
1091    ac_prev=sysconfdir ;;
1092  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1093  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1094    sysconfdir=$ac_optarg ;;
1095
1096  -target | --target | --targe | --targ | --tar | --ta | --t)
1097    ac_prev=target_alias ;;
1098  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1099    target_alias=$ac_optarg ;;
1100
1101  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1102    verbose=yes ;;
1103
1104  -version | --version | --versio | --versi | --vers | -V)
1105    ac_init_version=: ;;
1106
1107  -with-* | --with-*)
1108    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1109    # Reject names that are not valid shell variable names.
1110    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1111      as_fn_error $? "invalid package name: $ac_useropt"
1112    ac_useropt_orig=$ac_useropt
1113    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1114    case $ac_user_opts in
1115      *"
1116"with_$ac_useropt"
1117"*) ;;
1118      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1119	 ac_unrecognized_sep=', ';;
1120    esac
1121    eval with_$ac_useropt=\$ac_optarg ;;
1122
1123  -without-* | --without-*)
1124    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1125    # Reject names that are not valid shell variable names.
1126    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1127      as_fn_error $? "invalid package name: $ac_useropt"
1128    ac_useropt_orig=$ac_useropt
1129    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1130    case $ac_user_opts in
1131      *"
1132"with_$ac_useropt"
1133"*) ;;
1134      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1135	 ac_unrecognized_sep=', ';;
1136    esac
1137    eval with_$ac_useropt=no ;;
1138
1139  --x)
1140    # Obsolete; use --with-x.
1141    with_x=yes ;;
1142
1143  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1144  | --x-incl | --x-inc | --x-in | --x-i)
1145    ac_prev=x_includes ;;
1146  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1147  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1148    x_includes=$ac_optarg ;;
1149
1150  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1151  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1152    ac_prev=x_libraries ;;
1153  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1154  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1155    x_libraries=$ac_optarg ;;
1156
1157  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1158Try \`$0 --help' for more information"
1159    ;;
1160
1161  *=*)
1162    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1163    # Reject names that are not valid shell variable names.
1164    case $ac_envvar in #(
1165      '' | [0-9]* | *[!_$as_cr_alnum]* )
1166      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1167    esac
1168    eval $ac_envvar=\$ac_optarg
1169    export $ac_envvar ;;
1170
1171  *)
1172    # FIXME: should be removed in autoconf 3.0.
1173    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1174    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1175      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1176    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1177    ;;
1178
1179  esac
1180done
1181
1182if test -n "$ac_prev"; then
1183  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1184  as_fn_error $? "missing argument to $ac_option"
1185fi
1186
1187if test -n "$ac_unrecognized_opts"; then
1188  case $enable_option_checking in
1189    no) ;;
1190    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1191    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1192  esac
1193fi
1194
1195# Check all directory arguments for consistency.
1196for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1197		datadir sysconfdir sharedstatedir localstatedir includedir \
1198		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1199		libdir localedir mandir
1200do
1201  eval ac_val=\$$ac_var
1202  # Remove trailing slashes.
1203  case $ac_val in
1204    */ )
1205      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1206      eval $ac_var=\$ac_val;;
1207  esac
1208  # Be sure to have absolute directory names.
1209  case $ac_val in
1210    [\\/$]* | ?:[\\/]* )  continue;;
1211    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1212  esac
1213  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1214done
1215
1216# There might be people who depend on the old broken behavior: `$host'
1217# used to hold the argument of --host etc.
1218# FIXME: To remove some day.
1219build=$build_alias
1220host=$host_alias
1221target=$target_alias
1222
1223# FIXME: To remove some day.
1224if test "x$host_alias" != x; then
1225  if test "x$build_alias" = x; then
1226    cross_compiling=maybe
1227  elif test "x$build_alias" != "x$host_alias"; then
1228    cross_compiling=yes
1229  fi
1230fi
1231
1232ac_tool_prefix=
1233test -n "$host_alias" && ac_tool_prefix=$host_alias-
1234
1235test "$silent" = yes && exec 6>/dev/null
1236
1237
1238ac_pwd=`pwd` && test -n "$ac_pwd" &&
1239ac_ls_di=`ls -di .` &&
1240ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1241  as_fn_error $? "working directory cannot be determined"
1242test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1243  as_fn_error $? "pwd does not report name of working directory"
1244
1245
1246# Find the source files, if location was not specified.
1247if test -z "$srcdir"; then
1248  ac_srcdir_defaulted=yes
1249  # Try the directory containing this script, then the parent directory.
1250  ac_confdir=`$as_dirname -- "$as_myself" ||
1251$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1252	 X"$as_myself" : 'X\(//\)[^/]' \| \
1253	 X"$as_myself" : 'X\(//\)$' \| \
1254	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1255$as_echo X"$as_myself" |
1256    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1257	    s//\1/
1258	    q
1259	  }
1260	  /^X\(\/\/\)[^/].*/{
1261	    s//\1/
1262	    q
1263	  }
1264	  /^X\(\/\/\)$/{
1265	    s//\1/
1266	    q
1267	  }
1268	  /^X\(\/\).*/{
1269	    s//\1/
1270	    q
1271	  }
1272	  s/.*/./; q'`
1273  srcdir=$ac_confdir
1274  if test ! -r "$srcdir/$ac_unique_file"; then
1275    srcdir=..
1276  fi
1277else
1278  ac_srcdir_defaulted=no
1279fi
1280if test ! -r "$srcdir/$ac_unique_file"; then
1281  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1282  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1283fi
1284ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1285ac_abs_confdir=`(
1286	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1287	pwd)`
1288# When building in place, set srcdir=.
1289if test "$ac_abs_confdir" = "$ac_pwd"; then
1290  srcdir=.
1291fi
1292# Remove unnecessary trailing slashes from srcdir.
1293# Double slashes in file names in object file debugging info
1294# mess up M-x gdb in Emacs.
1295case $srcdir in
1296*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1297esac
1298for ac_var in $ac_precious_vars; do
1299  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1300  eval ac_env_${ac_var}_value=\$${ac_var}
1301  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1302  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1303done
1304
1305#
1306# Report the --help message.
1307#
1308if test "$ac_init_help" = "long"; then
1309  # Omit some internal or obsolete options to make the list less imposing.
1310  # This message is too long to be a string in the A/UX 3.1 sh.
1311  cat <<_ACEOF
1312\`configure' configures xkeyboard-config 2.30 to adapt to many kinds of systems.
1313
1314Usage: $0 [OPTION]... [VAR=VALUE]...
1315
1316To assign environment variables (e.g., CC, CFLAGS...), specify them as
1317VAR=VALUE.  See below for descriptions of some of the useful variables.
1318
1319Defaults for the options are specified in brackets.
1320
1321Configuration:
1322  -h, --help              display this help and exit
1323      --help=short        display options specific to this package
1324      --help=recursive    display the short help of all the included packages
1325  -V, --version           display version information and exit
1326  -q, --quiet, --silent   do not print \`checking ...' messages
1327      --cache-file=FILE   cache test results in FILE [disabled]
1328  -C, --config-cache      alias for \`--cache-file=config.cache'
1329  -n, --no-create         do not create output files
1330      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1331
1332Installation directories:
1333  --prefix=PREFIX         install architecture-independent files in PREFIX
1334                          [$ac_default_prefix]
1335  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1336                          [PREFIX]
1337
1338By default, \`make install' will install all the files in
1339\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1340an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1341for instance \`--prefix=\$HOME'.
1342
1343For better control, use the options below.
1344
1345Fine tuning of the installation directories:
1346  --bindir=DIR            user executables [EPREFIX/bin]
1347  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1348  --libexecdir=DIR        program executables [EPREFIX/libexec]
1349  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1350  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1351  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1352  --libdir=DIR            object code libraries [EPREFIX/lib]
1353  --includedir=DIR        C header files [PREFIX/include]
1354  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1355  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1356  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1357  --infodir=DIR           info documentation [DATAROOTDIR/info]
1358  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1359  --mandir=DIR            man documentation [DATAROOTDIR/man]
1360  --docdir=DIR            documentation root
1361                          [DATAROOTDIR/doc/xkeyboard-config]
1362  --htmldir=DIR           html documentation [DOCDIR]
1363  --dvidir=DIR            dvi documentation [DOCDIR]
1364  --pdfdir=DIR            pdf documentation [DOCDIR]
1365  --psdir=DIR             ps documentation [DOCDIR]
1366_ACEOF
1367
1368  cat <<\_ACEOF
1369
1370Program names:
1371  --program-prefix=PREFIX            prepend PREFIX to installed program names
1372  --program-suffix=SUFFIX            append SUFFIX to installed program names
1373  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1374
1375System types:
1376  --build=BUILD     configure for building on BUILD [guessed]
1377  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1378_ACEOF
1379fi
1380
1381if test -n "$ac_init_help"; then
1382  case $ac_init_help in
1383     short | recursive ) echo "Configuration of xkeyboard-config 2.30:";;
1384   esac
1385  cat <<\_ACEOF
1386
1387Optional Features:
1388  --disable-option-checking  ignore unrecognized --enable/--with options
1389  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1390  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1391  --enable-silent-rules   less verbose build output (undo: "make V=1")
1392  --disable-silent-rules  verbose build output (undo: "make V=0")
1393  --enable-compat-rules      create compatibility rules
1394 --enable-runtime-deps    use run-time dependencies as build-time dependencies
1395  --disable-nls           do not use Native Language Support
1396  --enable-dependency-tracking
1397                          do not reject slow dependency extractors
1398  --disable-dependency-tracking
1399                          speeds up one-time build
1400  --disable-rpath         do not hardcode runtime library paths
1401
1402Optional Packages:
1403  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1404  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1405  --with-xsltproc         Use xsltproc for the transformation of XML documents
1406                          (default: auto)
1407  --with-xkb-base=DIR     XKB base path [DATADIR/X11/xkb]
1408  --with-xkb-rules-symlink=NAME1(,NAME2)*        create symlink(s) to "old style" rules files (xfree86 and/or xorg)
1409  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1410  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1411  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1412  --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
1413  --without-libintl-prefix     don't search for libintl in includedir and libdir
1414
1415Some influential environment variables:
1416  XSLTPROC    Path to xsltproc command
1417  PYTHON      the Python interpreter
1418  PKG_CONFIG  path to pkg-config utility
1419  PKG_CONFIG_PATH
1420              directories to add to pkg-config's search path
1421  PKG_CONFIG_LIBDIR
1422              path overriding pkg-config's built-in search path
1423  DEPS_CFLAGS C compiler flags for DEPS, overriding pkg-config
1424  DEPS_LIBS   linker flags for DEPS, overriding pkg-config
1425  CC          C compiler command
1426  CFLAGS      C compiler flags
1427  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1428              nonstandard directory <lib dir>
1429  LIBS        libraries to pass to the linker, e.g. -l<library>
1430  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1431              you have headers in a nonstandard directory <include dir>
1432  CPP         C preprocessor
1433
1434Use these variables to override the choices made by `configure' or to help
1435it to find libraries and programs with nonstandard names/locations.
1436
1437Report bugs to the package provider.
1438_ACEOF
1439ac_status=$?
1440fi
1441
1442if test "$ac_init_help" = "recursive"; then
1443  # If there are subdirs, report their specific --help.
1444  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1445    test -d "$ac_dir" ||
1446      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1447      continue
1448    ac_builddir=.
1449
1450case "$ac_dir" in
1451.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1452*)
1453  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1454  # A ".." for each directory in $ac_dir_suffix.
1455  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1456  case $ac_top_builddir_sub in
1457  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1458  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1459  esac ;;
1460esac
1461ac_abs_top_builddir=$ac_pwd
1462ac_abs_builddir=$ac_pwd$ac_dir_suffix
1463# for backward compatibility:
1464ac_top_builddir=$ac_top_build_prefix
1465
1466case $srcdir in
1467  .)  # We are building in place.
1468    ac_srcdir=.
1469    ac_top_srcdir=$ac_top_builddir_sub
1470    ac_abs_top_srcdir=$ac_pwd ;;
1471  [\\/]* | ?:[\\/]* )  # Absolute name.
1472    ac_srcdir=$srcdir$ac_dir_suffix;
1473    ac_top_srcdir=$srcdir
1474    ac_abs_top_srcdir=$srcdir ;;
1475  *) # Relative name.
1476    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1477    ac_top_srcdir=$ac_top_build_prefix$srcdir
1478    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1479esac
1480ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1481
1482    cd "$ac_dir" || { ac_status=$?; continue; }
1483    # Check for guested configure.
1484    if test -f "$ac_srcdir/configure.gnu"; then
1485      echo &&
1486      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1487    elif test -f "$ac_srcdir/configure"; then
1488      echo &&
1489      $SHELL "$ac_srcdir/configure" --help=recursive
1490    else
1491      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1492    fi || ac_status=$?
1493    cd "$ac_pwd" || { ac_status=$?; break; }
1494  done
1495fi
1496
1497test -n "$ac_init_help" && exit $ac_status
1498if $ac_init_version; then
1499  cat <<\_ACEOF
1500xkeyboard-config configure 2.30
1501generated by GNU Autoconf 2.69
1502
1503Copyright (C) 2012 Free Software Foundation, Inc.
1504This configure script is free software; the Free Software Foundation
1505gives unlimited permission to copy, distribute and modify it.
1506_ACEOF
1507  exit
1508fi
1509
1510## ------------------------ ##
1511## Autoconf initialization. ##
1512## ------------------------ ##
1513
1514# ac_fn_c_try_compile LINENO
1515# --------------------------
1516# Try to compile conftest.$ac_ext, and return whether this succeeded.
1517ac_fn_c_try_compile ()
1518{
1519  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1520  rm -f conftest.$ac_objext
1521  if { { ac_try="$ac_compile"
1522case "(($ac_try" in
1523  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1524  *) ac_try_echo=$ac_try;;
1525esac
1526eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1527$as_echo "$ac_try_echo"; } >&5
1528  (eval "$ac_compile") 2>conftest.err
1529  ac_status=$?
1530  if test -s conftest.err; then
1531    grep -v '^ *+' conftest.err >conftest.er1
1532    cat conftest.er1 >&5
1533    mv -f conftest.er1 conftest.err
1534  fi
1535  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1536  test $ac_status = 0; } && {
1537	 test -z "$ac_c_werror_flag" ||
1538	 test ! -s conftest.err
1539       } && test -s conftest.$ac_objext; then :
1540  ac_retval=0
1541else
1542  $as_echo "$as_me: failed program was:" >&5
1543sed 's/^/| /' conftest.$ac_ext >&5
1544
1545	ac_retval=1
1546fi
1547  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1548  as_fn_set_status $ac_retval
1549
1550} # ac_fn_c_try_compile
1551
1552# ac_fn_c_try_cpp LINENO
1553# ----------------------
1554# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1555ac_fn_c_try_cpp ()
1556{
1557  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1558  if { { ac_try="$ac_cpp conftest.$ac_ext"
1559case "(($ac_try" in
1560  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1561  *) ac_try_echo=$ac_try;;
1562esac
1563eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1564$as_echo "$ac_try_echo"; } >&5
1565  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1566  ac_status=$?
1567  if test -s conftest.err; then
1568    grep -v '^ *+' conftest.err >conftest.er1
1569    cat conftest.er1 >&5
1570    mv -f conftest.er1 conftest.err
1571  fi
1572  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1573  test $ac_status = 0; } > conftest.i && {
1574	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1575	 test ! -s conftest.err
1576       }; then :
1577  ac_retval=0
1578else
1579  $as_echo "$as_me: failed program was:" >&5
1580sed 's/^/| /' conftest.$ac_ext >&5
1581
1582    ac_retval=1
1583fi
1584  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1585  as_fn_set_status $ac_retval
1586
1587} # ac_fn_c_try_cpp
1588
1589# ac_fn_c_try_link LINENO
1590# -----------------------
1591# Try to link conftest.$ac_ext, and return whether this succeeded.
1592ac_fn_c_try_link ()
1593{
1594  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1595  rm -f conftest.$ac_objext conftest$ac_exeext
1596  if { { ac_try="$ac_link"
1597case "(($ac_try" in
1598  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1599  *) ac_try_echo=$ac_try;;
1600esac
1601eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1602$as_echo "$ac_try_echo"; } >&5
1603  (eval "$ac_link") 2>conftest.err
1604  ac_status=$?
1605  if test -s conftest.err; then
1606    grep -v '^ *+' conftest.err >conftest.er1
1607    cat conftest.er1 >&5
1608    mv -f conftest.er1 conftest.err
1609  fi
1610  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1611  test $ac_status = 0; } && {
1612	 test -z "$ac_c_werror_flag" ||
1613	 test ! -s conftest.err
1614       } && test -s conftest$ac_exeext && {
1615	 test "$cross_compiling" = yes ||
1616	 test -x conftest$ac_exeext
1617       }; then :
1618  ac_retval=0
1619else
1620  $as_echo "$as_me: failed program was:" >&5
1621sed 's/^/| /' conftest.$ac_ext >&5
1622
1623	ac_retval=1
1624fi
1625  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1626  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1627  # interfere with the next link command; also delete a directory that is
1628  # left behind by Apple's compiler.  We do this before executing the actions.
1629  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1630  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1631  as_fn_set_status $ac_retval
1632
1633} # ac_fn_c_try_link
1634
1635# ac_fn_c_try_run LINENO
1636# ----------------------
1637# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1638# that executables *can* be run.
1639ac_fn_c_try_run ()
1640{
1641  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1642  if { { ac_try="$ac_link"
1643case "(($ac_try" in
1644  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1645  *) ac_try_echo=$ac_try;;
1646esac
1647eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1648$as_echo "$ac_try_echo"; } >&5
1649  (eval "$ac_link") 2>&5
1650  ac_status=$?
1651  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1652  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1653  { { case "(($ac_try" in
1654  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1655  *) ac_try_echo=$ac_try;;
1656esac
1657eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1658$as_echo "$ac_try_echo"; } >&5
1659  (eval "$ac_try") 2>&5
1660  ac_status=$?
1661  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1662  test $ac_status = 0; }; }; then :
1663  ac_retval=0
1664else
1665  $as_echo "$as_me: program exited with status $ac_status" >&5
1666       $as_echo "$as_me: failed program was:" >&5
1667sed 's/^/| /' conftest.$ac_ext >&5
1668
1669       ac_retval=$ac_status
1670fi
1671  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1672  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1673  as_fn_set_status $ac_retval
1674
1675} # ac_fn_c_try_run
1676cat >config.log <<_ACEOF
1677This file contains any messages produced by compilers while
1678running configure, to aid debugging if configure makes a mistake.
1679
1680It was created by xkeyboard-config $as_me 2.30, which was
1681generated by GNU Autoconf 2.69.  Invocation command line was
1682
1683  $ $0 $@
1684
1685_ACEOF
1686exec 5>>config.log
1687{
1688cat <<_ASUNAME
1689## --------- ##
1690## Platform. ##
1691## --------- ##
1692
1693hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1694uname -m = `(uname -m) 2>/dev/null || echo unknown`
1695uname -r = `(uname -r) 2>/dev/null || echo unknown`
1696uname -s = `(uname -s) 2>/dev/null || echo unknown`
1697uname -v = `(uname -v) 2>/dev/null || echo unknown`
1698
1699/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1700/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1701
1702/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1703/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1704/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1705/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1706/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1707/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1708/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1709
1710_ASUNAME
1711
1712as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1713for as_dir in $PATH
1714do
1715  IFS=$as_save_IFS
1716  test -z "$as_dir" && as_dir=.
1717    $as_echo "PATH: $as_dir"
1718  done
1719IFS=$as_save_IFS
1720
1721} >&5
1722
1723cat >&5 <<_ACEOF
1724
1725
1726## ----------- ##
1727## Core tests. ##
1728## ----------- ##
1729
1730_ACEOF
1731
1732
1733# Keep a trace of the command line.
1734# Strip out --no-create and --no-recursion so they do not pile up.
1735# Strip out --silent because we don't want to record it for future runs.
1736# Also quote any args containing shell meta-characters.
1737# Make two passes to allow for proper duplicate-argument suppression.
1738ac_configure_args=
1739ac_configure_args0=
1740ac_configure_args1=
1741ac_must_keep_next=false
1742for ac_pass in 1 2
1743do
1744  for ac_arg
1745  do
1746    case $ac_arg in
1747    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1748    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1749    | -silent | --silent | --silen | --sile | --sil)
1750      continue ;;
1751    *\'*)
1752      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1753    esac
1754    case $ac_pass in
1755    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1756    2)
1757      as_fn_append ac_configure_args1 " '$ac_arg'"
1758      if test $ac_must_keep_next = true; then
1759	ac_must_keep_next=false # Got value, back to normal.
1760      else
1761	case $ac_arg in
1762	  *=* | --config-cache | -C | -disable-* | --disable-* \
1763	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1764	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1765	  | -with-* | --with-* | -without-* | --without-* | --x)
1766	    case "$ac_configure_args0 " in
1767	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1768	    esac
1769	    ;;
1770	  -* ) ac_must_keep_next=true ;;
1771	esac
1772      fi
1773      as_fn_append ac_configure_args " '$ac_arg'"
1774      ;;
1775    esac
1776  done
1777done
1778{ ac_configure_args0=; unset ac_configure_args0;}
1779{ ac_configure_args1=; unset ac_configure_args1;}
1780
1781# When interrupted or exit'd, cleanup temporary files, and complete
1782# config.log.  We remove comments because anyway the quotes in there
1783# would cause problems or look ugly.
1784# WARNING: Use '\'' to represent an apostrophe within the trap.
1785# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1786trap 'exit_status=$?
1787  # Save into config.log some information that might help in debugging.
1788  {
1789    echo
1790
1791    $as_echo "## ---------------- ##
1792## Cache variables. ##
1793## ---------------- ##"
1794    echo
1795    # The following way of writing the cache mishandles newlines in values,
1796(
1797  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1798    eval ac_val=\$$ac_var
1799    case $ac_val in #(
1800    *${as_nl}*)
1801      case $ac_var in #(
1802      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1803$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1804      esac
1805      case $ac_var in #(
1806      _ | IFS | as_nl) ;; #(
1807      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1808      *) { eval $ac_var=; unset $ac_var;} ;;
1809      esac ;;
1810    esac
1811  done
1812  (set) 2>&1 |
1813    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1814    *${as_nl}ac_space=\ *)
1815      sed -n \
1816	"s/'\''/'\''\\\\'\'''\''/g;
1817	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1818      ;; #(
1819    *)
1820      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1821      ;;
1822    esac |
1823    sort
1824)
1825    echo
1826
1827    $as_echo "## ----------------- ##
1828## Output variables. ##
1829## ----------------- ##"
1830    echo
1831    for ac_var in $ac_subst_vars
1832    do
1833      eval ac_val=\$$ac_var
1834      case $ac_val in
1835      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1836      esac
1837      $as_echo "$ac_var='\''$ac_val'\''"
1838    done | sort
1839    echo
1840
1841    if test -n "$ac_subst_files"; then
1842      $as_echo "## ------------------- ##
1843## File substitutions. ##
1844## ------------------- ##"
1845      echo
1846      for ac_var in $ac_subst_files
1847      do
1848	eval ac_val=\$$ac_var
1849	case $ac_val in
1850	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1851	esac
1852	$as_echo "$ac_var='\''$ac_val'\''"
1853      done | sort
1854      echo
1855    fi
1856
1857    if test -s confdefs.h; then
1858      $as_echo "## ----------- ##
1859## confdefs.h. ##
1860## ----------- ##"
1861      echo
1862      cat confdefs.h
1863      echo
1864    fi
1865    test "$ac_signal" != 0 &&
1866      $as_echo "$as_me: caught signal $ac_signal"
1867    $as_echo "$as_me: exit $exit_status"
1868  } >&5
1869  rm -f core *.core core.conftest.* &&
1870    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1871    exit $exit_status
1872' 0
1873for ac_signal in 1 2 13 15; do
1874  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1875done
1876ac_signal=0
1877
1878# confdefs.h avoids OS command line length limits that DEFS can exceed.
1879rm -f -r conftest* confdefs.h
1880
1881$as_echo "/* confdefs.h */" > confdefs.h
1882
1883# Predefined preprocessor variables.
1884
1885cat >>confdefs.h <<_ACEOF
1886#define PACKAGE_NAME "$PACKAGE_NAME"
1887_ACEOF
1888
1889cat >>confdefs.h <<_ACEOF
1890#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1891_ACEOF
1892
1893cat >>confdefs.h <<_ACEOF
1894#define PACKAGE_VERSION "$PACKAGE_VERSION"
1895_ACEOF
1896
1897cat >>confdefs.h <<_ACEOF
1898#define PACKAGE_STRING "$PACKAGE_STRING"
1899_ACEOF
1900
1901cat >>confdefs.h <<_ACEOF
1902#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1903_ACEOF
1904
1905cat >>confdefs.h <<_ACEOF
1906#define PACKAGE_URL "$PACKAGE_URL"
1907_ACEOF
1908
1909
1910# Let the site file select an alternate cache file if it wants to.
1911# Prefer an explicitly selected file to automatically selected ones.
1912ac_site_file1=NONE
1913ac_site_file2=NONE
1914if test -n "$CONFIG_SITE"; then
1915  # We do not want a PATH search for config.site.
1916  case $CONFIG_SITE in #((
1917    -*)  ac_site_file1=./$CONFIG_SITE;;
1918    */*) ac_site_file1=$CONFIG_SITE;;
1919    *)   ac_site_file1=./$CONFIG_SITE;;
1920  esac
1921elif test "x$prefix" != xNONE; then
1922  ac_site_file1=$prefix/share/config.site
1923  ac_site_file2=$prefix/etc/config.site
1924else
1925  ac_site_file1=$ac_default_prefix/share/config.site
1926  ac_site_file2=$ac_default_prefix/etc/config.site
1927fi
1928for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1929do
1930  test "x$ac_site_file" = xNONE && continue
1931  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1932    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1933$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1934    sed 's/^/| /' "$ac_site_file" >&5
1935    . "$ac_site_file" \
1936      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1937$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1938as_fn_error $? "failed to load site script $ac_site_file
1939See \`config.log' for more details" "$LINENO" 5; }
1940  fi
1941done
1942
1943if test -r "$cache_file"; then
1944  # Some versions of bash will fail to source /dev/null (special files
1945  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1946  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1947    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1948$as_echo "$as_me: loading cache $cache_file" >&6;}
1949    case $cache_file in
1950      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1951      *)                      . "./$cache_file";;
1952    esac
1953  fi
1954else
1955  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1956$as_echo "$as_me: creating cache $cache_file" >&6;}
1957  >$cache_file
1958fi
1959
1960gt_needs="$gt_needs "
1961# Check that the precious variables saved in the cache have kept the same
1962# value.
1963ac_cache_corrupted=false
1964for ac_var in $ac_precious_vars; do
1965  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1966  eval ac_new_set=\$ac_env_${ac_var}_set
1967  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1968  eval ac_new_val=\$ac_env_${ac_var}_value
1969  case $ac_old_set,$ac_new_set in
1970    set,)
1971      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1972$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1973      ac_cache_corrupted=: ;;
1974    ,set)
1975      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1976$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1977      ac_cache_corrupted=: ;;
1978    ,);;
1979    *)
1980      if test "x$ac_old_val" != "x$ac_new_val"; then
1981	# differences in whitespace do not lead to failure.
1982	ac_old_val_w=`echo x $ac_old_val`
1983	ac_new_val_w=`echo x $ac_new_val`
1984	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1985	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1986$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1987	  ac_cache_corrupted=:
1988	else
1989	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1990$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1991	  eval $ac_var=\$ac_old_val
1992	fi
1993	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1994$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1995	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1996$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1997      fi;;
1998  esac
1999  # Pass precious variables to config.status.
2000  if test "$ac_new_set" = set; then
2001    case $ac_new_val in
2002    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2003    *) ac_arg=$ac_var=$ac_new_val ;;
2004    esac
2005    case " $ac_configure_args " in
2006      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2007      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2008    esac
2009  fi
2010done
2011if $ac_cache_corrupted; then
2012  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2013$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2014  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2015$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2016  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2017fi
2018## -------------------- ##
2019## Main body of script. ##
2020## -------------------- ##
2021
2022ac_ext=c
2023ac_cpp='$CPP $CPPFLAGS'
2024ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2025ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2026ac_compiler_gnu=$ac_cv_c_compiler_gnu
2027
2028
2029
2030am__api_version='1.16'
2031
2032ac_aux_dir=
2033for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2034  if test -f "$ac_dir/install-sh"; then
2035    ac_aux_dir=$ac_dir
2036    ac_install_sh="$ac_aux_dir/install-sh -c"
2037    break
2038  elif test -f "$ac_dir/install.sh"; then
2039    ac_aux_dir=$ac_dir
2040    ac_install_sh="$ac_aux_dir/install.sh -c"
2041    break
2042  elif test -f "$ac_dir/shtool"; then
2043    ac_aux_dir=$ac_dir
2044    ac_install_sh="$ac_aux_dir/shtool install -c"
2045    break
2046  fi
2047done
2048if test -z "$ac_aux_dir"; then
2049  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2050fi
2051
2052# These three variables are undocumented and unsupported,
2053# and are intended to be withdrawn in a future Autoconf release.
2054# They can cause serious problems if a builder's source tree is in a directory
2055# whose full name contains unusual characters.
2056ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2057ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2058ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2059
2060
2061# Find a good install program.  We prefer a C program (faster),
2062# so one script is as good as another.  But avoid the broken or
2063# incompatible versions:
2064# SysV /etc/install, /usr/sbin/install
2065# SunOS /usr/etc/install
2066# IRIX /sbin/install
2067# AIX /bin/install
2068# AmigaOS /C/install, which installs bootblocks on floppy discs
2069# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2070# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2071# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2072# OS/2's system install, which has a completely different semantic
2073# ./install, which can be erroneously created by make from ./install.sh.
2074# Reject install programs that cannot install multiple files.
2075{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2076$as_echo_n "checking for a BSD-compatible install... " >&6; }
2077if test -z "$INSTALL"; then
2078if ${ac_cv_path_install+:} false; then :
2079  $as_echo_n "(cached) " >&6
2080else
2081  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2082for as_dir in $PATH
2083do
2084  IFS=$as_save_IFS
2085  test -z "$as_dir" && as_dir=.
2086    # Account for people who put trailing slashes in PATH elements.
2087case $as_dir/ in #((
2088  ./ | .// | /[cC]/* | \
2089  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2090  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2091  /usr/ucb/* ) ;;
2092  *)
2093    # OSF1 and SCO ODT 3.0 have their own names for install.
2094    # Don't use installbsd from OSF since it installs stuff as root
2095    # by default.
2096    for ac_prog in ginstall scoinst install; do
2097      for ac_exec_ext in '' $ac_executable_extensions; do
2098	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2099	  if test $ac_prog = install &&
2100	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2101	    # AIX install.  It has an incompatible calling convention.
2102	    :
2103	  elif test $ac_prog = install &&
2104	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2105	    # program-specific install script used by HP pwplus--don't use.
2106	    :
2107	  else
2108	    rm -rf conftest.one conftest.two conftest.dir
2109	    echo one > conftest.one
2110	    echo two > conftest.two
2111	    mkdir conftest.dir
2112	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2113	      test -s conftest.one && test -s conftest.two &&
2114	      test -s conftest.dir/conftest.one &&
2115	      test -s conftest.dir/conftest.two
2116	    then
2117	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2118	      break 3
2119	    fi
2120	  fi
2121	fi
2122      done
2123    done
2124    ;;
2125esac
2126
2127  done
2128IFS=$as_save_IFS
2129
2130rm -rf conftest.one conftest.two conftest.dir
2131
2132fi
2133  if test "${ac_cv_path_install+set}" = set; then
2134    INSTALL=$ac_cv_path_install
2135  else
2136    # As a last resort, use the slow shell script.  Don't cache a
2137    # value for INSTALL within a source directory, because that will
2138    # break other packages using the cache if that directory is
2139    # removed, or if the value is a relative name.
2140    INSTALL=$ac_install_sh
2141  fi
2142fi
2143{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2144$as_echo "$INSTALL" >&6; }
2145
2146# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2147# It thinks the first close brace ends the variable substitution.
2148test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2149
2150test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2151
2152test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2153
2154{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2155$as_echo_n "checking whether build environment is sane... " >&6; }
2156# Reject unsafe characters in $srcdir or the absolute working directory
2157# name.  Accept space and tab only in the latter.
2158am_lf='
2159'
2160case `pwd` in
2161  *[\\\"\#\$\&\'\`$am_lf]*)
2162    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2163esac
2164case $srcdir in
2165  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2166    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2167esac
2168
2169# Do 'set' in a subshell so we don't clobber the current shell's
2170# arguments.  Must try -L first in case configure is actually a
2171# symlink; some systems play weird games with the mod time of symlinks
2172# (eg FreeBSD returns the mod time of the symlink's containing
2173# directory).
2174if (
2175   am_has_slept=no
2176   for am_try in 1 2; do
2177     echo "timestamp, slept: $am_has_slept" > conftest.file
2178     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2179     if test "$*" = "X"; then
2180	# -L didn't work.
2181	set X `ls -t "$srcdir/configure" conftest.file`
2182     fi
2183     if test "$*" != "X $srcdir/configure conftest.file" \
2184	&& test "$*" != "X conftest.file $srcdir/configure"; then
2185
2186	# If neither matched, then we have a broken ls.  This can happen
2187	# if, for instance, CONFIG_SHELL is bash and it inherits a
2188	# broken ls alias from the environment.  This has actually
2189	# happened.  Such a system could not be considered "sane".
2190	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2191  alias in your environment" "$LINENO" 5
2192     fi
2193     if test "$2" = conftest.file || test $am_try -eq 2; then
2194       break
2195     fi
2196     # Just in case.
2197     sleep 1
2198     am_has_slept=yes
2199   done
2200   test "$2" = conftest.file
2201   )
2202then
2203   # Ok.
2204   :
2205else
2206   as_fn_error $? "newly created file is older than distributed files!
2207Check your system clock" "$LINENO" 5
2208fi
2209{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2210$as_echo "yes" >&6; }
2211# If we didn't sleep, we still need to ensure time stamps of config.status and
2212# generated files are strictly newer.
2213am_sleep_pid=
2214if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2215  ( sleep 1 ) &
2216  am_sleep_pid=$!
2217fi
2218
2219rm -f conftest.file
2220
2221test "$program_prefix" != NONE &&
2222  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2223# Use a double $ so make ignores it.
2224test "$program_suffix" != NONE &&
2225  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2226# Double any \ or $.
2227# By default was `s,x,x', remove it if useless.
2228ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2229program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2230
2231# Expand $ac_aux_dir to an absolute path.
2232am_aux_dir=`cd "$ac_aux_dir" && pwd`
2233
2234if test x"${MISSING+set}" != xset; then
2235  case $am_aux_dir in
2236  *\ * | *\	*)
2237    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2238  *)
2239    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2240  esac
2241fi
2242# Use eval to expand $SHELL
2243if eval "$MISSING --is-lightweight"; then
2244  am_missing_run="$MISSING "
2245else
2246  am_missing_run=
2247  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2248$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2249fi
2250
2251if test x"${install_sh+set}" != xset; then
2252  case $am_aux_dir in
2253  *\ * | *\	*)
2254    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2255  *)
2256    install_sh="\${SHELL} $am_aux_dir/install-sh"
2257  esac
2258fi
2259
2260# Installed binaries are usually stripped using 'strip' when the user
2261# run "make install-strip".  However 'strip' might not be the right
2262# tool to use in cross-compilation environments, therefore Automake
2263# will honor the 'STRIP' environment variable to overrule this program.
2264if test "$cross_compiling" != no; then
2265  if test -n "$ac_tool_prefix"; then
2266  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2267set dummy ${ac_tool_prefix}strip; ac_word=$2
2268{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2269$as_echo_n "checking for $ac_word... " >&6; }
2270if ${ac_cv_prog_STRIP+:} false; then :
2271  $as_echo_n "(cached) " >&6
2272else
2273  if test -n "$STRIP"; then
2274  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2275else
2276as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2277for as_dir in $PATH
2278do
2279  IFS=$as_save_IFS
2280  test -z "$as_dir" && as_dir=.
2281    for ac_exec_ext in '' $ac_executable_extensions; do
2282  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2283    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2284    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2285    break 2
2286  fi
2287done
2288  done
2289IFS=$as_save_IFS
2290
2291fi
2292fi
2293STRIP=$ac_cv_prog_STRIP
2294if test -n "$STRIP"; then
2295  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2296$as_echo "$STRIP" >&6; }
2297else
2298  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2299$as_echo "no" >&6; }
2300fi
2301
2302
2303fi
2304if test -z "$ac_cv_prog_STRIP"; then
2305  ac_ct_STRIP=$STRIP
2306  # Extract the first word of "strip", so it can be a program name with args.
2307set dummy strip; ac_word=$2
2308{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2309$as_echo_n "checking for $ac_word... " >&6; }
2310if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2311  $as_echo_n "(cached) " >&6
2312else
2313  if test -n "$ac_ct_STRIP"; then
2314  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2315else
2316as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2317for as_dir in $PATH
2318do
2319  IFS=$as_save_IFS
2320  test -z "$as_dir" && as_dir=.
2321    for ac_exec_ext in '' $ac_executable_extensions; do
2322  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2323    ac_cv_prog_ac_ct_STRIP="strip"
2324    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2325    break 2
2326  fi
2327done
2328  done
2329IFS=$as_save_IFS
2330
2331fi
2332fi
2333ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2334if test -n "$ac_ct_STRIP"; then
2335  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2336$as_echo "$ac_ct_STRIP" >&6; }
2337else
2338  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2339$as_echo "no" >&6; }
2340fi
2341
2342  if test "x$ac_ct_STRIP" = x; then
2343    STRIP=":"
2344  else
2345    case $cross_compiling:$ac_tool_warned in
2346yes:)
2347{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2348$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2349ac_tool_warned=yes ;;
2350esac
2351    STRIP=$ac_ct_STRIP
2352  fi
2353else
2354  STRIP="$ac_cv_prog_STRIP"
2355fi
2356
2357fi
2358INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2359
2360{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2361$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2362if test -z "$MKDIR_P"; then
2363  if ${ac_cv_path_mkdir+:} false; then :
2364  $as_echo_n "(cached) " >&6
2365else
2366  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2367for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2368do
2369  IFS=$as_save_IFS
2370  test -z "$as_dir" && as_dir=.
2371    for ac_prog in mkdir gmkdir; do
2372	 for ac_exec_ext in '' $ac_executable_extensions; do
2373	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2374	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2375	     'mkdir (GNU coreutils) '* | \
2376	     'mkdir (coreutils) '* | \
2377	     'mkdir (fileutils) '4.1*)
2378	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2379	       break 3;;
2380	   esac
2381	 done
2382       done
2383  done
2384IFS=$as_save_IFS
2385
2386fi
2387
2388  test -d ./--version && rmdir ./--version
2389  if test "${ac_cv_path_mkdir+set}" = set; then
2390    MKDIR_P="$ac_cv_path_mkdir -p"
2391  else
2392    # As a last resort, use the slow shell script.  Don't cache a
2393    # value for MKDIR_P within a source directory, because that will
2394    # break other packages using the cache if that directory is
2395    # removed, or if the value is a relative name.
2396    MKDIR_P="$ac_install_sh -d"
2397  fi
2398fi
2399{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2400$as_echo "$MKDIR_P" >&6; }
2401
2402for ac_prog in gawk mawk nawk awk
2403do
2404  # Extract the first word of "$ac_prog", so it can be a program name with args.
2405set dummy $ac_prog; ac_word=$2
2406{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2407$as_echo_n "checking for $ac_word... " >&6; }
2408if ${ac_cv_prog_AWK+:} false; then :
2409  $as_echo_n "(cached) " >&6
2410else
2411  if test -n "$AWK"; then
2412  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2413else
2414as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2415for as_dir in $PATH
2416do
2417  IFS=$as_save_IFS
2418  test -z "$as_dir" && as_dir=.
2419    for ac_exec_ext in '' $ac_executable_extensions; do
2420  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2421    ac_cv_prog_AWK="$ac_prog"
2422    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2423    break 2
2424  fi
2425done
2426  done
2427IFS=$as_save_IFS
2428
2429fi
2430fi
2431AWK=$ac_cv_prog_AWK
2432if test -n "$AWK"; then
2433  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2434$as_echo "$AWK" >&6; }
2435else
2436  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2437$as_echo "no" >&6; }
2438fi
2439
2440
2441  test -n "$AWK" && break
2442done
2443
2444{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2445$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2446set x ${MAKE-make}
2447ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2448if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2449  $as_echo_n "(cached) " >&6
2450else
2451  cat >conftest.make <<\_ACEOF
2452SHELL = /bin/sh
2453all:
2454	@echo '@@@%%%=$(MAKE)=@@@%%%'
2455_ACEOF
2456# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2457case `${MAKE-make} -f conftest.make 2>/dev/null` in
2458  *@@@%%%=?*=@@@%%%*)
2459    eval ac_cv_prog_make_${ac_make}_set=yes;;
2460  *)
2461    eval ac_cv_prog_make_${ac_make}_set=no;;
2462esac
2463rm -f conftest.make
2464fi
2465if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2466  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2467$as_echo "yes" >&6; }
2468  SET_MAKE=
2469else
2470  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2471$as_echo "no" >&6; }
2472  SET_MAKE="MAKE=${MAKE-make}"
2473fi
2474
2475rm -rf .tst 2>/dev/null
2476mkdir .tst 2>/dev/null
2477if test -d .tst; then
2478  am__leading_dot=.
2479else
2480  am__leading_dot=_
2481fi
2482rmdir .tst 2>/dev/null
2483
2484# Check whether --enable-silent-rules was given.
2485if test "${enable_silent_rules+set}" = set; then :
2486  enableval=$enable_silent_rules;
2487fi
2488
2489case $enable_silent_rules in # (((
2490  yes) AM_DEFAULT_VERBOSITY=0;;
2491   no) AM_DEFAULT_VERBOSITY=1;;
2492    *) AM_DEFAULT_VERBOSITY=1;;
2493esac
2494am_make=${MAKE-make}
2495{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2496$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2497if ${am_cv_make_support_nested_variables+:} false; then :
2498  $as_echo_n "(cached) " >&6
2499else
2500  if $as_echo 'TRUE=$(BAR$(V))
2501BAR0=false
2502BAR1=true
2503V=1
2504am__doit:
2505	@$(TRUE)
2506.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2507  am_cv_make_support_nested_variables=yes
2508else
2509  am_cv_make_support_nested_variables=no
2510fi
2511fi
2512{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2513$as_echo "$am_cv_make_support_nested_variables" >&6; }
2514if test $am_cv_make_support_nested_variables = yes; then
2515    AM_V='$(V)'
2516  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2517else
2518  AM_V=$AM_DEFAULT_VERBOSITY
2519  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2520fi
2521AM_BACKSLASH='\'
2522
2523if test "`cd $srcdir && pwd`" != "`pwd`"; then
2524  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2525  # is not polluted with repeated "-I."
2526  am__isrc=' -I$(srcdir)'
2527  # test to see if srcdir already configured
2528  if test -f $srcdir/config.status; then
2529    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2530  fi
2531fi
2532
2533# test whether we have cygpath
2534if test -z "$CYGPATH_W"; then
2535  if (cygpath --version) >/dev/null 2>/dev/null; then
2536    CYGPATH_W='cygpath -w'
2537  else
2538    CYGPATH_W=echo
2539  fi
2540fi
2541
2542
2543# Define the identity of the package.
2544 PACKAGE='xkeyboard-config'
2545 VERSION='2.30'
2546
2547
2548cat >>confdefs.h <<_ACEOF
2549#define PACKAGE "$PACKAGE"
2550_ACEOF
2551
2552
2553cat >>confdefs.h <<_ACEOF
2554#define VERSION "$VERSION"
2555_ACEOF
2556
2557# Some tools Automake needs.
2558
2559ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2560
2561
2562AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2563
2564
2565AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2566
2567
2568AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2569
2570
2571MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2572
2573# For better backward compatibility.  To be removed once Automake 1.9.x
2574# dies out for good.  For more background, see:
2575# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2576# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2577mkdir_p='$(MKDIR_P)'
2578
2579# We need awk for the "check" target (and possibly the TAP driver).  The
2580# system "awk" is bad on some platforms.
2581# Always define AMTAR for backward compatibility.  Yes, it's still used
2582# in the wild :-(  We should find a proper way to deprecate it ...
2583AMTAR='$${TAR-tar}'
2584
2585
2586# We'll loop over all known methods to create a tar archive until one works.
2587_am_tools='gnutar  pax cpio none'
2588
2589am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2590
2591
2592
2593
2594
2595
2596# POSIX will say in a future version that running "rm -f" with no argument
2597# is OK; and we want to be able to make that assumption in our Makefile
2598# recipes.  So use an aggressive probe to check that the usage we want is
2599# actually supported "in the wild" to an acceptable degree.
2600# See automake bug#10828.
2601# To make any issue more visible, cause the running configure to be aborted
2602# by default if the 'rm' program in use doesn't match our expectations; the
2603# user can still override this though.
2604if rm -f && rm -fr && rm -rf; then : OK; else
2605  cat >&2 <<'END'
2606Oops!
2607
2608Your 'rm' program seems unable to run without file operands specified
2609on the command line, even when the '-f' option is present.  This is contrary
2610to the behaviour of most rm programs out there, and not conforming with
2611the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2612
2613Please tell bug-automake@gnu.org about your system, including the value
2614of your $PATH and any error possibly output before this message.  This
2615can help us improve future automake versions.
2616
2617END
2618  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2619    echo 'Configuration will proceed anyway, since you have set the' >&2
2620    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2621    echo >&2
2622  else
2623    cat >&2 <<'END'
2624Aborting the configuration process, to ensure you take notice of the issue.
2625
2626You can download and install GNU coreutils to get an 'rm' implementation
2627that behaves properly: <https://www.gnu.org/software/coreutils/>.
2628
2629If you want to complete the configuration process using your problematic
2630'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2631to "yes", and re-run configure.
2632
2633END
2634    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2635  fi
2636fi
2637
2638
2639# Require X.Org macros 1.12 or later for XORG_WITH_XSLTPROC
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651# Make sure we can run config.sub.
2652$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2653  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2654
2655{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2656$as_echo_n "checking build system type... " >&6; }
2657if ${ac_cv_build+:} false; then :
2658  $as_echo_n "(cached) " >&6
2659else
2660  ac_build_alias=$build_alias
2661test "x$ac_build_alias" = x &&
2662  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2663test "x$ac_build_alias" = x &&
2664  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2665ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2666  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2667
2668fi
2669{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2670$as_echo "$ac_cv_build" >&6; }
2671case $ac_cv_build in
2672*-*-*) ;;
2673*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2674esac
2675build=$ac_cv_build
2676ac_save_IFS=$IFS; IFS='-'
2677set x $ac_cv_build
2678shift
2679build_cpu=$1
2680build_vendor=$2
2681shift; shift
2682# Remember, the first character of IFS is used to create $*,
2683# except with old shells:
2684build_os=$*
2685IFS=$ac_save_IFS
2686case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2687
2688
2689{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2690$as_echo_n "checking host system type... " >&6; }
2691if ${ac_cv_host+:} false; then :
2692  $as_echo_n "(cached) " >&6
2693else
2694  if test "x$host_alias" = x; then
2695  ac_cv_host=$ac_cv_build
2696else
2697  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2698    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2699fi
2700
2701fi
2702{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2703$as_echo "$ac_cv_host" >&6; }
2704case $ac_cv_host in
2705*-*-*) ;;
2706*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2707esac
2708host=$ac_cv_host
2709ac_save_IFS=$IFS; IFS='-'
2710set x $ac_cv_host
2711shift
2712host_cpu=$1
2713host_vendor=$2
2714shift; shift
2715# Remember, the first character of IFS is used to create $*,
2716# except with old shells:
2717host_os=$*
2718IFS=$ac_save_IFS
2719case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2720
2721
2722{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2723$as_echo_n "checking for a sed that does not truncate output... " >&6; }
2724if ${ac_cv_path_SED+:} false; then :
2725  $as_echo_n "(cached) " >&6
2726else
2727            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2728     for ac_i in 1 2 3 4 5 6 7; do
2729       ac_script="$ac_script$as_nl$ac_script"
2730     done
2731     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
2732     { ac_script=; unset ac_script;}
2733     if test -z "$SED"; then
2734  ac_path_SED_found=false
2735  # Loop through the user's path and test for each of PROGNAME-LIST
2736  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2737for as_dir in $PATH
2738do
2739  IFS=$as_save_IFS
2740  test -z "$as_dir" && as_dir=.
2741    for ac_prog in sed gsed; do
2742    for ac_exec_ext in '' $ac_executable_extensions; do
2743      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2744      as_fn_executable_p "$ac_path_SED" || continue
2745# Check for GNU ac_path_SED and select it if it is found.
2746  # Check for GNU $ac_path_SED
2747case `"$ac_path_SED" --version 2>&1` in
2748*GNU*)
2749  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2750*)
2751  ac_count=0
2752  $as_echo_n 0123456789 >"conftest.in"
2753  while :
2754  do
2755    cat "conftest.in" "conftest.in" >"conftest.tmp"
2756    mv "conftest.tmp" "conftest.in"
2757    cp "conftest.in" "conftest.nl"
2758    $as_echo '' >> "conftest.nl"
2759    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2760    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2761    as_fn_arith $ac_count + 1 && ac_count=$as_val
2762    if test $ac_count -gt ${ac_path_SED_max-0}; then
2763      # Best one so far, save it but keep looking for a better one
2764      ac_cv_path_SED="$ac_path_SED"
2765      ac_path_SED_max=$ac_count
2766    fi
2767    # 10*(2^10) chars as input seems more than enough
2768    test $ac_count -gt 10 && break
2769  done
2770  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2771esac
2772
2773      $ac_path_SED_found && break 3
2774    done
2775  done
2776  done
2777IFS=$as_save_IFS
2778  if test -z "$ac_cv_path_SED"; then
2779    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
2780  fi
2781else
2782  ac_cv_path_SED=$SED
2783fi
2784
2785fi
2786{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2787$as_echo "$ac_cv_path_SED" >&6; }
2788 SED="$ac_cv_path_SED"
2789  rm -f conftest.sed
2790
2791
2792
2793
2794
2795case $host_os in
2796    solaris*)
2797        # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
2798        # check for a man page file found in later versions that use
2799        # traditional section numbers instead
2800        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
2801$as_echo_n "checking for /usr/share/man/man7/attributes.7... " >&6; }
2802if ${ac_cv_file__usr_share_man_man7_attributes_7+:} false; then :
2803  $as_echo_n "(cached) " >&6
2804else
2805  test "$cross_compiling" = yes &&
2806  as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2807if test -r "/usr/share/man/man7/attributes.7"; then
2808  ac_cv_file__usr_share_man_man7_attributes_7=yes
2809else
2810  ac_cv_file__usr_share_man_man7_attributes_7=no
2811fi
2812fi
2813{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
2814$as_echo "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
2815if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes; then :
2816  SYSV_MAN_SECTIONS=false
2817else
2818  SYSV_MAN_SECTIONS=true
2819fi
2820
2821        ;;
2822    *) SYSV_MAN_SECTIONS=false ;;
2823esac
2824
2825if test x$APP_MAN_SUFFIX = x    ; then
2826    APP_MAN_SUFFIX=1
2827fi
2828if test x$APP_MAN_DIR = x    ; then
2829    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
2830fi
2831
2832if test x$LIB_MAN_SUFFIX = x    ; then
2833    LIB_MAN_SUFFIX=3
2834fi
2835if test x$LIB_MAN_DIR = x    ; then
2836    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
2837fi
2838
2839if test x$FILE_MAN_SUFFIX = x    ; then
2840    case $SYSV_MAN_SECTIONS in
2841	true)				FILE_MAN_SUFFIX=4  ;;
2842	*)				FILE_MAN_SUFFIX=5  ;;
2843    esac
2844fi
2845if test x$FILE_MAN_DIR = x    ; then
2846    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
2847fi
2848
2849if test x$MISC_MAN_SUFFIX = x    ; then
2850    case $SYSV_MAN_SECTIONS in
2851	true)				MISC_MAN_SUFFIX=5  ;;
2852	*)				MISC_MAN_SUFFIX=7  ;;
2853    esac
2854fi
2855if test x$MISC_MAN_DIR = x    ; then
2856    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
2857fi
2858
2859if test x$DRIVER_MAN_SUFFIX = x    ; then
2860    case $SYSV_MAN_SECTIONS in
2861	true)				DRIVER_MAN_SUFFIX=7  ;;
2862	*)				DRIVER_MAN_SUFFIX=4  ;;
2863    esac
2864fi
2865if test x$DRIVER_MAN_DIR = x    ; then
2866    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
2867fi
2868
2869if test x$ADMIN_MAN_SUFFIX = x    ; then
2870    case $SYSV_MAN_SECTIONS in
2871	true)				ADMIN_MAN_SUFFIX=1m ;;
2872	*)				ADMIN_MAN_SUFFIX=8  ;;
2873    esac
2874fi
2875if test x$ADMIN_MAN_DIR = x    ; then
2876    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
2877fi
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893XORG_MAN_PAGE="X Version 11"
2894
2895MAN_SUBSTS="\
2896	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
2897	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
2898	-e 's|__xservername__|Xorg|g' \
2899	-e 's|__xconfigfile__|xorg.conf|g' \
2900	-e 's|__projectroot__|\$(prefix)|g' \
2901	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
2902	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
2903	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
2904	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
2905	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
2906	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
2907	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
2908
2909
2910
2911
2912
2913# Preserves the interface, should it be implemented later
2914
2915
2916
2917# Check whether --with-xsltproc was given.
2918if test "${with_xsltproc+set}" = set; then :
2919  withval=$with_xsltproc; use_xsltproc=$withval
2920else
2921  use_xsltproc=auto
2922fi
2923
2924
2925
2926if test "x$use_xsltproc" = x"auto"; then
2927   # Extract the first word of "xsltproc", so it can be a program name with args.
2928set dummy xsltproc; ac_word=$2
2929{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2930$as_echo_n "checking for $ac_word... " >&6; }
2931if ${ac_cv_path_XSLTPROC+:} false; then :
2932  $as_echo_n "(cached) " >&6
2933else
2934  case $XSLTPROC in
2935  [\\/]* | ?:[\\/]*)
2936  ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
2937  ;;
2938  *)
2939  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2940for as_dir in $PATH
2941do
2942  IFS=$as_save_IFS
2943  test -z "$as_dir" && as_dir=.
2944    for ac_exec_ext in '' $ac_executable_extensions; do
2945  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2946    ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
2947    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2948    break 2
2949  fi
2950done
2951  done
2952IFS=$as_save_IFS
2953
2954  ;;
2955esac
2956fi
2957XSLTPROC=$ac_cv_path_XSLTPROC
2958if test -n "$XSLTPROC"; then
2959  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
2960$as_echo "$XSLTPROC" >&6; }
2961else
2962  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2963$as_echo "no" >&6; }
2964fi
2965
2966
2967   if test "x$XSLTPROC" = "x"; then
2968        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xsltproc not found - cannot transform XML documents" >&5
2969$as_echo "$as_me: WARNING: xsltproc not found - cannot transform XML documents" >&2;}
2970	have_xsltproc=no
2971   else
2972        have_xsltproc=yes
2973   fi
2974elif test "x$use_xsltproc" = x"yes" ; then
2975   # Extract the first word of "xsltproc", so it can be a program name with args.
2976set dummy xsltproc; ac_word=$2
2977{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2978$as_echo_n "checking for $ac_word... " >&6; }
2979if ${ac_cv_path_XSLTPROC+:} false; then :
2980  $as_echo_n "(cached) " >&6
2981else
2982  case $XSLTPROC in
2983  [\\/]* | ?:[\\/]*)
2984  ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
2985  ;;
2986  *)
2987  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2988for as_dir in $PATH
2989do
2990  IFS=$as_save_IFS
2991  test -z "$as_dir" && as_dir=.
2992    for ac_exec_ext in '' $ac_executable_extensions; do
2993  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2994    ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
2995    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2996    break 2
2997  fi
2998done
2999  done
3000IFS=$as_save_IFS
3001
3002  ;;
3003esac
3004fi
3005XSLTPROC=$ac_cv_path_XSLTPROC
3006if test -n "$XSLTPROC"; then
3007  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
3008$as_echo "$XSLTPROC" >&6; }
3009else
3010  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3011$as_echo "no" >&6; }
3012fi
3013
3014
3015   if test "x$XSLTPROC" = "x"; then
3016        as_fn_error $? "--with-xsltproc=yes specified but xsltproc not found in PATH" "$LINENO" 5
3017   fi
3018   have_xsltproc=yes
3019elif test "x$use_xsltproc" = x"no" ; then
3020   if test "x$XSLTPROC" != "x"; then
3021      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&5
3022$as_echo "$as_me: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&2;}
3023   fi
3024   have_xsltproc=no
3025else
3026   as_fn_error $? "--with-xsltproc expects 'yes' or 'no'" "$LINENO" 5
3027fi
3028
3029 if test "$have_xsltproc" = yes; then
3030  HAVE_XSLTPROC_TRUE=
3031  HAVE_XSLTPROC_FALSE='#'
3032else
3033  HAVE_XSLTPROC_TRUE='#'
3034  HAVE_XSLTPROC_FALSE=
3035fi
3036
3037
3038{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3039$as_echo_n "checking for a sed that does not truncate output... " >&6; }
3040if ${ac_cv_path_SED+:} false; then :
3041  $as_echo_n "(cached) " >&6
3042else
3043            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3044     for ac_i in 1 2 3 4 5 6 7; do
3045       ac_script="$ac_script$as_nl$ac_script"
3046     done
3047     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3048     { ac_script=; unset ac_script;}
3049     if test -z "$SED"; then
3050  ac_path_SED_found=false
3051  # Loop through the user's path and test for each of PROGNAME-LIST
3052  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3053for as_dir in $PATH
3054do
3055  IFS=$as_save_IFS
3056  test -z "$as_dir" && as_dir=.
3057    for ac_prog in sed gsed; do
3058    for ac_exec_ext in '' $ac_executable_extensions; do
3059      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3060      as_fn_executable_p "$ac_path_SED" || continue
3061# Check for GNU ac_path_SED and select it if it is found.
3062  # Check for GNU $ac_path_SED
3063case `"$ac_path_SED" --version 2>&1` in
3064*GNU*)
3065  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3066*)
3067  ac_count=0
3068  $as_echo_n 0123456789 >"conftest.in"
3069  while :
3070  do
3071    cat "conftest.in" "conftest.in" >"conftest.tmp"
3072    mv "conftest.tmp" "conftest.in"
3073    cp "conftest.in" "conftest.nl"
3074    $as_echo '' >> "conftest.nl"
3075    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3076    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3077    as_fn_arith $ac_count + 1 && ac_count=$as_val
3078    if test $ac_count -gt ${ac_path_SED_max-0}; then
3079      # Best one so far, save it but keep looking for a better one
3080      ac_cv_path_SED="$ac_path_SED"
3081      ac_path_SED_max=$ac_count
3082    fi
3083    # 10*(2^10) chars as input seems more than enough
3084    test $ac_count -gt 10 && break
3085  done
3086  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3087esac
3088
3089      $ac_path_SED_found && break 3
3090    done
3091  done
3092  done
3093IFS=$as_save_IFS
3094  if test -z "$ac_cv_path_SED"; then
3095    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3096  fi
3097else
3098  ac_cv_path_SED=$SED
3099fi
3100
3101fi
3102{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3103$as_echo "$ac_cv_path_SED" >&6; }
3104 SED="$ac_cv_path_SED"
3105  rm -f conftest.sed
3106
3107
3108
3109
3110
3111
3112
3113        if test -n "$PYTHON"; then
3114      # If the user set $PYTHON, use it and don't search something else.
3115      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 3.0" >&5
3116$as_echo_n "checking whether $PYTHON version is >= 3.0... " >&6; }
3117      prog="import sys
3118# split strings by '.' and convert to numeric.  Append some zeros
3119# because we need at least 4 digits for the hex conversion.
3120# map returns an iterator in Python 3.0 and a list in 2.x
3121minver = list(map(int, '3.0'.split('.'))) + [0, 0, 0]
3122minverhex = 0
3123# xrange is not present in Python 3.0 and range returns an iterator
3124for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
3125sys.exit(sys.hexversion < minverhex)"
3126  if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
3127   ($PYTHON -c "$prog") >&5 2>&5
3128   ac_status=$?
3129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3130   (exit $ac_status); }; then :
3131  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3132$as_echo "yes" >&6; }
3133else
3134  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3135$as_echo "no" >&6; }
3136			       as_fn_error $? "Python interpreter is too old" "$LINENO" 5
3137fi
3138      am_display_PYTHON=$PYTHON
3139    else
3140      # Otherwise, try each interpreter until we find one that satisfies
3141      # VERSION.
3142      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 3.0" >&5
3143$as_echo_n "checking for a Python interpreter with version >= 3.0... " >&6; }
3144if ${am_cv_pathless_PYTHON+:} false; then :
3145  $as_echo_n "(cached) " >&6
3146else
3147
3148	for am_cv_pathless_PYTHON in python python2 python3  python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3  python3.2 python3.1 python3.0  python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1  python2.0 none; do
3149	  test "$am_cv_pathless_PYTHON" = none && break
3150	  prog="import sys
3151# split strings by '.' and convert to numeric.  Append some zeros
3152# because we need at least 4 digits for the hex conversion.
3153# map returns an iterator in Python 3.0 and a list in 2.x
3154minver = list(map(int, '3.0'.split('.'))) + [0, 0, 0]
3155minverhex = 0
3156# xrange is not present in Python 3.0 and range returns an iterator
3157for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
3158sys.exit(sys.hexversion < minverhex)"
3159  if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
3160   ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
3161   ac_status=$?
3162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163   (exit $ac_status); }; then :
3164  break
3165fi
3166	done
3167fi
3168{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
3169$as_echo "$am_cv_pathless_PYTHON" >&6; }
3170      # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
3171      if test "$am_cv_pathless_PYTHON" = none; then
3172	PYTHON=:
3173      else
3174        # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
3175set dummy $am_cv_pathless_PYTHON; ac_word=$2
3176{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3177$as_echo_n "checking for $ac_word... " >&6; }
3178if ${ac_cv_path_PYTHON+:} false; then :
3179  $as_echo_n "(cached) " >&6
3180else
3181  case $PYTHON in
3182  [\\/]* | ?:[\\/]*)
3183  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
3184  ;;
3185  *)
3186  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3187for as_dir in $PATH
3188do
3189  IFS=$as_save_IFS
3190  test -z "$as_dir" && as_dir=.
3191    for ac_exec_ext in '' $ac_executable_extensions; do
3192  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3193    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
3194    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3195    break 2
3196  fi
3197done
3198  done
3199IFS=$as_save_IFS
3200
3201  ;;
3202esac
3203fi
3204PYTHON=$ac_cv_path_PYTHON
3205if test -n "$PYTHON"; then
3206  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
3207$as_echo "$PYTHON" >&6; }
3208else
3209  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3210$as_echo "no" >&6; }
3211fi
3212
3213
3214      fi
3215      am_display_PYTHON=$am_cv_pathless_PYTHON
3216    fi
3217
3218
3219  if test "$PYTHON" = :; then
3220      as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
3221  else
3222
3223
3224  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
3225$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
3226if ${am_cv_python_version+:} false; then :
3227  $as_echo_n "(cached) " >&6
3228else
3229  am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
3230fi
3231{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
3232$as_echo "$am_cv_python_version" >&6; }
3233  PYTHON_VERSION=$am_cv_python_version
3234
3235
3236
3237  PYTHON_PREFIX='${prefix}'
3238
3239  PYTHON_EXEC_PREFIX='${exec_prefix}'
3240
3241
3242
3243  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
3244$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
3245if ${am_cv_python_platform+:} false; then :
3246  $as_echo_n "(cached) " >&6
3247else
3248  am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
3249fi
3250{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
3251$as_echo "$am_cv_python_platform" >&6; }
3252  PYTHON_PLATFORM=$am_cv_python_platform
3253
3254
3255  # Just factor out some code duplication.
3256  am_python_setup_sysconfig="\
3257import sys
3258# Prefer sysconfig over distutils.sysconfig, for better compatibility
3259# with python 3.x.  See automake bug#10227.
3260try:
3261    import sysconfig
3262except ImportError:
3263    can_use_sysconfig = 0
3264else:
3265    can_use_sysconfig = 1
3266# Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
3267# <https://github.com/pypa/virtualenv/issues/118>
3268try:
3269    from platform import python_implementation
3270    if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
3271        can_use_sysconfig = 0
3272except ImportError:
3273    pass"
3274
3275
3276            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
3277$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
3278if ${am_cv_python_pythondir+:} false; then :
3279  $as_echo_n "(cached) " >&6
3280else
3281  if test "x$prefix" = xNONE
3282     then
3283       am_py_prefix=$ac_default_prefix
3284     else
3285       am_py_prefix=$prefix
3286     fi
3287     am_cv_python_pythondir=`$PYTHON -c "
3288$am_python_setup_sysconfig
3289if can_use_sysconfig:
3290    sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
3291else:
3292    from distutils import sysconfig
3293    sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
3294sys.stdout.write(sitedir)"`
3295     case $am_cv_python_pythondir in
3296     $am_py_prefix*)
3297       am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
3298       am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
3299       ;;
3300     *)
3301       case $am_py_prefix in
3302         /usr|/System*) ;;
3303         *)
3304	  am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
3305	  ;;
3306       esac
3307       ;;
3308     esac
3309
3310fi
3311{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
3312$as_echo "$am_cv_python_pythondir" >&6; }
3313  pythondir=$am_cv_python_pythondir
3314
3315
3316
3317  pkgpythondir=\${pythondir}/$PACKAGE
3318
3319
3320        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
3321$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
3322if ${am_cv_python_pyexecdir+:} false; then :
3323  $as_echo_n "(cached) " >&6
3324else
3325  if test "x$exec_prefix" = xNONE
3326     then
3327       am_py_exec_prefix=$am_py_prefix
3328     else
3329       am_py_exec_prefix=$exec_prefix
3330     fi
3331     am_cv_python_pyexecdir=`$PYTHON -c "
3332$am_python_setup_sysconfig
3333if can_use_sysconfig:
3334    sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
3335else:
3336    from distutils import sysconfig
3337    sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
3338sys.stdout.write(sitedir)"`
3339     case $am_cv_python_pyexecdir in
3340     $am_py_exec_prefix*)
3341       am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
3342       am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
3343       ;;
3344     *)
3345       case $am_py_exec_prefix in
3346         /usr|/System*) ;;
3347         *)
3348	   am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
3349	   ;;
3350       esac
3351       ;;
3352     esac
3353
3354fi
3355{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
3356$as_echo "$am_cv_python_pyexecdir" >&6; }
3357  pyexecdir=$am_cv_python_pyexecdir
3358
3359
3360
3361  pkgpyexecdir=\${pyexecdir}/$PACKAGE
3362
3363
3364
3365  fi
3366
3367
3368
3369
3370
3371
3372# Check whether --with-xkb_base was given.
3373if test "${with_xkb_base+set}" = set; then :
3374  withval=$with_xkb_base; xkb_base="$withval"
3375else
3376  xkb_base="${datadir}/X11/xkb"
3377fi
3378
3379
3380
3381# Check whether --with-xkb_rules_symlink was given.
3382if test "${with_xkb_rules_symlink+set}" = set; then :
3383  withval=$with_xkb_rules_symlink; xkb_rules_symlink="$withval"
3384fi
3385
3386
3387# Check whether --enable-compat_rules was given.
3388if test "${enable_compat_rules+set}" = set; then :
3389  enableval=$enable_compat_rules; enable_compat_rules="$enableval"
3390else
3391  enable_compat_rules="yes"
3392fi
3393
3394
3395# xkeyboard-config does not have build-time dependencies. However, it does
3396# have run-time dependencies and keyboard layouts may not work without the
3397# right libX11 or xproto installed.
3398# By default, we enable these run-time dependencies as build-time
3399# dependencies so that those building on their local machines are warned
3400# that the resulting build may not work.
3401# Check whether --enable-runtime-deps was given.
3402if test "${enable_runtime_deps+set}" = set; then :
3403  enableval=$enable_runtime_deps; enable_runtime_deps="$enableval"
3404else
3405  enable_runtime_deps="yes"
3406fi
3407
3408
3409if test "x$enable_runtime_deps" = "xyes"; then
3410
3411
3412
3413
3414
3415
3416
3417if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3418	if test -n "$ac_tool_prefix"; then
3419  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3420set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3421{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3422$as_echo_n "checking for $ac_word... " >&6; }
3423if ${ac_cv_path_PKG_CONFIG+:} false; then :
3424  $as_echo_n "(cached) " >&6
3425else
3426  case $PKG_CONFIG in
3427  [\\/]* | ?:[\\/]*)
3428  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3429  ;;
3430  *)
3431  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3432for as_dir in $PATH
3433do
3434  IFS=$as_save_IFS
3435  test -z "$as_dir" && as_dir=.
3436    for ac_exec_ext in '' $ac_executable_extensions; do
3437  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3438    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3439    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3440    break 2
3441  fi
3442done
3443  done
3444IFS=$as_save_IFS
3445
3446  ;;
3447esac
3448fi
3449PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3450if test -n "$PKG_CONFIG"; then
3451  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3452$as_echo "$PKG_CONFIG" >&6; }
3453else
3454  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3455$as_echo "no" >&6; }
3456fi
3457
3458
3459fi
3460if test -z "$ac_cv_path_PKG_CONFIG"; then
3461  ac_pt_PKG_CONFIG=$PKG_CONFIG
3462  # Extract the first word of "pkg-config", so it can be a program name with args.
3463set dummy pkg-config; ac_word=$2
3464{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3465$as_echo_n "checking for $ac_word... " >&6; }
3466if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
3467  $as_echo_n "(cached) " >&6
3468else
3469  case $ac_pt_PKG_CONFIG in
3470  [\\/]* | ?:[\\/]*)
3471  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3472  ;;
3473  *)
3474  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3475for as_dir in $PATH
3476do
3477  IFS=$as_save_IFS
3478  test -z "$as_dir" && as_dir=.
3479    for ac_exec_ext in '' $ac_executable_extensions; do
3480  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3481    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3482    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3483    break 2
3484  fi
3485done
3486  done
3487IFS=$as_save_IFS
3488
3489  ;;
3490esac
3491fi
3492ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3493if test -n "$ac_pt_PKG_CONFIG"; then
3494  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
3495$as_echo "$ac_pt_PKG_CONFIG" >&6; }
3496else
3497  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3498$as_echo "no" >&6; }
3499fi
3500
3501  if test "x$ac_pt_PKG_CONFIG" = x; then
3502    PKG_CONFIG=""
3503  else
3504    case $cross_compiling:$ac_tool_warned in
3505yes:)
3506{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3507$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3508ac_tool_warned=yes ;;
3509esac
3510    PKG_CONFIG=$ac_pt_PKG_CONFIG
3511  fi
3512else
3513  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3514fi
3515
3516fi
3517if test -n "$PKG_CONFIG"; then
3518	_pkg_min_version=0.9.0
3519	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
3520$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3521	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3522		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3523$as_echo "yes" >&6; }
3524	else
3525		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3526$as_echo "no" >&6; }
3527		PKG_CONFIG=""
3528	fi
3529fi
3530
3531pkg_failed=no
3532{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DEPS" >&5
3533$as_echo_n "checking for DEPS... " >&6; }
3534
3535if test -n "$DEPS_CFLAGS"; then
3536    pkg_cv_DEPS_CFLAGS="$DEPS_CFLAGS"
3537 elif test -n "$PKG_CONFIG"; then
3538    if test -n "$PKG_CONFIG" && \
3539    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.20 x11 >= 1.4.3\""; } >&5
3540  ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.20 x11 >= 1.4.3") 2>&5
3541  ac_status=$?
3542  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3543  test $ac_status = 0; }; then
3544  pkg_cv_DEPS_CFLAGS=`$PKG_CONFIG --cflags "xproto >= 7.0.20 x11 >= 1.4.3" 2>/dev/null`
3545		      test "x$?" != "x0" && pkg_failed=yes
3546else
3547  pkg_failed=yes
3548fi
3549 else
3550    pkg_failed=untried
3551fi
3552if test -n "$DEPS_LIBS"; then
3553    pkg_cv_DEPS_LIBS="$DEPS_LIBS"
3554 elif test -n "$PKG_CONFIG"; then
3555    if test -n "$PKG_CONFIG" && \
3556    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.20 x11 >= 1.4.3\""; } >&5
3557  ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.20 x11 >= 1.4.3") 2>&5
3558  ac_status=$?
3559  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3560  test $ac_status = 0; }; then
3561  pkg_cv_DEPS_LIBS=`$PKG_CONFIG --libs "xproto >= 7.0.20 x11 >= 1.4.3" 2>/dev/null`
3562		      test "x$?" != "x0" && pkg_failed=yes
3563else
3564  pkg_failed=yes
3565fi
3566 else
3567    pkg_failed=untried
3568fi
3569
3570
3571
3572if test $pkg_failed = yes; then
3573   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3574$as_echo "no" >&6; }
3575
3576if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3577        _pkg_short_errors_supported=yes
3578else
3579        _pkg_short_errors_supported=no
3580fi
3581        if test $_pkg_short_errors_supported = yes; then
3582	        DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto >= 7.0.20 x11 >= 1.4.3" 2>&1`
3583        else
3584	        DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto >= 7.0.20 x11 >= 1.4.3" 2>&1`
3585        fi
3586	# Put the nasty error message in config.log where it belongs
3587	echo "$DEPS_PKG_ERRORS" >&5
3588
3589	have_deps=no
3590elif test $pkg_failed = untried; then
3591     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3592$as_echo "no" >&6; }
3593	have_deps=no
3594else
3595	DEPS_CFLAGS=$pkg_cv_DEPS_CFLAGS
3596	DEPS_LIBS=$pkg_cv_DEPS_LIBS
3597        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3598$as_echo "yes" >&6; }
3599	have_deps=yes
3600fi
3601    if test "x$have_deps" = "xno" ; then
3602        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
3603                 Required dependencies not found. These dependencies are
3604                 run-time dependencies only and not required for building.
3605                 Skip this check with --disable-runtime-deps.
3606
3607                 Installing this version of xkeyboard-config on a host
3608                 without the required dependencies may result in unusable
3609                 keyboard layouts.
3610                 " >&5
3611$as_echo "$as_me: WARNING:
3612                 Required dependencies not found. These dependencies are
3613                 run-time dependencies only and not required for building.
3614                 Skip this check with --disable-runtime-deps.
3615
3616                 Installing this version of xkeyboard-config on a host
3617                 without the required dependencies may result in unusable
3618                 keyboard layouts.
3619                 " >&2;}
3620
3621        as_fn_error $? "$DEPS_PKG_ERRORS" "$LINENO" 5
3622    fi
3623fi
3624
3625 if test "x$xkb_rules_symlink" != "x"; then
3626  CREATE_RULES_SYMLINK_TRUE=
3627  CREATE_RULES_SYMLINK_FALSE='#'
3628else
3629  CREATE_RULES_SYMLINK_TRUE='#'
3630  CREATE_RULES_SYMLINK_FALSE=
3631fi
3632
3633
3634 if test "x$enable_compat_rules" = "xyes"; then
3635  USE_COMPAT_RULES_TRUE=
3636  USE_COMPAT_RULES_FALSE='#'
3637else
3638  USE_COMPAT_RULES_TRUE='#'
3639  USE_COMPAT_RULES_FALSE=
3640fi
3641
3642
3643# ****
3644# i18n
3645# ****
3646
3647
3648  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
3649$as_echo_n "checking whether NLS is requested... " >&6; }
3650    # Check whether --enable-nls was given.
3651if test "${enable_nls+set}" = set; then :
3652  enableval=$enable_nls; USE_NLS=$enableval
3653else
3654  USE_NLS=yes
3655fi
3656
3657  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
3658$as_echo "$USE_NLS" >&6; }
3659
3660
3661
3662
3663      GETTEXT_MACRO_VERSION=0.19
3664
3665
3666
3667
3668# Prepare PATH_SEPARATOR.
3669# The user is always right.
3670if test "${PATH_SEPARATOR+set}" != set; then
3671  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
3672  # contains only /bin. Note that ksh looks also at the FPATH variable,
3673  # so we have to set that as well for the test.
3674  PATH_SEPARATOR=:
3675  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
3676    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
3677           || PATH_SEPARATOR=';'
3678       }
3679fi
3680
3681# Find out how to test for executable files. Don't use a zero-byte file,
3682# as systems may use methods other than mode bits to determine executability.
3683cat >conf$$.file <<_ASEOF
3684#! /bin/sh
3685exit 0
3686_ASEOF
3687chmod +x conf$$.file
3688if test -x conf$$.file >/dev/null 2>&1; then
3689  ac_executable_p="test -x"
3690else
3691  ac_executable_p="test -f"
3692fi
3693rm -f conf$$.file
3694
3695# Extract the first word of "msgfmt", so it can be a program name with args.
3696set dummy msgfmt; ac_word=$2
3697{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3698$as_echo_n "checking for $ac_word... " >&6; }
3699if ${ac_cv_path_MSGFMT+:} false; then :
3700  $as_echo_n "(cached) " >&6
3701else
3702  case "$MSGFMT" in
3703  [\\/]* | ?:[\\/]*)
3704    ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
3705    ;;
3706  *)
3707    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
3708    for ac_dir in $PATH; do
3709      IFS="$ac_save_IFS"
3710      test -z "$ac_dir" && ac_dir=.
3711      for ac_exec_ext in '' $ac_executable_extensions; do
3712        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3713          echo "$as_me: trying $ac_dir/$ac_word..." >&5
3714          if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
3715     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
3716            ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
3717            break 2
3718          fi
3719        fi
3720      done
3721    done
3722    IFS="$ac_save_IFS"
3723  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
3724    ;;
3725esac
3726fi
3727MSGFMT="$ac_cv_path_MSGFMT"
3728if test "$MSGFMT" != ":"; then
3729  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
3730$as_echo "$MSGFMT" >&6; }
3731else
3732  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3733$as_echo "no" >&6; }
3734fi
3735
3736  # Extract the first word of "gmsgfmt", so it can be a program name with args.
3737set dummy gmsgfmt; ac_word=$2
3738{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3739$as_echo_n "checking for $ac_word... " >&6; }
3740if ${ac_cv_path_GMSGFMT+:} false; then :
3741  $as_echo_n "(cached) " >&6
3742else
3743  case $GMSGFMT in
3744  [\\/]* | ?:[\\/]*)
3745  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
3746  ;;
3747  *)
3748  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3749for as_dir in $PATH
3750do
3751  IFS=$as_save_IFS
3752  test -z "$as_dir" && as_dir=.
3753    for ac_exec_ext in '' $ac_executable_extensions; do
3754  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3755    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
3756    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3757    break 2
3758  fi
3759done
3760  done
3761IFS=$as_save_IFS
3762
3763  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
3764  ;;
3765esac
3766fi
3767GMSGFMT=$ac_cv_path_GMSGFMT
3768if test -n "$GMSGFMT"; then
3769  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
3770$as_echo "$GMSGFMT" >&6; }
3771else
3772  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3773$as_echo "no" >&6; }
3774fi
3775
3776
3777
3778    case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
3779    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
3780    *) MSGFMT_015=$MSGFMT ;;
3781  esac
3782
3783  case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
3784    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
3785    *) GMSGFMT_015=$GMSGFMT ;;
3786  esac
3787
3788
3789
3790# Prepare PATH_SEPARATOR.
3791# The user is always right.
3792if test "${PATH_SEPARATOR+set}" != set; then
3793  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
3794  # contains only /bin. Note that ksh looks also at the FPATH variable,
3795  # so we have to set that as well for the test.
3796  PATH_SEPARATOR=:
3797  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
3798    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
3799           || PATH_SEPARATOR=';'
3800       }
3801fi
3802
3803# Find out how to test for executable files. Don't use a zero-byte file,
3804# as systems may use methods other than mode bits to determine executability.
3805cat >conf$$.file <<_ASEOF
3806#! /bin/sh
3807exit 0
3808_ASEOF
3809chmod +x conf$$.file
3810if test -x conf$$.file >/dev/null 2>&1; then
3811  ac_executable_p="test -x"
3812else
3813  ac_executable_p="test -f"
3814fi
3815rm -f conf$$.file
3816
3817# Extract the first word of "xgettext", so it can be a program name with args.
3818set dummy xgettext; ac_word=$2
3819{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3820$as_echo_n "checking for $ac_word... " >&6; }
3821if ${ac_cv_path_XGETTEXT+:} false; then :
3822  $as_echo_n "(cached) " >&6
3823else
3824  case "$XGETTEXT" in
3825  [\\/]* | ?:[\\/]*)
3826    ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
3827    ;;
3828  *)
3829    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
3830    for ac_dir in $PATH; do
3831      IFS="$ac_save_IFS"
3832      test -z "$ac_dir" && ac_dir=.
3833      for ac_exec_ext in '' $ac_executable_extensions; do
3834        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3835          echo "$as_me: trying $ac_dir/$ac_word..." >&5
3836          if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
3837     (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
3838            ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
3839            break 2
3840          fi
3841        fi
3842      done
3843    done
3844    IFS="$ac_save_IFS"
3845  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
3846    ;;
3847esac
3848fi
3849XGETTEXT="$ac_cv_path_XGETTEXT"
3850if test "$XGETTEXT" != ":"; then
3851  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
3852$as_echo "$XGETTEXT" >&6; }
3853else
3854  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3855$as_echo "no" >&6; }
3856fi
3857
3858    rm -f messages.po
3859
3860    case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
3861    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
3862    *) XGETTEXT_015=$XGETTEXT ;;
3863  esac
3864
3865
3866
3867# Prepare PATH_SEPARATOR.
3868# The user is always right.
3869if test "${PATH_SEPARATOR+set}" != set; then
3870  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
3871  # contains only /bin. Note that ksh looks also at the FPATH variable,
3872  # so we have to set that as well for the test.
3873  PATH_SEPARATOR=:
3874  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
3875    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
3876           || PATH_SEPARATOR=';'
3877       }
3878fi
3879
3880# Find out how to test for executable files. Don't use a zero-byte file,
3881# as systems may use methods other than mode bits to determine executability.
3882cat >conf$$.file <<_ASEOF
3883#! /bin/sh
3884exit 0
3885_ASEOF
3886chmod +x conf$$.file
3887if test -x conf$$.file >/dev/null 2>&1; then
3888  ac_executable_p="test -x"
3889else
3890  ac_executable_p="test -f"
3891fi
3892rm -f conf$$.file
3893
3894# Extract the first word of "msgmerge", so it can be a program name with args.
3895set dummy msgmerge; ac_word=$2
3896{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3897$as_echo_n "checking for $ac_word... " >&6; }
3898if ${ac_cv_path_MSGMERGE+:} false; then :
3899  $as_echo_n "(cached) " >&6
3900else
3901  case "$MSGMERGE" in
3902  [\\/]* | ?:[\\/]*)
3903    ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
3904    ;;
3905  *)
3906    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
3907    for ac_dir in $PATH; do
3908      IFS="$ac_save_IFS"
3909      test -z "$ac_dir" && ac_dir=.
3910      for ac_exec_ext in '' $ac_executable_extensions; do
3911        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3912          echo "$as_me: trying $ac_dir/$ac_word..." >&5
3913          if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
3914            ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
3915            break 2
3916          fi
3917        fi
3918      done
3919    done
3920    IFS="$ac_save_IFS"
3921  test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
3922    ;;
3923esac
3924fi
3925MSGMERGE="$ac_cv_path_MSGMERGE"
3926if test "$MSGMERGE" != ":"; then
3927  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
3928$as_echo "$MSGMERGE" >&6; }
3929else
3930  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3931$as_echo "no" >&6; }
3932fi
3933
3934
3935        test -n "$localedir" || localedir='${datadir}/locale'
3936
3937
3938    test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
3939
3940
3941  ac_config_commands="$ac_config_commands po-directories"
3942
3943
3944
3945      if test "X$prefix" = "XNONE"; then
3946    acl_final_prefix="$ac_default_prefix"
3947  else
3948    acl_final_prefix="$prefix"
3949  fi
3950  if test "X$exec_prefix" = "XNONE"; then
3951    acl_final_exec_prefix='${prefix}'
3952  else
3953    acl_final_exec_prefix="$exec_prefix"
3954  fi
3955  acl_save_prefix="$prefix"
3956  prefix="$acl_final_prefix"
3957  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
3958  prefix="$acl_save_prefix"
3959
3960DEPDIR="${am__leading_dot}deps"
3961
3962ac_config_commands="$ac_config_commands depfiles"
3963
3964{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3965$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3966cat > confinc.mk << 'END'
3967am__doit:
3968	@echo this is the am__doit target >confinc.out
3969.PHONY: am__doit
3970END
3971am__include="#"
3972am__quote=
3973# BSD make does it like this.
3974echo '.include "confinc.mk" # ignored' > confmf.BSD
3975# Other make implementations (GNU, Solaris 10, AIX) do it like this.
3976echo 'include confinc.mk # ignored' > confmf.GNU
3977_am_result=no
3978for s in GNU BSD; do
3979  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3980   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3981   ac_status=$?
3982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3983   (exit $ac_status); }
3984  case $?:`cat confinc.out 2>/dev/null` in #(
3985  '0:this is the am__doit target') :
3986    case $s in #(
3987  BSD) :
3988    am__include='.include' am__quote='"' ;; #(
3989  *) :
3990    am__include='include' am__quote='' ;;
3991esac ;; #(
3992  *) :
3993     ;;
3994esac
3995  if test "$am__include" != "#"; then
3996    _am_result="yes ($s style)"
3997    break
3998  fi
3999done
4000rm -f confinc.* confmf.*
4001{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4002$as_echo "${_am_result}" >&6; }
4003
4004# Check whether --enable-dependency-tracking was given.
4005if test "${enable_dependency_tracking+set}" = set; then :
4006  enableval=$enable_dependency_tracking;
4007fi
4008
4009if test "x$enable_dependency_tracking" != xno; then
4010  am_depcomp="$ac_aux_dir/depcomp"
4011  AMDEPBACKSLASH='\'
4012  am__nodep='_no'
4013fi
4014 if test "x$enable_dependency_tracking" != xno; then
4015  AMDEP_TRUE=
4016  AMDEP_FALSE='#'
4017else
4018  AMDEP_TRUE='#'
4019  AMDEP_FALSE=
4020fi
4021
4022
4023ac_ext=c
4024ac_cpp='$CPP $CPPFLAGS'
4025ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4026ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4027ac_compiler_gnu=$ac_cv_c_compiler_gnu
4028if test -n "$ac_tool_prefix"; then
4029  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4030set dummy ${ac_tool_prefix}gcc; ac_word=$2
4031{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4032$as_echo_n "checking for $ac_word... " >&6; }
4033if ${ac_cv_prog_CC+:} false; then :
4034  $as_echo_n "(cached) " >&6
4035else
4036  if test -n "$CC"; then
4037  ac_cv_prog_CC="$CC" # Let the user override the test.
4038else
4039as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4040for as_dir in $PATH
4041do
4042  IFS=$as_save_IFS
4043  test -z "$as_dir" && as_dir=.
4044    for ac_exec_ext in '' $ac_executable_extensions; do
4045  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4046    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4047    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4048    break 2
4049  fi
4050done
4051  done
4052IFS=$as_save_IFS
4053
4054fi
4055fi
4056CC=$ac_cv_prog_CC
4057if test -n "$CC"; then
4058  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4059$as_echo "$CC" >&6; }
4060else
4061  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4062$as_echo "no" >&6; }
4063fi
4064
4065
4066fi
4067if test -z "$ac_cv_prog_CC"; then
4068  ac_ct_CC=$CC
4069  # Extract the first word of "gcc", so it can be a program name with args.
4070set dummy gcc; ac_word=$2
4071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4072$as_echo_n "checking for $ac_word... " >&6; }
4073if ${ac_cv_prog_ac_ct_CC+:} false; then :
4074  $as_echo_n "(cached) " >&6
4075else
4076  if test -n "$ac_ct_CC"; then
4077  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4078else
4079as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4080for as_dir in $PATH
4081do
4082  IFS=$as_save_IFS
4083  test -z "$as_dir" && as_dir=.
4084    for ac_exec_ext in '' $ac_executable_extensions; do
4085  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4086    ac_cv_prog_ac_ct_CC="gcc"
4087    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4088    break 2
4089  fi
4090done
4091  done
4092IFS=$as_save_IFS
4093
4094fi
4095fi
4096ac_ct_CC=$ac_cv_prog_ac_ct_CC
4097if test -n "$ac_ct_CC"; then
4098  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4099$as_echo "$ac_ct_CC" >&6; }
4100else
4101  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4102$as_echo "no" >&6; }
4103fi
4104
4105  if test "x$ac_ct_CC" = x; then
4106    CC=""
4107  else
4108    case $cross_compiling:$ac_tool_warned in
4109yes:)
4110{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4111$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4112ac_tool_warned=yes ;;
4113esac
4114    CC=$ac_ct_CC
4115  fi
4116else
4117  CC="$ac_cv_prog_CC"
4118fi
4119
4120if test -z "$CC"; then
4121          if test -n "$ac_tool_prefix"; then
4122    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4123set dummy ${ac_tool_prefix}cc; ac_word=$2
4124{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4125$as_echo_n "checking for $ac_word... " >&6; }
4126if ${ac_cv_prog_CC+:} false; then :
4127  $as_echo_n "(cached) " >&6
4128else
4129  if test -n "$CC"; then
4130  ac_cv_prog_CC="$CC" # Let the user override the test.
4131else
4132as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4133for as_dir in $PATH
4134do
4135  IFS=$as_save_IFS
4136  test -z "$as_dir" && as_dir=.
4137    for ac_exec_ext in '' $ac_executable_extensions; do
4138  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4139    ac_cv_prog_CC="${ac_tool_prefix}cc"
4140    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4141    break 2
4142  fi
4143done
4144  done
4145IFS=$as_save_IFS
4146
4147fi
4148fi
4149CC=$ac_cv_prog_CC
4150if test -n "$CC"; then
4151  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4152$as_echo "$CC" >&6; }
4153else
4154  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4155$as_echo "no" >&6; }
4156fi
4157
4158
4159  fi
4160fi
4161if test -z "$CC"; then
4162  # Extract the first word of "cc", so it can be a program name with args.
4163set dummy cc; ac_word=$2
4164{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4165$as_echo_n "checking for $ac_word... " >&6; }
4166if ${ac_cv_prog_CC+:} false; then :
4167  $as_echo_n "(cached) " >&6
4168else
4169  if test -n "$CC"; then
4170  ac_cv_prog_CC="$CC" # Let the user override the test.
4171else
4172  ac_prog_rejected=no
4173as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4174for as_dir in $PATH
4175do
4176  IFS=$as_save_IFS
4177  test -z "$as_dir" && as_dir=.
4178    for ac_exec_ext in '' $ac_executable_extensions; do
4179  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4180    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4181       ac_prog_rejected=yes
4182       continue
4183     fi
4184    ac_cv_prog_CC="cc"
4185    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4186    break 2
4187  fi
4188done
4189  done
4190IFS=$as_save_IFS
4191
4192if test $ac_prog_rejected = yes; then
4193  # We found a bogon in the path, so make sure we never use it.
4194  set dummy $ac_cv_prog_CC
4195  shift
4196  if test $# != 0; then
4197    # We chose a different compiler from the bogus one.
4198    # However, it has the same basename, so the bogon will be chosen
4199    # first if we set CC to just the basename; use the full file name.
4200    shift
4201    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4202  fi
4203fi
4204fi
4205fi
4206CC=$ac_cv_prog_CC
4207if test -n "$CC"; then
4208  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4209$as_echo "$CC" >&6; }
4210else
4211  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4212$as_echo "no" >&6; }
4213fi
4214
4215
4216fi
4217if test -z "$CC"; then
4218  if test -n "$ac_tool_prefix"; then
4219  for ac_prog in cl.exe
4220  do
4221    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4222set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4223{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4224$as_echo_n "checking for $ac_word... " >&6; }
4225if ${ac_cv_prog_CC+:} false; then :
4226  $as_echo_n "(cached) " >&6
4227else
4228  if test -n "$CC"; then
4229  ac_cv_prog_CC="$CC" # Let the user override the test.
4230else
4231as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4232for as_dir in $PATH
4233do
4234  IFS=$as_save_IFS
4235  test -z "$as_dir" && as_dir=.
4236    for ac_exec_ext in '' $ac_executable_extensions; do
4237  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4238    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4239    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4240    break 2
4241  fi
4242done
4243  done
4244IFS=$as_save_IFS
4245
4246fi
4247fi
4248CC=$ac_cv_prog_CC
4249if test -n "$CC"; then
4250  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4251$as_echo "$CC" >&6; }
4252else
4253  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4254$as_echo "no" >&6; }
4255fi
4256
4257
4258    test -n "$CC" && break
4259  done
4260fi
4261if test -z "$CC"; then
4262  ac_ct_CC=$CC
4263  for ac_prog in cl.exe
4264do
4265  # Extract the first word of "$ac_prog", so it can be a program name with args.
4266set dummy $ac_prog; ac_word=$2
4267{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4268$as_echo_n "checking for $ac_word... " >&6; }
4269if ${ac_cv_prog_ac_ct_CC+:} false; then :
4270  $as_echo_n "(cached) " >&6
4271else
4272  if test -n "$ac_ct_CC"; then
4273  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4274else
4275as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4276for as_dir in $PATH
4277do
4278  IFS=$as_save_IFS
4279  test -z "$as_dir" && as_dir=.
4280    for ac_exec_ext in '' $ac_executable_extensions; do
4281  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4282    ac_cv_prog_ac_ct_CC="$ac_prog"
4283    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4284    break 2
4285  fi
4286done
4287  done
4288IFS=$as_save_IFS
4289
4290fi
4291fi
4292ac_ct_CC=$ac_cv_prog_ac_ct_CC
4293if test -n "$ac_ct_CC"; then
4294  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4295$as_echo "$ac_ct_CC" >&6; }
4296else
4297  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4298$as_echo "no" >&6; }
4299fi
4300
4301
4302  test -n "$ac_ct_CC" && break
4303done
4304
4305  if test "x$ac_ct_CC" = x; then
4306    CC=""
4307  else
4308    case $cross_compiling:$ac_tool_warned in
4309yes:)
4310{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4311$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4312ac_tool_warned=yes ;;
4313esac
4314    CC=$ac_ct_CC
4315  fi
4316fi
4317
4318fi
4319
4320
4321test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4322$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4323as_fn_error $? "no acceptable C compiler found in \$PATH
4324See \`config.log' for more details" "$LINENO" 5; }
4325
4326# Provide some information about the compiler.
4327$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4328set X $ac_compile
4329ac_compiler=$2
4330for ac_option in --version -v -V -qversion; do
4331  { { ac_try="$ac_compiler $ac_option >&5"
4332case "(($ac_try" in
4333  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4334  *) ac_try_echo=$ac_try;;
4335esac
4336eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4337$as_echo "$ac_try_echo"; } >&5
4338  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4339  ac_status=$?
4340  if test -s conftest.err; then
4341    sed '10a\
4342... rest of stderr output deleted ...
4343         10q' conftest.err >conftest.er1
4344    cat conftest.er1 >&5
4345  fi
4346  rm -f conftest.er1 conftest.err
4347  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4348  test $ac_status = 0; }
4349done
4350
4351cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4352/* end confdefs.h.  */
4353
4354int
4355main ()
4356{
4357
4358  ;
4359  return 0;
4360}
4361_ACEOF
4362ac_clean_files_save=$ac_clean_files
4363ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4364# Try to create an executable without -o first, disregard a.out.
4365# It will help us diagnose broken compilers, and finding out an intuition
4366# of exeext.
4367{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4368$as_echo_n "checking whether the C compiler works... " >&6; }
4369ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4370
4371# The possible output files:
4372ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4373
4374ac_rmfiles=
4375for ac_file in $ac_files
4376do
4377  case $ac_file in
4378    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4379    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4380  esac
4381done
4382rm -f $ac_rmfiles
4383
4384if { { ac_try="$ac_link_default"
4385case "(($ac_try" in
4386  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4387  *) ac_try_echo=$ac_try;;
4388esac
4389eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4390$as_echo "$ac_try_echo"; } >&5
4391  (eval "$ac_link_default") 2>&5
4392  ac_status=$?
4393  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4394  test $ac_status = 0; }; then :
4395  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4396# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4397# in a Makefile.  We should not override ac_cv_exeext if it was cached,
4398# so that the user can short-circuit this test for compilers unknown to
4399# Autoconf.
4400for ac_file in $ac_files ''
4401do
4402  test -f "$ac_file" || continue
4403  case $ac_file in
4404    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4405	;;
4406    [ab].out )
4407	# We found the default executable, but exeext='' is most
4408	# certainly right.
4409	break;;
4410    *.* )
4411	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4412	then :; else
4413	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4414	fi
4415	# We set ac_cv_exeext here because the later test for it is not
4416	# safe: cross compilers may not add the suffix if given an `-o'
4417	# argument, so we may need to know it at that point already.
4418	# Even if this section looks crufty: it has the advantage of
4419	# actually working.
4420	break;;
4421    * )
4422	break;;
4423  esac
4424done
4425test "$ac_cv_exeext" = no && ac_cv_exeext=
4426
4427else
4428  ac_file=''
4429fi
4430if test -z "$ac_file"; then :
4431  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4432$as_echo "no" >&6; }
4433$as_echo "$as_me: failed program was:" >&5
4434sed 's/^/| /' conftest.$ac_ext >&5
4435
4436{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4437$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4438as_fn_error 77 "C compiler cannot create executables
4439See \`config.log' for more details" "$LINENO" 5; }
4440else
4441  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4442$as_echo "yes" >&6; }
4443fi
4444{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4445$as_echo_n "checking for C compiler default output file name... " >&6; }
4446{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4447$as_echo "$ac_file" >&6; }
4448ac_exeext=$ac_cv_exeext
4449
4450rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4451ac_clean_files=$ac_clean_files_save
4452{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4453$as_echo_n "checking for suffix of executables... " >&6; }
4454if { { ac_try="$ac_link"
4455case "(($ac_try" in
4456  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4457  *) ac_try_echo=$ac_try;;
4458esac
4459eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4460$as_echo "$ac_try_echo"; } >&5
4461  (eval "$ac_link") 2>&5
4462  ac_status=$?
4463  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4464  test $ac_status = 0; }; then :
4465  # If both `conftest.exe' and `conftest' are `present' (well, observable)
4466# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4467# work properly (i.e., refer to `conftest.exe'), while it won't with
4468# `rm'.
4469for ac_file in conftest.exe conftest conftest.*; do
4470  test -f "$ac_file" || continue
4471  case $ac_file in
4472    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4473    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4474	  break;;
4475    * ) break;;
4476  esac
4477done
4478else
4479  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4480$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4481as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4482See \`config.log' for more details" "$LINENO" 5; }
4483fi
4484rm -f conftest conftest$ac_cv_exeext
4485{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4486$as_echo "$ac_cv_exeext" >&6; }
4487
4488rm -f conftest.$ac_ext
4489EXEEXT=$ac_cv_exeext
4490ac_exeext=$EXEEXT
4491cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4492/* end confdefs.h.  */
4493#include <stdio.h>
4494int
4495main ()
4496{
4497FILE *f = fopen ("conftest.out", "w");
4498 return ferror (f) || fclose (f) != 0;
4499
4500  ;
4501  return 0;
4502}
4503_ACEOF
4504ac_clean_files="$ac_clean_files conftest.out"
4505# Check that the compiler produces executables we can run.  If not, either
4506# the compiler is broken, or we cross compile.
4507{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4508$as_echo_n "checking whether we are cross compiling... " >&6; }
4509if test "$cross_compiling" != yes; then
4510  { { ac_try="$ac_link"
4511case "(($ac_try" in
4512  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4513  *) ac_try_echo=$ac_try;;
4514esac
4515eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4516$as_echo "$ac_try_echo"; } >&5
4517  (eval "$ac_link") 2>&5
4518  ac_status=$?
4519  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4520  test $ac_status = 0; }
4521  if { ac_try='./conftest$ac_cv_exeext'
4522  { { case "(($ac_try" in
4523  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4524  *) ac_try_echo=$ac_try;;
4525esac
4526eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4527$as_echo "$ac_try_echo"; } >&5
4528  (eval "$ac_try") 2>&5
4529  ac_status=$?
4530  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4531  test $ac_status = 0; }; }; then
4532    cross_compiling=no
4533  else
4534    if test "$cross_compiling" = maybe; then
4535	cross_compiling=yes
4536    else
4537	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4538$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4539as_fn_error $? "cannot run C compiled programs.
4540If you meant to cross compile, use \`--host'.
4541See \`config.log' for more details" "$LINENO" 5; }
4542    fi
4543  fi
4544fi
4545{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4546$as_echo "$cross_compiling" >&6; }
4547
4548rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4549ac_clean_files=$ac_clean_files_save
4550{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4551$as_echo_n "checking for suffix of object files... " >&6; }
4552if ${ac_cv_objext+:} false; then :
4553  $as_echo_n "(cached) " >&6
4554else
4555  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4556/* end confdefs.h.  */
4557
4558int
4559main ()
4560{
4561
4562  ;
4563  return 0;
4564}
4565_ACEOF
4566rm -f conftest.o conftest.obj
4567if { { ac_try="$ac_compile"
4568case "(($ac_try" in
4569  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4570  *) ac_try_echo=$ac_try;;
4571esac
4572eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4573$as_echo "$ac_try_echo"; } >&5
4574  (eval "$ac_compile") 2>&5
4575  ac_status=$?
4576  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4577  test $ac_status = 0; }; then :
4578  for ac_file in conftest.o conftest.obj conftest.*; do
4579  test -f "$ac_file" || continue;
4580  case $ac_file in
4581    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4582    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4583       break;;
4584  esac
4585done
4586else
4587  $as_echo "$as_me: failed program was:" >&5
4588sed 's/^/| /' conftest.$ac_ext >&5
4589
4590{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4591$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4592as_fn_error $? "cannot compute suffix of object files: cannot compile
4593See \`config.log' for more details" "$LINENO" 5; }
4594fi
4595rm -f conftest.$ac_cv_objext conftest.$ac_ext
4596fi
4597{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4598$as_echo "$ac_cv_objext" >&6; }
4599OBJEXT=$ac_cv_objext
4600ac_objext=$OBJEXT
4601{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4602$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4603if ${ac_cv_c_compiler_gnu+:} false; then :
4604  $as_echo_n "(cached) " >&6
4605else
4606  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4607/* end confdefs.h.  */
4608
4609int
4610main ()
4611{
4612#ifndef __GNUC__
4613       choke me
4614#endif
4615
4616  ;
4617  return 0;
4618}
4619_ACEOF
4620if ac_fn_c_try_compile "$LINENO"; then :
4621  ac_compiler_gnu=yes
4622else
4623  ac_compiler_gnu=no
4624fi
4625rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4626ac_cv_c_compiler_gnu=$ac_compiler_gnu
4627
4628fi
4629{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4630$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4631if test $ac_compiler_gnu = yes; then
4632  GCC=yes
4633else
4634  GCC=
4635fi
4636ac_test_CFLAGS=${CFLAGS+set}
4637ac_save_CFLAGS=$CFLAGS
4638{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4639$as_echo_n "checking whether $CC accepts -g... " >&6; }
4640if ${ac_cv_prog_cc_g+:} false; then :
4641  $as_echo_n "(cached) " >&6
4642else
4643  ac_save_c_werror_flag=$ac_c_werror_flag
4644   ac_c_werror_flag=yes
4645   ac_cv_prog_cc_g=no
4646   CFLAGS="-g"
4647   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4648/* end confdefs.h.  */
4649
4650int
4651main ()
4652{
4653
4654  ;
4655  return 0;
4656}
4657_ACEOF
4658if ac_fn_c_try_compile "$LINENO"; then :
4659  ac_cv_prog_cc_g=yes
4660else
4661  CFLAGS=""
4662      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4663/* end confdefs.h.  */
4664
4665int
4666main ()
4667{
4668
4669  ;
4670  return 0;
4671}
4672_ACEOF
4673if ac_fn_c_try_compile "$LINENO"; then :
4674
4675else
4676  ac_c_werror_flag=$ac_save_c_werror_flag
4677	 CFLAGS="-g"
4678	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4679/* end confdefs.h.  */
4680
4681int
4682main ()
4683{
4684
4685  ;
4686  return 0;
4687}
4688_ACEOF
4689if ac_fn_c_try_compile "$LINENO"; then :
4690  ac_cv_prog_cc_g=yes
4691fi
4692rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4693fi
4694rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4695fi
4696rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4697   ac_c_werror_flag=$ac_save_c_werror_flag
4698fi
4699{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4700$as_echo "$ac_cv_prog_cc_g" >&6; }
4701if test "$ac_test_CFLAGS" = set; then
4702  CFLAGS=$ac_save_CFLAGS
4703elif test $ac_cv_prog_cc_g = yes; then
4704  if test "$GCC" = yes; then
4705    CFLAGS="-g -O2"
4706  else
4707    CFLAGS="-g"
4708  fi
4709else
4710  if test "$GCC" = yes; then
4711    CFLAGS="-O2"
4712  else
4713    CFLAGS=
4714  fi
4715fi
4716{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4717$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4718if ${ac_cv_prog_cc_c89+:} false; then :
4719  $as_echo_n "(cached) " >&6
4720else
4721  ac_cv_prog_cc_c89=no
4722ac_save_CC=$CC
4723cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4724/* end confdefs.h.  */
4725#include <stdarg.h>
4726#include <stdio.h>
4727struct stat;
4728/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4729struct buf { int x; };
4730FILE * (*rcsopen) (struct buf *, struct stat *, int);
4731static char *e (p, i)
4732     char **p;
4733     int i;
4734{
4735  return p[i];
4736}
4737static char *f (char * (*g) (char **, int), char **p, ...)
4738{
4739  char *s;
4740  va_list v;
4741  va_start (v,p);
4742  s = g (p, va_arg (v,int));
4743  va_end (v);
4744  return s;
4745}
4746
4747/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4748   function prototypes and stuff, but not '\xHH' hex character constants.
4749   These don't provoke an error unfortunately, instead are silently treated
4750   as 'x'.  The following induces an error, until -std is added to get
4751   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4752   array size at least.  It's necessary to write '\x00'==0 to get something
4753   that's true only with -std.  */
4754int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4755
4756/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4757   inside strings and character constants.  */
4758#define FOO(x) 'x'
4759int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4760
4761int test (int i, double x);
4762struct s1 {int (*f) (int a);};
4763struct s2 {int (*f) (double a);};
4764int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4765int argc;
4766char **argv;
4767int
4768main ()
4769{
4770return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4771  ;
4772  return 0;
4773}
4774_ACEOF
4775for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4776	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4777do
4778  CC="$ac_save_CC $ac_arg"
4779  if ac_fn_c_try_compile "$LINENO"; then :
4780  ac_cv_prog_cc_c89=$ac_arg
4781fi
4782rm -f core conftest.err conftest.$ac_objext
4783  test "x$ac_cv_prog_cc_c89" != "xno" && break
4784done
4785rm -f conftest.$ac_ext
4786CC=$ac_save_CC
4787
4788fi
4789# AC_CACHE_VAL
4790case "x$ac_cv_prog_cc_c89" in
4791  x)
4792    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4793$as_echo "none needed" >&6; } ;;
4794  xno)
4795    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4796$as_echo "unsupported" >&6; } ;;
4797  *)
4798    CC="$CC $ac_cv_prog_cc_c89"
4799    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4800$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4801esac
4802if test "x$ac_cv_prog_cc_c89" != xno; then :
4803
4804fi
4805
4806ac_ext=c
4807ac_cpp='$CPP $CPPFLAGS'
4808ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4809ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4810ac_compiler_gnu=$ac_cv_c_compiler_gnu
4811
4812ac_ext=c
4813ac_cpp='$CPP $CPPFLAGS'
4814ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4815ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4816ac_compiler_gnu=$ac_cv_c_compiler_gnu
4817{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4818$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4819if ${am_cv_prog_cc_c_o+:} false; then :
4820  $as_echo_n "(cached) " >&6
4821else
4822  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4823/* end confdefs.h.  */
4824
4825int
4826main ()
4827{
4828
4829  ;
4830  return 0;
4831}
4832_ACEOF
4833  # Make sure it works both with $CC and with simple cc.
4834  # Following AC_PROG_CC_C_O, we do the test twice because some
4835  # compilers refuse to overwrite an existing .o file with -o,
4836  # though they will create one.
4837  am_cv_prog_cc_c_o=yes
4838  for am_i in 1 2; do
4839    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4840   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4841   ac_status=$?
4842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4843   (exit $ac_status); } \
4844         && test -f conftest2.$ac_objext; then
4845      : OK
4846    else
4847      am_cv_prog_cc_c_o=no
4848      break
4849    fi
4850  done
4851  rm -f core conftest*
4852  unset am_i
4853fi
4854{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4855$as_echo "$am_cv_prog_cc_c_o" >&6; }
4856if test "$am_cv_prog_cc_c_o" != yes; then
4857   # Losing compiler, so override with the script.
4858   # FIXME: It is wrong to rewrite CC.
4859   # But if we don't then we get into trouble of one sort or another.
4860   # A longer-term fix would be to have automake use am__CC in this case,
4861   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4862   CC="$am_aux_dir/compile $CC"
4863fi
4864ac_ext=c
4865ac_cpp='$CPP $CPPFLAGS'
4866ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4867ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4868ac_compiler_gnu=$ac_cv_c_compiler_gnu
4869
4870
4871depcc="$CC"   am_compiler_list=
4872
4873{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4874$as_echo_n "checking dependency style of $depcc... " >&6; }
4875if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4876  $as_echo_n "(cached) " >&6
4877else
4878  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4879  # We make a subdir and do the tests there.  Otherwise we can end up
4880  # making bogus files that we don't know about and never remove.  For
4881  # instance it was reported that on HP-UX the gcc test will end up
4882  # making a dummy file named 'D' -- because '-MD' means "put the output
4883  # in D".
4884  rm -rf conftest.dir
4885  mkdir conftest.dir
4886  # Copy depcomp to subdir because otherwise we won't find it if we're
4887  # using a relative directory.
4888  cp "$am_depcomp" conftest.dir
4889  cd conftest.dir
4890  # We will build objects and dependencies in a subdirectory because
4891  # it helps to detect inapplicable dependency modes.  For instance
4892  # both Tru64's cc and ICC support -MD to output dependencies as a
4893  # side effect of compilation, but ICC will put the dependencies in
4894  # the current directory while Tru64 will put them in the object
4895  # directory.
4896  mkdir sub
4897
4898  am_cv_CC_dependencies_compiler_type=none
4899  if test "$am_compiler_list" = ""; then
4900     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4901  fi
4902  am__universal=false
4903  case " $depcc " in #(
4904     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4905     esac
4906
4907  for depmode in $am_compiler_list; do
4908    # Setup a source with many dependencies, because some compilers
4909    # like to wrap large dependency lists on column 80 (with \), and
4910    # we should not choose a depcomp mode which is confused by this.
4911    #
4912    # We need to recreate these files for each test, as the compiler may
4913    # overwrite some of them when testing with obscure command lines.
4914    # This happens at least with the AIX C compiler.
4915    : > sub/conftest.c
4916    for i in 1 2 3 4 5 6; do
4917      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4918      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4919      # Solaris 10 /bin/sh.
4920      echo '/* dummy */' > sub/conftst$i.h
4921    done
4922    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4923
4924    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4925    # mode.  It turns out that the SunPro C++ compiler does not properly
4926    # handle '-M -o', and we need to detect this.  Also, some Intel
4927    # versions had trouble with output in subdirs.
4928    am__obj=sub/conftest.${OBJEXT-o}
4929    am__minus_obj="-o $am__obj"
4930    case $depmode in
4931    gcc)
4932      # This depmode causes a compiler race in universal mode.
4933      test "$am__universal" = false || continue
4934      ;;
4935    nosideeffect)
4936      # After this tag, mechanisms are not by side-effect, so they'll
4937      # only be used when explicitly requested.
4938      if test "x$enable_dependency_tracking" = xyes; then
4939	continue
4940      else
4941	break
4942      fi
4943      ;;
4944    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4945      # This compiler won't grok '-c -o', but also, the minuso test has
4946      # not run yet.  These depmodes are late enough in the game, and
4947      # so weak that their functioning should not be impacted.
4948      am__obj=conftest.${OBJEXT-o}
4949      am__minus_obj=
4950      ;;
4951    none) break ;;
4952    esac
4953    if depmode=$depmode \
4954       source=sub/conftest.c object=$am__obj \
4955       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4956       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4957         >/dev/null 2>conftest.err &&
4958       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4959       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4960       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4961       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4962      # icc doesn't choke on unknown options, it will just issue warnings
4963      # or remarks (even with -Werror).  So we grep stderr for any message
4964      # that says an option was ignored or not supported.
4965      # When given -MP, icc 7.0 and 7.1 complain thusly:
4966      #   icc: Command line warning: ignoring option '-M'; no argument required
4967      # The diagnosis changed in icc 8.0:
4968      #   icc: Command line remark: option '-MP' not supported
4969      if (grep 'ignoring option' conftest.err ||
4970          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4971        am_cv_CC_dependencies_compiler_type=$depmode
4972        break
4973      fi
4974    fi
4975  done
4976
4977  cd ..
4978  rm -rf conftest.dir
4979else
4980  am_cv_CC_dependencies_compiler_type=none
4981fi
4982
4983fi
4984{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4985$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4986CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4987
4988 if
4989  test "x$enable_dependency_tracking" != xno \
4990  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4991  am__fastdepCC_TRUE=
4992  am__fastdepCC_FALSE='#'
4993else
4994  am__fastdepCC_TRUE='#'
4995  am__fastdepCC_FALSE=
4996fi
4997
4998
4999
5000
5001# Check whether --with-gnu-ld was given.
5002if test "${with_gnu_ld+set}" = set; then :
5003  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5004else
5005  with_gnu_ld=no
5006fi
5007
5008# Prepare PATH_SEPARATOR.
5009# The user is always right.
5010if test "${PATH_SEPARATOR+set}" != set; then
5011  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
5012  # contains only /bin. Note that ksh looks also at the FPATH variable,
5013  # so we have to set that as well for the test.
5014  PATH_SEPARATOR=:
5015  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
5016    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
5017           || PATH_SEPARATOR=';'
5018       }
5019fi
5020
5021ac_prog=ld
5022if test "$GCC" = yes; then
5023  # Check if gcc -print-prog-name=ld gives a path.
5024  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5025$as_echo_n "checking for ld used by $CC... " >&6; }
5026  case $host in
5027  *-*-mingw*)
5028    # gcc leaves a trailing carriage return which upsets mingw
5029    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5030  *)
5031    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5032  esac
5033  case $ac_prog in
5034    # Accept absolute paths.
5035    [\\/]* | ?:[\\/]*)
5036      re_direlt='/[^/][^/]*/\.\./'
5037      # Canonicalize the pathname of ld
5038      ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
5039      while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
5040        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
5041      done
5042      test -z "$LD" && LD="$ac_prog"
5043      ;;
5044  "")
5045    # If it fails, then pretend we aren't using GCC.
5046    ac_prog=ld
5047    ;;
5048  *)
5049    # If it is relative, then search for the first ld in PATH.
5050    with_gnu_ld=unknown
5051    ;;
5052  esac
5053elif test "$with_gnu_ld" = yes; then
5054  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5055$as_echo_n "checking for GNU ld... " >&6; }
5056else
5057  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5058$as_echo_n "checking for non-GNU ld... " >&6; }
5059fi
5060if ${acl_cv_path_LD+:} false; then :
5061  $as_echo_n "(cached) " >&6
5062else
5063  if test -z "$LD"; then
5064  acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5065  for ac_dir in $PATH; do
5066    IFS="$acl_save_ifs"
5067    test -z "$ac_dir" && ac_dir=.
5068    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5069      acl_cv_path_LD="$ac_dir/$ac_prog"
5070      # Check to see if the program is GNU ld.  I'd rather use --version,
5071      # but apparently some variants of GNU ld only accept -v.
5072      # Break only if it was the GNU/non-GNU ld that we prefer.
5073      case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
5074      *GNU* | *'with BFD'*)
5075        test "$with_gnu_ld" != no && break
5076        ;;
5077      *)
5078        test "$with_gnu_ld" != yes && break
5079        ;;
5080      esac
5081    fi
5082  done
5083  IFS="$acl_save_ifs"
5084else
5085  acl_cv_path_LD="$LD" # Let the user override the test with a path.
5086fi
5087fi
5088
5089LD="$acl_cv_path_LD"
5090if test -n "$LD"; then
5091  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5092$as_echo "$LD" >&6; }
5093else
5094  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5095$as_echo "no" >&6; }
5096fi
5097test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5098{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5099$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5100if ${acl_cv_prog_gnu_ld+:} false; then :
5101  $as_echo_n "(cached) " >&6
5102else
5103  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5104case `$LD -v 2>&1 </dev/null` in
5105*GNU* | *'with BFD'*)
5106  acl_cv_prog_gnu_ld=yes
5107  ;;
5108*)
5109  acl_cv_prog_gnu_ld=no
5110  ;;
5111esac
5112fi
5113{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
5114$as_echo "$acl_cv_prog_gnu_ld" >&6; }
5115with_gnu_ld=$acl_cv_prog_gnu_ld
5116
5117
5118
5119
5120                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
5121$as_echo_n "checking for shared library run path origin... " >&6; }
5122if ${acl_cv_rpath+:} false; then :
5123  $as_echo_n "(cached) " >&6
5124else
5125
5126    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
5127    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
5128    . ./conftest.sh
5129    rm -f ./conftest.sh
5130    acl_cv_rpath=done
5131
5132fi
5133{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
5134$as_echo "$acl_cv_rpath" >&6; }
5135  wl="$acl_cv_wl"
5136  acl_libext="$acl_cv_libext"
5137  acl_shlibext="$acl_cv_shlibext"
5138  acl_libname_spec="$acl_cv_libname_spec"
5139  acl_library_names_spec="$acl_cv_library_names_spec"
5140  acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
5141  acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
5142  acl_hardcode_direct="$acl_cv_hardcode_direct"
5143  acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
5144    # Check whether --enable-rpath was given.
5145if test "${enable_rpath+set}" = set; then :
5146  enableval=$enable_rpath; :
5147else
5148  enable_rpath=yes
5149fi
5150
5151
5152
5153ac_ext=c
5154ac_cpp='$CPP $CPPFLAGS'
5155ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5156ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5157ac_compiler_gnu=$ac_cv_c_compiler_gnu
5158{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5159$as_echo_n "checking how to run the C preprocessor... " >&6; }
5160# On Suns, sometimes $CPP names a directory.
5161if test -n "$CPP" && test -d "$CPP"; then
5162  CPP=
5163fi
5164if test -z "$CPP"; then
5165  if ${ac_cv_prog_CPP+:} false; then :
5166  $as_echo_n "(cached) " >&6
5167else
5168      # Double quotes because CPP needs to be expanded
5169    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5170    do
5171      ac_preproc_ok=false
5172for ac_c_preproc_warn_flag in '' yes
5173do
5174  # Use a header file that comes with gcc, so configuring glibc
5175  # with a fresh cross-compiler works.
5176  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5177  # <limits.h> exists even on freestanding compilers.
5178  # On the NeXT, cc -E runs the code through the compiler's parser,
5179  # not just through cpp. "Syntax error" is here to catch this case.
5180  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5181/* end confdefs.h.  */
5182#ifdef __STDC__
5183# include <limits.h>
5184#else
5185# include <assert.h>
5186#endif
5187		     Syntax error
5188_ACEOF
5189if ac_fn_c_try_cpp "$LINENO"; then :
5190
5191else
5192  # Broken: fails on valid input.
5193continue
5194fi
5195rm -f conftest.err conftest.i conftest.$ac_ext
5196
5197  # OK, works on sane cases.  Now check whether nonexistent headers
5198  # can be detected and how.
5199  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5200/* end confdefs.h.  */
5201#include <ac_nonexistent.h>
5202_ACEOF
5203if ac_fn_c_try_cpp "$LINENO"; then :
5204  # Broken: success on invalid input.
5205continue
5206else
5207  # Passes both tests.
5208ac_preproc_ok=:
5209break
5210fi
5211rm -f conftest.err conftest.i conftest.$ac_ext
5212
5213done
5214# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5215rm -f conftest.i conftest.err conftest.$ac_ext
5216if $ac_preproc_ok; then :
5217  break
5218fi
5219
5220    done
5221    ac_cv_prog_CPP=$CPP
5222
5223fi
5224  CPP=$ac_cv_prog_CPP
5225else
5226  ac_cv_prog_CPP=$CPP
5227fi
5228{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5229$as_echo "$CPP" >&6; }
5230ac_preproc_ok=false
5231for ac_c_preproc_warn_flag in '' yes
5232do
5233  # Use a header file that comes with gcc, so configuring glibc
5234  # with a fresh cross-compiler works.
5235  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5236  # <limits.h> exists even on freestanding compilers.
5237  # On the NeXT, cc -E runs the code through the compiler's parser,
5238  # not just through cpp. "Syntax error" is here to catch this case.
5239  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5240/* end confdefs.h.  */
5241#ifdef __STDC__
5242# include <limits.h>
5243#else
5244# include <assert.h>
5245#endif
5246		     Syntax error
5247_ACEOF
5248if ac_fn_c_try_cpp "$LINENO"; then :
5249
5250else
5251  # Broken: fails on valid input.
5252continue
5253fi
5254rm -f conftest.err conftest.i conftest.$ac_ext
5255
5256  # OK, works on sane cases.  Now check whether nonexistent headers
5257  # can be detected and how.
5258  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5259/* end confdefs.h.  */
5260#include <ac_nonexistent.h>
5261_ACEOF
5262if ac_fn_c_try_cpp "$LINENO"; then :
5263  # Broken: success on invalid input.
5264continue
5265else
5266  # Passes both tests.
5267ac_preproc_ok=:
5268break
5269fi
5270rm -f conftest.err conftest.i conftest.$ac_ext
5271
5272done
5273# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5274rm -f conftest.i conftest.err conftest.$ac_ext
5275if $ac_preproc_ok; then :
5276
5277else
5278  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5279$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5280as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5281See \`config.log' for more details" "$LINENO" 5; }
5282fi
5283
5284ac_ext=c
5285ac_cpp='$CPP $CPPFLAGS'
5286ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5287ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5288ac_compiler_gnu=$ac_cv_c_compiler_gnu
5289
5290
5291{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5292$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5293if ${ac_cv_path_GREP+:} false; then :
5294  $as_echo_n "(cached) " >&6
5295else
5296  if test -z "$GREP"; then
5297  ac_path_GREP_found=false
5298  # Loop through the user's path and test for each of PROGNAME-LIST
5299  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5300for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5301do
5302  IFS=$as_save_IFS
5303  test -z "$as_dir" && as_dir=.
5304    for ac_prog in grep ggrep; do
5305    for ac_exec_ext in '' $ac_executable_extensions; do
5306      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5307      as_fn_executable_p "$ac_path_GREP" || continue
5308# Check for GNU ac_path_GREP and select it if it is found.
5309  # Check for GNU $ac_path_GREP
5310case `"$ac_path_GREP" --version 2>&1` in
5311*GNU*)
5312  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5313*)
5314  ac_count=0
5315  $as_echo_n 0123456789 >"conftest.in"
5316  while :
5317  do
5318    cat "conftest.in" "conftest.in" >"conftest.tmp"
5319    mv "conftest.tmp" "conftest.in"
5320    cp "conftest.in" "conftest.nl"
5321    $as_echo 'GREP' >> "conftest.nl"
5322    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5323    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5324    as_fn_arith $ac_count + 1 && ac_count=$as_val
5325    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5326      # Best one so far, save it but keep looking for a better one
5327      ac_cv_path_GREP="$ac_path_GREP"
5328      ac_path_GREP_max=$ac_count
5329    fi
5330    # 10*(2^10) chars as input seems more than enough
5331    test $ac_count -gt 10 && break
5332  done
5333  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5334esac
5335
5336      $ac_path_GREP_found && break 3
5337    done
5338  done
5339  done
5340IFS=$as_save_IFS
5341  if test -z "$ac_cv_path_GREP"; then
5342    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5343  fi
5344else
5345  ac_cv_path_GREP=$GREP
5346fi
5347
5348fi
5349{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5350$as_echo "$ac_cv_path_GREP" >&6; }
5351 GREP="$ac_cv_path_GREP"
5352
5353
5354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5355$as_echo_n "checking for egrep... " >&6; }
5356if ${ac_cv_path_EGREP+:} false; then :
5357  $as_echo_n "(cached) " >&6
5358else
5359  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5360   then ac_cv_path_EGREP="$GREP -E"
5361   else
5362     if test -z "$EGREP"; then
5363  ac_path_EGREP_found=false
5364  # Loop through the user's path and test for each of PROGNAME-LIST
5365  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5366for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5367do
5368  IFS=$as_save_IFS
5369  test -z "$as_dir" && as_dir=.
5370    for ac_prog in egrep; do
5371    for ac_exec_ext in '' $ac_executable_extensions; do
5372      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5373      as_fn_executable_p "$ac_path_EGREP" || continue
5374# Check for GNU ac_path_EGREP and select it if it is found.
5375  # Check for GNU $ac_path_EGREP
5376case `"$ac_path_EGREP" --version 2>&1` in
5377*GNU*)
5378  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5379*)
5380  ac_count=0
5381  $as_echo_n 0123456789 >"conftest.in"
5382  while :
5383  do
5384    cat "conftest.in" "conftest.in" >"conftest.tmp"
5385    mv "conftest.tmp" "conftest.in"
5386    cp "conftest.in" "conftest.nl"
5387    $as_echo 'EGREP' >> "conftest.nl"
5388    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5389    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5390    as_fn_arith $ac_count + 1 && ac_count=$as_val
5391    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5392      # Best one so far, save it but keep looking for a better one
5393      ac_cv_path_EGREP="$ac_path_EGREP"
5394      ac_path_EGREP_max=$ac_count
5395    fi
5396    # 10*(2^10) chars as input seems more than enough
5397    test $ac_count -gt 10 && break
5398  done
5399  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5400esac
5401
5402      $ac_path_EGREP_found && break 3
5403    done
5404  done
5405  done
5406IFS=$as_save_IFS
5407  if test -z "$ac_cv_path_EGREP"; then
5408    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5409  fi
5410else
5411  ac_cv_path_EGREP=$EGREP
5412fi
5413
5414   fi
5415fi
5416{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5417$as_echo "$ac_cv_path_EGREP" >&6; }
5418 EGREP="$ac_cv_path_EGREP"
5419
5420
5421
5422
5423  acl_libdirstem=lib
5424  acl_libdirstem2=
5425  case "$host_os" in
5426    solaris*)
5427                                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
5428$as_echo_n "checking for 64-bit host... " >&6; }
5429if ${gl_cv_solaris_64bit+:} false; then :
5430  $as_echo_n "(cached) " >&6
5431else
5432  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5433/* end confdefs.h.  */
5434
5435#ifdef _LP64
5436sixtyfour bits
5437#endif
5438
5439_ACEOF
5440if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5441  $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
5442  gl_cv_solaris_64bit=yes
5443else
5444  gl_cv_solaris_64bit=no
5445fi
5446rm -f conftest*
5447
5448
5449fi
5450{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
5451$as_echo "$gl_cv_solaris_64bit" >&6; }
5452      if test $gl_cv_solaris_64bit = yes; then
5453        acl_libdirstem=lib/64
5454        case "$host_cpu" in
5455          sparc*)        acl_libdirstem2=lib/sparcv9 ;;
5456          i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
5457        esac
5458      fi
5459      ;;
5460    *)
5461      searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
5462      if test -n "$searchpath"; then
5463        acl_save_IFS="${IFS= 	}"; IFS=":"
5464        for searchdir in $searchpath; do
5465          if test -d "$searchdir"; then
5466            case "$searchdir" in
5467              */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
5468              */../ | */.. )
5469                # Better ignore directories of this form. They are misleading.
5470                ;;
5471              *) searchdir=`cd "$searchdir" && pwd`
5472                 case "$searchdir" in
5473                   */lib64 ) acl_libdirstem=lib64 ;;
5474                 esac ;;
5475            esac
5476          fi
5477        done
5478        IFS="$acl_save_IFS"
5479      fi
5480      ;;
5481  esac
5482  test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495    use_additional=yes
5496
5497  acl_save_prefix="$prefix"
5498  prefix="$acl_final_prefix"
5499  acl_save_exec_prefix="$exec_prefix"
5500  exec_prefix="$acl_final_exec_prefix"
5501
5502    eval additional_includedir=\"$includedir\"
5503    eval additional_libdir=\"$libdir\"
5504
5505  exec_prefix="$acl_save_exec_prefix"
5506  prefix="$acl_save_prefix"
5507
5508
5509# Check whether --with-libiconv-prefix was given.
5510if test "${with_libiconv_prefix+set}" = set; then :
5511  withval=$with_libiconv_prefix;
5512    if test "X$withval" = "Xno"; then
5513      use_additional=no
5514    else
5515      if test "X$withval" = "X"; then
5516
5517  acl_save_prefix="$prefix"
5518  prefix="$acl_final_prefix"
5519  acl_save_exec_prefix="$exec_prefix"
5520  exec_prefix="$acl_final_exec_prefix"
5521
5522          eval additional_includedir=\"$includedir\"
5523          eval additional_libdir=\"$libdir\"
5524
5525  exec_prefix="$acl_save_exec_prefix"
5526  prefix="$acl_save_prefix"
5527
5528      else
5529        additional_includedir="$withval/include"
5530        additional_libdir="$withval/$acl_libdirstem"
5531        if test "$acl_libdirstem2" != "$acl_libdirstem" \
5532           && ! test -d "$withval/$acl_libdirstem"; then
5533          additional_libdir="$withval/$acl_libdirstem2"
5534        fi
5535      fi
5536    fi
5537
5538fi
5539
5540      LIBICONV=
5541  LTLIBICONV=
5542  INCICONV=
5543  LIBICONV_PREFIX=
5544      HAVE_LIBICONV=
5545  rpathdirs=
5546  ltrpathdirs=
5547  names_already_handled=
5548  names_next_round='iconv '
5549  while test -n "$names_next_round"; do
5550    names_this_round="$names_next_round"
5551    names_next_round=
5552    for name in $names_this_round; do
5553      already_handled=
5554      for n in $names_already_handled; do
5555        if test "$n" = "$name"; then
5556          already_handled=yes
5557          break
5558        fi
5559      done
5560      if test -z "$already_handled"; then
5561        names_already_handled="$names_already_handled $name"
5562                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
5563        eval value=\"\$HAVE_LIB$uppername\"
5564        if test -n "$value"; then
5565          if test "$value" = yes; then
5566            eval value=\"\$LIB$uppername\"
5567            test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
5568            eval value=\"\$LTLIB$uppername\"
5569            test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
5570          else
5571                                    :
5572          fi
5573        else
5574                              found_dir=
5575          found_la=
5576          found_so=
5577          found_a=
5578          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
5579          if test -n "$acl_shlibext"; then
5580            shrext=".$acl_shlibext"             # typically: shrext=.so
5581          else
5582            shrext=
5583          fi
5584          if test $use_additional = yes; then
5585            dir="$additional_libdir"
5586                                    if test -n "$acl_shlibext"; then
5587              if test -f "$dir/$libname$shrext"; then
5588                found_dir="$dir"
5589                found_so="$dir/$libname$shrext"
5590              else
5591                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5592                  ver=`(cd "$dir" && \
5593                        for f in "$libname$shrext".*; do echo "$f"; done \
5594                        | sed -e "s,^$libname$shrext\\\\.,," \
5595                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5596                        | sed 1q ) 2>/dev/null`
5597                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5598                    found_dir="$dir"
5599                    found_so="$dir/$libname$shrext.$ver"
5600                  fi
5601                else
5602                  eval library_names=\"$acl_library_names_spec\"
5603                  for f in $library_names; do
5604                    if test -f "$dir/$f"; then
5605                      found_dir="$dir"
5606                      found_so="$dir/$f"
5607                      break
5608                    fi
5609                  done
5610                fi
5611              fi
5612            fi
5613                        if test "X$found_dir" = "X"; then
5614              if test -f "$dir/$libname.$acl_libext"; then
5615                found_dir="$dir"
5616                found_a="$dir/$libname.$acl_libext"
5617              fi
5618            fi
5619            if test "X$found_dir" != "X"; then
5620              if test -f "$dir/$libname.la"; then
5621                found_la="$dir/$libname.la"
5622              fi
5623            fi
5624          fi
5625          if test "X$found_dir" = "X"; then
5626            for x in $LDFLAGS $LTLIBICONV; do
5627
5628  acl_save_prefix="$prefix"
5629  prefix="$acl_final_prefix"
5630  acl_save_exec_prefix="$exec_prefix"
5631  exec_prefix="$acl_final_exec_prefix"
5632  eval x=\"$x\"
5633  exec_prefix="$acl_save_exec_prefix"
5634  prefix="$acl_save_prefix"
5635
5636              case "$x" in
5637                -L*)
5638                  dir=`echo "X$x" | sed -e 's/^X-L//'`
5639                                    if test -n "$acl_shlibext"; then
5640                    if test -f "$dir/$libname$shrext"; then
5641                      found_dir="$dir"
5642                      found_so="$dir/$libname$shrext"
5643                    else
5644                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5645                        ver=`(cd "$dir" && \
5646                              for f in "$libname$shrext".*; do echo "$f"; done \
5647                              | sed -e "s,^$libname$shrext\\\\.,," \
5648                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5649                              | sed 1q ) 2>/dev/null`
5650                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5651                          found_dir="$dir"
5652                          found_so="$dir/$libname$shrext.$ver"
5653                        fi
5654                      else
5655                        eval library_names=\"$acl_library_names_spec\"
5656                        for f in $library_names; do
5657                          if test -f "$dir/$f"; then
5658                            found_dir="$dir"
5659                            found_so="$dir/$f"
5660                            break
5661                          fi
5662                        done
5663                      fi
5664                    fi
5665                  fi
5666                                    if test "X$found_dir" = "X"; then
5667                    if test -f "$dir/$libname.$acl_libext"; then
5668                      found_dir="$dir"
5669                      found_a="$dir/$libname.$acl_libext"
5670                    fi
5671                  fi
5672                  if test "X$found_dir" != "X"; then
5673                    if test -f "$dir/$libname.la"; then
5674                      found_la="$dir/$libname.la"
5675                    fi
5676                  fi
5677                  ;;
5678              esac
5679              if test "X$found_dir" != "X"; then
5680                break
5681              fi
5682            done
5683          fi
5684          if test "X$found_dir" != "X"; then
5685                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
5686            if test "X$found_so" != "X"; then
5687                                                        if test "$enable_rpath" = no \
5688                 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
5689                 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
5690                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5691              else
5692                                                                                haveit=
5693                for x in $ltrpathdirs; do
5694                  if test "X$x" = "X$found_dir"; then
5695                    haveit=yes
5696                    break
5697                  fi
5698                done
5699                if test -z "$haveit"; then
5700                  ltrpathdirs="$ltrpathdirs $found_dir"
5701                fi
5702                                if test "$acl_hardcode_direct" = yes; then
5703                                                      LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5704                else
5705                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
5706                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5707                                                            haveit=
5708                    for x in $rpathdirs; do
5709                      if test "X$x" = "X$found_dir"; then
5710                        haveit=yes
5711                        break
5712                      fi
5713                    done
5714                    if test -z "$haveit"; then
5715                      rpathdirs="$rpathdirs $found_dir"
5716                    fi
5717                  else
5718                                                                                haveit=
5719                    for x in $LDFLAGS $LIBICONV; do
5720
5721  acl_save_prefix="$prefix"
5722  prefix="$acl_final_prefix"
5723  acl_save_exec_prefix="$exec_prefix"
5724  exec_prefix="$acl_final_exec_prefix"
5725  eval x=\"$x\"
5726  exec_prefix="$acl_save_exec_prefix"
5727  prefix="$acl_save_prefix"
5728
5729                      if test "X$x" = "X-L$found_dir"; then
5730                        haveit=yes
5731                        break
5732                      fi
5733                    done
5734                    if test -z "$haveit"; then
5735                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
5736                    fi
5737                    if test "$acl_hardcode_minus_L" != no; then
5738                                                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5739                    else
5740                                                                                                                                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5741                    fi
5742                  fi
5743                fi
5744              fi
5745            else
5746              if test "X$found_a" != "X"; then
5747                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
5748              else
5749                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
5750              fi
5751            fi
5752                        additional_includedir=
5753            case "$found_dir" in
5754              */$acl_libdirstem | */$acl_libdirstem/)
5755                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
5756                if test "$name" = 'iconv'; then
5757                  LIBICONV_PREFIX="$basedir"
5758                fi
5759                additional_includedir="$basedir/include"
5760                ;;
5761              */$acl_libdirstem2 | */$acl_libdirstem2/)
5762                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
5763                if test "$name" = 'iconv'; then
5764                  LIBICONV_PREFIX="$basedir"
5765                fi
5766                additional_includedir="$basedir/include"
5767                ;;
5768            esac
5769            if test "X$additional_includedir" != "X"; then
5770                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
5771                haveit=
5772                if test "X$additional_includedir" = "X/usr/local/include"; then
5773                  if test -n "$GCC"; then
5774                    case $host_os in
5775                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5776                    esac
5777                  fi
5778                fi
5779                if test -z "$haveit"; then
5780                  for x in $CPPFLAGS $INCICONV; do
5781
5782  acl_save_prefix="$prefix"
5783  prefix="$acl_final_prefix"
5784  acl_save_exec_prefix="$exec_prefix"
5785  exec_prefix="$acl_final_exec_prefix"
5786  eval x=\"$x\"
5787  exec_prefix="$acl_save_exec_prefix"
5788  prefix="$acl_save_prefix"
5789
5790                    if test "X$x" = "X-I$additional_includedir"; then
5791                      haveit=yes
5792                      break
5793                    fi
5794                  done
5795                  if test -z "$haveit"; then
5796                    if test -d "$additional_includedir"; then
5797                                            INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5798                    fi
5799                  fi
5800                fi
5801              fi
5802            fi
5803                        if test -n "$found_la"; then
5804                                                        save_libdir="$libdir"
5805              case "$found_la" in
5806                */* | *\\*) . "$found_la" ;;
5807                *) . "./$found_la" ;;
5808              esac
5809              libdir="$save_libdir"
5810                            for dep in $dependency_libs; do
5811                case "$dep" in
5812                  -L*)
5813                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
5814                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
5815                       && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
5816                      haveit=
5817                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
5818                         || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
5819                        if test -n "$GCC"; then
5820                          case $host_os in
5821                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5822                          esac
5823                        fi
5824                      fi
5825                      if test -z "$haveit"; then
5826                        haveit=
5827                        for x in $LDFLAGS $LIBICONV; do
5828
5829  acl_save_prefix="$prefix"
5830  prefix="$acl_final_prefix"
5831  acl_save_exec_prefix="$exec_prefix"
5832  exec_prefix="$acl_final_exec_prefix"
5833  eval x=\"$x\"
5834  exec_prefix="$acl_save_exec_prefix"
5835  prefix="$acl_save_prefix"
5836
5837                          if test "X$x" = "X-L$additional_libdir"; then
5838                            haveit=yes
5839                            break
5840                          fi
5841                        done
5842                        if test -z "$haveit"; then
5843                          if test -d "$additional_libdir"; then
5844                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
5845                          fi
5846                        fi
5847                        haveit=
5848                        for x in $LDFLAGS $LTLIBICONV; do
5849
5850  acl_save_prefix="$prefix"
5851  prefix="$acl_final_prefix"
5852  acl_save_exec_prefix="$exec_prefix"
5853  exec_prefix="$acl_final_exec_prefix"
5854  eval x=\"$x\"
5855  exec_prefix="$acl_save_exec_prefix"
5856  prefix="$acl_save_prefix"
5857
5858                          if test "X$x" = "X-L$additional_libdir"; then
5859                            haveit=yes
5860                            break
5861                          fi
5862                        done
5863                        if test -z "$haveit"; then
5864                          if test -d "$additional_libdir"; then
5865                                                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5866                          fi
5867                        fi
5868                      fi
5869                    fi
5870                    ;;
5871                  -R*)
5872                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
5873                    if test "$enable_rpath" != no; then
5874                                                                  haveit=
5875                      for x in $rpathdirs; do
5876                        if test "X$x" = "X$dir"; then
5877                          haveit=yes
5878                          break
5879                        fi
5880                      done
5881                      if test -z "$haveit"; then
5882                        rpathdirs="$rpathdirs $dir"
5883                      fi
5884                                                                  haveit=
5885                      for x in $ltrpathdirs; do
5886                        if test "X$x" = "X$dir"; then
5887                          haveit=yes
5888                          break
5889                        fi
5890                      done
5891                      if test -z "$haveit"; then
5892                        ltrpathdirs="$ltrpathdirs $dir"
5893                      fi
5894                    fi
5895                    ;;
5896                  -l*)
5897                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5898                    ;;
5899                  *.la)
5900                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5901                    ;;
5902                  *)
5903                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
5904                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5905                    ;;
5906                esac
5907              done
5908            fi
5909          else
5910                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5911            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5912          fi
5913        fi
5914      fi
5915    done
5916  done
5917  if test "X$rpathdirs" != "X"; then
5918    if test -n "$acl_hardcode_libdir_separator"; then
5919                        alldirs=
5920      for found_dir in $rpathdirs; do
5921        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
5922      done
5923            acl_save_libdir="$libdir"
5924      libdir="$alldirs"
5925      eval flag=\"$acl_hardcode_libdir_flag_spec\"
5926      libdir="$acl_save_libdir"
5927      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5928    else
5929            for found_dir in $rpathdirs; do
5930        acl_save_libdir="$libdir"
5931        libdir="$found_dir"
5932        eval flag=\"$acl_hardcode_libdir_flag_spec\"
5933        libdir="$acl_save_libdir"
5934        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5935      done
5936    fi
5937  fi
5938  if test "X$ltrpathdirs" != "X"; then
5939            for found_dir in $ltrpathdirs; do
5940      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
5941    done
5942  fi
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
5975$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
5976if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
5977  $as_echo_n "(cached) " >&6
5978else
5979  gt_save_LIBS="$LIBS"
5980     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5981     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5982/* end confdefs.h.  */
5983#include <CoreFoundation/CFPreferences.h>
5984int
5985main ()
5986{
5987CFPreferencesCopyAppValue(NULL, NULL)
5988  ;
5989  return 0;
5990}
5991_ACEOF
5992if ac_fn_c_try_link "$LINENO"; then :
5993  gt_cv_func_CFPreferencesCopyAppValue=yes
5994else
5995  gt_cv_func_CFPreferencesCopyAppValue=no
5996fi
5997rm -f core conftest.err conftest.$ac_objext \
5998    conftest$ac_exeext conftest.$ac_ext
5999     LIBS="$gt_save_LIBS"
6000fi
6001{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
6002$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
6003  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
6004
6005$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
6006
6007  fi
6008    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
6009$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
6010if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
6011  $as_echo_n "(cached) " >&6
6012else
6013  gt_save_LIBS="$LIBS"
6014     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
6015     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6016/* end confdefs.h.  */
6017#include <CoreFoundation/CFLocale.h>
6018int
6019main ()
6020{
6021CFLocaleCopyCurrent();
6022  ;
6023  return 0;
6024}
6025_ACEOF
6026if ac_fn_c_try_link "$LINENO"; then :
6027  gt_cv_func_CFLocaleCopyCurrent=yes
6028else
6029  gt_cv_func_CFLocaleCopyCurrent=no
6030fi
6031rm -f core conftest.err conftest.$ac_objext \
6032    conftest$ac_exeext conftest.$ac_ext
6033     LIBS="$gt_save_LIBS"
6034fi
6035{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
6036$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
6037  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
6038
6039$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
6040
6041  fi
6042  INTL_MACOSX_LIBS=
6043  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
6044    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
6045  fi
6046
6047
6048
6049
6050
6051
6052  LIBINTL=
6053  LTLIBINTL=
6054  POSUB=
6055
6056    case " $gt_needs " in
6057    *" need-formatstring-macros "*) gt_api_version=3 ;;
6058    *" need-ngettext "*) gt_api_version=2 ;;
6059    *) gt_api_version=1 ;;
6060  esac
6061  gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
6062  gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
6063
6064    if test "$USE_NLS" = "yes"; then
6065    gt_use_preinstalled_gnugettext=no
6066
6067
6068        if test $gt_api_version -ge 3; then
6069          gt_revision_test_code='
6070#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
6071#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
6072#endif
6073typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
6074'
6075        else
6076          gt_revision_test_code=
6077        fi
6078        if test $gt_api_version -ge 2; then
6079          gt_expression_test_code=' + * ngettext ("", "", 0)'
6080        else
6081          gt_expression_test_code=
6082        fi
6083
6084        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
6085$as_echo_n "checking for GNU gettext in libc... " >&6; }
6086if eval \${$gt_func_gnugettext_libc+:} false; then :
6087  $as_echo_n "(cached) " >&6
6088else
6089  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6090/* end confdefs.h.  */
6091
6092#include <libintl.h>
6093#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
6094extern int _nl_msg_cat_cntr;
6095extern int *_nl_domain_bindings;
6096#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
6097#else
6098#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
6099#endif
6100$gt_revision_test_code
6101
6102int
6103main ()
6104{
6105
6106bindtextdomain ("", "");
6107return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
6108
6109  ;
6110  return 0;
6111}
6112_ACEOF
6113if ac_fn_c_try_link "$LINENO"; then :
6114  eval "$gt_func_gnugettext_libc=yes"
6115else
6116  eval "$gt_func_gnugettext_libc=no"
6117fi
6118rm -f core conftest.err conftest.$ac_objext \
6119    conftest$ac_exeext conftest.$ac_ext
6120fi
6121eval ac_res=\$$gt_func_gnugettext_libc
6122	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6123$as_echo "$ac_res" >&6; }
6124
6125        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
6126
6127
6128
6129
6130
6131          am_save_CPPFLAGS="$CPPFLAGS"
6132
6133  for element in $INCICONV; do
6134    haveit=
6135    for x in $CPPFLAGS; do
6136
6137  acl_save_prefix="$prefix"
6138  prefix="$acl_final_prefix"
6139  acl_save_exec_prefix="$exec_prefix"
6140  exec_prefix="$acl_final_exec_prefix"
6141  eval x=\"$x\"
6142  exec_prefix="$acl_save_exec_prefix"
6143  prefix="$acl_save_prefix"
6144
6145      if test "X$x" = "X$element"; then
6146        haveit=yes
6147        break
6148      fi
6149    done
6150    if test -z "$haveit"; then
6151      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
6152    fi
6153  done
6154
6155
6156  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
6157$as_echo_n "checking for iconv... " >&6; }
6158if ${am_cv_func_iconv+:} false; then :
6159  $as_echo_n "(cached) " >&6
6160else
6161
6162    am_cv_func_iconv="no, consider installing GNU libiconv"
6163    am_cv_lib_iconv=no
6164    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6165/* end confdefs.h.  */
6166
6167#include <stdlib.h>
6168#include <iconv.h>
6169
6170int
6171main ()
6172{
6173iconv_t cd = iconv_open("","");
6174           iconv(cd,NULL,NULL,NULL,NULL);
6175           iconv_close(cd);
6176  ;
6177  return 0;
6178}
6179_ACEOF
6180if ac_fn_c_try_link "$LINENO"; then :
6181  am_cv_func_iconv=yes
6182fi
6183rm -f core conftest.err conftest.$ac_objext \
6184    conftest$ac_exeext conftest.$ac_ext
6185    if test "$am_cv_func_iconv" != yes; then
6186      am_save_LIBS="$LIBS"
6187      LIBS="$LIBS $LIBICONV"
6188      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6189/* end confdefs.h.  */
6190
6191#include <stdlib.h>
6192#include <iconv.h>
6193
6194int
6195main ()
6196{
6197iconv_t cd = iconv_open("","");
6198             iconv(cd,NULL,NULL,NULL,NULL);
6199             iconv_close(cd);
6200  ;
6201  return 0;
6202}
6203_ACEOF
6204if ac_fn_c_try_link "$LINENO"; then :
6205  am_cv_lib_iconv=yes
6206        am_cv_func_iconv=yes
6207fi
6208rm -f core conftest.err conftest.$ac_objext \
6209    conftest$ac_exeext conftest.$ac_ext
6210      LIBS="$am_save_LIBS"
6211    fi
6212
6213fi
6214{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
6215$as_echo "$am_cv_func_iconv" >&6; }
6216  if test "$am_cv_func_iconv" = yes; then
6217    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
6218$as_echo_n "checking for working iconv... " >&6; }
6219if ${am_cv_func_iconv_works+:} false; then :
6220  $as_echo_n "(cached) " >&6
6221else
6222
6223                  am_save_LIBS="$LIBS"
6224      if test $am_cv_lib_iconv = yes; then
6225        LIBS="$LIBS $LIBICONV"
6226      fi
6227      am_cv_func_iconv_works=no
6228      for ac_iconv_const in '' 'const'; do
6229        if test "$cross_compiling" = yes; then :
6230  case "$host_os" in
6231             aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
6232             *)            am_cv_func_iconv_works="guessing yes" ;;
6233           esac
6234else
6235  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6236/* end confdefs.h.  */
6237
6238#include <iconv.h>
6239#include <string.h>
6240
6241#ifndef ICONV_CONST
6242# define ICONV_CONST $ac_iconv_const
6243#endif
6244
6245int
6246main ()
6247{
6248int result = 0;
6249  /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
6250     returns.  */
6251  {
6252    iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
6253    if (cd_utf8_to_88591 != (iconv_t)(-1))
6254      {
6255        static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
6256        char buf[10];
6257        ICONV_CONST char *inptr = input;
6258        size_t inbytesleft = strlen (input);
6259        char *outptr = buf;
6260        size_t outbytesleft = sizeof (buf);
6261        size_t res = iconv (cd_utf8_to_88591,
6262                            &inptr, &inbytesleft,
6263                            &outptr, &outbytesleft);
6264        if (res == 0)
6265          result |= 1;
6266        iconv_close (cd_utf8_to_88591);
6267      }
6268  }
6269  /* Test against Solaris 10 bug: Failures are not distinguishable from
6270     successful returns.  */
6271  {
6272    iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
6273    if (cd_ascii_to_88591 != (iconv_t)(-1))
6274      {
6275        static ICONV_CONST char input[] = "\263";
6276        char buf[10];
6277        ICONV_CONST char *inptr = input;
6278        size_t inbytesleft = strlen (input);
6279        char *outptr = buf;
6280        size_t outbytesleft = sizeof (buf);
6281        size_t res = iconv (cd_ascii_to_88591,
6282                            &inptr, &inbytesleft,
6283                            &outptr, &outbytesleft);
6284        if (res == 0)
6285          result |= 2;
6286        iconv_close (cd_ascii_to_88591);
6287      }
6288  }
6289  /* Test against AIX 6.1..7.1 bug: Buffer overrun.  */
6290  {
6291    iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
6292    if (cd_88591_to_utf8 != (iconv_t)(-1))
6293      {
6294        static ICONV_CONST char input[] = "\304";
6295        static char buf[2] = { (char)0xDE, (char)0xAD };
6296        ICONV_CONST char *inptr = input;
6297        size_t inbytesleft = 1;
6298        char *outptr = buf;
6299        size_t outbytesleft = 1;
6300        size_t res = iconv (cd_88591_to_utf8,
6301                            &inptr, &inbytesleft,
6302                            &outptr, &outbytesleft);
6303        if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
6304          result |= 4;
6305        iconv_close (cd_88591_to_utf8);
6306      }
6307  }
6308#if 0 /* This bug could be worked around by the caller.  */
6309  /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
6310  {
6311    iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
6312    if (cd_88591_to_utf8 != (iconv_t)(-1))
6313      {
6314        static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
6315        char buf[50];
6316        ICONV_CONST char *inptr = input;
6317        size_t inbytesleft = strlen (input);
6318        char *outptr = buf;
6319        size_t outbytesleft = sizeof (buf);
6320        size_t res = iconv (cd_88591_to_utf8,
6321                            &inptr, &inbytesleft,
6322                            &outptr, &outbytesleft);
6323        if ((int)res > 0)
6324          result |= 8;
6325        iconv_close (cd_88591_to_utf8);
6326      }
6327  }
6328#endif
6329  /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
6330     provided.  */
6331  if (/* Try standardized names.  */
6332      iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
6333      /* Try IRIX, OSF/1 names.  */
6334      && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
6335      /* Try AIX names.  */
6336      && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
6337      /* Try HP-UX names.  */
6338      && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
6339    result |= 16;
6340  return result;
6341
6342  ;
6343  return 0;
6344}
6345_ACEOF
6346if ac_fn_c_try_run "$LINENO"; then :
6347  am_cv_func_iconv_works=yes
6348fi
6349rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6350  conftest.$ac_objext conftest.beam conftest.$ac_ext
6351fi
6352
6353        test "$am_cv_func_iconv_works" = no || break
6354      done
6355      LIBS="$am_save_LIBS"
6356
6357fi
6358{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
6359$as_echo "$am_cv_func_iconv_works" >&6; }
6360    case "$am_cv_func_iconv_works" in
6361      *no) am_func_iconv=no am_cv_lib_iconv=no ;;
6362      *)   am_func_iconv=yes ;;
6363    esac
6364  else
6365    am_func_iconv=no am_cv_lib_iconv=no
6366  fi
6367  if test "$am_func_iconv" = yes; then
6368
6369$as_echo "#define HAVE_ICONV 1" >>confdefs.h
6370
6371  fi
6372  if test "$am_cv_lib_iconv" = yes; then
6373    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
6374$as_echo_n "checking how to link with libiconv... " >&6; }
6375    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
6376$as_echo "$LIBICONV" >&6; }
6377  else
6378            CPPFLAGS="$am_save_CPPFLAGS"
6379    LIBICONV=
6380    LTLIBICONV=
6381  fi
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393    use_additional=yes
6394
6395  acl_save_prefix="$prefix"
6396  prefix="$acl_final_prefix"
6397  acl_save_exec_prefix="$exec_prefix"
6398  exec_prefix="$acl_final_exec_prefix"
6399
6400    eval additional_includedir=\"$includedir\"
6401    eval additional_libdir=\"$libdir\"
6402
6403  exec_prefix="$acl_save_exec_prefix"
6404  prefix="$acl_save_prefix"
6405
6406
6407# Check whether --with-libintl-prefix was given.
6408if test "${with_libintl_prefix+set}" = set; then :
6409  withval=$with_libintl_prefix;
6410    if test "X$withval" = "Xno"; then
6411      use_additional=no
6412    else
6413      if test "X$withval" = "X"; then
6414
6415  acl_save_prefix="$prefix"
6416  prefix="$acl_final_prefix"
6417  acl_save_exec_prefix="$exec_prefix"
6418  exec_prefix="$acl_final_exec_prefix"
6419
6420          eval additional_includedir=\"$includedir\"
6421          eval additional_libdir=\"$libdir\"
6422
6423  exec_prefix="$acl_save_exec_prefix"
6424  prefix="$acl_save_prefix"
6425
6426      else
6427        additional_includedir="$withval/include"
6428        additional_libdir="$withval/$acl_libdirstem"
6429        if test "$acl_libdirstem2" != "$acl_libdirstem" \
6430           && ! test -d "$withval/$acl_libdirstem"; then
6431          additional_libdir="$withval/$acl_libdirstem2"
6432        fi
6433      fi
6434    fi
6435
6436fi
6437
6438      LIBINTL=
6439  LTLIBINTL=
6440  INCINTL=
6441  LIBINTL_PREFIX=
6442      HAVE_LIBINTL=
6443  rpathdirs=
6444  ltrpathdirs=
6445  names_already_handled=
6446  names_next_round='intl '
6447  while test -n "$names_next_round"; do
6448    names_this_round="$names_next_round"
6449    names_next_round=
6450    for name in $names_this_round; do
6451      already_handled=
6452      for n in $names_already_handled; do
6453        if test "$n" = "$name"; then
6454          already_handled=yes
6455          break
6456        fi
6457      done
6458      if test -z "$already_handled"; then
6459        names_already_handled="$names_already_handled $name"
6460                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
6461        eval value=\"\$HAVE_LIB$uppername\"
6462        if test -n "$value"; then
6463          if test "$value" = yes; then
6464            eval value=\"\$LIB$uppername\"
6465            test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
6466            eval value=\"\$LTLIB$uppername\"
6467            test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
6468          else
6469                                    :
6470          fi
6471        else
6472                              found_dir=
6473          found_la=
6474          found_so=
6475          found_a=
6476          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
6477          if test -n "$acl_shlibext"; then
6478            shrext=".$acl_shlibext"             # typically: shrext=.so
6479          else
6480            shrext=
6481          fi
6482          if test $use_additional = yes; then
6483            dir="$additional_libdir"
6484                                    if test -n "$acl_shlibext"; then
6485              if test -f "$dir/$libname$shrext"; then
6486                found_dir="$dir"
6487                found_so="$dir/$libname$shrext"
6488              else
6489                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
6490                  ver=`(cd "$dir" && \
6491                        for f in "$libname$shrext".*; do echo "$f"; done \
6492                        | sed -e "s,^$libname$shrext\\\\.,," \
6493                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
6494                        | sed 1q ) 2>/dev/null`
6495                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
6496                    found_dir="$dir"
6497                    found_so="$dir/$libname$shrext.$ver"
6498                  fi
6499                else
6500                  eval library_names=\"$acl_library_names_spec\"
6501                  for f in $library_names; do
6502                    if test -f "$dir/$f"; then
6503                      found_dir="$dir"
6504                      found_so="$dir/$f"
6505                      break
6506                    fi
6507                  done
6508                fi
6509              fi
6510            fi
6511                        if test "X$found_dir" = "X"; then
6512              if test -f "$dir/$libname.$acl_libext"; then
6513                found_dir="$dir"
6514                found_a="$dir/$libname.$acl_libext"
6515              fi
6516            fi
6517            if test "X$found_dir" != "X"; then
6518              if test -f "$dir/$libname.la"; then
6519                found_la="$dir/$libname.la"
6520              fi
6521            fi
6522          fi
6523          if test "X$found_dir" = "X"; then
6524            for x in $LDFLAGS $LTLIBINTL; do
6525
6526  acl_save_prefix="$prefix"
6527  prefix="$acl_final_prefix"
6528  acl_save_exec_prefix="$exec_prefix"
6529  exec_prefix="$acl_final_exec_prefix"
6530  eval x=\"$x\"
6531  exec_prefix="$acl_save_exec_prefix"
6532  prefix="$acl_save_prefix"
6533
6534              case "$x" in
6535                -L*)
6536                  dir=`echo "X$x" | sed -e 's/^X-L//'`
6537                                    if test -n "$acl_shlibext"; then
6538                    if test -f "$dir/$libname$shrext"; then
6539                      found_dir="$dir"
6540                      found_so="$dir/$libname$shrext"
6541                    else
6542                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
6543                        ver=`(cd "$dir" && \
6544                              for f in "$libname$shrext".*; do echo "$f"; done \
6545                              | sed -e "s,^$libname$shrext\\\\.,," \
6546                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
6547                              | sed 1q ) 2>/dev/null`
6548                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
6549                          found_dir="$dir"
6550                          found_so="$dir/$libname$shrext.$ver"
6551                        fi
6552                      else
6553                        eval library_names=\"$acl_library_names_spec\"
6554                        for f in $library_names; do
6555                          if test -f "$dir/$f"; then
6556                            found_dir="$dir"
6557                            found_so="$dir/$f"
6558                            break
6559                          fi
6560                        done
6561                      fi
6562                    fi
6563                  fi
6564                                    if test "X$found_dir" = "X"; then
6565                    if test -f "$dir/$libname.$acl_libext"; then
6566                      found_dir="$dir"
6567                      found_a="$dir/$libname.$acl_libext"
6568                    fi
6569                  fi
6570                  if test "X$found_dir" != "X"; then
6571                    if test -f "$dir/$libname.la"; then
6572                      found_la="$dir/$libname.la"
6573                    fi
6574                  fi
6575                  ;;
6576              esac
6577              if test "X$found_dir" != "X"; then
6578                break
6579              fi
6580            done
6581          fi
6582          if test "X$found_dir" != "X"; then
6583                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
6584            if test "X$found_so" != "X"; then
6585                                                        if test "$enable_rpath" = no \
6586                 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
6587                 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
6588                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6589              else
6590                                                                                haveit=
6591                for x in $ltrpathdirs; do
6592                  if test "X$x" = "X$found_dir"; then
6593                    haveit=yes
6594                    break
6595                  fi
6596                done
6597                if test -z "$haveit"; then
6598                  ltrpathdirs="$ltrpathdirs $found_dir"
6599                fi
6600                                if test "$acl_hardcode_direct" = yes; then
6601                                                      LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6602                else
6603                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
6604                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6605                                                            haveit=
6606                    for x in $rpathdirs; do
6607                      if test "X$x" = "X$found_dir"; then
6608                        haveit=yes
6609                        break
6610                      fi
6611                    done
6612                    if test -z "$haveit"; then
6613                      rpathdirs="$rpathdirs $found_dir"
6614                    fi
6615                  else
6616                                                                                haveit=
6617                    for x in $LDFLAGS $LIBINTL; do
6618
6619  acl_save_prefix="$prefix"
6620  prefix="$acl_final_prefix"
6621  acl_save_exec_prefix="$exec_prefix"
6622  exec_prefix="$acl_final_exec_prefix"
6623  eval x=\"$x\"
6624  exec_prefix="$acl_save_exec_prefix"
6625  prefix="$acl_save_prefix"
6626
6627                      if test "X$x" = "X-L$found_dir"; then
6628                        haveit=yes
6629                        break
6630                      fi
6631                    done
6632                    if test -z "$haveit"; then
6633                      LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
6634                    fi
6635                    if test "$acl_hardcode_minus_L" != no; then
6636                                                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
6637                    else
6638                                                                                                                                                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
6639                    fi
6640                  fi
6641                fi
6642              fi
6643            else
6644              if test "X$found_a" != "X"; then
6645                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
6646              else
6647                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
6648              fi
6649            fi
6650                        additional_includedir=
6651            case "$found_dir" in
6652              */$acl_libdirstem | */$acl_libdirstem/)
6653                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
6654                if test "$name" = 'intl'; then
6655                  LIBINTL_PREFIX="$basedir"
6656                fi
6657                additional_includedir="$basedir/include"
6658                ;;
6659              */$acl_libdirstem2 | */$acl_libdirstem2/)
6660                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
6661                if test "$name" = 'intl'; then
6662                  LIBINTL_PREFIX="$basedir"
6663                fi
6664                additional_includedir="$basedir/include"
6665                ;;
6666            esac
6667            if test "X$additional_includedir" != "X"; then
6668                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
6669                haveit=
6670                if test "X$additional_includedir" = "X/usr/local/include"; then
6671                  if test -n "$GCC"; then
6672                    case $host_os in
6673                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6674                    esac
6675                  fi
6676                fi
6677                if test -z "$haveit"; then
6678                  for x in $CPPFLAGS $INCINTL; do
6679
6680  acl_save_prefix="$prefix"
6681  prefix="$acl_final_prefix"
6682  acl_save_exec_prefix="$exec_prefix"
6683  exec_prefix="$acl_final_exec_prefix"
6684  eval x=\"$x\"
6685  exec_prefix="$acl_save_exec_prefix"
6686  prefix="$acl_save_prefix"
6687
6688                    if test "X$x" = "X-I$additional_includedir"; then
6689                      haveit=yes
6690                      break
6691                    fi
6692                  done
6693                  if test -z "$haveit"; then
6694                    if test -d "$additional_includedir"; then
6695                                            INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
6696                    fi
6697                  fi
6698                fi
6699              fi
6700            fi
6701                        if test -n "$found_la"; then
6702                                                        save_libdir="$libdir"
6703              case "$found_la" in
6704                */* | *\\*) . "$found_la" ;;
6705                *) . "./$found_la" ;;
6706              esac
6707              libdir="$save_libdir"
6708                            for dep in $dependency_libs; do
6709                case "$dep" in
6710                  -L*)
6711                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
6712                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
6713                       && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
6714                      haveit=
6715                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
6716                         || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
6717                        if test -n "$GCC"; then
6718                          case $host_os in
6719                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6720                          esac
6721                        fi
6722                      fi
6723                      if test -z "$haveit"; then
6724                        haveit=
6725                        for x in $LDFLAGS $LIBINTL; do
6726
6727  acl_save_prefix="$prefix"
6728  prefix="$acl_final_prefix"
6729  acl_save_exec_prefix="$exec_prefix"
6730  exec_prefix="$acl_final_exec_prefix"
6731  eval x=\"$x\"
6732  exec_prefix="$acl_save_exec_prefix"
6733  prefix="$acl_save_prefix"
6734
6735                          if test "X$x" = "X-L$additional_libdir"; then
6736                            haveit=yes
6737                            break
6738                          fi
6739                        done
6740                        if test -z "$haveit"; then
6741                          if test -d "$additional_libdir"; then
6742                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
6743                          fi
6744                        fi
6745                        haveit=
6746                        for x in $LDFLAGS $LTLIBINTL; do
6747
6748  acl_save_prefix="$prefix"
6749  prefix="$acl_final_prefix"
6750  acl_save_exec_prefix="$exec_prefix"
6751  exec_prefix="$acl_final_exec_prefix"
6752  eval x=\"$x\"
6753  exec_prefix="$acl_save_exec_prefix"
6754  prefix="$acl_save_prefix"
6755
6756                          if test "X$x" = "X-L$additional_libdir"; then
6757                            haveit=yes
6758                            break
6759                          fi
6760                        done
6761                        if test -z "$haveit"; then
6762                          if test -d "$additional_libdir"; then
6763                                                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
6764                          fi
6765                        fi
6766                      fi
6767                    fi
6768                    ;;
6769                  -R*)
6770                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
6771                    if test "$enable_rpath" != no; then
6772                                                                  haveit=
6773                      for x in $rpathdirs; do
6774                        if test "X$x" = "X$dir"; then
6775                          haveit=yes
6776                          break
6777                        fi
6778                      done
6779                      if test -z "$haveit"; then
6780                        rpathdirs="$rpathdirs $dir"
6781                      fi
6782                                                                  haveit=
6783                      for x in $ltrpathdirs; do
6784                        if test "X$x" = "X$dir"; then
6785                          haveit=yes
6786                          break
6787                        fi
6788                      done
6789                      if test -z "$haveit"; then
6790                        ltrpathdirs="$ltrpathdirs $dir"
6791                      fi
6792                    fi
6793                    ;;
6794                  -l*)
6795                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6796                    ;;
6797                  *.la)
6798                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6799                    ;;
6800                  *)
6801                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
6802                    LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
6803                    ;;
6804                esac
6805              done
6806            fi
6807          else
6808                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
6809            LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
6810          fi
6811        fi
6812      fi
6813    done
6814  done
6815  if test "X$rpathdirs" != "X"; then
6816    if test -n "$acl_hardcode_libdir_separator"; then
6817                        alldirs=
6818      for found_dir in $rpathdirs; do
6819        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
6820      done
6821            acl_save_libdir="$libdir"
6822      libdir="$alldirs"
6823      eval flag=\"$acl_hardcode_libdir_flag_spec\"
6824      libdir="$acl_save_libdir"
6825      LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6826    else
6827            for found_dir in $rpathdirs; do
6828        acl_save_libdir="$libdir"
6829        libdir="$found_dir"
6830        eval flag=\"$acl_hardcode_libdir_flag_spec\"
6831        libdir="$acl_save_libdir"
6832        LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6833      done
6834    fi
6835  fi
6836  if test "X$ltrpathdirs" != "X"; then
6837            for found_dir in $ltrpathdirs; do
6838      LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
6839    done
6840  fi
6841
6842
6843
6844
6845
6846
6847          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
6848$as_echo_n "checking for GNU gettext in libintl... " >&6; }
6849if eval \${$gt_func_gnugettext_libintl+:} false; then :
6850  $as_echo_n "(cached) " >&6
6851else
6852  gt_save_CPPFLAGS="$CPPFLAGS"
6853            CPPFLAGS="$CPPFLAGS $INCINTL"
6854            gt_save_LIBS="$LIBS"
6855            LIBS="$LIBS $LIBINTL"
6856                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6857/* end confdefs.h.  */
6858
6859#include <libintl.h>
6860#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
6861extern int _nl_msg_cat_cntr;
6862extern
6863#ifdef __cplusplus
6864"C"
6865#endif
6866const char *_nl_expand_alias (const char *);
6867#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
6868#else
6869#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
6870#endif
6871$gt_revision_test_code
6872
6873int
6874main ()
6875{
6876
6877bindtextdomain ("", "");
6878return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
6879
6880  ;
6881  return 0;
6882}
6883_ACEOF
6884if ac_fn_c_try_link "$LINENO"; then :
6885  eval "$gt_func_gnugettext_libintl=yes"
6886else
6887  eval "$gt_func_gnugettext_libintl=no"
6888fi
6889rm -f core conftest.err conftest.$ac_objext \
6890    conftest$ac_exeext conftest.$ac_ext
6891                        if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
6892              LIBS="$LIBS $LIBICONV"
6893              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6894/* end confdefs.h.  */
6895
6896#include <libintl.h>
6897#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
6898extern int _nl_msg_cat_cntr;
6899extern
6900#ifdef __cplusplus
6901"C"
6902#endif
6903const char *_nl_expand_alias (const char *);
6904#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
6905#else
6906#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
6907#endif
6908$gt_revision_test_code
6909
6910int
6911main ()
6912{
6913
6914bindtextdomain ("", "");
6915return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
6916
6917  ;
6918  return 0;
6919}
6920_ACEOF
6921if ac_fn_c_try_link "$LINENO"; then :
6922  LIBINTL="$LIBINTL $LIBICONV"
6923                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
6924                 eval "$gt_func_gnugettext_libintl=yes"
6925
6926fi
6927rm -f core conftest.err conftest.$ac_objext \
6928    conftest$ac_exeext conftest.$ac_ext
6929            fi
6930            CPPFLAGS="$gt_save_CPPFLAGS"
6931            LIBS="$gt_save_LIBS"
6932fi
6933eval ac_res=\$$gt_func_gnugettext_libintl
6934	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6935$as_echo "$ac_res" >&6; }
6936        fi
6937
6938                                        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
6939           || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
6940                && test "$PACKAGE" != gettext-runtime \
6941                && test "$PACKAGE" != gettext-tools; }; then
6942          gt_use_preinstalled_gnugettext=yes
6943        else
6944                    LIBINTL=
6945          LTLIBINTL=
6946          INCINTL=
6947        fi
6948
6949
6950
6951    if test -n "$INTL_MACOSX_LIBS"; then
6952      if test "$gt_use_preinstalled_gnugettext" = "yes" \
6953         || test "$nls_cv_use_gnu_gettext" = "yes"; then
6954                LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
6955        LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
6956      fi
6957    fi
6958
6959    if test "$gt_use_preinstalled_gnugettext" = "yes" \
6960       || test "$nls_cv_use_gnu_gettext" = "yes"; then
6961
6962$as_echo "#define ENABLE_NLS 1" >>confdefs.h
6963
6964    else
6965      USE_NLS=no
6966    fi
6967  fi
6968
6969  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
6970$as_echo_n "checking whether to use NLS... " >&6; }
6971  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6972$as_echo "$USE_NLS" >&6; }
6973  if test "$USE_NLS" = "yes"; then
6974    { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
6975$as_echo_n "checking where the gettext function comes from... " >&6; }
6976    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6977      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6978        gt_source="external libintl"
6979      else
6980        gt_source="libc"
6981      fi
6982    else
6983      gt_source="included intl directory"
6984    fi
6985    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
6986$as_echo "$gt_source" >&6; }
6987  fi
6988
6989  if test "$USE_NLS" = "yes"; then
6990
6991    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6992      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6993        { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
6994$as_echo_n "checking how to link with libintl... " >&6; }
6995        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
6996$as_echo "$LIBINTL" >&6; }
6997
6998  for element in $INCINTL; do
6999    haveit=
7000    for x in $CPPFLAGS; do
7001
7002  acl_save_prefix="$prefix"
7003  prefix="$acl_final_prefix"
7004  acl_save_exec_prefix="$exec_prefix"
7005  exec_prefix="$acl_final_exec_prefix"
7006  eval x=\"$x\"
7007  exec_prefix="$acl_save_exec_prefix"
7008  prefix="$acl_save_prefix"
7009
7010      if test "X$x" = "X$element"; then
7011        haveit=yes
7012        break
7013      fi
7014    done
7015    if test -z "$haveit"; then
7016      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
7017    fi
7018  done
7019
7020      fi
7021
7022
7023$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
7024
7025
7026$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
7027
7028    fi
7029
7030        POSUB=po
7031  fi
7032
7033
7034
7035    INTLLIBS="$LIBINTL"
7036
7037
7038
7039
7040
7041
7042
7043GETTEXT_PACKAGE=xkeyboard-config
7044
7045
7046cat >>confdefs.h <<_ACEOF
7047#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
7048_ACEOF
7049
7050
7051
7052
7053
7054ac_config_files="$ac_config_files po/Makefile.in Makefile compat/Makefile geometry/Makefile geometry/digital_vndr/Makefile geometry/sgi_vndr/Makefile keycodes/Makefile keycodes/digital_vndr/Makefile keycodes/sgi_vndr/Makefile rules/Makefile rules/compat/Makefile symbols/Makefile symbols/digital_vndr/Makefile symbols/fujitsu_vndr/Makefile symbols/hp_vndr/Makefile symbols/jolla_vndr/Makefile symbols/macintosh_vndr/Makefile symbols/nec_vndr/Makefile symbols/nokia_vndr/Makefile symbols/sgi_vndr/Makefile symbols/sharp_vndr/Makefile symbols/sony_vndr/Makefile symbols/sun_vndr/Makefile symbols/xfree68_vndr/Makefile types/Makefile xkeyboard-config.pc docs/Makefile man/Makefile"
7055
7056cat >confcache <<\_ACEOF
7057# This file is a shell script that caches the results of configure
7058# tests run on this system so they can be shared between configure
7059# scripts and configure runs, see configure's option --config-cache.
7060# It is not useful on other systems.  If it contains results you don't
7061# want to keep, you may remove or edit it.
7062#
7063# config.status only pays attention to the cache file if you give it
7064# the --recheck option to rerun configure.
7065#
7066# `ac_cv_env_foo' variables (set or unset) will be overridden when
7067# loading this file, other *unset* `ac_cv_foo' will be assigned the
7068# following values.
7069
7070_ACEOF
7071
7072# The following way of writing the cache mishandles newlines in values,
7073# but we know of no workaround that is simple, portable, and efficient.
7074# So, we kill variables containing newlines.
7075# Ultrix sh set writes to stderr and can't be redirected directly,
7076# and sets the high bit in the cache file unless we assign to the vars.
7077(
7078  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7079    eval ac_val=\$$ac_var
7080    case $ac_val in #(
7081    *${as_nl}*)
7082      case $ac_var in #(
7083      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7084$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7085      esac
7086      case $ac_var in #(
7087      _ | IFS | as_nl) ;; #(
7088      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7089      *) { eval $ac_var=; unset $ac_var;} ;;
7090      esac ;;
7091    esac
7092  done
7093
7094  (set) 2>&1 |
7095    case $as_nl`(ac_space=' '; set) 2>&1` in #(
7096    *${as_nl}ac_space=\ *)
7097      # `set' does not quote correctly, so add quotes: double-quote
7098      # substitution turns \\\\ into \\, and sed turns \\ into \.
7099      sed -n \
7100	"s/'/'\\\\''/g;
7101	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7102      ;; #(
7103    *)
7104      # `set' quotes correctly as required by POSIX, so do not add quotes.
7105      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7106      ;;
7107    esac |
7108    sort
7109) |
7110  sed '
7111     /^ac_cv_env_/b end
7112     t clear
7113     :clear
7114     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7115     t end
7116     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7117     :end' >>confcache
7118if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7119  if test -w "$cache_file"; then
7120    if test "x$cache_file" != "x/dev/null"; then
7121      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7122$as_echo "$as_me: updating cache $cache_file" >&6;}
7123      if test ! -f "$cache_file" || test -h "$cache_file"; then
7124	cat confcache >"$cache_file"
7125      else
7126        case $cache_file in #(
7127        */* | ?:*)
7128	  mv -f confcache "$cache_file"$$ &&
7129	  mv -f "$cache_file"$$ "$cache_file" ;; #(
7130        *)
7131	  mv -f confcache "$cache_file" ;;
7132	esac
7133      fi
7134    fi
7135  else
7136    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7137$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7138  fi
7139fi
7140rm -f confcache
7141
7142test "x$prefix" = xNONE && prefix=$ac_default_prefix
7143# Let make expand exec_prefix.
7144test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7145
7146# Transform confdefs.h into DEFS.
7147# Protect against shell expansion while executing Makefile rules.
7148# Protect against Makefile macro expansion.
7149#
7150# If the first sed substitution is executed (which looks for macros that
7151# take arguments), then branch to the quote section.  Otherwise,
7152# look for a macro that doesn't take arguments.
7153ac_script='
7154:mline
7155/\\$/{
7156 N
7157 s,\\\n,,
7158 b mline
7159}
7160t clear
7161:clear
7162s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
7163t quote
7164s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
7165t quote
7166b any
7167:quote
7168s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
7169s/\[/\\&/g
7170s/\]/\\&/g
7171s/\$/$$/g
7172H
7173:any
7174${
7175	g
7176	s/^\n//
7177	s/\n/ /g
7178	p
7179}
7180'
7181DEFS=`sed -n "$ac_script" confdefs.h`
7182
7183
7184ac_libobjs=
7185ac_ltlibobjs=
7186U=
7187for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7188  # 1. Remove the extension, and $U if already installed.
7189  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7190  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7191  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
7192  #    will be set to the directory where LIBOBJS objects are built.
7193  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7194  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7195done
7196LIBOBJS=$ac_libobjs
7197
7198LTLIBOBJS=$ac_ltlibobjs
7199
7200
7201{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
7202$as_echo_n "checking that generated files are newer than configure... " >&6; }
7203   if test -n "$am_sleep_pid"; then
7204     # Hide warnings about reused PIDs.
7205     wait $am_sleep_pid 2>/dev/null
7206   fi
7207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
7208$as_echo "done" >&6; }
7209 if test -n "$EXEEXT"; then
7210  am__EXEEXT_TRUE=
7211  am__EXEEXT_FALSE='#'
7212else
7213  am__EXEEXT_TRUE='#'
7214  am__EXEEXT_FALSE=
7215fi
7216
7217if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
7218  as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
7219Usually this means the macro was only invoked conditionally." "$LINENO" 5
7220fi
7221if test -z "${CREATE_RULES_SYMLINK_TRUE}" && test -z "${CREATE_RULES_SYMLINK_FALSE}"; then
7222  as_fn_error $? "conditional \"CREATE_RULES_SYMLINK\" was never defined.
7223Usually this means the macro was only invoked conditionally." "$LINENO" 5
7224fi
7225if test -z "${USE_COMPAT_RULES_TRUE}" && test -z "${USE_COMPAT_RULES_FALSE}"; then
7226  as_fn_error $? "conditional \"USE_COMPAT_RULES\" was never defined.
7227Usually this means the macro was only invoked conditionally." "$LINENO" 5
7228fi
7229if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7230  as_fn_error $? "conditional \"AMDEP\" was never defined.
7231Usually this means the macro was only invoked conditionally." "$LINENO" 5
7232fi
7233if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7234  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
7235Usually this means the macro was only invoked conditionally." "$LINENO" 5
7236fi
7237
7238: "${CONFIG_STATUS=./config.status}"
7239ac_write_fail=0
7240ac_clean_files_save=$ac_clean_files
7241ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7242{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7243$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7244as_write_fail=0
7245cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7246#! $SHELL
7247# Generated by $as_me.
7248# Run this file to recreate the current configuration.
7249# Compiler output produced by configure, useful for debugging
7250# configure, is in config.log if it exists.
7251
7252debug=false
7253ac_cs_recheck=false
7254ac_cs_silent=false
7255
7256SHELL=\${CONFIG_SHELL-$SHELL}
7257export SHELL
7258_ASEOF
7259cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
7260## -------------------- ##
7261## M4sh Initialization. ##
7262## -------------------- ##
7263
7264# Be more Bourne compatible
7265DUALCASE=1; export DUALCASE # for MKS sh
7266if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7267  emulate sh
7268  NULLCMD=:
7269  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7270  # is contrary to our usage.  Disable this feature.
7271  alias -g '${1+"$@"}'='"$@"'
7272  setopt NO_GLOB_SUBST
7273else
7274  case `(set -o) 2>/dev/null` in #(
7275  *posix*) :
7276    set -o posix ;; #(
7277  *) :
7278     ;;
7279esac
7280fi
7281
7282
7283as_nl='
7284'
7285export as_nl
7286# Printing a long string crashes Solaris 7 /usr/bin/printf.
7287as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7288as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7289as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7290# Prefer a ksh shell builtin over an external printf program on Solaris,
7291# but without wasting forks for bash or zsh.
7292if test -z "$BASH_VERSION$ZSH_VERSION" \
7293    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7294  as_echo='print -r --'
7295  as_echo_n='print -rn --'
7296elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7297  as_echo='printf %s\n'
7298  as_echo_n='printf %s'
7299else
7300  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7301    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
7302    as_echo_n='/usr/ucb/echo -n'
7303  else
7304    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7305    as_echo_n_body='eval
7306      arg=$1;
7307      case $arg in #(
7308      *"$as_nl"*)
7309	expr "X$arg" : "X\\(.*\\)$as_nl";
7310	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7311      esac;
7312      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7313    '
7314    export as_echo_n_body
7315    as_echo_n='sh -c $as_echo_n_body as_echo'
7316  fi
7317  export as_echo_body
7318  as_echo='sh -c $as_echo_body as_echo'
7319fi
7320
7321# The user is always right.
7322if test "${PATH_SEPARATOR+set}" != set; then
7323  PATH_SEPARATOR=:
7324  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7325    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7326      PATH_SEPARATOR=';'
7327  }
7328fi
7329
7330
7331# IFS
7332# We need space, tab and new line, in precisely that order.  Quoting is
7333# there to prevent editors from complaining about space-tab.
7334# (If _AS_PATH_WALK were called with IFS unset, it would disable word
7335# splitting by setting IFS to empty value.)
7336IFS=" ""	$as_nl"
7337
7338# Find who we are.  Look in the path if we contain no directory separator.
7339as_myself=
7340case $0 in #((
7341  *[\\/]* ) as_myself=$0 ;;
7342  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7343for as_dir in $PATH
7344do
7345  IFS=$as_save_IFS
7346  test -z "$as_dir" && as_dir=.
7347    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7348  done
7349IFS=$as_save_IFS
7350
7351     ;;
7352esac
7353# We did not find ourselves, most probably we were run as `sh COMMAND'
7354# in which case we are not to be found in the path.
7355if test "x$as_myself" = x; then
7356  as_myself=$0
7357fi
7358if test ! -f "$as_myself"; then
7359  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7360  exit 1
7361fi
7362
7363# Unset variables that we do not need and which cause bugs (e.g. in
7364# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
7365# suppresses any "Segmentation fault" message there.  '((' could
7366# trigger a bug in pdksh 5.2.14.
7367for as_var in BASH_ENV ENV MAIL MAILPATH
7368do eval test x\${$as_var+set} = xset \
7369  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7370done
7371PS1='$ '
7372PS2='> '
7373PS4='+ '
7374
7375# NLS nuisances.
7376LC_ALL=C
7377export LC_ALL
7378LANGUAGE=C
7379export LANGUAGE
7380
7381# CDPATH.
7382(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7383
7384
7385# as_fn_error STATUS ERROR [LINENO LOG_FD]
7386# ----------------------------------------
7387# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7388# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7389# script with STATUS, using 1 if that was 0.
7390as_fn_error ()
7391{
7392  as_status=$1; test $as_status -eq 0 && as_status=1
7393  if test "$4"; then
7394    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7395    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7396  fi
7397  $as_echo "$as_me: error: $2" >&2
7398  as_fn_exit $as_status
7399} # as_fn_error
7400
7401
7402# as_fn_set_status STATUS
7403# -----------------------
7404# Set $? to STATUS, without forking.
7405as_fn_set_status ()
7406{
7407  return $1
7408} # as_fn_set_status
7409
7410# as_fn_exit STATUS
7411# -----------------
7412# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7413as_fn_exit ()
7414{
7415  set +e
7416  as_fn_set_status $1
7417  exit $1
7418} # as_fn_exit
7419
7420# as_fn_unset VAR
7421# ---------------
7422# Portably unset VAR.
7423as_fn_unset ()
7424{
7425  { eval $1=; unset $1;}
7426}
7427as_unset=as_fn_unset
7428# as_fn_append VAR VALUE
7429# ----------------------
7430# Append the text in VALUE to the end of the definition contained in VAR. Take
7431# advantage of any shell optimizations that allow amortized linear growth over
7432# repeated appends, instead of the typical quadratic growth present in naive
7433# implementations.
7434if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
7435  eval 'as_fn_append ()
7436  {
7437    eval $1+=\$2
7438  }'
7439else
7440  as_fn_append ()
7441  {
7442    eval $1=\$$1\$2
7443  }
7444fi # as_fn_append
7445
7446# as_fn_arith ARG...
7447# ------------------
7448# Perform arithmetic evaluation on the ARGs, and store the result in the
7449# global $as_val. Take advantage of shells that can avoid forks. The arguments
7450# must be portable across $(()) and expr.
7451if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
7452  eval 'as_fn_arith ()
7453  {
7454    as_val=$(( $* ))
7455  }'
7456else
7457  as_fn_arith ()
7458  {
7459    as_val=`expr "$@" || test $? -eq 1`
7460  }
7461fi # as_fn_arith
7462
7463
7464if expr a : '\(a\)' >/dev/null 2>&1 &&
7465   test "X`expr 00001 : '.*\(...\)'`" = X001; then
7466  as_expr=expr
7467else
7468  as_expr=false
7469fi
7470
7471if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7472  as_basename=basename
7473else
7474  as_basename=false
7475fi
7476
7477if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7478  as_dirname=dirname
7479else
7480  as_dirname=false
7481fi
7482
7483as_me=`$as_basename -- "$0" ||
7484$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7485	 X"$0" : 'X\(//\)$' \| \
7486	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7487$as_echo X/"$0" |
7488    sed '/^.*\/\([^/][^/]*\)\/*$/{
7489	    s//\1/
7490	    q
7491	  }
7492	  /^X\/\(\/\/\)$/{
7493	    s//\1/
7494	    q
7495	  }
7496	  /^X\/\(\/\).*/{
7497	    s//\1/
7498	    q
7499	  }
7500	  s/.*/./; q'`
7501
7502# Avoid depending upon Character Ranges.
7503as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7504as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7505as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7506as_cr_digits='0123456789'
7507as_cr_alnum=$as_cr_Letters$as_cr_digits
7508
7509ECHO_C= ECHO_N= ECHO_T=
7510case `echo -n x` in #(((((
7511-n*)
7512  case `echo 'xy\c'` in
7513  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
7514  xy)  ECHO_C='\c';;
7515  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
7516       ECHO_T='	';;
7517  esac;;
7518*)
7519  ECHO_N='-n';;
7520esac
7521
7522rm -f conf$$ conf$$.exe conf$$.file
7523if test -d conf$$.dir; then
7524  rm -f conf$$.dir/conf$$.file
7525else
7526  rm -f conf$$.dir
7527  mkdir conf$$.dir 2>/dev/null
7528fi
7529if (echo >conf$$.file) 2>/dev/null; then
7530  if ln -s conf$$.file conf$$ 2>/dev/null; then
7531    as_ln_s='ln -s'
7532    # ... but there are two gotchas:
7533    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7534    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7535    # In both cases, we have to default to `cp -pR'.
7536    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7537      as_ln_s='cp -pR'
7538  elif ln conf$$.file conf$$ 2>/dev/null; then
7539    as_ln_s=ln
7540  else
7541    as_ln_s='cp -pR'
7542  fi
7543else
7544  as_ln_s='cp -pR'
7545fi
7546rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7547rmdir conf$$.dir 2>/dev/null
7548
7549
7550# as_fn_mkdir_p
7551# -------------
7552# Create "$as_dir" as a directory, including parents if necessary.
7553as_fn_mkdir_p ()
7554{
7555
7556  case $as_dir in #(
7557  -*) as_dir=./$as_dir;;
7558  esac
7559  test -d "$as_dir" || eval $as_mkdir_p || {
7560    as_dirs=
7561    while :; do
7562      case $as_dir in #(
7563      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7564      *) as_qdir=$as_dir;;
7565      esac
7566      as_dirs="'$as_qdir' $as_dirs"
7567      as_dir=`$as_dirname -- "$as_dir" ||
7568$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7569	 X"$as_dir" : 'X\(//\)[^/]' \| \
7570	 X"$as_dir" : 'X\(//\)$' \| \
7571	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7572$as_echo X"$as_dir" |
7573    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7574	    s//\1/
7575	    q
7576	  }
7577	  /^X\(\/\/\)[^/].*/{
7578	    s//\1/
7579	    q
7580	  }
7581	  /^X\(\/\/\)$/{
7582	    s//\1/
7583	    q
7584	  }
7585	  /^X\(\/\).*/{
7586	    s//\1/
7587	    q
7588	  }
7589	  s/.*/./; q'`
7590      test -d "$as_dir" && break
7591    done
7592    test -z "$as_dirs" || eval "mkdir $as_dirs"
7593  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7594
7595
7596} # as_fn_mkdir_p
7597if mkdir -p . 2>/dev/null; then
7598  as_mkdir_p='mkdir -p "$as_dir"'
7599else
7600  test -d ./-p && rmdir ./-p
7601  as_mkdir_p=false
7602fi
7603
7604
7605# as_fn_executable_p FILE
7606# -----------------------
7607# Test if FILE is an executable regular file.
7608as_fn_executable_p ()
7609{
7610  test -f "$1" && test -x "$1"
7611} # as_fn_executable_p
7612as_test_x='test -x'
7613as_executable_p=as_fn_executable_p
7614
7615# Sed expression to map a string onto a valid CPP name.
7616as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7617
7618# Sed expression to map a string onto a valid variable name.
7619as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7620
7621
7622exec 6>&1
7623## ----------------------------------- ##
7624## Main body of $CONFIG_STATUS script. ##
7625## ----------------------------------- ##
7626_ASEOF
7627test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7628
7629cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7630# Save the log message, to keep $0 and so on meaningful, and to
7631# report actual input values of CONFIG_FILES etc. instead of their
7632# values after options handling.
7633ac_log="
7634This file was extended by xkeyboard-config $as_me 2.30, which was
7635generated by GNU Autoconf 2.69.  Invocation command line was
7636
7637  CONFIG_FILES    = $CONFIG_FILES
7638  CONFIG_HEADERS  = $CONFIG_HEADERS
7639  CONFIG_LINKS    = $CONFIG_LINKS
7640  CONFIG_COMMANDS = $CONFIG_COMMANDS
7641  $ $0 $@
7642
7643on `(hostname || uname -n) 2>/dev/null | sed 1q`
7644"
7645
7646_ACEOF
7647
7648case $ac_config_files in *"
7649"*) set x $ac_config_files; shift; ac_config_files=$*;;
7650esac
7651
7652
7653
7654cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7655# Files that config.status was made for.
7656config_files="$ac_config_files"
7657config_commands="$ac_config_commands"
7658
7659_ACEOF
7660
7661cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7662ac_cs_usage="\
7663\`$as_me' instantiates files and other configuration actions
7664from templates according to the current configuration.  Unless the files
7665and actions are specified as TAGs, all are instantiated by default.
7666
7667Usage: $0 [OPTION]... [TAG]...
7668
7669  -h, --help       print this help, then exit
7670  -V, --version    print version number and configuration settings, then exit
7671      --config     print configuration, then exit
7672  -q, --quiet, --silent
7673                   do not print progress messages
7674  -d, --debug      don't remove temporary files
7675      --recheck    update $as_me by reconfiguring in the same conditions
7676      --file=FILE[:TEMPLATE]
7677                   instantiate the configuration file FILE
7678
7679Configuration files:
7680$config_files
7681
7682Configuration commands:
7683$config_commands
7684
7685Report bugs to the package provider."
7686
7687_ACEOF
7688cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7689ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7690ac_cs_version="\\
7691xkeyboard-config config.status 2.30
7692configured by $0, generated by GNU Autoconf 2.69,
7693  with options \\"\$ac_cs_config\\"
7694
7695Copyright (C) 2012 Free Software Foundation, Inc.
7696This config.status script is free software; the Free Software Foundation
7697gives unlimited permission to copy, distribute and modify it."
7698
7699ac_pwd='$ac_pwd'
7700srcdir='$srcdir'
7701INSTALL='$INSTALL'
7702MKDIR_P='$MKDIR_P'
7703AWK='$AWK'
7704test -n "\$AWK" || AWK=awk
7705_ACEOF
7706
7707cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7708# The default lists apply if the user does not specify any file.
7709ac_need_defaults=:
7710while test $# != 0
7711do
7712  case $1 in
7713  --*=?*)
7714    ac_option=`expr "X$1" : 'X\([^=]*\)='`
7715    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7716    ac_shift=:
7717    ;;
7718  --*=)
7719    ac_option=`expr "X$1" : 'X\([^=]*\)='`
7720    ac_optarg=
7721    ac_shift=:
7722    ;;
7723  *)
7724    ac_option=$1
7725    ac_optarg=$2
7726    ac_shift=shift
7727    ;;
7728  esac
7729
7730  case $ac_option in
7731  # Handling of the options.
7732  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7733    ac_cs_recheck=: ;;
7734  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7735    $as_echo "$ac_cs_version"; exit ;;
7736  --config | --confi | --conf | --con | --co | --c )
7737    $as_echo "$ac_cs_config"; exit ;;
7738  --debug | --debu | --deb | --de | --d | -d )
7739    debug=: ;;
7740  --file | --fil | --fi | --f )
7741    $ac_shift
7742    case $ac_optarg in
7743    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7744    '') as_fn_error $? "missing file argument" ;;
7745    esac
7746    as_fn_append CONFIG_FILES " '$ac_optarg'"
7747    ac_need_defaults=false;;
7748  --he | --h |  --help | --hel | -h )
7749    $as_echo "$ac_cs_usage"; exit ;;
7750  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7751  | -silent | --silent | --silen | --sile | --sil | --si | --s)
7752    ac_cs_silent=: ;;
7753
7754  # This is an error.
7755  -*) as_fn_error $? "unrecognized option: \`$1'
7756Try \`$0 --help' for more information." ;;
7757
7758  *) as_fn_append ac_config_targets " $1"
7759     ac_need_defaults=false ;;
7760
7761  esac
7762  shift
7763done
7764
7765ac_configure_extra_args=
7766
7767if $ac_cs_silent; then
7768  exec 6>/dev/null
7769  ac_configure_extra_args="$ac_configure_extra_args --silent"
7770fi
7771
7772_ACEOF
7773cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7774if \$ac_cs_recheck; then
7775  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7776  shift
7777  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7778  CONFIG_SHELL='$SHELL'
7779  export CONFIG_SHELL
7780  exec "\$@"
7781fi
7782
7783_ACEOF
7784cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7785exec 5>>config.log
7786{
7787  echo
7788  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7789## Running $as_me. ##
7790_ASBOX
7791  $as_echo "$ac_log"
7792} >&5
7793
7794_ACEOF
7795cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7796#
7797# INIT-COMMANDS
7798#
7799# Capture the value of obsolete ALL_LINGUAS because we need it to compute
7800    # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
7801    # from automake < 1.5.
7802    eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
7803    # Capture the value of LINGUAS because we need it to compute CATALOGS.
7804    LINGUAS="${LINGUAS-%UNSET%}"
7805
7806AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
7807
7808_ACEOF
7809
7810cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7811
7812# Handling of arguments.
7813for ac_config_target in $ac_config_targets
7814do
7815  case $ac_config_target in
7816    "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
7817    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7818    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
7819    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7820    "compat/Makefile") CONFIG_FILES="$CONFIG_FILES compat/Makefile" ;;
7821    "geometry/Makefile") CONFIG_FILES="$CONFIG_FILES geometry/Makefile" ;;
7822    "geometry/digital_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES geometry/digital_vndr/Makefile" ;;
7823    "geometry/sgi_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES geometry/sgi_vndr/Makefile" ;;
7824    "keycodes/Makefile") CONFIG_FILES="$CONFIG_FILES keycodes/Makefile" ;;
7825    "keycodes/digital_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES keycodes/digital_vndr/Makefile" ;;
7826    "keycodes/sgi_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES keycodes/sgi_vndr/Makefile" ;;
7827    "rules/Makefile") CONFIG_FILES="$CONFIG_FILES rules/Makefile" ;;
7828    "rules/compat/Makefile") CONFIG_FILES="$CONFIG_FILES rules/compat/Makefile" ;;
7829    "symbols/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/Makefile" ;;
7830    "symbols/digital_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/digital_vndr/Makefile" ;;
7831    "symbols/fujitsu_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/fujitsu_vndr/Makefile" ;;
7832    "symbols/hp_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/hp_vndr/Makefile" ;;
7833    "symbols/jolla_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/jolla_vndr/Makefile" ;;
7834    "symbols/macintosh_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/macintosh_vndr/Makefile" ;;
7835    "symbols/nec_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/nec_vndr/Makefile" ;;
7836    "symbols/nokia_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/nokia_vndr/Makefile" ;;
7837    "symbols/sgi_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/sgi_vndr/Makefile" ;;
7838    "symbols/sharp_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/sharp_vndr/Makefile" ;;
7839    "symbols/sony_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/sony_vndr/Makefile" ;;
7840    "symbols/sun_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/sun_vndr/Makefile" ;;
7841    "symbols/xfree68_vndr/Makefile") CONFIG_FILES="$CONFIG_FILES symbols/xfree68_vndr/Makefile" ;;
7842    "types/Makefile") CONFIG_FILES="$CONFIG_FILES types/Makefile" ;;
7843    "xkeyboard-config.pc") CONFIG_FILES="$CONFIG_FILES xkeyboard-config.pc" ;;
7844    "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
7845    "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
7846
7847  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7848  esac
7849done
7850
7851
7852# If the user did not use the arguments to specify the items to instantiate,
7853# then the envvar interface is used.  Set only those that are not.
7854# We use the long form for the default assignment because of an extremely
7855# bizarre bug on SunOS 4.1.3.
7856if $ac_need_defaults; then
7857  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7858  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7859fi
7860
7861# Have a temporary directory for convenience.  Make it in the build tree
7862# simply because there is no reason against having it here, and in addition,
7863# creating and moving files from /tmp can sometimes cause problems.
7864# Hook for its removal unless debugging.
7865# Note that there is a small window in which the directory will not be cleaned:
7866# after its creation but before its name has been assigned to `$tmp'.
7867$debug ||
7868{
7869  tmp= ac_tmp=
7870  trap 'exit_status=$?
7871  : "${ac_tmp:=$tmp}"
7872  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7873' 0
7874  trap 'as_fn_exit 1' 1 2 13 15
7875}
7876# Create a (secure) tmp directory for tmp files.
7877
7878{
7879  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7880  test -d "$tmp"
7881}  ||
7882{
7883  tmp=./conf$$-$RANDOM
7884  (umask 077 && mkdir "$tmp")
7885} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7886ac_tmp=$tmp
7887
7888# Set up the scripts for CONFIG_FILES section.
7889# No need to generate them if there are no CONFIG_FILES.
7890# This happens for instance with `./config.status config.h'.
7891if test -n "$CONFIG_FILES"; then
7892
7893
7894ac_cr=`echo X | tr X '\015'`
7895# On cygwin, bash can eat \r inside `` if the user requested igncr.
7896# But we know of no other shell where ac_cr would be empty at this
7897# point, so we can use a bashism as a fallback.
7898if test "x$ac_cr" = x; then
7899  eval ac_cr=\$\'\\r\'
7900fi
7901ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7902if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7903  ac_cs_awk_cr='\\r'
7904else
7905  ac_cs_awk_cr=$ac_cr
7906fi
7907
7908echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7909_ACEOF
7910
7911
7912{
7913  echo "cat >conf$$subs.awk <<_ACEOF" &&
7914  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7915  echo "_ACEOF"
7916} >conf$$subs.sh ||
7917  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7918ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7919ac_delim='%!_!# '
7920for ac_last_try in false false false false false :; do
7921  . ./conf$$subs.sh ||
7922    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7923
7924  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7925  if test $ac_delim_n = $ac_delim_num; then
7926    break
7927  elif $ac_last_try; then
7928    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7929  else
7930    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7931  fi
7932done
7933rm -f conf$$subs.sh
7934
7935cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7936cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
7937_ACEOF
7938sed -n '
7939h
7940s/^/S["/; s/!.*/"]=/
7941p
7942g
7943s/^[^!]*!//
7944:repl
7945t repl
7946s/'"$ac_delim"'$//
7947t delim
7948:nl
7949h
7950s/\(.\{148\}\)..*/\1/
7951t more1
7952s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7953p
7954n
7955b repl
7956:more1
7957s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7958p
7959g
7960s/.\{148\}//
7961t nl
7962:delim
7963h
7964s/\(.\{148\}\)..*/\1/
7965t more2
7966s/["\\]/\\&/g; s/^/"/; s/$/"/
7967p
7968b
7969:more2
7970s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7971p
7972g
7973s/.\{148\}//
7974t delim
7975' <conf$$subs.awk | sed '
7976/^[^""]/{
7977  N
7978  s/\n//
7979}
7980' >>$CONFIG_STATUS || ac_write_fail=1
7981rm -f conf$$subs.awk
7982cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7983_ACAWK
7984cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7985  for (key in S) S_is_set[key] = 1
7986  FS = ""
7987
7988}
7989{
7990  line = $ 0
7991  nfields = split(line, field, "@")
7992  substed = 0
7993  len = length(field[1])
7994  for (i = 2; i < nfields; i++) {
7995    key = field[i]
7996    keylen = length(key)
7997    if (S_is_set[key]) {
7998      value = S[key]
7999      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8000      len += length(value) + length(field[++i])
8001      substed = 1
8002    } else
8003      len += 1 + keylen
8004  }
8005
8006  print line
8007}
8008
8009_ACAWK
8010_ACEOF
8011cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8012if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8013  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8014else
8015  cat
8016fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
8017  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
8018_ACEOF
8019
8020# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8021# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
8022# trailing colons and then remove the whole line if VPATH becomes empty
8023# (actually we leave an empty line to preserve line numbers).
8024if test "x$srcdir" = x.; then
8025  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
8026h
8027s///
8028s/^/:/
8029s/[	 ]*$/:/
8030s/:\$(srcdir):/:/g
8031s/:\${srcdir}:/:/g
8032s/:@srcdir@:/:/g
8033s/^:*//
8034s/:*$//
8035x
8036s/\(=[	 ]*\).*/\1/
8037G
8038s/\n//
8039s/^[^=]*=[	 ]*$//
8040}'
8041fi
8042
8043cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8044fi # test -n "$CONFIG_FILES"
8045
8046
8047eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
8048shift
8049for ac_tag
8050do
8051  case $ac_tag in
8052  :[FHLC]) ac_mode=$ac_tag; continue;;
8053  esac
8054  case $ac_mode$ac_tag in
8055  :[FHL]*:*);;
8056  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
8057  :[FH]-) ac_tag=-:-;;
8058  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8059  esac
8060  ac_save_IFS=$IFS
8061  IFS=:
8062  set x $ac_tag
8063  IFS=$ac_save_IFS
8064  shift
8065  ac_file=$1
8066  shift
8067
8068  case $ac_mode in
8069  :L) ac_source=$1;;
8070  :[FH])
8071    ac_file_inputs=
8072    for ac_f
8073    do
8074      case $ac_f in
8075      -) ac_f="$ac_tmp/stdin";;
8076      *) # Look for the file first in the build tree, then in the source tree
8077	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
8078	 # because $ac_f cannot contain `:'.
8079	 test -f "$ac_f" ||
8080	   case $ac_f in
8081	   [\\/$]*) false;;
8082	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8083	   esac ||
8084	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8085      esac
8086      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8087      as_fn_append ac_file_inputs " '$ac_f'"
8088    done
8089
8090    # Let's still pretend it is `configure' which instantiates (i.e., don't
8091    # use $as_me), people would be surprised to read:
8092    #    /* config.h.  Generated by config.status.  */
8093    configure_input='Generated from '`
8094	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8095	`' by configure.'
8096    if test x"$ac_file" != x-; then
8097      configure_input="$ac_file.  $configure_input"
8098      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8099$as_echo "$as_me: creating $ac_file" >&6;}
8100    fi
8101    # Neutralize special characters interpreted by sed in replacement strings.
8102    case $configure_input in #(
8103    *\&* | *\|* | *\\* )
8104       ac_sed_conf_input=`$as_echo "$configure_input" |
8105       sed 's/[\\\\&|]/\\\\&/g'`;; #(
8106    *) ac_sed_conf_input=$configure_input;;
8107    esac
8108
8109    case $ac_tag in
8110    *:-:* | *:-) cat >"$ac_tmp/stdin" \
8111      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
8112    esac
8113    ;;
8114  esac
8115
8116  ac_dir=`$as_dirname -- "$ac_file" ||
8117$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8118	 X"$ac_file" : 'X\(//\)[^/]' \| \
8119	 X"$ac_file" : 'X\(//\)$' \| \
8120	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8121$as_echo X"$ac_file" |
8122    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8123	    s//\1/
8124	    q
8125	  }
8126	  /^X\(\/\/\)[^/].*/{
8127	    s//\1/
8128	    q
8129	  }
8130	  /^X\(\/\/\)$/{
8131	    s//\1/
8132	    q
8133	  }
8134	  /^X\(\/\).*/{
8135	    s//\1/
8136	    q
8137	  }
8138	  s/.*/./; q'`
8139  as_dir="$ac_dir"; as_fn_mkdir_p
8140  ac_builddir=.
8141
8142case "$ac_dir" in
8143.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8144*)
8145  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8146  # A ".." for each directory in $ac_dir_suffix.
8147  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8148  case $ac_top_builddir_sub in
8149  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8150  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8151  esac ;;
8152esac
8153ac_abs_top_builddir=$ac_pwd
8154ac_abs_builddir=$ac_pwd$ac_dir_suffix
8155# for backward compatibility:
8156ac_top_builddir=$ac_top_build_prefix
8157
8158case $srcdir in
8159  .)  # We are building in place.
8160    ac_srcdir=.
8161    ac_top_srcdir=$ac_top_builddir_sub
8162    ac_abs_top_srcdir=$ac_pwd ;;
8163  [\\/]* | ?:[\\/]* )  # Absolute name.
8164    ac_srcdir=$srcdir$ac_dir_suffix;
8165    ac_top_srcdir=$srcdir
8166    ac_abs_top_srcdir=$srcdir ;;
8167  *) # Relative name.
8168    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8169    ac_top_srcdir=$ac_top_build_prefix$srcdir
8170    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8171esac
8172ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8173
8174
8175  case $ac_mode in
8176  :F)
8177  #
8178  # CONFIG_FILE
8179  #
8180
8181  case $INSTALL in
8182  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8183  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8184  esac
8185  ac_MKDIR_P=$MKDIR_P
8186  case $MKDIR_P in
8187  [\\/$]* | ?:[\\/]* ) ;;
8188  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
8189  esac
8190_ACEOF
8191
8192cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8193# If the template does not know about datarootdir, expand it.
8194# FIXME: This hack should be removed a few years after 2.60.
8195ac_datarootdir_hack=; ac_datarootdir_seen=
8196ac_sed_dataroot='
8197/datarootdir/ {
8198  p
8199  q
8200}
8201/@datadir@/p
8202/@docdir@/p
8203/@infodir@/p
8204/@localedir@/p
8205/@mandir@/p'
8206case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8207*datarootdir*) ac_datarootdir_seen=yes;;
8208*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8209  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8210$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8211_ACEOF
8212cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8213  ac_datarootdir_hack='
8214  s&@datadir@&$datadir&g
8215  s&@docdir@&$docdir&g
8216  s&@infodir@&$infodir&g
8217  s&@localedir@&$localedir&g
8218  s&@mandir@&$mandir&g
8219  s&\\\${datarootdir}&$datarootdir&g' ;;
8220esac
8221_ACEOF
8222
8223# Neutralize VPATH when `$srcdir' = `.'.
8224# Shell code in configure.ac might set extrasub.
8225# FIXME: do we really want to maintain this feature?
8226cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8227ac_sed_extra="$ac_vpsub
8228$extrasub
8229_ACEOF
8230cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8231:t
8232/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8233s|@configure_input@|$ac_sed_conf_input|;t t
8234s&@top_builddir@&$ac_top_builddir_sub&;t t
8235s&@top_build_prefix@&$ac_top_build_prefix&;t t
8236s&@srcdir@&$ac_srcdir&;t t
8237s&@abs_srcdir@&$ac_abs_srcdir&;t t
8238s&@top_srcdir@&$ac_top_srcdir&;t t
8239s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8240s&@builddir@&$ac_builddir&;t t
8241s&@abs_builddir@&$ac_abs_builddir&;t t
8242s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8243s&@INSTALL@&$ac_INSTALL&;t t
8244s&@MKDIR_P@&$ac_MKDIR_P&;t t
8245$ac_datarootdir_hack
8246"
8247eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
8248  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8249
8250test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8251  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
8252  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
8253      "$ac_tmp/out"`; test -z "$ac_out"; } &&
8254  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8255which seems to be undefined.  Please make sure it is defined" >&5
8256$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8257which seems to be undefined.  Please make sure it is defined" >&2;}
8258
8259  rm -f "$ac_tmp/stdin"
8260  case $ac_file in
8261  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8262  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8263  esac \
8264  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8265 ;;
8266
8267
8268  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8269$as_echo "$as_me: executing $ac_file commands" >&6;}
8270 ;;
8271  esac
8272
8273
8274  case $ac_file$ac_mode in
8275    "po-directories":C)
8276    for ac_file in $CONFIG_FILES; do
8277      # Support "outfile[:infile[:infile...]]"
8278      case "$ac_file" in
8279        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
8280      esac
8281      # PO directories have a Makefile.in generated from Makefile.in.in.
8282      case "$ac_file" in */Makefile.in)
8283        # Adjust a relative srcdir.
8284        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
8285        ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
8286        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
8287        # In autoconf-2.13 it is called $ac_given_srcdir.
8288        # In autoconf-2.50 it is called $srcdir.
8289        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
8290        case "$ac_given_srcdir" in
8291          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
8292          /*) top_srcdir="$ac_given_srcdir" ;;
8293          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
8294        esac
8295        # Treat a directory as a PO directory if and only if it has a
8296        # POTFILES.in file. This allows packages to have multiple PO
8297        # directories under different names or in different locations.
8298        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
8299          rm -f "$ac_dir/POTFILES"
8300          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
8301          gt_tab=`printf '\t'`
8302          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
8303          POMAKEFILEDEPS="POTFILES.in"
8304          # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
8305          # on $ac_dir but don't depend on user-specified configuration
8306          # parameters.
8307          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
8308            # The LINGUAS file contains the set of available languages.
8309            if test -n "$OBSOLETE_ALL_LINGUAS"; then
8310              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
8311            fi
8312            ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
8313            # Hide the ALL_LINGUAS assignment from automake < 1.5.
8314            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
8315            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
8316          else
8317            # The set of available languages was given in configure.in.
8318            # Hide the ALL_LINGUAS assignment from automake < 1.5.
8319            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
8320          fi
8321          # Compute POFILES
8322          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
8323          # Compute UPDATEPOFILES
8324          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
8325          # Compute DUMMYPOFILES
8326          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
8327          # Compute GMOFILES
8328          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
8329          case "$ac_given_srcdir" in
8330            .) srcdirpre= ;;
8331            *) srcdirpre='$(srcdir)/' ;;
8332          esac
8333          POFILES=
8334          UPDATEPOFILES=
8335          DUMMYPOFILES=
8336          GMOFILES=
8337          for lang in $ALL_LINGUAS; do
8338            POFILES="$POFILES $srcdirpre$lang.po"
8339            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
8340            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
8341            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
8342          done
8343          # CATALOGS depends on both $ac_dir and the user's LINGUAS
8344          # environment variable.
8345          INST_LINGUAS=
8346          if test -n "$ALL_LINGUAS"; then
8347            for presentlang in $ALL_LINGUAS; do
8348              useit=no
8349              if test "%UNSET%" != "$LINGUAS"; then
8350                desiredlanguages="$LINGUAS"
8351              else
8352                desiredlanguages="$ALL_LINGUAS"
8353              fi
8354              for desiredlang in $desiredlanguages; do
8355                # Use the presentlang catalog if desiredlang is
8356                #   a. equal to presentlang, or
8357                #   b. a variant of presentlang (because in this case,
8358                #      presentlang can be used as a fallback for messages
8359                #      which are not translated in the desiredlang catalog).
8360                case "$desiredlang" in
8361                  "$presentlang"*) useit=yes;;
8362                esac
8363              done
8364              if test $useit = yes; then
8365                INST_LINGUAS="$INST_LINGUAS $presentlang"
8366              fi
8367            done
8368          fi
8369          CATALOGS=
8370          if test -n "$INST_LINGUAS"; then
8371            for lang in $INST_LINGUAS; do
8372              CATALOGS="$CATALOGS $lang.gmo"
8373            done
8374          fi
8375          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
8376          sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
8377          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
8378            if test -f "$f"; then
8379              case "$f" in
8380                *.orig | *.bak | *~) ;;
8381                *) cat "$f" >> "$ac_dir/Makefile" ;;
8382              esac
8383            fi
8384          done
8385        fi
8386        ;;
8387      esac
8388    done ;;
8389    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
8390  # Older Autoconf quotes --file arguments for eval, but not when files
8391  # are listed without --file.  Let's play safe and only enable the eval
8392  # if we detect the quoting.
8393  # TODO: see whether this extra hack can be removed once we start
8394  # requiring Autoconf 2.70 or later.
8395  case $CONFIG_FILES in #(
8396  *\'*) :
8397    eval set x "$CONFIG_FILES" ;; #(
8398  *) :
8399    set x $CONFIG_FILES ;; #(
8400  *) :
8401     ;;
8402esac
8403  shift
8404  # Used to flag and report bootstrapping failures.
8405  am_rc=0
8406  for am_mf
8407  do
8408    # Strip MF so we end up with the name of the file.
8409    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
8410    # Check whether this is an Automake generated Makefile which includes
8411    # dependency-tracking related rules and includes.
8412    # Grep'ing the whole file directly is not great: AIX grep has a line
8413    # limit of 2048, but all sed's we know have understand at least 4000.
8414    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
8415      || continue
8416    am_dirpart=`$as_dirname -- "$am_mf" ||
8417$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8418	 X"$am_mf" : 'X\(//\)[^/]' \| \
8419	 X"$am_mf" : 'X\(//\)$' \| \
8420	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
8421$as_echo X"$am_mf" |
8422    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8423	    s//\1/
8424	    q
8425	  }
8426	  /^X\(\/\/\)[^/].*/{
8427	    s//\1/
8428	    q
8429	  }
8430	  /^X\(\/\/\)$/{
8431	    s//\1/
8432	    q
8433	  }
8434	  /^X\(\/\).*/{
8435	    s//\1/
8436	    q
8437	  }
8438	  s/.*/./; q'`
8439    am_filepart=`$as_basename -- "$am_mf" ||
8440$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
8441	 X"$am_mf" : 'X\(//\)$' \| \
8442	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
8443$as_echo X/"$am_mf" |
8444    sed '/^.*\/\([^/][^/]*\)\/*$/{
8445	    s//\1/
8446	    q
8447	  }
8448	  /^X\/\(\/\/\)$/{
8449	    s//\1/
8450	    q
8451	  }
8452	  /^X\/\(\/\).*/{
8453	    s//\1/
8454	    q
8455	  }
8456	  s/.*/./; q'`
8457    { echo "$as_me:$LINENO: cd "$am_dirpart" \
8458      && sed -e '/# am--include-marker/d' "$am_filepart" \
8459        | $MAKE -f - am--depfiles" >&5
8460   (cd "$am_dirpart" \
8461      && sed -e '/# am--include-marker/d' "$am_filepart" \
8462        | $MAKE -f - am--depfiles) >&5 2>&5
8463   ac_status=$?
8464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8465   (exit $ac_status); } || am_rc=$?
8466  done
8467  if test $am_rc -ne 0; then
8468    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8469$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8470as_fn_error $? "Something went wrong bootstrapping makefile fragments
8471    for automatic dependency tracking.  Try re-running configure with the
8472    '--disable-dependency-tracking' option to at least be able to build
8473    the package (albeit without support for automatic dependency tracking).
8474See \`config.log' for more details" "$LINENO" 5; }
8475  fi
8476  { am_dirpart=; unset am_dirpart;}
8477  { am_filepart=; unset am_filepart;}
8478  { am_mf=; unset am_mf;}
8479  { am_rc=; unset am_rc;}
8480  rm -f conftest-deps.mk
8481}
8482 ;;
8483
8484  esac
8485done # for ac_tag
8486
8487
8488as_fn_exit 0
8489_ACEOF
8490ac_clean_files=$ac_clean_files_save
8491
8492test $ac_write_fail = 0 ||
8493  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8494
8495
8496# configure is writing to config.log, and then calls config.status.
8497# config.status does its own redirection, appending to config.log.
8498# Unfortunately, on DOS this fails, as config.log is still kept open
8499# by configure, so config.status won't be able to write to it; its
8500# output is simply discarded.  So we exec the FD to /dev/null,
8501# effectively closing config.log, so it can be properly (re)opened and
8502# appended to by config.status.  When coming back to configure, we
8503# need to make the FD available again.
8504if test "$no_create" != yes; then
8505  ac_cs_success=:
8506  ac_config_status_args=
8507  test "$silent" = yes &&
8508    ac_config_status_args="$ac_config_status_args --quiet"
8509  exec 5>/dev/null
8510  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8511  exec 5>>config.log
8512  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8513  # would make configure fail if this is the last instruction.
8514  $ac_cs_success || as_fn_exit 1
8515fi
8516if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8517  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8518$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
8519fi
8520
8521
8522echo '***********************************************************'
8523echo "  $PACKAGE_NAME is configured with the following parameters:"
8524echo "    XKB base directory: $xkb_base"
8525if test -z "$xkb_rules_symlink" ; then
8526  echo "    Symbolic link(s) to legacy rules are not created"
8527else
8528  echo "    Symbolic link(s) to legacy rules: $xkb_rules_symlink"
8529fi
8530
8531if test "$enable_compat_rules" = "yes" ; then
8532  echo "    Compatibility rules are included"
8533else
8534  echo "    Compatibility rules are not included"
8535fi
8536echo '***********************************************************'
8537
8538