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