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