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