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