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