configure revision 7d5e3a19
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.61 for setxkbmap 1.0.4.
4#
5# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6#
7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## --------------------- ##
12## M4sh Initialization.  ##
13## --------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18  emulate sh
19  NULLCMD=:
20  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21  # is contrary to our usage.  Disable this feature.
22  alias -g '${1+"$@"}'='"$@"'
23  setopt NO_GLOB_SUBST
24else
25  case `(set -o) 2>/dev/null` in
26  *posix*) set -o posix ;;
27esac
28
29fi
30
31
32
33
34# PATH needs CR
35# Avoid depending upon Character Ranges.
36as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39as_cr_digits='0123456789'
40as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42# The user is always right.
43if test "${PATH_SEPARATOR+set}" != set; then
44  echo "#! /bin/sh" >conf$$.sh
45  echo  "exit 0"   >>conf$$.sh
46  chmod +x conf$$.sh
47  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48    PATH_SEPARATOR=';'
49  else
50    PATH_SEPARATOR=:
51  fi
52  rm -f conf$$.sh
53fi
54
55# Support unset when possible.
56if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57  as_unset=unset
58else
59  as_unset=false
60fi
61
62
63# IFS
64# We need space, tab and new line, in precisely that order.  Quoting is
65# there to prevent editors from complaining about space-tab.
66# (If _AS_PATH_WALK were called with IFS unset, it would disable word
67# splitting by setting IFS to empty value.)
68as_nl='
69'
70IFS=" ""	$as_nl"
71
72# Find who we are.  Look in the path if we contain no directory separator.
73case $0 in
74  *[\\/]* ) as_myself=$0 ;;
75  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76for as_dir in $PATH
77do
78  IFS=$as_save_IFS
79  test -z "$as_dir" && as_dir=.
80  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81done
82IFS=$as_save_IFS
83
84     ;;
85esac
86# We did not find ourselves, most probably we were run as `sh COMMAND'
87# in which case we are not to be found in the path.
88if test "x$as_myself" = x; then
89  as_myself=$0
90fi
91if test ! -f "$as_myself"; then
92  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93  { (exit 1); exit 1; }
94fi
95
96# Work around bugs in pre-3.0 UWIN ksh.
97for as_var in ENV MAIL MAILPATH
98do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99done
100PS1='$ '
101PS2='> '
102PS4='+ '
103
104# NLS nuisances.
105for as_var in \
106  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108  LC_TELEPHONE LC_TIME
109do
110  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111    eval $as_var=C; export $as_var
112  else
113    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114  fi
115done
116
117# Required to use basename.
118if expr a : '\(a\)' >/dev/null 2>&1 &&
119   test "X`expr 00001 : '.*\(...\)'`" = X001; then
120  as_expr=expr
121else
122  as_expr=false
123fi
124
125if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126  as_basename=basename
127else
128  as_basename=false
129fi
130
131
132# Name of the executable.
133as_me=`$as_basename -- "$0" ||
134$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135	 X"$0" : 'X\(//\)$' \| \
136	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137echo X/"$0" |
138    sed '/^.*\/\([^/][^/]*\)\/*$/{
139	    s//\1/
140	    q
141	  }
142	  /^X\/\(\/\/\)$/{
143	    s//\1/
144	    q
145	  }
146	  /^X\/\(\/\).*/{
147	    s//\1/
148	    q
149	  }
150	  s/.*/./; q'`
151
152# CDPATH.
153$as_unset CDPATH
154
155
156if test "x$CONFIG_SHELL" = x; then
157  if (eval ":") 2>/dev/null; then
158  as_have_required=yes
159else
160  as_have_required=no
161fi
162
163  if test $as_have_required = yes && 	 (eval ":
164(as_func_return () {
165  (exit \$1)
166}
167as_func_success () {
168  as_func_return 0
169}
170as_func_failure () {
171  as_func_return 1
172}
173as_func_ret_success () {
174  return 0
175}
176as_func_ret_failure () {
177  return 1
178}
179
180exitcode=0
181if as_func_success; then
182  :
183else
184  exitcode=1
185  echo as_func_success failed.
186fi
187
188if as_func_failure; then
189  exitcode=1
190  echo as_func_failure succeeded.
191fi
192
193if as_func_ret_success; then
194  :
195else
196  exitcode=1
197  echo as_func_ret_success failed.
198fi
199
200if as_func_ret_failure; then
201  exitcode=1
202  echo as_func_ret_failure succeeded.
203fi
204
205if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206  :
207else
208  exitcode=1
209  echo positional parameters were not saved.
210fi
211
212test \$exitcode = 0) || { (exit 1); exit 1; }
213
214(
215  as_lineno_1=\$LINENO
216  as_lineno_2=\$LINENO
217  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219") 2> /dev/null; then
220  :
221else
222  as_candidate_shells=
223    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225do
226  IFS=$as_save_IFS
227  test -z "$as_dir" && as_dir=.
228  case $as_dir in
229	 /*)
230	   for as_base in sh bash ksh sh5; do
231	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232	   done;;
233       esac
234done
235IFS=$as_save_IFS
236
237
238      for as_shell in $as_candidate_shells $SHELL; do
239	 # Try only shells that exist, to save several forks.
240	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241		{ ("$as_shell") 2> /dev/null <<\_ASEOF
242if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243  emulate sh
244  NULLCMD=:
245  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246  # is contrary to our usage.  Disable this feature.
247  alias -g '${1+"$@"}'='"$@"'
248  setopt NO_GLOB_SUBST
249else
250  case `(set -o) 2>/dev/null` in
251  *posix*) set -o posix ;;
252esac
253
254fi
255
256
257:
258_ASEOF
259}; then
260  CONFIG_SHELL=$as_shell
261	       as_have_required=yes
262	       if { "$as_shell" 2> /dev/null <<\_ASEOF
263if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264  emulate sh
265  NULLCMD=:
266  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267  # is contrary to our usage.  Disable this feature.
268  alias -g '${1+"$@"}'='"$@"'
269  setopt NO_GLOB_SUBST
270else
271  case `(set -o) 2>/dev/null` in
272  *posix*) set -o posix ;;
273esac
274
275fi
276
277
278:
279(as_func_return () {
280  (exit $1)
281}
282as_func_success () {
283  as_func_return 0
284}
285as_func_failure () {
286  as_func_return 1
287}
288as_func_ret_success () {
289  return 0
290}
291as_func_ret_failure () {
292  return 1
293}
294
295exitcode=0
296if as_func_success; then
297  :
298else
299  exitcode=1
300  echo as_func_success failed.
301fi
302
303if as_func_failure; then
304  exitcode=1
305  echo as_func_failure succeeded.
306fi
307
308if as_func_ret_success; then
309  :
310else
311  exitcode=1
312  echo as_func_ret_success failed.
313fi
314
315if as_func_ret_failure; then
316  exitcode=1
317  echo as_func_ret_failure succeeded.
318fi
319
320if ( set x; as_func_ret_success y && test x = "$1" ); then
321  :
322else
323  exitcode=1
324  echo positional parameters were not saved.
325fi
326
327test $exitcode = 0) || { (exit 1); exit 1; }
328
329(
330  as_lineno_1=$LINENO
331  as_lineno_2=$LINENO
332  test "x$as_lineno_1" != "x$as_lineno_2" &&
333  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
334
335_ASEOF
336}; then
337  break
338fi
339
340fi
341
342      done
343
344      if test "x$CONFIG_SHELL" != x; then
345  for as_var in BASH_ENV ENV
346        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347        done
348        export CONFIG_SHELL
349        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350fi
351
352
353    if test $as_have_required = no; then
354  echo This script requires a shell more modern than all the
355      echo shells that I found on your system.  Please install a
356      echo modern shell, or manually run the script under such a
357      echo shell if you do have one.
358      { (exit 1); exit 1; }
359fi
360
361
362fi
363
364fi
365
366
367
368(eval "as_func_return () {
369  (exit \$1)
370}
371as_func_success () {
372  as_func_return 0
373}
374as_func_failure () {
375  as_func_return 1
376}
377as_func_ret_success () {
378  return 0
379}
380as_func_ret_failure () {
381  return 1
382}
383
384exitcode=0
385if as_func_success; then
386  :
387else
388  exitcode=1
389  echo as_func_success failed.
390fi
391
392if as_func_failure; then
393  exitcode=1
394  echo as_func_failure succeeded.
395fi
396
397if as_func_ret_success; then
398  :
399else
400  exitcode=1
401  echo as_func_ret_success failed.
402fi
403
404if as_func_ret_failure; then
405  exitcode=1
406  echo as_func_ret_failure succeeded.
407fi
408
409if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410  :
411else
412  exitcode=1
413  echo positional parameters were not saved.
414fi
415
416test \$exitcode = 0") || {
417  echo No shell found that supports shell functions.
418  echo Please tell autoconf@gnu.org about your system,
419  echo including any error possibly output before this
420  echo message
421}
422
423
424
425  as_lineno_1=$LINENO
426  as_lineno_2=$LINENO
427  test "x$as_lineno_1" != "x$as_lineno_2" &&
428  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
429
430  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431  # uniformly replaced by the line number.  The first 'sed' inserts a
432  # line-number line after each line using $LINENO; the second 'sed'
433  # does the real work.  The second script uses 'N' to pair each
434  # line-number line with the line containing $LINENO, and appends
435  # trailing '-' during substitution so that $LINENO is not a special
436  # case at line end.
437  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438  # scripts with optimization help from Paolo Bonzini.  Blame Lee
439  # E. McMahon (1931-1989) for sed's syntax.  :-)
440  sed -n '
441    p
442    /[$]LINENO/=
443  ' <$as_myself |
444    sed '
445      s/[$]LINENO.*/&-/
446      t lineno
447      b
448      :lineno
449      N
450      :loop
451      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452      t loop
453      s/-\n.*//
454    ' >$as_me.lineno &&
455  chmod +x "$as_me.lineno" ||
456    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457   { (exit 1); exit 1; }; }
458
459  # Don't try to exec as it changes $[0], causing all sort of problems
460  # (the dirname of $[0] is not the place where we might find the
461  # original and so on.  Autoconf is especially sensitive to this).
462  . "./$as_me.lineno"
463  # Exit status is that of the last command.
464  exit
465}
466
467
468if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469  as_dirname=dirname
470else
471  as_dirname=false
472fi
473
474ECHO_C= ECHO_N= ECHO_T=
475case `echo -n x` in
476-n*)
477  case `echo 'x\c'` in
478  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
479  *)   ECHO_C='\c';;
480  esac;;
481*)
482  ECHO_N='-n';;
483esac
484
485if expr a : '\(a\)' >/dev/null 2>&1 &&
486   test "X`expr 00001 : '.*\(...\)'`" = X001; then
487  as_expr=expr
488else
489  as_expr=false
490fi
491
492rm -f conf$$ conf$$.exe conf$$.file
493if test -d conf$$.dir; then
494  rm -f conf$$.dir/conf$$.file
495else
496  rm -f conf$$.dir
497  mkdir conf$$.dir
498fi
499echo >conf$$.file
500if ln -s conf$$.file conf$$ 2>/dev/null; then
501  as_ln_s='ln -s'
502  # ... but there are two gotchas:
503  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505  # In both cases, we have to default to `cp -p'.
506  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507    as_ln_s='cp -p'
508elif ln conf$$.file conf$$ 2>/dev/null; then
509  as_ln_s=ln
510else
511  as_ln_s='cp -p'
512fi
513rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514rmdir conf$$.dir 2>/dev/null
515
516if mkdir -p . 2>/dev/null; then
517  as_mkdir_p=:
518else
519  test -d ./-p && rmdir ./-p
520  as_mkdir_p=false
521fi
522
523if test -x / >/dev/null 2>&1; then
524  as_test_x='test -x'
525else
526  if ls -dL / >/dev/null 2>&1; then
527    as_ls_L_option=L
528  else
529    as_ls_L_option=
530  fi
531  as_test_x='
532    eval sh -c '\''
533      if test -d "$1"; then
534        test -d "$1/.";
535      else
536	case $1 in
537        -*)set "./$1";;
538	esac;
539	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540	???[sx]*):;;*)false;;esac;fi
541    '\'' sh
542  '
543fi
544as_executable_p=$as_test_x
545
546# Sed expression to map a string onto a valid CPP name.
547as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
548
549# Sed expression to map a string onto a valid variable name.
550as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
551
552
553
554exec 7<&0 </dev/null 6>&1
555
556# Name of the host.
557# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558# so uname gets run too.
559ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560
561#
562# Initializations.
563#
564ac_default_prefix=/usr/local
565ac_clean_files=
566ac_config_libobj_dir=.
567LIBOBJS=
568cross_compiling=no
569subdirs=
570MFLAGS=
571MAKEFLAGS=
572SHELL=${CONFIG_SHELL-/bin/sh}
573
574# Identity of this package.
575PACKAGE_NAME='setxkbmap'
576PACKAGE_TARNAME='setxkbmap'
577PACKAGE_VERSION='1.0.4'
578PACKAGE_STRING='setxkbmap 1.0.4'
579PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
580
581ac_subst_vars='SHELL
582PATH_SEPARATOR
583PACKAGE_NAME
584PACKAGE_TARNAME
585PACKAGE_VERSION
586PACKAGE_STRING
587PACKAGE_BUGREPORT
588exec_prefix
589prefix
590program_transform_name
591bindir
592sbindir
593libexecdir
594datarootdir
595datadir
596sysconfdir
597sharedstatedir
598localstatedir
599includedir
600oldincludedir
601docdir
602infodir
603htmldir
604dvidir
605pdfdir
606psdir
607libdir
608localedir
609mandir
610DEFS
611ECHO_C
612ECHO_N
613ECHO_T
614LIBS
615build_alias
616host_alias
617target_alias
618INSTALL_PROGRAM
619INSTALL_SCRIPT
620INSTALL_DATA
621am__isrc
622CYGPATH_W
623PACKAGE
624VERSION
625ACLOCAL
626AUTOCONF
627AUTOMAKE
628AUTOHEADER
629MAKEINFO
630install_sh
631STRIP
632INSTALL_STRIP_PROGRAM
633mkdir_p
634AWK
635SET_MAKE
636am__leading_dot
637AMTAR
638am__tar
639am__untar
640MAINTAINER_MODE_TRUE
641MAINTAINER_MODE_FALSE
642MAINT
643CC
644CFLAGS
645LDFLAGS
646CPPFLAGS
647ac_ct_CC
648EXEEXT
649OBJEXT
650DEPDIR
651am__include
652am__quote
653AMDEP_TRUE
654AMDEP_FALSE
655AMDEPBACKSLASH
656CCDEPMODE
657am__fastdepCC_TRUE
658am__fastdepCC_FALSE
659XKBCONFIGROOT
660PKG_CONFIG
661SETXKBMAP_CFLAGS
662SETXKBMAP_LIBS
663LINT
664LINT_FLAGS
665LINT_TRUE
666LINT_FALSE
667build
668build_cpu
669build_vendor
670build_os
671host
672host_cpu
673host_vendor
674host_os
675APP_MAN_SUFFIX
676LIB_MAN_SUFFIX
677FILE_MAN_SUFFIX
678MISC_MAN_SUFFIX
679DRIVER_MAN_SUFFIX
680ADMIN_MAN_SUFFIX
681APP_MAN_DIR
682LIB_MAN_DIR
683FILE_MAN_DIR
684MISC_MAN_DIR
685DRIVER_MAN_DIR
686ADMIN_MAN_DIR
687LIBOBJS
688LTLIBOBJS'
689ac_subst_files=''
690      ac_precious_vars='build_alias
691host_alias
692target_alias
693CC
694CFLAGS
695LDFLAGS
696LIBS
697CPPFLAGS
698PKG_CONFIG
699SETXKBMAP_CFLAGS
700SETXKBMAP_LIBS'
701
702
703# Initialize some variables set by options.
704ac_init_help=
705ac_init_version=false
706# The variables have the same names as the options, with
707# dashes changed to underlines.
708cache_file=/dev/null
709exec_prefix=NONE
710no_create=
711no_recursion=
712prefix=NONE
713program_prefix=NONE
714program_suffix=NONE
715program_transform_name=s,x,x,
716silent=
717site=
718srcdir=
719verbose=
720x_includes=NONE
721x_libraries=NONE
722
723# Installation directory options.
724# These are left unexpanded so users can "make install exec_prefix=/foo"
725# and all the variables that are supposed to be based on exec_prefix
726# by default will actually change.
727# Use braces instead of parens because sh, perl, etc. also accept them.
728# (The list follows the same order as the GNU Coding Standards.)
729bindir='${exec_prefix}/bin'
730sbindir='${exec_prefix}/sbin'
731libexecdir='${exec_prefix}/libexec'
732datarootdir='${prefix}/share'
733datadir='${datarootdir}'
734sysconfdir='${prefix}/etc'
735sharedstatedir='${prefix}/com'
736localstatedir='${prefix}/var'
737includedir='${prefix}/include'
738oldincludedir='/usr/include'
739docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
740infodir='${datarootdir}/info'
741htmldir='${docdir}'
742dvidir='${docdir}'
743pdfdir='${docdir}'
744psdir='${docdir}'
745libdir='${exec_prefix}/lib'
746localedir='${datarootdir}/locale'
747mandir='${datarootdir}/man'
748
749ac_prev=
750ac_dashdash=
751for ac_option
752do
753  # If the previous option needs an argument, assign it.
754  if test -n "$ac_prev"; then
755    eval $ac_prev=\$ac_option
756    ac_prev=
757    continue
758  fi
759
760  case $ac_option in
761  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
762  *)	ac_optarg=yes ;;
763  esac
764
765  # Accept the important Cygnus configure options, so we can diagnose typos.
766
767  case $ac_dashdash$ac_option in
768  --)
769    ac_dashdash=yes ;;
770
771  -bindir | --bindir | --bindi | --bind | --bin | --bi)
772    ac_prev=bindir ;;
773  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
774    bindir=$ac_optarg ;;
775
776  -build | --build | --buil | --bui | --bu)
777    ac_prev=build_alias ;;
778  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
779    build_alias=$ac_optarg ;;
780
781  -cache-file | --cache-file | --cache-fil | --cache-fi \
782  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
783    ac_prev=cache_file ;;
784  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
785  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
786    cache_file=$ac_optarg ;;
787
788  --config-cache | -C)
789    cache_file=config.cache ;;
790
791  -datadir | --datadir | --datadi | --datad)
792    ac_prev=datadir ;;
793  -datadir=* | --datadir=* | --datadi=* | --datad=*)
794    datadir=$ac_optarg ;;
795
796  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
797  | --dataroo | --dataro | --datar)
798    ac_prev=datarootdir ;;
799  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
800  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
801    datarootdir=$ac_optarg ;;
802
803  -disable-* | --disable-*)
804    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
805    # Reject names that are not valid shell variable names.
806    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
807      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
808   { (exit 1); exit 1; }; }
809    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
810    eval enable_$ac_feature=no ;;
811
812  -docdir | --docdir | --docdi | --doc | --do)
813    ac_prev=docdir ;;
814  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
815    docdir=$ac_optarg ;;
816
817  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
818    ac_prev=dvidir ;;
819  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
820    dvidir=$ac_optarg ;;
821
822  -enable-* | --enable-*)
823    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
824    # Reject names that are not valid shell variable names.
825    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
826      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
827   { (exit 1); exit 1; }; }
828    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
829    eval enable_$ac_feature=\$ac_optarg ;;
830
831  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
832  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
833  | --exec | --exe | --ex)
834    ac_prev=exec_prefix ;;
835  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
836  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
837  | --exec=* | --exe=* | --ex=*)
838    exec_prefix=$ac_optarg ;;
839
840  -gas | --gas | --ga | --g)
841    # Obsolete; use --with-gas.
842    with_gas=yes ;;
843
844  -help | --help | --hel | --he | -h)
845    ac_init_help=long ;;
846  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
847    ac_init_help=recursive ;;
848  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
849    ac_init_help=short ;;
850
851  -host | --host | --hos | --ho)
852    ac_prev=host_alias ;;
853  -host=* | --host=* | --hos=* | --ho=*)
854    host_alias=$ac_optarg ;;
855
856  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
857    ac_prev=htmldir ;;
858  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
859  | --ht=*)
860    htmldir=$ac_optarg ;;
861
862  -includedir | --includedir | --includedi | --included | --include \
863  | --includ | --inclu | --incl | --inc)
864    ac_prev=includedir ;;
865  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
866  | --includ=* | --inclu=* | --incl=* | --inc=*)
867    includedir=$ac_optarg ;;
868
869  -infodir | --infodir | --infodi | --infod | --info | --inf)
870    ac_prev=infodir ;;
871  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
872    infodir=$ac_optarg ;;
873
874  -libdir | --libdir | --libdi | --libd)
875    ac_prev=libdir ;;
876  -libdir=* | --libdir=* | --libdi=* | --libd=*)
877    libdir=$ac_optarg ;;
878
879  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
880  | --libexe | --libex | --libe)
881    ac_prev=libexecdir ;;
882  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
883  | --libexe=* | --libex=* | --libe=*)
884    libexecdir=$ac_optarg ;;
885
886  -localedir | --localedir | --localedi | --localed | --locale)
887    ac_prev=localedir ;;
888  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
889    localedir=$ac_optarg ;;
890
891  -localstatedir | --localstatedir | --localstatedi | --localstated \
892  | --localstate | --localstat | --localsta | --localst | --locals)
893    ac_prev=localstatedir ;;
894  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
895  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
896    localstatedir=$ac_optarg ;;
897
898  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
899    ac_prev=mandir ;;
900  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
901    mandir=$ac_optarg ;;
902
903  -nfp | --nfp | --nf)
904    # Obsolete; use --without-fp.
905    with_fp=no ;;
906
907  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
908  | --no-cr | --no-c | -n)
909    no_create=yes ;;
910
911  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
912  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
913    no_recursion=yes ;;
914
915  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
916  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
917  | --oldin | --oldi | --old | --ol | --o)
918    ac_prev=oldincludedir ;;
919  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
920  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
921  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
922    oldincludedir=$ac_optarg ;;
923
924  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
925    ac_prev=prefix ;;
926  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
927    prefix=$ac_optarg ;;
928
929  -program-prefix | --program-prefix | --program-prefi | --program-pref \
930  | --program-pre | --program-pr | --program-p)
931    ac_prev=program_prefix ;;
932  -program-prefix=* | --program-prefix=* | --program-prefi=* \
933  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
934    program_prefix=$ac_optarg ;;
935
936  -program-suffix | --program-suffix | --program-suffi | --program-suff \
937  | --program-suf | --program-su | --program-s)
938    ac_prev=program_suffix ;;
939  -program-suffix=* | --program-suffix=* | --program-suffi=* \
940  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
941    program_suffix=$ac_optarg ;;
942
943  -program-transform-name | --program-transform-name \
944  | --program-transform-nam | --program-transform-na \
945  | --program-transform-n | --program-transform- \
946  | --program-transform | --program-transfor \
947  | --program-transfo | --program-transf \
948  | --program-trans | --program-tran \
949  | --progr-tra | --program-tr | --program-t)
950    ac_prev=program_transform_name ;;
951  -program-transform-name=* | --program-transform-name=* \
952  | --program-transform-nam=* | --program-transform-na=* \
953  | --program-transform-n=* | --program-transform-=* \
954  | --program-transform=* | --program-transfor=* \
955  | --program-transfo=* | --program-transf=* \
956  | --program-trans=* | --program-tran=* \
957  | --progr-tra=* | --program-tr=* | --program-t=*)
958    program_transform_name=$ac_optarg ;;
959
960  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
961    ac_prev=pdfdir ;;
962  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
963    pdfdir=$ac_optarg ;;
964
965  -psdir | --psdir | --psdi | --psd | --ps)
966    ac_prev=psdir ;;
967  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
968    psdir=$ac_optarg ;;
969
970  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
971  | -silent | --silent | --silen | --sile | --sil)
972    silent=yes ;;
973
974  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
975    ac_prev=sbindir ;;
976  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
977  | --sbi=* | --sb=*)
978    sbindir=$ac_optarg ;;
979
980  -sharedstatedir | --sharedstatedir | --sharedstatedi \
981  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
982  | --sharedst | --shareds | --shared | --share | --shar \
983  | --sha | --sh)
984    ac_prev=sharedstatedir ;;
985  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
986  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
987  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
988  | --sha=* | --sh=*)
989    sharedstatedir=$ac_optarg ;;
990
991  -site | --site | --sit)
992    ac_prev=site ;;
993  -site=* | --site=* | --sit=*)
994    site=$ac_optarg ;;
995
996  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
997    ac_prev=srcdir ;;
998  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
999    srcdir=$ac_optarg ;;
1000
1001  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1002  | --syscon | --sysco | --sysc | --sys | --sy)
1003    ac_prev=sysconfdir ;;
1004  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1005  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1006    sysconfdir=$ac_optarg ;;
1007
1008  -target | --target | --targe | --targ | --tar | --ta | --t)
1009    ac_prev=target_alias ;;
1010  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1011    target_alias=$ac_optarg ;;
1012
1013  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1014    verbose=yes ;;
1015
1016  -version | --version | --versio | --versi | --vers | -V)
1017    ac_init_version=: ;;
1018
1019  -with-* | --with-*)
1020    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1021    # Reject names that are not valid shell variable names.
1022    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1023      { echo "$as_me: error: invalid package name: $ac_package" >&2
1024   { (exit 1); exit 1; }; }
1025    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1026    eval with_$ac_package=\$ac_optarg ;;
1027
1028  -without-* | --without-*)
1029    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1030    # Reject names that are not valid shell variable names.
1031    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1032      { echo "$as_me: error: invalid package name: $ac_package" >&2
1033   { (exit 1); exit 1; }; }
1034    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1035    eval with_$ac_package=no ;;
1036
1037  --x)
1038    # Obsolete; use --with-x.
1039    with_x=yes ;;
1040
1041  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1042  | --x-incl | --x-inc | --x-in | --x-i)
1043    ac_prev=x_includes ;;
1044  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1045  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1046    x_includes=$ac_optarg ;;
1047
1048  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1049  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1050    ac_prev=x_libraries ;;
1051  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1052  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1053    x_libraries=$ac_optarg ;;
1054
1055  -*) { echo "$as_me: error: unrecognized option: $ac_option
1056Try \`$0 --help' for more information." >&2
1057   { (exit 1); exit 1; }; }
1058    ;;
1059
1060  *=*)
1061    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1062    # Reject names that are not valid shell variable names.
1063    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1064      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1065   { (exit 1); exit 1; }; }
1066    eval $ac_envvar=\$ac_optarg
1067    export $ac_envvar ;;
1068
1069  *)
1070    # FIXME: should be removed in autoconf 3.0.
1071    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1072    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1073      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1074    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1075    ;;
1076
1077  esac
1078done
1079
1080if test -n "$ac_prev"; then
1081  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1082  { echo "$as_me: error: missing argument to $ac_option" >&2
1083   { (exit 1); exit 1; }; }
1084fi
1085
1086# Be sure to have absolute directory names.
1087for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1088		datadir sysconfdir sharedstatedir localstatedir includedir \
1089		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1090		libdir localedir mandir
1091do
1092  eval ac_val=\$$ac_var
1093  case $ac_val in
1094    [\\/$]* | ?:[\\/]* )  continue;;
1095    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1096  esac
1097  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1098   { (exit 1); exit 1; }; }
1099done
1100
1101# There might be people who depend on the old broken behavior: `$host'
1102# used to hold the argument of --host etc.
1103# FIXME: To remove some day.
1104build=$build_alias
1105host=$host_alias
1106target=$target_alias
1107
1108# FIXME: To remove some day.
1109if test "x$host_alias" != x; then
1110  if test "x$build_alias" = x; then
1111    cross_compiling=maybe
1112    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1113    If a cross compiler is detected then cross compile mode will be used." >&2
1114  elif test "x$build_alias" != "x$host_alias"; then
1115    cross_compiling=yes
1116  fi
1117fi
1118
1119ac_tool_prefix=
1120test -n "$host_alias" && ac_tool_prefix=$host_alias-
1121
1122test "$silent" = yes && exec 6>/dev/null
1123
1124
1125ac_pwd=`pwd` && test -n "$ac_pwd" &&
1126ac_ls_di=`ls -di .` &&
1127ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1128  { echo "$as_me: error: Working directory cannot be determined" >&2
1129   { (exit 1); exit 1; }; }
1130test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1131  { echo "$as_me: error: pwd does not report name of working directory" >&2
1132   { (exit 1); exit 1; }; }
1133
1134
1135# Find the source files, if location was not specified.
1136if test -z "$srcdir"; then
1137  ac_srcdir_defaulted=yes
1138  # Try the directory containing this script, then the parent directory.
1139  ac_confdir=`$as_dirname -- "$0" ||
1140$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1141	 X"$0" : 'X\(//\)[^/]' \| \
1142	 X"$0" : 'X\(//\)$' \| \
1143	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1144echo X"$0" |
1145    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1146	    s//\1/
1147	    q
1148	  }
1149	  /^X\(\/\/\)[^/].*/{
1150	    s//\1/
1151	    q
1152	  }
1153	  /^X\(\/\/\)$/{
1154	    s//\1/
1155	    q
1156	  }
1157	  /^X\(\/\).*/{
1158	    s//\1/
1159	    q
1160	  }
1161	  s/.*/./; q'`
1162  srcdir=$ac_confdir
1163  if test ! -r "$srcdir/$ac_unique_file"; then
1164    srcdir=..
1165  fi
1166else
1167  ac_srcdir_defaulted=no
1168fi
1169if test ! -r "$srcdir/$ac_unique_file"; then
1170  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1171  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1172   { (exit 1); exit 1; }; }
1173fi
1174ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1175ac_abs_confdir=`(
1176	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1177   { (exit 1); exit 1; }; }
1178	pwd)`
1179# When building in place, set srcdir=.
1180if test "$ac_abs_confdir" = "$ac_pwd"; then
1181  srcdir=.
1182fi
1183# Remove unnecessary trailing slashes from srcdir.
1184# Double slashes in file names in object file debugging info
1185# mess up M-x gdb in Emacs.
1186case $srcdir in
1187*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1188esac
1189for ac_var in $ac_precious_vars; do
1190  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1191  eval ac_env_${ac_var}_value=\$${ac_var}
1192  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1193  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1194done
1195
1196#
1197# Report the --help message.
1198#
1199if test "$ac_init_help" = "long"; then
1200  # Omit some internal or obsolete options to make the list less imposing.
1201  # This message is too long to be a string in the A/UX 3.1 sh.
1202  cat <<_ACEOF
1203\`configure' configures setxkbmap 1.0.4 to adapt to many kinds of systems.
1204
1205Usage: $0 [OPTION]... [VAR=VALUE]...
1206
1207To assign environment variables (e.g., CC, CFLAGS...), specify them as
1208VAR=VALUE.  See below for descriptions of some of the useful variables.
1209
1210Defaults for the options are specified in brackets.
1211
1212Configuration:
1213  -h, --help              display this help and exit
1214      --help=short        display options specific to this package
1215      --help=recursive    display the short help of all the included packages
1216  -V, --version           display version information and exit
1217  -q, --quiet, --silent   do not print \`checking...' messages
1218      --cache-file=FILE   cache test results in FILE [disabled]
1219  -C, --config-cache      alias for \`--cache-file=config.cache'
1220  -n, --no-create         do not create output files
1221      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1222
1223Installation directories:
1224  --prefix=PREFIX         install architecture-independent files in PREFIX
1225			  [$ac_default_prefix]
1226  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1227			  [PREFIX]
1228
1229By default, \`make install' will install all the files in
1230\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1231an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1232for instance \`--prefix=\$HOME'.
1233
1234For better control, use the options below.
1235
1236Fine tuning of the installation directories:
1237  --bindir=DIR           user executables [EPREFIX/bin]
1238  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1239  --libexecdir=DIR       program executables [EPREFIX/libexec]
1240  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1241  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1242  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1243  --libdir=DIR           object code libraries [EPREFIX/lib]
1244  --includedir=DIR       C header files [PREFIX/include]
1245  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1246  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1247  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1248  --infodir=DIR          info documentation [DATAROOTDIR/info]
1249  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1250  --mandir=DIR           man documentation [DATAROOTDIR/man]
1251  --docdir=DIR           documentation root [DATAROOTDIR/doc/setxkbmap]
1252  --htmldir=DIR          html documentation [DOCDIR]
1253  --dvidir=DIR           dvi documentation [DOCDIR]
1254  --pdfdir=DIR           pdf documentation [DOCDIR]
1255  --psdir=DIR            ps documentation [DOCDIR]
1256_ACEOF
1257
1258  cat <<\_ACEOF
1259
1260Program names:
1261  --program-prefix=PREFIX            prepend PREFIX to installed program names
1262  --program-suffix=SUFFIX            append SUFFIX to installed program names
1263  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1264
1265System types:
1266  --build=BUILD     configure for building on BUILD [guessed]
1267  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1268_ACEOF
1269fi
1270
1271if test -n "$ac_init_help"; then
1272  case $ac_init_help in
1273     short | recursive ) echo "Configuration of setxkbmap 1.0.4:";;
1274   esac
1275  cat <<\_ACEOF
1276
1277Optional Features:
1278  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1279  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1280  --enable-maintainer-mode  enable make rules and dependencies not useful
1281			  (and sometimes confusing) to the casual installer
1282  --disable-dependency-tracking  speeds up one-time build
1283  --enable-dependency-tracking   do not reject slow dependency extractors
1284
1285Optional Packages:
1286  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1287  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1288  --with-xkb-config-root=<paths>
1289                          Set default XKB config root (default:
1290                          ${datadir}/X11/xkb)
1291  --with-lint             Use a lint-style source code checker (default:
1292                          disabled)
1293  --with-release-version=STRING
1294                          Use release version string in package name
1295
1296Some influential environment variables:
1297  CC          C compiler command
1298  CFLAGS      C compiler flags
1299  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1300              nonstandard directory <lib dir>
1301  LIBS        libraries to pass to the linker, e.g. -l<library>
1302  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1303              you have headers in a nonstandard directory <include dir>
1304  PKG_CONFIG  path to pkg-config utility
1305  SETXKBMAP_CFLAGS
1306              C compiler flags for SETXKBMAP, overriding pkg-config
1307  SETXKBMAP_LIBS
1308              linker flags for SETXKBMAP, overriding pkg-config
1309
1310Use these variables to override the choices made by `configure' or to help
1311it to find libraries and programs with nonstandard names/locations.
1312
1313Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1314_ACEOF
1315ac_status=$?
1316fi
1317
1318if test "$ac_init_help" = "recursive"; then
1319  # If there are subdirs, report their specific --help.
1320  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1321    test -d "$ac_dir" || continue
1322    ac_builddir=.
1323
1324case "$ac_dir" in
1325.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1326*)
1327  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1328  # A ".." for each directory in $ac_dir_suffix.
1329  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1330  case $ac_top_builddir_sub in
1331  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1332  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1333  esac ;;
1334esac
1335ac_abs_top_builddir=$ac_pwd
1336ac_abs_builddir=$ac_pwd$ac_dir_suffix
1337# for backward compatibility:
1338ac_top_builddir=$ac_top_build_prefix
1339
1340case $srcdir in
1341  .)  # We are building in place.
1342    ac_srcdir=.
1343    ac_top_srcdir=$ac_top_builddir_sub
1344    ac_abs_top_srcdir=$ac_pwd ;;
1345  [\\/]* | ?:[\\/]* )  # Absolute name.
1346    ac_srcdir=$srcdir$ac_dir_suffix;
1347    ac_top_srcdir=$srcdir
1348    ac_abs_top_srcdir=$srcdir ;;
1349  *) # Relative name.
1350    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1351    ac_top_srcdir=$ac_top_build_prefix$srcdir
1352    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1353esac
1354ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1355
1356    cd "$ac_dir" || { ac_status=$?; continue; }
1357    # Check for guested configure.
1358    if test -f "$ac_srcdir/configure.gnu"; then
1359      echo &&
1360      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1361    elif test -f "$ac_srcdir/configure"; then
1362      echo &&
1363      $SHELL "$ac_srcdir/configure" --help=recursive
1364    else
1365      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1366    fi || ac_status=$?
1367    cd "$ac_pwd" || { ac_status=$?; break; }
1368  done
1369fi
1370
1371test -n "$ac_init_help" && exit $ac_status
1372if $ac_init_version; then
1373  cat <<\_ACEOF
1374setxkbmap configure 1.0.4
1375generated by GNU Autoconf 2.61
1376
1377Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
13782002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1379This configure script is free software; the Free Software Foundation
1380gives unlimited permission to copy, distribute and modify it.
1381_ACEOF
1382  exit
1383fi
1384cat >config.log <<_ACEOF
1385This file contains any messages produced by compilers while
1386running configure, to aid debugging if configure makes a mistake.
1387
1388It was created by setxkbmap $as_me 1.0.4, which was
1389generated by GNU Autoconf 2.61.  Invocation command line was
1390
1391  $ $0 $@
1392
1393_ACEOF
1394exec 5>>config.log
1395{
1396cat <<_ASUNAME
1397## --------- ##
1398## Platform. ##
1399## --------- ##
1400
1401hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1402uname -m = `(uname -m) 2>/dev/null || echo unknown`
1403uname -r = `(uname -r) 2>/dev/null || echo unknown`
1404uname -s = `(uname -s) 2>/dev/null || echo unknown`
1405uname -v = `(uname -v) 2>/dev/null || echo unknown`
1406
1407/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1408/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1409
1410/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1411/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1412/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1413/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1414/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1415/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1416/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1417
1418_ASUNAME
1419
1420as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1421for as_dir in $PATH
1422do
1423  IFS=$as_save_IFS
1424  test -z "$as_dir" && as_dir=.
1425  echo "PATH: $as_dir"
1426done
1427IFS=$as_save_IFS
1428
1429} >&5
1430
1431cat >&5 <<_ACEOF
1432
1433
1434## ----------- ##
1435## Core tests. ##
1436## ----------- ##
1437
1438_ACEOF
1439
1440
1441# Keep a trace of the command line.
1442# Strip out --no-create and --no-recursion so they do not pile up.
1443# Strip out --silent because we don't want to record it for future runs.
1444# Also quote any args containing shell meta-characters.
1445# Make two passes to allow for proper duplicate-argument suppression.
1446ac_configure_args=
1447ac_configure_args0=
1448ac_configure_args1=
1449ac_must_keep_next=false
1450for ac_pass in 1 2
1451do
1452  for ac_arg
1453  do
1454    case $ac_arg in
1455    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1456    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1457    | -silent | --silent | --silen | --sile | --sil)
1458      continue ;;
1459    *\'*)
1460      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1461    esac
1462    case $ac_pass in
1463    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1464    2)
1465      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1466      if test $ac_must_keep_next = true; then
1467	ac_must_keep_next=false # Got value, back to normal.
1468      else
1469	case $ac_arg in
1470	  *=* | --config-cache | -C | -disable-* | --disable-* \
1471	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1472	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1473	  | -with-* | --with-* | -without-* | --without-* | --x)
1474	    case "$ac_configure_args0 " in
1475	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1476	    esac
1477	    ;;
1478	  -* ) ac_must_keep_next=true ;;
1479	esac
1480      fi
1481      ac_configure_args="$ac_configure_args '$ac_arg'"
1482      ;;
1483    esac
1484  done
1485done
1486$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1487$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1488
1489# When interrupted or exit'd, cleanup temporary files, and complete
1490# config.log.  We remove comments because anyway the quotes in there
1491# would cause problems or look ugly.
1492# WARNING: Use '\'' to represent an apostrophe within the trap.
1493# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1494trap 'exit_status=$?
1495  # Save into config.log some information that might help in debugging.
1496  {
1497    echo
1498
1499    cat <<\_ASBOX
1500## ---------------- ##
1501## Cache variables. ##
1502## ---------------- ##
1503_ASBOX
1504    echo
1505    # The following way of writing the cache mishandles newlines in values,
1506(
1507  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1508    eval ac_val=\$$ac_var
1509    case $ac_val in #(
1510    *${as_nl}*)
1511      case $ac_var in #(
1512      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1513echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1514      esac
1515      case $ac_var in #(
1516      _ | IFS | as_nl) ;; #(
1517      *) $as_unset $ac_var ;;
1518      esac ;;
1519    esac
1520  done
1521  (set) 2>&1 |
1522    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1523    *${as_nl}ac_space=\ *)
1524      sed -n \
1525	"s/'\''/'\''\\\\'\'''\''/g;
1526	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1527      ;; #(
1528    *)
1529      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1530      ;;
1531    esac |
1532    sort
1533)
1534    echo
1535
1536    cat <<\_ASBOX
1537## ----------------- ##
1538## Output variables. ##
1539## ----------------- ##
1540_ASBOX
1541    echo
1542    for ac_var in $ac_subst_vars
1543    do
1544      eval ac_val=\$$ac_var
1545      case $ac_val in
1546      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1547      esac
1548      echo "$ac_var='\''$ac_val'\''"
1549    done | sort
1550    echo
1551
1552    if test -n "$ac_subst_files"; then
1553      cat <<\_ASBOX
1554## ------------------- ##
1555## File substitutions. ##
1556## ------------------- ##
1557_ASBOX
1558      echo
1559      for ac_var in $ac_subst_files
1560      do
1561	eval ac_val=\$$ac_var
1562	case $ac_val in
1563	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1564	esac
1565	echo "$ac_var='\''$ac_val'\''"
1566      done | sort
1567      echo
1568    fi
1569
1570    if test -s confdefs.h; then
1571      cat <<\_ASBOX
1572## ----------- ##
1573## confdefs.h. ##
1574## ----------- ##
1575_ASBOX
1576      echo
1577      cat confdefs.h
1578      echo
1579    fi
1580    test "$ac_signal" != 0 &&
1581      echo "$as_me: caught signal $ac_signal"
1582    echo "$as_me: exit $exit_status"
1583  } >&5
1584  rm -f core *.core core.conftest.* &&
1585    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1586    exit $exit_status
1587' 0
1588for ac_signal in 1 2 13 15; do
1589  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1590done
1591ac_signal=0
1592
1593# confdefs.h avoids OS command line length limits that DEFS can exceed.
1594rm -f -r conftest* confdefs.h
1595
1596# Predefined preprocessor variables.
1597
1598cat >>confdefs.h <<_ACEOF
1599#define PACKAGE_NAME "$PACKAGE_NAME"
1600_ACEOF
1601
1602
1603cat >>confdefs.h <<_ACEOF
1604#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1605_ACEOF
1606
1607
1608cat >>confdefs.h <<_ACEOF
1609#define PACKAGE_VERSION "$PACKAGE_VERSION"
1610_ACEOF
1611
1612
1613cat >>confdefs.h <<_ACEOF
1614#define PACKAGE_STRING "$PACKAGE_STRING"
1615_ACEOF
1616
1617
1618cat >>confdefs.h <<_ACEOF
1619#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1620_ACEOF
1621
1622
1623# Let the site file select an alternate cache file if it wants to.
1624# Prefer explicitly selected file to automatically selected ones.
1625if test -n "$CONFIG_SITE"; then
1626  set x "$CONFIG_SITE"
1627elif test "x$prefix" != xNONE; then
1628  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1629else
1630  set x "$ac_default_prefix/share/config.site" \
1631	"$ac_default_prefix/etc/config.site"
1632fi
1633shift
1634for ac_site_file
1635do
1636  if test -r "$ac_site_file"; then
1637    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1638echo "$as_me: loading site script $ac_site_file" >&6;}
1639    sed 's/^/| /' "$ac_site_file" >&5
1640    . "$ac_site_file"
1641  fi
1642done
1643
1644if test -r "$cache_file"; then
1645  # Some versions of bash will fail to source /dev/null (special
1646  # files actually), so we avoid doing that.
1647  if test -f "$cache_file"; then
1648    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1649echo "$as_me: loading cache $cache_file" >&6;}
1650    case $cache_file in
1651      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1652      *)                      . "./$cache_file";;
1653    esac
1654  fi
1655else
1656  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1657echo "$as_me: creating cache $cache_file" >&6;}
1658  >$cache_file
1659fi
1660
1661# Check that the precious variables saved in the cache have kept the same
1662# value.
1663ac_cache_corrupted=false
1664for ac_var in $ac_precious_vars; do
1665  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1666  eval ac_new_set=\$ac_env_${ac_var}_set
1667  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1668  eval ac_new_val=\$ac_env_${ac_var}_value
1669  case $ac_old_set,$ac_new_set in
1670    set,)
1671      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1672echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1673      ac_cache_corrupted=: ;;
1674    ,set)
1675      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1676echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1677      ac_cache_corrupted=: ;;
1678    ,);;
1679    *)
1680      if test "x$ac_old_val" != "x$ac_new_val"; then
1681	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1682echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1683	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1684echo "$as_me:   former value:  $ac_old_val" >&2;}
1685	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1686echo "$as_me:   current value: $ac_new_val" >&2;}
1687	ac_cache_corrupted=:
1688      fi;;
1689  esac
1690  # Pass precious variables to config.status.
1691  if test "$ac_new_set" = set; then
1692    case $ac_new_val in
1693    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1694    *) ac_arg=$ac_var=$ac_new_val ;;
1695    esac
1696    case " $ac_configure_args " in
1697      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1698      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1699    esac
1700  fi
1701done
1702if $ac_cache_corrupted; then
1703  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1704echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1705  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1706echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1707   { (exit 1); exit 1; }; }
1708fi
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734ac_ext=c
1735ac_cpp='$CPP $CPPFLAGS'
1736ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1737ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1738ac_compiler_gnu=$ac_cv_c_compiler_gnu
1739
1740
1741am__api_version='1.10'
1742
1743ac_aux_dir=
1744for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1745  if test -f "$ac_dir/install-sh"; then
1746    ac_aux_dir=$ac_dir
1747    ac_install_sh="$ac_aux_dir/install-sh -c"
1748    break
1749  elif test -f "$ac_dir/install.sh"; then
1750    ac_aux_dir=$ac_dir
1751    ac_install_sh="$ac_aux_dir/install.sh -c"
1752    break
1753  elif test -f "$ac_dir/shtool"; then
1754    ac_aux_dir=$ac_dir
1755    ac_install_sh="$ac_aux_dir/shtool install -c"
1756    break
1757  fi
1758done
1759if test -z "$ac_aux_dir"; then
1760  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1761echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1762   { (exit 1); exit 1; }; }
1763fi
1764
1765# These three variables are undocumented and unsupported,
1766# and are intended to be withdrawn in a future Autoconf release.
1767# They can cause serious problems if a builder's source tree is in a directory
1768# whose full name contains unusual characters.
1769ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1770ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1771ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1772
1773
1774# Find a good install program.  We prefer a C program (faster),
1775# so one script is as good as another.  But avoid the broken or
1776# incompatible versions:
1777# SysV /etc/install, /usr/sbin/install
1778# SunOS /usr/etc/install
1779# IRIX /sbin/install
1780# AIX /bin/install
1781# AmigaOS /C/install, which installs bootblocks on floppy discs
1782# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1783# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1784# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1785# OS/2's system install, which has a completely different semantic
1786# ./install, which can be erroneously created by make from ./install.sh.
1787{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1788echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1789if test -z "$INSTALL"; then
1790if test "${ac_cv_path_install+set}" = set; then
1791  echo $ECHO_N "(cached) $ECHO_C" >&6
1792else
1793  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1794for as_dir in $PATH
1795do
1796  IFS=$as_save_IFS
1797  test -z "$as_dir" && as_dir=.
1798  # Account for people who put trailing slashes in PATH elements.
1799case $as_dir/ in
1800  ./ | .// | /cC/* | \
1801  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1802  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1803  /usr/ucb/* ) ;;
1804  *)
1805    # OSF1 and SCO ODT 3.0 have their own names for install.
1806    # Don't use installbsd from OSF since it installs stuff as root
1807    # by default.
1808    for ac_prog in ginstall scoinst install; do
1809      for ac_exec_ext in '' $ac_executable_extensions; do
1810	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1811	  if test $ac_prog = install &&
1812	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1813	    # AIX install.  It has an incompatible calling convention.
1814	    :
1815	  elif test $ac_prog = install &&
1816	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1817	    # program-specific install script used by HP pwplus--don't use.
1818	    :
1819	  else
1820	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1821	    break 3
1822	  fi
1823	fi
1824      done
1825    done
1826    ;;
1827esac
1828done
1829IFS=$as_save_IFS
1830
1831
1832fi
1833  if test "${ac_cv_path_install+set}" = set; then
1834    INSTALL=$ac_cv_path_install
1835  else
1836    # As a last resort, use the slow shell script.  Don't cache a
1837    # value for INSTALL within a source directory, because that will
1838    # break other packages using the cache if that directory is
1839    # removed, or if the value is a relative name.
1840    INSTALL=$ac_install_sh
1841  fi
1842fi
1843{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1844echo "${ECHO_T}$INSTALL" >&6; }
1845
1846# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1847# It thinks the first close brace ends the variable substitution.
1848test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1849
1850test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1851
1852test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1853
1854{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1855echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1856# Just in case
1857sleep 1
1858echo timestamp > conftest.file
1859# Do `set' in a subshell so we don't clobber the current shell's
1860# arguments.  Must try -L first in case configure is actually a
1861# symlink; some systems play weird games with the mod time of symlinks
1862# (eg FreeBSD returns the mod time of the symlink's containing
1863# directory).
1864if (
1865   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1866   if test "$*" = "X"; then
1867      # -L didn't work.
1868      set X `ls -t $srcdir/configure conftest.file`
1869   fi
1870   rm -f conftest.file
1871   if test "$*" != "X $srcdir/configure conftest.file" \
1872      && test "$*" != "X conftest.file $srcdir/configure"; then
1873
1874      # If neither matched, then we have a broken ls.  This can happen
1875      # if, for instance, CONFIG_SHELL is bash and it inherits a
1876      # broken ls alias from the environment.  This has actually
1877      # happened.  Such a system could not be considered "sane".
1878      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1879alias in your environment" >&5
1880echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1881alias in your environment" >&2;}
1882   { (exit 1); exit 1; }; }
1883   fi
1884
1885   test "$2" = conftest.file
1886   )
1887then
1888   # Ok.
1889   :
1890else
1891   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1892Check your system clock" >&5
1893echo "$as_me: error: newly created file is older than distributed files!
1894Check your system clock" >&2;}
1895   { (exit 1); exit 1; }; }
1896fi
1897{ echo "$as_me:$LINENO: result: yes" >&5
1898echo "${ECHO_T}yes" >&6; }
1899test "$program_prefix" != NONE &&
1900  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1901# Use a double $ so make ignores it.
1902test "$program_suffix" != NONE &&
1903  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1904# Double any \ or $.  echo might interpret backslashes.
1905# By default was `s,x,x', remove it if useless.
1906cat <<\_ACEOF >conftest.sed
1907s/[\\$]/&&/g;s/;s,x,x,$//
1908_ACEOF
1909program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1910rm -f conftest.sed
1911
1912# expand $ac_aux_dir to an absolute path
1913am_aux_dir=`cd $ac_aux_dir && pwd`
1914
1915test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1916# Use eval to expand $SHELL
1917if eval "$MISSING --run true"; then
1918  am_missing_run="$MISSING --run "
1919else
1920  am_missing_run=
1921  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1922echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1923fi
1924
1925{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1926echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1927if test -z "$MKDIR_P"; then
1928  if test "${ac_cv_path_mkdir+set}" = set; then
1929  echo $ECHO_N "(cached) $ECHO_C" >&6
1930else
1931  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1932for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1933do
1934  IFS=$as_save_IFS
1935  test -z "$as_dir" && as_dir=.
1936  for ac_prog in mkdir gmkdir; do
1937	 for ac_exec_ext in '' $ac_executable_extensions; do
1938	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1939	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1940	     'mkdir (GNU coreutils) '* | \
1941	     'mkdir (coreutils) '* | \
1942	     'mkdir (fileutils) '4.1*)
1943	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1944	       break 3;;
1945	   esac
1946	 done
1947       done
1948done
1949IFS=$as_save_IFS
1950
1951fi
1952
1953  if test "${ac_cv_path_mkdir+set}" = set; then
1954    MKDIR_P="$ac_cv_path_mkdir -p"
1955  else
1956    # As a last resort, use the slow shell script.  Don't cache a
1957    # value for MKDIR_P within a source directory, because that will
1958    # break other packages using the cache if that directory is
1959    # removed, or if the value is a relative name.
1960    test -d ./--version && rmdir ./--version
1961    MKDIR_P="$ac_install_sh -d"
1962  fi
1963fi
1964{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1965echo "${ECHO_T}$MKDIR_P" >&6; }
1966
1967mkdir_p="$MKDIR_P"
1968case $mkdir_p in
1969  [\\/$]* | ?:[\\/]*) ;;
1970  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1971esac
1972
1973for ac_prog in gawk mawk nawk awk
1974do
1975  # Extract the first word of "$ac_prog", so it can be a program name with args.
1976set dummy $ac_prog; ac_word=$2
1977{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1978echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1979if test "${ac_cv_prog_AWK+set}" = set; then
1980  echo $ECHO_N "(cached) $ECHO_C" >&6
1981else
1982  if test -n "$AWK"; then
1983  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1984else
1985as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1986for as_dir in $PATH
1987do
1988  IFS=$as_save_IFS
1989  test -z "$as_dir" && as_dir=.
1990  for ac_exec_ext in '' $ac_executable_extensions; do
1991  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1992    ac_cv_prog_AWK="$ac_prog"
1993    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1994    break 2
1995  fi
1996done
1997done
1998IFS=$as_save_IFS
1999
2000fi
2001fi
2002AWK=$ac_cv_prog_AWK
2003if test -n "$AWK"; then
2004  { echo "$as_me:$LINENO: result: $AWK" >&5
2005echo "${ECHO_T}$AWK" >&6; }
2006else
2007  { echo "$as_me:$LINENO: result: no" >&5
2008echo "${ECHO_T}no" >&6; }
2009fi
2010
2011
2012  test -n "$AWK" && break
2013done
2014
2015{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2016echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2017set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2018if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2019  echo $ECHO_N "(cached) $ECHO_C" >&6
2020else
2021  cat >conftest.make <<\_ACEOF
2022SHELL = /bin/sh
2023all:
2024	@echo '@@@%%%=$(MAKE)=@@@%%%'
2025_ACEOF
2026# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2027case `${MAKE-make} -f conftest.make 2>/dev/null` in
2028  *@@@%%%=?*=@@@%%%*)
2029    eval ac_cv_prog_make_${ac_make}_set=yes;;
2030  *)
2031    eval ac_cv_prog_make_${ac_make}_set=no;;
2032esac
2033rm -f conftest.make
2034fi
2035if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2036  { echo "$as_me:$LINENO: result: yes" >&5
2037echo "${ECHO_T}yes" >&6; }
2038  SET_MAKE=
2039else
2040  { echo "$as_me:$LINENO: result: no" >&5
2041echo "${ECHO_T}no" >&6; }
2042  SET_MAKE="MAKE=${MAKE-make}"
2043fi
2044
2045rm -rf .tst 2>/dev/null
2046mkdir .tst 2>/dev/null
2047if test -d .tst; then
2048  am__leading_dot=.
2049else
2050  am__leading_dot=_
2051fi
2052rmdir .tst 2>/dev/null
2053
2054if test "`cd $srcdir && pwd`" != "`pwd`"; then
2055  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2056  # is not polluted with repeated "-I."
2057  am__isrc=' -I$(srcdir)'
2058  # test to see if srcdir already configured
2059  if test -f $srcdir/config.status; then
2060    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2061echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2062   { (exit 1); exit 1; }; }
2063  fi
2064fi
2065
2066# test whether we have cygpath
2067if test -z "$CYGPATH_W"; then
2068  if (cygpath --version) >/dev/null 2>/dev/null; then
2069    CYGPATH_W='cygpath -w'
2070  else
2071    CYGPATH_W=echo
2072  fi
2073fi
2074
2075
2076# Define the identity of the package.
2077 PACKAGE='setxkbmap'
2078 VERSION='1.0.4'
2079
2080
2081cat >>confdefs.h <<_ACEOF
2082#define PACKAGE "$PACKAGE"
2083_ACEOF
2084
2085
2086cat >>confdefs.h <<_ACEOF
2087#define VERSION "$VERSION"
2088_ACEOF
2089
2090# Some tools Automake needs.
2091
2092ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2093
2094
2095AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2096
2097
2098AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2099
2100
2101AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2102
2103
2104MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2105
2106install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2107
2108# Installed binaries are usually stripped using `strip' when the user
2109# run `make install-strip'.  However `strip' might not be the right
2110# tool to use in cross-compilation environments, therefore Automake
2111# will honor the `STRIP' environment variable to overrule this program.
2112if test "$cross_compiling" != no; then
2113  if test -n "$ac_tool_prefix"; then
2114  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2115set dummy ${ac_tool_prefix}strip; ac_word=$2
2116{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2117echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2118if test "${ac_cv_prog_STRIP+set}" = set; then
2119  echo $ECHO_N "(cached) $ECHO_C" >&6
2120else
2121  if test -n "$STRIP"; then
2122  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2123else
2124as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2125for as_dir in $PATH
2126do
2127  IFS=$as_save_IFS
2128  test -z "$as_dir" && as_dir=.
2129  for ac_exec_ext in '' $ac_executable_extensions; do
2130  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2131    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2132    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2133    break 2
2134  fi
2135done
2136done
2137IFS=$as_save_IFS
2138
2139fi
2140fi
2141STRIP=$ac_cv_prog_STRIP
2142if test -n "$STRIP"; then
2143  { echo "$as_me:$LINENO: result: $STRIP" >&5
2144echo "${ECHO_T}$STRIP" >&6; }
2145else
2146  { echo "$as_me:$LINENO: result: no" >&5
2147echo "${ECHO_T}no" >&6; }
2148fi
2149
2150
2151fi
2152if test -z "$ac_cv_prog_STRIP"; then
2153  ac_ct_STRIP=$STRIP
2154  # Extract the first word of "strip", so it can be a program name with args.
2155set dummy strip; ac_word=$2
2156{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2157echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2158if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2159  echo $ECHO_N "(cached) $ECHO_C" >&6
2160else
2161  if test -n "$ac_ct_STRIP"; then
2162  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2163else
2164as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2165for as_dir in $PATH
2166do
2167  IFS=$as_save_IFS
2168  test -z "$as_dir" && as_dir=.
2169  for ac_exec_ext in '' $ac_executable_extensions; do
2170  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2171    ac_cv_prog_ac_ct_STRIP="strip"
2172    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2173    break 2
2174  fi
2175done
2176done
2177IFS=$as_save_IFS
2178
2179fi
2180fi
2181ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2182if test -n "$ac_ct_STRIP"; then
2183  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2184echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2185else
2186  { echo "$as_me:$LINENO: result: no" >&5
2187echo "${ECHO_T}no" >&6; }
2188fi
2189
2190  if test "x$ac_ct_STRIP" = x; then
2191    STRIP=":"
2192  else
2193    case $cross_compiling:$ac_tool_warned in
2194yes:)
2195{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2196whose name does not start with the host triplet.  If you think this
2197configuration is useful to you, please write to autoconf@gnu.org." >&5
2198echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2199whose name does not start with the host triplet.  If you think this
2200configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2201ac_tool_warned=yes ;;
2202esac
2203    STRIP=$ac_ct_STRIP
2204  fi
2205else
2206  STRIP="$ac_cv_prog_STRIP"
2207fi
2208
2209fi
2210INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2211
2212# We need awk for the "check" target.  The system "awk" is bad on
2213# some platforms.
2214# Always define AMTAR for backward compatibility.
2215
2216AMTAR=${AMTAR-"${am_missing_run}tar"}
2217
2218am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2219
2220
2221
2222
2223
2224{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2225echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2226    # Check whether --enable-maintainer-mode was given.
2227if test "${enable_maintainer_mode+set}" = set; then
2228  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2229else
2230  USE_MAINTAINER_MODE=no
2231fi
2232
2233  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2234echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2235   if test $USE_MAINTAINER_MODE = yes; then
2236  MAINTAINER_MODE_TRUE=
2237  MAINTAINER_MODE_FALSE='#'
2238else
2239  MAINTAINER_MODE_TRUE='#'
2240  MAINTAINER_MODE_FALSE=
2241fi
2242
2243  MAINT=$MAINTAINER_MODE_TRUE
2244
2245
2246
2247ac_config_headers="$ac_config_headers config.h"
2248
2249
2250ac_ext=c
2251ac_cpp='$CPP $CPPFLAGS'
2252ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2253ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2254ac_compiler_gnu=$ac_cv_c_compiler_gnu
2255if test -n "$ac_tool_prefix"; then
2256  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2257set dummy ${ac_tool_prefix}gcc; ac_word=$2
2258{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2259echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2260if test "${ac_cv_prog_CC+set}" = set; then
2261  echo $ECHO_N "(cached) $ECHO_C" >&6
2262else
2263  if test -n "$CC"; then
2264  ac_cv_prog_CC="$CC" # Let the user override the test.
2265else
2266as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2267for as_dir in $PATH
2268do
2269  IFS=$as_save_IFS
2270  test -z "$as_dir" && as_dir=.
2271  for ac_exec_ext in '' $ac_executable_extensions; do
2272  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2273    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2274    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2275    break 2
2276  fi
2277done
2278done
2279IFS=$as_save_IFS
2280
2281fi
2282fi
2283CC=$ac_cv_prog_CC
2284if test -n "$CC"; then
2285  { echo "$as_me:$LINENO: result: $CC" >&5
2286echo "${ECHO_T}$CC" >&6; }
2287else
2288  { echo "$as_me:$LINENO: result: no" >&5
2289echo "${ECHO_T}no" >&6; }
2290fi
2291
2292
2293fi
2294if test -z "$ac_cv_prog_CC"; then
2295  ac_ct_CC=$CC
2296  # Extract the first word of "gcc", so it can be a program name with args.
2297set dummy gcc; ac_word=$2
2298{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2299echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2300if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2301  echo $ECHO_N "(cached) $ECHO_C" >&6
2302else
2303  if test -n "$ac_ct_CC"; then
2304  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2305else
2306as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2307for as_dir in $PATH
2308do
2309  IFS=$as_save_IFS
2310  test -z "$as_dir" && as_dir=.
2311  for ac_exec_ext in '' $ac_executable_extensions; do
2312  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2313    ac_cv_prog_ac_ct_CC="gcc"
2314    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2315    break 2
2316  fi
2317done
2318done
2319IFS=$as_save_IFS
2320
2321fi
2322fi
2323ac_ct_CC=$ac_cv_prog_ac_ct_CC
2324if test -n "$ac_ct_CC"; then
2325  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2326echo "${ECHO_T}$ac_ct_CC" >&6; }
2327else
2328  { echo "$as_me:$LINENO: result: no" >&5
2329echo "${ECHO_T}no" >&6; }
2330fi
2331
2332  if test "x$ac_ct_CC" = x; then
2333    CC=""
2334  else
2335    case $cross_compiling:$ac_tool_warned in
2336yes:)
2337{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2338whose name does not start with the host triplet.  If you think this
2339configuration is useful to you, please write to autoconf@gnu.org." >&5
2340echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2341whose name does not start with the host triplet.  If you think this
2342configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2343ac_tool_warned=yes ;;
2344esac
2345    CC=$ac_ct_CC
2346  fi
2347else
2348  CC="$ac_cv_prog_CC"
2349fi
2350
2351if test -z "$CC"; then
2352          if test -n "$ac_tool_prefix"; then
2353    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2354set dummy ${ac_tool_prefix}cc; ac_word=$2
2355{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2356echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2357if test "${ac_cv_prog_CC+set}" = set; then
2358  echo $ECHO_N "(cached) $ECHO_C" >&6
2359else
2360  if test -n "$CC"; then
2361  ac_cv_prog_CC="$CC" # Let the user override the test.
2362else
2363as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2364for as_dir in $PATH
2365do
2366  IFS=$as_save_IFS
2367  test -z "$as_dir" && as_dir=.
2368  for ac_exec_ext in '' $ac_executable_extensions; do
2369  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2370    ac_cv_prog_CC="${ac_tool_prefix}cc"
2371    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2372    break 2
2373  fi
2374done
2375done
2376IFS=$as_save_IFS
2377
2378fi
2379fi
2380CC=$ac_cv_prog_CC
2381if test -n "$CC"; then
2382  { echo "$as_me:$LINENO: result: $CC" >&5
2383echo "${ECHO_T}$CC" >&6; }
2384else
2385  { echo "$as_me:$LINENO: result: no" >&5
2386echo "${ECHO_T}no" >&6; }
2387fi
2388
2389
2390  fi
2391fi
2392if test -z "$CC"; then
2393  # Extract the first word of "cc", so it can be a program name with args.
2394set dummy cc; ac_word=$2
2395{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2396echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2397if test "${ac_cv_prog_CC+set}" = set; then
2398  echo $ECHO_N "(cached) $ECHO_C" >&6
2399else
2400  if test -n "$CC"; then
2401  ac_cv_prog_CC="$CC" # Let the user override the test.
2402else
2403  ac_prog_rejected=no
2404as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2405for as_dir in $PATH
2406do
2407  IFS=$as_save_IFS
2408  test -z "$as_dir" && as_dir=.
2409  for ac_exec_ext in '' $ac_executable_extensions; do
2410  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2411    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2412       ac_prog_rejected=yes
2413       continue
2414     fi
2415    ac_cv_prog_CC="cc"
2416    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2417    break 2
2418  fi
2419done
2420done
2421IFS=$as_save_IFS
2422
2423if test $ac_prog_rejected = yes; then
2424  # We found a bogon in the path, so make sure we never use it.
2425  set dummy $ac_cv_prog_CC
2426  shift
2427  if test $# != 0; then
2428    # We chose a different compiler from the bogus one.
2429    # However, it has the same basename, so the bogon will be chosen
2430    # first if we set CC to just the basename; use the full file name.
2431    shift
2432    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2433  fi
2434fi
2435fi
2436fi
2437CC=$ac_cv_prog_CC
2438if test -n "$CC"; then
2439  { echo "$as_me:$LINENO: result: $CC" >&5
2440echo "${ECHO_T}$CC" >&6; }
2441else
2442  { echo "$as_me:$LINENO: result: no" >&5
2443echo "${ECHO_T}no" >&6; }
2444fi
2445
2446
2447fi
2448if test -z "$CC"; then
2449  if test -n "$ac_tool_prefix"; then
2450  for ac_prog in cl.exe
2451  do
2452    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2453set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2454{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2455echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2456if test "${ac_cv_prog_CC+set}" = set; then
2457  echo $ECHO_N "(cached) $ECHO_C" >&6
2458else
2459  if test -n "$CC"; then
2460  ac_cv_prog_CC="$CC" # Let the user override the test.
2461else
2462as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2463for as_dir in $PATH
2464do
2465  IFS=$as_save_IFS
2466  test -z "$as_dir" && as_dir=.
2467  for ac_exec_ext in '' $ac_executable_extensions; do
2468  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2469    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2470    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2471    break 2
2472  fi
2473done
2474done
2475IFS=$as_save_IFS
2476
2477fi
2478fi
2479CC=$ac_cv_prog_CC
2480if test -n "$CC"; then
2481  { echo "$as_me:$LINENO: result: $CC" >&5
2482echo "${ECHO_T}$CC" >&6; }
2483else
2484  { echo "$as_me:$LINENO: result: no" >&5
2485echo "${ECHO_T}no" >&6; }
2486fi
2487
2488
2489    test -n "$CC" && break
2490  done
2491fi
2492if test -z "$CC"; then
2493  ac_ct_CC=$CC
2494  for ac_prog in cl.exe
2495do
2496  # Extract the first word of "$ac_prog", so it can be a program name with args.
2497set dummy $ac_prog; ac_word=$2
2498{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2499echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2500if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2501  echo $ECHO_N "(cached) $ECHO_C" >&6
2502else
2503  if test -n "$ac_ct_CC"; then
2504  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2505else
2506as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2507for as_dir in $PATH
2508do
2509  IFS=$as_save_IFS
2510  test -z "$as_dir" && as_dir=.
2511  for ac_exec_ext in '' $ac_executable_extensions; do
2512  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2513    ac_cv_prog_ac_ct_CC="$ac_prog"
2514    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2515    break 2
2516  fi
2517done
2518done
2519IFS=$as_save_IFS
2520
2521fi
2522fi
2523ac_ct_CC=$ac_cv_prog_ac_ct_CC
2524if test -n "$ac_ct_CC"; then
2525  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2526echo "${ECHO_T}$ac_ct_CC" >&6; }
2527else
2528  { echo "$as_me:$LINENO: result: no" >&5
2529echo "${ECHO_T}no" >&6; }
2530fi
2531
2532
2533  test -n "$ac_ct_CC" && break
2534done
2535
2536  if test "x$ac_ct_CC" = x; then
2537    CC=""
2538  else
2539    case $cross_compiling:$ac_tool_warned in
2540yes:)
2541{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2542whose name does not start with the host triplet.  If you think this
2543configuration is useful to you, please write to autoconf@gnu.org." >&5
2544echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2545whose name does not start with the host triplet.  If you think this
2546configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2547ac_tool_warned=yes ;;
2548esac
2549    CC=$ac_ct_CC
2550  fi
2551fi
2552
2553fi
2554
2555
2556test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2557See \`config.log' for more details." >&5
2558echo "$as_me: error: no acceptable C compiler found in \$PATH
2559See \`config.log' for more details." >&2;}
2560   { (exit 1); exit 1; }; }
2561
2562# Provide some information about the compiler.
2563echo "$as_me:$LINENO: checking for C compiler version" >&5
2564ac_compiler=`set X $ac_compile; echo $2`
2565{ (ac_try="$ac_compiler --version >&5"
2566case "(($ac_try" in
2567  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2568  *) ac_try_echo=$ac_try;;
2569esac
2570eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2571  (eval "$ac_compiler --version >&5") 2>&5
2572  ac_status=$?
2573  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2574  (exit $ac_status); }
2575{ (ac_try="$ac_compiler -v >&5"
2576case "(($ac_try" in
2577  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2578  *) ac_try_echo=$ac_try;;
2579esac
2580eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2581  (eval "$ac_compiler -v >&5") 2>&5
2582  ac_status=$?
2583  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2584  (exit $ac_status); }
2585{ (ac_try="$ac_compiler -V >&5"
2586case "(($ac_try" in
2587  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2588  *) ac_try_echo=$ac_try;;
2589esac
2590eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2591  (eval "$ac_compiler -V >&5") 2>&5
2592  ac_status=$?
2593  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2594  (exit $ac_status); }
2595
2596cat >conftest.$ac_ext <<_ACEOF
2597/* confdefs.h.  */
2598_ACEOF
2599cat confdefs.h >>conftest.$ac_ext
2600cat >>conftest.$ac_ext <<_ACEOF
2601/* end confdefs.h.  */
2602
2603int
2604main ()
2605{
2606
2607  ;
2608  return 0;
2609}
2610_ACEOF
2611ac_clean_files_save=$ac_clean_files
2612ac_clean_files="$ac_clean_files a.out a.exe b.out"
2613# Try to create an executable without -o first, disregard a.out.
2614# It will help us diagnose broken compilers, and finding out an intuition
2615# of exeext.
2616{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2617echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2618ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2619#
2620# List of possible output files, starting from the most likely.
2621# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2622# only as a last resort.  b.out is created by i960 compilers.
2623ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2624#
2625# The IRIX 6 linker writes into existing files which may not be
2626# executable, retaining their permissions.  Remove them first so a
2627# subsequent execution test works.
2628ac_rmfiles=
2629for ac_file in $ac_files
2630do
2631  case $ac_file in
2632    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2633    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2634  esac
2635done
2636rm -f $ac_rmfiles
2637
2638if { (ac_try="$ac_link_default"
2639case "(($ac_try" in
2640  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2641  *) ac_try_echo=$ac_try;;
2642esac
2643eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2644  (eval "$ac_link_default") 2>&5
2645  ac_status=$?
2646  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2647  (exit $ac_status); }; then
2648  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2649# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2650# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2651# so that the user can short-circuit this test for compilers unknown to
2652# Autoconf.
2653for ac_file in $ac_files ''
2654do
2655  test -f "$ac_file" || continue
2656  case $ac_file in
2657    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2658	;;
2659    [ab].out )
2660	# We found the default executable, but exeext='' is most
2661	# certainly right.
2662	break;;
2663    *.* )
2664        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2665	then :; else
2666	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2667	fi
2668	# We set ac_cv_exeext here because the later test for it is not
2669	# safe: cross compilers may not add the suffix if given an `-o'
2670	# argument, so we may need to know it at that point already.
2671	# Even if this section looks crufty: it has the advantage of
2672	# actually working.
2673	break;;
2674    * )
2675	break;;
2676  esac
2677done
2678test "$ac_cv_exeext" = no && ac_cv_exeext=
2679
2680else
2681  ac_file=''
2682fi
2683
2684{ echo "$as_me:$LINENO: result: $ac_file" >&5
2685echo "${ECHO_T}$ac_file" >&6; }
2686if test -z "$ac_file"; then
2687  echo "$as_me: failed program was:" >&5
2688sed 's/^/| /' conftest.$ac_ext >&5
2689
2690{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2691See \`config.log' for more details." >&5
2692echo "$as_me: error: C compiler cannot create executables
2693See \`config.log' for more details." >&2;}
2694   { (exit 77); exit 77; }; }
2695fi
2696
2697ac_exeext=$ac_cv_exeext
2698
2699# Check that the compiler produces executables we can run.  If not, either
2700# the compiler is broken, or we cross compile.
2701{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2702echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2703# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2704# If not cross compiling, check that we can run a simple program.
2705if test "$cross_compiling" != yes; then
2706  if { ac_try='./$ac_file'
2707  { (case "(($ac_try" in
2708  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2709  *) ac_try_echo=$ac_try;;
2710esac
2711eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2712  (eval "$ac_try") 2>&5
2713  ac_status=$?
2714  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2715  (exit $ac_status); }; }; then
2716    cross_compiling=no
2717  else
2718    if test "$cross_compiling" = maybe; then
2719	cross_compiling=yes
2720    else
2721	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2722If you meant to cross compile, use \`--host'.
2723See \`config.log' for more details." >&5
2724echo "$as_me: error: cannot run C compiled programs.
2725If you meant to cross compile, use \`--host'.
2726See \`config.log' for more details." >&2;}
2727   { (exit 1); exit 1; }; }
2728    fi
2729  fi
2730fi
2731{ echo "$as_me:$LINENO: result: yes" >&5
2732echo "${ECHO_T}yes" >&6; }
2733
2734rm -f a.out a.exe conftest$ac_cv_exeext b.out
2735ac_clean_files=$ac_clean_files_save
2736# Check that the compiler produces executables we can run.  If not, either
2737# the compiler is broken, or we cross compile.
2738{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2739echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2740{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2741echo "${ECHO_T}$cross_compiling" >&6; }
2742
2743{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2744echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2745if { (ac_try="$ac_link"
2746case "(($ac_try" in
2747  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2748  *) ac_try_echo=$ac_try;;
2749esac
2750eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2751  (eval "$ac_link") 2>&5
2752  ac_status=$?
2753  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2754  (exit $ac_status); }; then
2755  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2756# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2757# work properly (i.e., refer to `conftest.exe'), while it won't with
2758# `rm'.
2759for ac_file in conftest.exe conftest conftest.*; do
2760  test -f "$ac_file" || continue
2761  case $ac_file in
2762    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2763    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2764	  break;;
2765    * ) break;;
2766  esac
2767done
2768else
2769  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2770See \`config.log' for more details." >&5
2771echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2772See \`config.log' for more details." >&2;}
2773   { (exit 1); exit 1; }; }
2774fi
2775
2776rm -f conftest$ac_cv_exeext
2777{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2778echo "${ECHO_T}$ac_cv_exeext" >&6; }
2779
2780rm -f conftest.$ac_ext
2781EXEEXT=$ac_cv_exeext
2782ac_exeext=$EXEEXT
2783{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2784echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2785if test "${ac_cv_objext+set}" = set; then
2786  echo $ECHO_N "(cached) $ECHO_C" >&6
2787else
2788  cat >conftest.$ac_ext <<_ACEOF
2789/* confdefs.h.  */
2790_ACEOF
2791cat confdefs.h >>conftest.$ac_ext
2792cat >>conftest.$ac_ext <<_ACEOF
2793/* end confdefs.h.  */
2794
2795int
2796main ()
2797{
2798
2799  ;
2800  return 0;
2801}
2802_ACEOF
2803rm -f conftest.o conftest.obj
2804if { (ac_try="$ac_compile"
2805case "(($ac_try" in
2806  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2807  *) ac_try_echo=$ac_try;;
2808esac
2809eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2810  (eval "$ac_compile") 2>&5
2811  ac_status=$?
2812  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2813  (exit $ac_status); }; then
2814  for ac_file in conftest.o conftest.obj conftest.*; do
2815  test -f "$ac_file" || continue;
2816  case $ac_file in
2817    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2818    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2819       break;;
2820  esac
2821done
2822else
2823  echo "$as_me: failed program was:" >&5
2824sed 's/^/| /' conftest.$ac_ext >&5
2825
2826{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2827See \`config.log' for more details." >&5
2828echo "$as_me: error: cannot compute suffix of object files: cannot compile
2829See \`config.log' for more details." >&2;}
2830   { (exit 1); exit 1; }; }
2831fi
2832
2833rm -f conftest.$ac_cv_objext conftest.$ac_ext
2834fi
2835{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2836echo "${ECHO_T}$ac_cv_objext" >&6; }
2837OBJEXT=$ac_cv_objext
2838ac_objext=$OBJEXT
2839{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2840echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2841if test "${ac_cv_c_compiler_gnu+set}" = set; then
2842  echo $ECHO_N "(cached) $ECHO_C" >&6
2843else
2844  cat >conftest.$ac_ext <<_ACEOF
2845/* confdefs.h.  */
2846_ACEOF
2847cat confdefs.h >>conftest.$ac_ext
2848cat >>conftest.$ac_ext <<_ACEOF
2849/* end confdefs.h.  */
2850
2851int
2852main ()
2853{
2854#ifndef __GNUC__
2855       choke me
2856#endif
2857
2858  ;
2859  return 0;
2860}
2861_ACEOF
2862rm -f conftest.$ac_objext
2863if { (ac_try="$ac_compile"
2864case "(($ac_try" in
2865  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2866  *) ac_try_echo=$ac_try;;
2867esac
2868eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2869  (eval "$ac_compile") 2>conftest.er1
2870  ac_status=$?
2871  grep -v '^ *+' conftest.er1 >conftest.err
2872  rm -f conftest.er1
2873  cat conftest.err >&5
2874  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2875  (exit $ac_status); } && {
2876	 test -z "$ac_c_werror_flag" ||
2877	 test ! -s conftest.err
2878       } && test -s conftest.$ac_objext; then
2879  ac_compiler_gnu=yes
2880else
2881  echo "$as_me: failed program was:" >&5
2882sed 's/^/| /' conftest.$ac_ext >&5
2883
2884	ac_compiler_gnu=no
2885fi
2886
2887rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2888ac_cv_c_compiler_gnu=$ac_compiler_gnu
2889
2890fi
2891{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2892echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2893GCC=`test $ac_compiler_gnu = yes && echo yes`
2894ac_test_CFLAGS=${CFLAGS+set}
2895ac_save_CFLAGS=$CFLAGS
2896{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2897echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2898if test "${ac_cv_prog_cc_g+set}" = set; then
2899  echo $ECHO_N "(cached) $ECHO_C" >&6
2900else
2901  ac_save_c_werror_flag=$ac_c_werror_flag
2902   ac_c_werror_flag=yes
2903   ac_cv_prog_cc_g=no
2904   CFLAGS="-g"
2905   cat >conftest.$ac_ext <<_ACEOF
2906/* confdefs.h.  */
2907_ACEOF
2908cat confdefs.h >>conftest.$ac_ext
2909cat >>conftest.$ac_ext <<_ACEOF
2910/* end confdefs.h.  */
2911
2912int
2913main ()
2914{
2915
2916  ;
2917  return 0;
2918}
2919_ACEOF
2920rm -f conftest.$ac_objext
2921if { (ac_try="$ac_compile"
2922case "(($ac_try" in
2923  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2924  *) ac_try_echo=$ac_try;;
2925esac
2926eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2927  (eval "$ac_compile") 2>conftest.er1
2928  ac_status=$?
2929  grep -v '^ *+' conftest.er1 >conftest.err
2930  rm -f conftest.er1
2931  cat conftest.err >&5
2932  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933  (exit $ac_status); } && {
2934	 test -z "$ac_c_werror_flag" ||
2935	 test ! -s conftest.err
2936       } && test -s conftest.$ac_objext; then
2937  ac_cv_prog_cc_g=yes
2938else
2939  echo "$as_me: failed program was:" >&5
2940sed 's/^/| /' conftest.$ac_ext >&5
2941
2942	CFLAGS=""
2943      cat >conftest.$ac_ext <<_ACEOF
2944/* confdefs.h.  */
2945_ACEOF
2946cat confdefs.h >>conftest.$ac_ext
2947cat >>conftest.$ac_ext <<_ACEOF
2948/* end confdefs.h.  */
2949
2950int
2951main ()
2952{
2953
2954  ;
2955  return 0;
2956}
2957_ACEOF
2958rm -f conftest.$ac_objext
2959if { (ac_try="$ac_compile"
2960case "(($ac_try" in
2961  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2962  *) ac_try_echo=$ac_try;;
2963esac
2964eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2965  (eval "$ac_compile") 2>conftest.er1
2966  ac_status=$?
2967  grep -v '^ *+' conftest.er1 >conftest.err
2968  rm -f conftest.er1
2969  cat conftest.err >&5
2970  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2971  (exit $ac_status); } && {
2972	 test -z "$ac_c_werror_flag" ||
2973	 test ! -s conftest.err
2974       } && test -s conftest.$ac_objext; then
2975  :
2976else
2977  echo "$as_me: failed program was:" >&5
2978sed 's/^/| /' conftest.$ac_ext >&5
2979
2980	ac_c_werror_flag=$ac_save_c_werror_flag
2981	 CFLAGS="-g"
2982	 cat >conftest.$ac_ext <<_ACEOF
2983/* confdefs.h.  */
2984_ACEOF
2985cat confdefs.h >>conftest.$ac_ext
2986cat >>conftest.$ac_ext <<_ACEOF
2987/* end confdefs.h.  */
2988
2989int
2990main ()
2991{
2992
2993  ;
2994  return 0;
2995}
2996_ACEOF
2997rm -f conftest.$ac_objext
2998if { (ac_try="$ac_compile"
2999case "(($ac_try" in
3000  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3001  *) ac_try_echo=$ac_try;;
3002esac
3003eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3004  (eval "$ac_compile") 2>conftest.er1
3005  ac_status=$?
3006  grep -v '^ *+' conftest.er1 >conftest.err
3007  rm -f conftest.er1
3008  cat conftest.err >&5
3009  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3010  (exit $ac_status); } && {
3011	 test -z "$ac_c_werror_flag" ||
3012	 test ! -s conftest.err
3013       } && test -s conftest.$ac_objext; then
3014  ac_cv_prog_cc_g=yes
3015else
3016  echo "$as_me: failed program was:" >&5
3017sed 's/^/| /' conftest.$ac_ext >&5
3018
3019
3020fi
3021
3022rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3023fi
3024
3025rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3026fi
3027
3028rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3029   ac_c_werror_flag=$ac_save_c_werror_flag
3030fi
3031{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3032echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3033if test "$ac_test_CFLAGS" = set; then
3034  CFLAGS=$ac_save_CFLAGS
3035elif test $ac_cv_prog_cc_g = yes; then
3036  if test "$GCC" = yes; then
3037    CFLAGS="-g -O2"
3038  else
3039    CFLAGS="-g"
3040  fi
3041else
3042  if test "$GCC" = yes; then
3043    CFLAGS="-O2"
3044  else
3045    CFLAGS=
3046  fi
3047fi
3048{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3049echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3050if test "${ac_cv_prog_cc_c89+set}" = set; then
3051  echo $ECHO_N "(cached) $ECHO_C" >&6
3052else
3053  ac_cv_prog_cc_c89=no
3054ac_save_CC=$CC
3055cat >conftest.$ac_ext <<_ACEOF
3056/* confdefs.h.  */
3057_ACEOF
3058cat confdefs.h >>conftest.$ac_ext
3059cat >>conftest.$ac_ext <<_ACEOF
3060/* end confdefs.h.  */
3061#include <stdarg.h>
3062#include <stdio.h>
3063#include <sys/types.h>
3064#include <sys/stat.h>
3065/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3066struct buf { int x; };
3067FILE * (*rcsopen) (struct buf *, struct stat *, int);
3068static char *e (p, i)
3069     char **p;
3070     int i;
3071{
3072  return p[i];
3073}
3074static char *f (char * (*g) (char **, int), char **p, ...)
3075{
3076  char *s;
3077  va_list v;
3078  va_start (v,p);
3079  s = g (p, va_arg (v,int));
3080  va_end (v);
3081  return s;
3082}
3083
3084/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3085   function prototypes and stuff, but not '\xHH' hex character constants.
3086   These don't provoke an error unfortunately, instead are silently treated
3087   as 'x'.  The following induces an error, until -std is added to get
3088   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3089   array size at least.  It's necessary to write '\x00'==0 to get something
3090   that's true only with -std.  */
3091int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3092
3093/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3094   inside strings and character constants.  */
3095#define FOO(x) 'x'
3096int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3097
3098int test (int i, double x);
3099struct s1 {int (*f) (int a);};
3100struct s2 {int (*f) (double a);};
3101int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3102int argc;
3103char **argv;
3104int
3105main ()
3106{
3107return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3108  ;
3109  return 0;
3110}
3111_ACEOF
3112for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3113	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3114do
3115  CC="$ac_save_CC $ac_arg"
3116  rm -f conftest.$ac_objext
3117if { (ac_try="$ac_compile"
3118case "(($ac_try" in
3119  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3120  *) ac_try_echo=$ac_try;;
3121esac
3122eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3123  (eval "$ac_compile") 2>conftest.er1
3124  ac_status=$?
3125  grep -v '^ *+' conftest.er1 >conftest.err
3126  rm -f conftest.er1
3127  cat conftest.err >&5
3128  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3129  (exit $ac_status); } && {
3130	 test -z "$ac_c_werror_flag" ||
3131	 test ! -s conftest.err
3132       } && test -s conftest.$ac_objext; then
3133  ac_cv_prog_cc_c89=$ac_arg
3134else
3135  echo "$as_me: failed program was:" >&5
3136sed 's/^/| /' conftest.$ac_ext >&5
3137
3138
3139fi
3140
3141rm -f core conftest.err conftest.$ac_objext
3142  test "x$ac_cv_prog_cc_c89" != "xno" && break
3143done
3144rm -f conftest.$ac_ext
3145CC=$ac_save_CC
3146
3147fi
3148# AC_CACHE_VAL
3149case "x$ac_cv_prog_cc_c89" in
3150  x)
3151    { echo "$as_me:$LINENO: result: none needed" >&5
3152echo "${ECHO_T}none needed" >&6; } ;;
3153  xno)
3154    { echo "$as_me:$LINENO: result: unsupported" >&5
3155echo "${ECHO_T}unsupported" >&6; } ;;
3156  *)
3157    CC="$CC $ac_cv_prog_cc_c89"
3158    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3159echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3160esac
3161
3162
3163ac_ext=c
3164ac_cpp='$CPP $CPPFLAGS'
3165ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3166ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3167ac_compiler_gnu=$ac_cv_c_compiler_gnu
3168DEPDIR="${am__leading_dot}deps"
3169
3170ac_config_commands="$ac_config_commands depfiles"
3171
3172
3173am_make=${MAKE-make}
3174cat > confinc << 'END'
3175am__doit:
3176	@echo done
3177.PHONY: am__doit
3178END
3179# If we don't find an include directive, just comment out the code.
3180{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3181echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3182am__include="#"
3183am__quote=
3184_am_result=none
3185# First try GNU make style include.
3186echo "include confinc" > confmf
3187# We grep out `Entering directory' and `Leaving directory'
3188# messages which can occur if `w' ends up in MAKEFLAGS.
3189# In particular we don't look at `^make:' because GNU make might
3190# be invoked under some other name (usually "gmake"), in which
3191# case it prints its new name instead of `make'.
3192if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3193   am__include=include
3194   am__quote=
3195   _am_result=GNU
3196fi
3197# Now try BSD make style include.
3198if test "$am__include" = "#"; then
3199   echo '.include "confinc"' > confmf
3200   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3201      am__include=.include
3202      am__quote="\""
3203      _am_result=BSD
3204   fi
3205fi
3206
3207
3208{ echo "$as_me:$LINENO: result: $_am_result" >&5
3209echo "${ECHO_T}$_am_result" >&6; }
3210rm -f confinc confmf
3211
3212# Check whether --enable-dependency-tracking was given.
3213if test "${enable_dependency_tracking+set}" = set; then
3214  enableval=$enable_dependency_tracking;
3215fi
3216
3217if test "x$enable_dependency_tracking" != xno; then
3218  am_depcomp="$ac_aux_dir/depcomp"
3219  AMDEPBACKSLASH='\'
3220fi
3221 if test "x$enable_dependency_tracking" != xno; then
3222  AMDEP_TRUE=
3223  AMDEP_FALSE='#'
3224else
3225  AMDEP_TRUE='#'
3226  AMDEP_FALSE=
3227fi
3228
3229
3230
3231depcc="$CC"   am_compiler_list=
3232
3233{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3234echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3235if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3236  echo $ECHO_N "(cached) $ECHO_C" >&6
3237else
3238  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3239  # We make a subdir and do the tests there.  Otherwise we can end up
3240  # making bogus files that we don't know about and never remove.  For
3241  # instance it was reported that on HP-UX the gcc test will end up
3242  # making a dummy file named `D' -- because `-MD' means `put the output
3243  # in D'.
3244  mkdir conftest.dir
3245  # Copy depcomp to subdir because otherwise we won't find it if we're
3246  # using a relative directory.
3247  cp "$am_depcomp" conftest.dir
3248  cd conftest.dir
3249  # We will build objects and dependencies in a subdirectory because
3250  # it helps to detect inapplicable dependency modes.  For instance
3251  # both Tru64's cc and ICC support -MD to output dependencies as a
3252  # side effect of compilation, but ICC will put the dependencies in
3253  # the current directory while Tru64 will put them in the object
3254  # directory.
3255  mkdir sub
3256
3257  am_cv_CC_dependencies_compiler_type=none
3258  if test "$am_compiler_list" = ""; then
3259     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3260  fi
3261  for depmode in $am_compiler_list; do
3262    # Setup a source with many dependencies, because some compilers
3263    # like to wrap large dependency lists on column 80 (with \), and
3264    # we should not choose a depcomp mode which is confused by this.
3265    #
3266    # We need to recreate these files for each test, as the compiler may
3267    # overwrite some of them when testing with obscure command lines.
3268    # This happens at least with the AIX C compiler.
3269    : > sub/conftest.c
3270    for i in 1 2 3 4 5 6; do
3271      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3272      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3273      # Solaris 8's {/usr,}/bin/sh.
3274      touch sub/conftst$i.h
3275    done
3276    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3277
3278    case $depmode in
3279    nosideeffect)
3280      # after this tag, mechanisms are not by side-effect, so they'll
3281      # only be used when explicitly requested
3282      if test "x$enable_dependency_tracking" = xyes; then
3283	continue
3284      else
3285	break
3286      fi
3287      ;;
3288    none) break ;;
3289    esac
3290    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3291    # mode.  It turns out that the SunPro C++ compiler does not properly
3292    # handle `-M -o', and we need to detect this.
3293    if depmode=$depmode \
3294       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3295       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3296       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3297         >/dev/null 2>conftest.err &&
3298       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3299       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3300       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3301       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3302      # icc doesn't choke on unknown options, it will just issue warnings
3303      # or remarks (even with -Werror).  So we grep stderr for any message
3304      # that says an option was ignored or not supported.
3305      # When given -MP, icc 7.0 and 7.1 complain thusly:
3306      #   icc: Command line warning: ignoring option '-M'; no argument required
3307      # The diagnosis changed in icc 8.0:
3308      #   icc: Command line remark: option '-MP' not supported
3309      if (grep 'ignoring option' conftest.err ||
3310          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3311        am_cv_CC_dependencies_compiler_type=$depmode
3312        break
3313      fi
3314    fi
3315  done
3316
3317  cd ..
3318  rm -rf conftest.dir
3319else
3320  am_cv_CC_dependencies_compiler_type=none
3321fi
3322
3323fi
3324{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3325echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3326CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3327
3328 if
3329  test "x$enable_dependency_tracking" != xno \
3330  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3331  am__fastdepCC_TRUE=
3332  am__fastdepCC_FALSE='#'
3333else
3334  am__fastdepCC_TRUE='#'
3335  am__fastdepCC_FALSE=
3336fi
3337
3338
3339# Find a good install program.  We prefer a C program (faster),
3340# so one script is as good as another.  But avoid the broken or
3341# incompatible versions:
3342# SysV /etc/install, /usr/sbin/install
3343# SunOS /usr/etc/install
3344# IRIX /sbin/install
3345# AIX /bin/install
3346# AmigaOS /C/install, which installs bootblocks on floppy discs
3347# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3348# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3349# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3350# OS/2's system install, which has a completely different semantic
3351# ./install, which can be erroneously created by make from ./install.sh.
3352{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3353echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3354if test -z "$INSTALL"; then
3355if test "${ac_cv_path_install+set}" = set; then
3356  echo $ECHO_N "(cached) $ECHO_C" >&6
3357else
3358  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3359for as_dir in $PATH
3360do
3361  IFS=$as_save_IFS
3362  test -z "$as_dir" && as_dir=.
3363  # Account for people who put trailing slashes in PATH elements.
3364case $as_dir/ in
3365  ./ | .// | /cC/* | \
3366  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3367  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3368  /usr/ucb/* ) ;;
3369  *)
3370    # OSF1 and SCO ODT 3.0 have their own names for install.
3371    # Don't use installbsd from OSF since it installs stuff as root
3372    # by default.
3373    for ac_prog in ginstall scoinst install; do
3374      for ac_exec_ext in '' $ac_executable_extensions; do
3375	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3376	  if test $ac_prog = install &&
3377	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3378	    # AIX install.  It has an incompatible calling convention.
3379	    :
3380	  elif test $ac_prog = install &&
3381	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3382	    # program-specific install script used by HP pwplus--don't use.
3383	    :
3384	  else
3385	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3386	    break 3
3387	  fi
3388	fi
3389      done
3390    done
3391    ;;
3392esac
3393done
3394IFS=$as_save_IFS
3395
3396
3397fi
3398  if test "${ac_cv_path_install+set}" = set; then
3399    INSTALL=$ac_cv_path_install
3400  else
3401    # As a last resort, use the slow shell script.  Don't cache a
3402    # value for INSTALL within a source directory, because that will
3403    # break other packages using the cache if that directory is
3404    # removed, or if the value is a relative name.
3405    INSTALL=$ac_install_sh
3406  fi
3407fi
3408{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3409echo "${ECHO_T}$INSTALL" >&6; }
3410
3411# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3412# It thinks the first close brace ends the variable substitution.
3413test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3414
3415test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3416
3417test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3418
3419
3420
3421# Check whether --with-xkb-config-root was given.
3422if test "${with_xkb_config_root+set}" = set; then
3423  withval=$with_xkb_config_root; XKBCONFIGROOT="$withval"
3424else
3425  XKBCONFIGROOT=${datadir}/X11/xkb
3426fi
3427
3428
3429
3430# Checks for pkg-config packages
3431
3432
3433if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3434	if test -n "$ac_tool_prefix"; then
3435  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3436set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3437{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3438echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3439if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3440  echo $ECHO_N "(cached) $ECHO_C" >&6
3441else
3442  case $PKG_CONFIG in
3443  [\\/]* | ?:[\\/]*)
3444  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3445  ;;
3446  *)
3447  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3448for as_dir in $PATH
3449do
3450  IFS=$as_save_IFS
3451  test -z "$as_dir" && as_dir=.
3452  for ac_exec_ext in '' $ac_executable_extensions; do
3453  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3454    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3455    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3456    break 2
3457  fi
3458done
3459done
3460IFS=$as_save_IFS
3461
3462  ;;
3463esac
3464fi
3465PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3466if test -n "$PKG_CONFIG"; then
3467  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3468echo "${ECHO_T}$PKG_CONFIG" >&6; }
3469else
3470  { echo "$as_me:$LINENO: result: no" >&5
3471echo "${ECHO_T}no" >&6; }
3472fi
3473
3474
3475fi
3476if test -z "$ac_cv_path_PKG_CONFIG"; then
3477  ac_pt_PKG_CONFIG=$PKG_CONFIG
3478  # Extract the first word of "pkg-config", so it can be a program name with args.
3479set dummy pkg-config; ac_word=$2
3480{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3481echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3482if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
3483  echo $ECHO_N "(cached) $ECHO_C" >&6
3484else
3485  case $ac_pt_PKG_CONFIG in
3486  [\\/]* | ?:[\\/]*)
3487  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3488  ;;
3489  *)
3490  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3491for as_dir in $PATH
3492do
3493  IFS=$as_save_IFS
3494  test -z "$as_dir" && as_dir=.
3495  for ac_exec_ext in '' $ac_executable_extensions; do
3496  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3497    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3498    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3499    break 2
3500  fi
3501done
3502done
3503IFS=$as_save_IFS
3504
3505  ;;
3506esac
3507fi
3508ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3509if test -n "$ac_pt_PKG_CONFIG"; then
3510  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
3511echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
3512else
3513  { echo "$as_me:$LINENO: result: no" >&5
3514echo "${ECHO_T}no" >&6; }
3515fi
3516
3517  if test "x$ac_pt_PKG_CONFIG" = x; then
3518    PKG_CONFIG=""
3519  else
3520    case $cross_compiling:$ac_tool_warned in
3521yes:)
3522{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3523whose name does not start with the host triplet.  If you think this
3524configuration is useful to you, please write to autoconf@gnu.org." >&5
3525echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3526whose name does not start with the host triplet.  If you think this
3527configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3528ac_tool_warned=yes ;;
3529esac
3530    PKG_CONFIG=$ac_pt_PKG_CONFIG
3531  fi
3532else
3533  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3534fi
3535
3536fi
3537if test -n "$PKG_CONFIG"; then
3538	_pkg_min_version=0.9.0
3539	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
3540echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
3541	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3542		{ echo "$as_me:$LINENO: result: yes" >&5
3543echo "${ECHO_T}yes" >&6; }
3544	else
3545		{ echo "$as_me:$LINENO: result: no" >&5
3546echo "${ECHO_T}no" >&6; }
3547		PKG_CONFIG=""
3548	fi
3549
3550fi
3551
3552pkg_failed=no
3553{ echo "$as_me:$LINENO: checking for SETXKBMAP" >&5
3554echo $ECHO_N "checking for SETXKBMAP... $ECHO_C" >&6; }
3555
3556if test -n "$PKG_CONFIG"; then
3557        if test -n "$PKG_CONFIG" && \
3558    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xkbfile x11\"") >&5
3559  ($PKG_CONFIG --exists --print-errors "xkbfile x11") 2>&5
3560  ac_status=$?
3561  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3562  (exit $ac_status); }; then
3563  pkg_cv_SETXKBMAP_CFLAGS=`$PKG_CONFIG --cflags "xkbfile x11" 2>/dev/null`
3564else
3565  pkg_failed=yes
3566fi
3567else
3568	pkg_failed=untried
3569fi
3570if test -n "$PKG_CONFIG"; then
3571        if test -n "$PKG_CONFIG" && \
3572    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xkbfile x11\"") >&5
3573  ($PKG_CONFIG --exists --print-errors "xkbfile x11") 2>&5
3574  ac_status=$?
3575  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3576  (exit $ac_status); }; then
3577  pkg_cv_SETXKBMAP_LIBS=`$PKG_CONFIG --libs "xkbfile x11" 2>/dev/null`
3578else
3579  pkg_failed=yes
3580fi
3581else
3582	pkg_failed=untried
3583fi
3584
3585if test $pkg_failed = yes; then
3586	SETXKBMAP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xkbfile x11"`
3587	# Put the nasty error message in config.log where it belongs
3588	echo "$SETXKBMAP_PKG_ERRORS" 1>&5
3589
3590	{ { echo "$as_me:$LINENO: error: Package requirements (xkbfile x11) were not met.
3591Consider adjusting the PKG_CONFIG_PATH environment variable if you
3592installed software in a non-standard prefix.
3593
3594Alternatively you may set the SETXKBMAP_CFLAGS and SETXKBMAP_LIBS environment variables
3595to avoid the need to call pkg-config.  See the pkg-config man page for
3596more details." >&5
3597echo "$as_me: error: Package requirements (xkbfile x11) were not met.
3598Consider adjusting the PKG_CONFIG_PATH environment variable if you
3599installed software in a non-standard prefix.
3600
3601Alternatively you may set the SETXKBMAP_CFLAGS and SETXKBMAP_LIBS environment variables
3602to avoid the need to call pkg-config.  See the pkg-config man page for
3603more details." >&2;}
3604   { (exit 1); exit 1; }; }
3605elif test $pkg_failed = untried; then
3606	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
3607is in your PATH or set the PKG_CONFIG environment variable to the full
3608path to pkg-config.
3609
3610Alternatively you may set the SETXKBMAP_CFLAGS and SETXKBMAP_LIBS environment variables
3611to avoid the need to call pkg-config.  See the pkg-config man page for
3612more details.
3613
3614To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
3615See \`config.log' for more details." >&5
3616echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
3617is in your PATH or set the PKG_CONFIG environment variable to the full
3618path to pkg-config.
3619
3620Alternatively you may set the SETXKBMAP_CFLAGS and SETXKBMAP_LIBS environment variables
3621to avoid the need to call pkg-config.  See the pkg-config man page for
3622more details.
3623
3624To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
3625See \`config.log' for more details." >&2;}
3626   { (exit 1); exit 1; }; }
3627else
3628	SETXKBMAP_CFLAGS=$pkg_cv_SETXKBMAP_CFLAGS
3629	SETXKBMAP_LIBS=$pkg_cv_SETXKBMAP_LIBS
3630        { echo "$as_me:$LINENO: result: yes" >&5
3631echo "${ECHO_T}yes" >&6; }
3632	:
3633fi
3634
3635
3636
3637# Allow checking code with lint, sparse, etc.
3638
3639
3640# Allow checking code with lint, sparse, etc.
3641
3642# Check whether --with-lint was given.
3643if test "${with_lint+set}" = set; then
3644  withval=$with_lint; use_lint=$withval
3645else
3646  use_lint=no
3647fi
3648
3649if test "x$use_lint" = "xyes" ; then
3650	LINT="lint"
3651else
3652	LINT="$use_lint"
3653fi
3654if test "x$LINT_FLAGS" = "x" -a "x$LINT" != "xno" ; then
3655    case $LINT in
3656	lint|*/lint)
3657	    case $host_os in
3658		solaris*)
3659			LINT_FLAGS="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
3660			;;
3661	    esac
3662	    ;;
3663    esac
3664fi
3665
3666
3667
3668 if test x$LINT != xno; then
3669  LINT_TRUE=
3670  LINT_FALSE='#'
3671else
3672  LINT_TRUE='#'
3673  LINT_FALSE=
3674fi
3675
3676
3677
3678
3679# Make sure we can run config.sub.
3680$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3681  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3682echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3683   { (exit 1); exit 1; }; }
3684
3685{ echo "$as_me:$LINENO: checking build system type" >&5
3686echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3687if test "${ac_cv_build+set}" = set; then
3688  echo $ECHO_N "(cached) $ECHO_C" >&6
3689else
3690  ac_build_alias=$build_alias
3691test "x$ac_build_alias" = x &&
3692  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3693test "x$ac_build_alias" = x &&
3694  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3695echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3696   { (exit 1); exit 1; }; }
3697ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3698  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3699echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3700   { (exit 1); exit 1; }; }
3701
3702fi
3703{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3704echo "${ECHO_T}$ac_cv_build" >&6; }
3705case $ac_cv_build in
3706*-*-*) ;;
3707*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3708echo "$as_me: error: invalid value of canonical build" >&2;}
3709   { (exit 1); exit 1; }; };;
3710esac
3711build=$ac_cv_build
3712ac_save_IFS=$IFS; IFS='-'
3713set x $ac_cv_build
3714shift
3715build_cpu=$1
3716build_vendor=$2
3717shift; shift
3718# Remember, the first character of IFS is used to create $*,
3719# except with old shells:
3720build_os=$*
3721IFS=$ac_save_IFS
3722case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3723
3724
3725{ echo "$as_me:$LINENO: checking host system type" >&5
3726echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3727if test "${ac_cv_host+set}" = set; then
3728  echo $ECHO_N "(cached) $ECHO_C" >&6
3729else
3730  if test "x$host_alias" = x; then
3731  ac_cv_host=$ac_cv_build
3732else
3733  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3734    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3735echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3736   { (exit 1); exit 1; }; }
3737fi
3738
3739fi
3740{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3741echo "${ECHO_T}$ac_cv_host" >&6; }
3742case $ac_cv_host in
3743*-*-*) ;;
3744*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3745echo "$as_me: error: invalid value of canonical host" >&2;}
3746   { (exit 1); exit 1; }; };;
3747esac
3748host=$ac_cv_host
3749ac_save_IFS=$IFS; IFS='-'
3750set x $ac_cv_host
3751shift
3752host_cpu=$1
3753host_vendor=$2
3754shift; shift
3755# Remember, the first character of IFS is used to create $*,
3756# except with old shells:
3757host_os=$*
3758IFS=$ac_save_IFS
3759case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3760
3761
3762
3763
3764
3765if test x$APP_MAN_SUFFIX = x    ; then
3766    APP_MAN_SUFFIX=1
3767fi
3768if test x$APP_MAN_DIR = x    ; then
3769    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
3770fi
3771
3772if test x$LIB_MAN_SUFFIX = x    ; then
3773    LIB_MAN_SUFFIX=3
3774fi
3775if test x$LIB_MAN_DIR = x    ; then
3776    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
3777fi
3778
3779if test x$FILE_MAN_SUFFIX = x    ; then
3780    case $host_os in
3781	solaris*)	FILE_MAN_SUFFIX=4  ;;
3782	*)		FILE_MAN_SUFFIX=5  ;;
3783    esac
3784fi
3785if test x$FILE_MAN_DIR = x    ; then
3786    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
3787fi
3788
3789if test x$MISC_MAN_SUFFIX = x    ; then
3790    case $host_os in
3791	solaris*)	MISC_MAN_SUFFIX=5  ;;
3792	*)		MISC_MAN_SUFFIX=7  ;;
3793    esac
3794fi
3795if test x$MISC_MAN_DIR = x    ; then
3796    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
3797fi
3798
3799if test x$DRIVER_MAN_SUFFIX = x    ; then
3800    case $host_os in
3801	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
3802	*)		DRIVER_MAN_SUFFIX=4  ;;
3803    esac
3804fi
3805if test x$DRIVER_MAN_DIR = x    ; then
3806    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
3807fi
3808
3809if test x$ADMIN_MAN_SUFFIX = x    ; then
3810    case $host_os in
3811	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
3812	*)		ADMIN_MAN_SUFFIX=8  ;;
3813    esac
3814fi
3815if test x$ADMIN_MAN_DIR = x    ; then
3816    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
3817fi
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835# Check whether --with-release-version was given.
3836if test "${with_release_version+set}" = set; then
3837  withval=$with_release_version; RELEASE_VERSION="$withval"
3838else
3839  RELEASE_VERSION=""
3840fi
3841
3842	if test "x$RELEASE_VERSION" != "x"; then
3843		PACKAGE="$PACKAGE-$RELEASE_VERSION"
3844		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
3845		{ echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
3846echo "$as_me: Building with package name set to $PACKAGE" >&6;}
3847	fi
3848
3849cat >>confdefs.h <<_ACEOF
3850#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
3851_ACEOF
3852
3853	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2`
3854	if test "x$PVM" = "x"; then
3855		PVM="0"
3856	fi
3857
3858cat >>confdefs.h <<_ACEOF
3859#define PACKAGE_VERSION_MINOR $PVM
3860_ACEOF
3861
3862	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3`
3863	if test "x$PVP" = "x"; then
3864		PVP="0"
3865	fi
3866
3867cat >>confdefs.h <<_ACEOF
3868#define PACKAGE_VERSION_PATCHLEVEL $PVP
3869_ACEOF
3870
3871
3872
3873ac_config_files="$ac_config_files Makefile"
3874
3875cat >confcache <<\_ACEOF
3876# This file is a shell script that caches the results of configure
3877# tests run on this system so they can be shared between configure
3878# scripts and configure runs, see configure's option --config-cache.
3879# It is not useful on other systems.  If it contains results you don't
3880# want to keep, you may remove or edit it.
3881#
3882# config.status only pays attention to the cache file if you give it
3883# the --recheck option to rerun configure.
3884#
3885# `ac_cv_env_foo' variables (set or unset) will be overridden when
3886# loading this file, other *unset* `ac_cv_foo' will be assigned the
3887# following values.
3888
3889_ACEOF
3890
3891# The following way of writing the cache mishandles newlines in values,
3892# but we know of no workaround that is simple, portable, and efficient.
3893# So, we kill variables containing newlines.
3894# Ultrix sh set writes to stderr and can't be redirected directly,
3895# and sets the high bit in the cache file unless we assign to the vars.
3896(
3897  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3898    eval ac_val=\$$ac_var
3899    case $ac_val in #(
3900    *${as_nl}*)
3901      case $ac_var in #(
3902      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3903echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3904      esac
3905      case $ac_var in #(
3906      _ | IFS | as_nl) ;; #(
3907      *) $as_unset $ac_var ;;
3908      esac ;;
3909    esac
3910  done
3911
3912  (set) 2>&1 |
3913    case $as_nl`(ac_space=' '; set) 2>&1` in #(
3914    *${as_nl}ac_space=\ *)
3915      # `set' does not quote correctly, so add quotes (double-quote
3916      # substitution turns \\\\ into \\, and sed turns \\ into \).
3917      sed -n \
3918	"s/'/'\\\\''/g;
3919	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3920      ;; #(
3921    *)
3922      # `set' quotes correctly as required by POSIX, so do not add quotes.
3923      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3924      ;;
3925    esac |
3926    sort
3927) |
3928  sed '
3929     /^ac_cv_env_/b end
3930     t clear
3931     :clear
3932     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3933     t end
3934     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3935     :end' >>confcache
3936if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3937  if test -w "$cache_file"; then
3938    test "x$cache_file" != "x/dev/null" &&
3939      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
3940echo "$as_me: updating cache $cache_file" >&6;}
3941    cat confcache >$cache_file
3942  else
3943    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3944echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3945  fi
3946fi
3947rm -f confcache
3948
3949test "x$prefix" = xNONE && prefix=$ac_default_prefix
3950# Let make expand exec_prefix.
3951test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3952
3953DEFS=-DHAVE_CONFIG_H
3954
3955ac_libobjs=
3956ac_ltlibobjs=
3957for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3958  # 1. Remove the extension, and $U if already installed.
3959  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3960  ac_i=`echo "$ac_i" | sed "$ac_script"`
3961  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
3962  #    will be set to the directory where LIBOBJS objects are built.
3963  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3964  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3965done
3966LIBOBJS=$ac_libobjs
3967
3968LTLIBOBJS=$ac_ltlibobjs
3969
3970
3971if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
3972  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
3973Usually this means the macro was only invoked conditionally." >&5
3974echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
3975Usually this means the macro was only invoked conditionally." >&2;}
3976   { (exit 1); exit 1; }; }
3977fi
3978if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3979  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3980Usually this means the macro was only invoked conditionally." >&5
3981echo "$as_me: error: conditional \"AMDEP\" was never defined.
3982Usually this means the macro was only invoked conditionally." >&2;}
3983   { (exit 1); exit 1; }; }
3984fi
3985if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3986  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3987Usually this means the macro was only invoked conditionally." >&5
3988echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3989Usually this means the macro was only invoked conditionally." >&2;}
3990   { (exit 1); exit 1; }; }
3991fi
3992if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
3993  { { echo "$as_me:$LINENO: error: conditional \"LINT\" was never defined.
3994Usually this means the macro was only invoked conditionally." >&5
3995echo "$as_me: error: conditional \"LINT\" was never defined.
3996Usually this means the macro was only invoked conditionally." >&2;}
3997   { (exit 1); exit 1; }; }
3998fi
3999
4000: ${CONFIG_STATUS=./config.status}
4001ac_clean_files_save=$ac_clean_files
4002ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4003{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4004echo "$as_me: creating $CONFIG_STATUS" >&6;}
4005cat >$CONFIG_STATUS <<_ACEOF
4006#! $SHELL
4007# Generated by $as_me.
4008# Run this file to recreate the current configuration.
4009# Compiler output produced by configure, useful for debugging
4010# configure, is in config.log if it exists.
4011
4012debug=false
4013ac_cs_recheck=false
4014ac_cs_silent=false
4015SHELL=\${CONFIG_SHELL-$SHELL}
4016_ACEOF
4017
4018cat >>$CONFIG_STATUS <<\_ACEOF
4019## --------------------- ##
4020## M4sh Initialization.  ##
4021## --------------------- ##
4022
4023# Be more Bourne compatible
4024DUALCASE=1; export DUALCASE # for MKS sh
4025if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4026  emulate sh
4027  NULLCMD=:
4028  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4029  # is contrary to our usage.  Disable this feature.
4030  alias -g '${1+"$@"}'='"$@"'
4031  setopt NO_GLOB_SUBST
4032else
4033  case `(set -o) 2>/dev/null` in
4034  *posix*) set -o posix ;;
4035esac
4036
4037fi
4038
4039
4040
4041
4042# PATH needs CR
4043# Avoid depending upon Character Ranges.
4044as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4045as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4046as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4047as_cr_digits='0123456789'
4048as_cr_alnum=$as_cr_Letters$as_cr_digits
4049
4050# The user is always right.
4051if test "${PATH_SEPARATOR+set}" != set; then
4052  echo "#! /bin/sh" >conf$$.sh
4053  echo  "exit 0"   >>conf$$.sh
4054  chmod +x conf$$.sh
4055  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4056    PATH_SEPARATOR=';'
4057  else
4058    PATH_SEPARATOR=:
4059  fi
4060  rm -f conf$$.sh
4061fi
4062
4063# Support unset when possible.
4064if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4065  as_unset=unset
4066else
4067  as_unset=false
4068fi
4069
4070
4071# IFS
4072# We need space, tab and new line, in precisely that order.  Quoting is
4073# there to prevent editors from complaining about space-tab.
4074# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4075# splitting by setting IFS to empty value.)
4076as_nl='
4077'
4078IFS=" ""	$as_nl"
4079
4080# Find who we are.  Look in the path if we contain no directory separator.
4081case $0 in
4082  *[\\/]* ) as_myself=$0 ;;
4083  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4084for as_dir in $PATH
4085do
4086  IFS=$as_save_IFS
4087  test -z "$as_dir" && as_dir=.
4088  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4089done
4090IFS=$as_save_IFS
4091
4092     ;;
4093esac
4094# We did not find ourselves, most probably we were run as `sh COMMAND'
4095# in which case we are not to be found in the path.
4096if test "x$as_myself" = x; then
4097  as_myself=$0
4098fi
4099if test ! -f "$as_myself"; then
4100  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4101  { (exit 1); exit 1; }
4102fi
4103
4104# Work around bugs in pre-3.0 UWIN ksh.
4105for as_var in ENV MAIL MAILPATH
4106do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4107done
4108PS1='$ '
4109PS2='> '
4110PS4='+ '
4111
4112# NLS nuisances.
4113for as_var in \
4114  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4115  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4116  LC_TELEPHONE LC_TIME
4117do
4118  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4119    eval $as_var=C; export $as_var
4120  else
4121    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4122  fi
4123done
4124
4125# Required to use basename.
4126if expr a : '\(a\)' >/dev/null 2>&1 &&
4127   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4128  as_expr=expr
4129else
4130  as_expr=false
4131fi
4132
4133if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4134  as_basename=basename
4135else
4136  as_basename=false
4137fi
4138
4139
4140# Name of the executable.
4141as_me=`$as_basename -- "$0" ||
4142$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4143	 X"$0" : 'X\(//\)$' \| \
4144	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4145echo X/"$0" |
4146    sed '/^.*\/\([^/][^/]*\)\/*$/{
4147	    s//\1/
4148	    q
4149	  }
4150	  /^X\/\(\/\/\)$/{
4151	    s//\1/
4152	    q
4153	  }
4154	  /^X\/\(\/\).*/{
4155	    s//\1/
4156	    q
4157	  }
4158	  s/.*/./; q'`
4159
4160# CDPATH.
4161$as_unset CDPATH
4162
4163
4164
4165  as_lineno_1=$LINENO
4166  as_lineno_2=$LINENO
4167  test "x$as_lineno_1" != "x$as_lineno_2" &&
4168  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4169
4170  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4171  # uniformly replaced by the line number.  The first 'sed' inserts a
4172  # line-number line after each line using $LINENO; the second 'sed'
4173  # does the real work.  The second script uses 'N' to pair each
4174  # line-number line with the line containing $LINENO, and appends
4175  # trailing '-' during substitution so that $LINENO is not a special
4176  # case at line end.
4177  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4178  # scripts with optimization help from Paolo Bonzini.  Blame Lee
4179  # E. McMahon (1931-1989) for sed's syntax.  :-)
4180  sed -n '
4181    p
4182    /[$]LINENO/=
4183  ' <$as_myself |
4184    sed '
4185      s/[$]LINENO.*/&-/
4186      t lineno
4187      b
4188      :lineno
4189      N
4190      :loop
4191      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4192      t loop
4193      s/-\n.*//
4194    ' >$as_me.lineno &&
4195  chmod +x "$as_me.lineno" ||
4196    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4197   { (exit 1); exit 1; }; }
4198
4199  # Don't try to exec as it changes $[0], causing all sort of problems
4200  # (the dirname of $[0] is not the place where we might find the
4201  # original and so on.  Autoconf is especially sensitive to this).
4202  . "./$as_me.lineno"
4203  # Exit status is that of the last command.
4204  exit
4205}
4206
4207
4208if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4209  as_dirname=dirname
4210else
4211  as_dirname=false
4212fi
4213
4214ECHO_C= ECHO_N= ECHO_T=
4215case `echo -n x` in
4216-n*)
4217  case `echo 'x\c'` in
4218  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
4219  *)   ECHO_C='\c';;
4220  esac;;
4221*)
4222  ECHO_N='-n';;
4223esac
4224
4225if expr a : '\(a\)' >/dev/null 2>&1 &&
4226   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4227  as_expr=expr
4228else
4229  as_expr=false
4230fi
4231
4232rm -f conf$$ conf$$.exe conf$$.file
4233if test -d conf$$.dir; then
4234  rm -f conf$$.dir/conf$$.file
4235else
4236  rm -f conf$$.dir
4237  mkdir conf$$.dir
4238fi
4239echo >conf$$.file
4240if ln -s conf$$.file conf$$ 2>/dev/null; then
4241  as_ln_s='ln -s'
4242  # ... but there are two gotchas:
4243  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4244  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4245  # In both cases, we have to default to `cp -p'.
4246  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4247    as_ln_s='cp -p'
4248elif ln conf$$.file conf$$ 2>/dev/null; then
4249  as_ln_s=ln
4250else
4251  as_ln_s='cp -p'
4252fi
4253rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4254rmdir conf$$.dir 2>/dev/null
4255
4256if mkdir -p . 2>/dev/null; then
4257  as_mkdir_p=:
4258else
4259  test -d ./-p && rmdir ./-p
4260  as_mkdir_p=false
4261fi
4262
4263if test -x / >/dev/null 2>&1; then
4264  as_test_x='test -x'
4265else
4266  if ls -dL / >/dev/null 2>&1; then
4267    as_ls_L_option=L
4268  else
4269    as_ls_L_option=
4270  fi
4271  as_test_x='
4272    eval sh -c '\''
4273      if test -d "$1"; then
4274        test -d "$1/.";
4275      else
4276	case $1 in
4277        -*)set "./$1";;
4278	esac;
4279	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4280	???[sx]*):;;*)false;;esac;fi
4281    '\'' sh
4282  '
4283fi
4284as_executable_p=$as_test_x
4285
4286# Sed expression to map a string onto a valid CPP name.
4287as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4288
4289# Sed expression to map a string onto a valid variable name.
4290as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4291
4292
4293exec 6>&1
4294
4295# Save the log message, to keep $[0] and so on meaningful, and to
4296# report actual input values of CONFIG_FILES etc. instead of their
4297# values after options handling.
4298ac_log="
4299This file was extended by setxkbmap $as_me 1.0.4, which was
4300generated by GNU Autoconf 2.61.  Invocation command line was
4301
4302  CONFIG_FILES    = $CONFIG_FILES
4303  CONFIG_HEADERS  = $CONFIG_HEADERS
4304  CONFIG_LINKS    = $CONFIG_LINKS
4305  CONFIG_COMMANDS = $CONFIG_COMMANDS
4306  $ $0 $@
4307
4308on `(hostname || uname -n) 2>/dev/null | sed 1q`
4309"
4310
4311_ACEOF
4312
4313cat >>$CONFIG_STATUS <<_ACEOF
4314# Files that config.status was made for.
4315config_files="$ac_config_files"
4316config_headers="$ac_config_headers"
4317config_commands="$ac_config_commands"
4318
4319_ACEOF
4320
4321cat >>$CONFIG_STATUS <<\_ACEOF
4322ac_cs_usage="\
4323\`$as_me' instantiates files from templates according to the
4324current configuration.
4325
4326Usage: $0 [OPTIONS] [FILE]...
4327
4328  -h, --help       print this help, then exit
4329  -V, --version    print version number and configuration settings, then exit
4330  -q, --quiet      do not print progress messages
4331  -d, --debug      don't remove temporary files
4332      --recheck    update $as_me by reconfiguring in the same conditions
4333  --file=FILE[:TEMPLATE]
4334		   instantiate the configuration file FILE
4335  --header=FILE[:TEMPLATE]
4336		   instantiate the configuration header FILE
4337
4338Configuration files:
4339$config_files
4340
4341Configuration headers:
4342$config_headers
4343
4344Configuration commands:
4345$config_commands
4346
4347Report bugs to <bug-autoconf@gnu.org>."
4348
4349_ACEOF
4350cat >>$CONFIG_STATUS <<_ACEOF
4351ac_cs_version="\\
4352setxkbmap config.status 1.0.4
4353configured by $0, generated by GNU Autoconf 2.61,
4354  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4355
4356Copyright (C) 2006 Free Software Foundation, Inc.
4357This config.status script is free software; the Free Software Foundation
4358gives unlimited permission to copy, distribute and modify it."
4359
4360ac_pwd='$ac_pwd'
4361srcdir='$srcdir'
4362INSTALL='$INSTALL'
4363MKDIR_P='$MKDIR_P'
4364_ACEOF
4365
4366cat >>$CONFIG_STATUS <<\_ACEOF
4367# If no file are specified by the user, then we need to provide default
4368# value.  By we need to know if files were specified by the user.
4369ac_need_defaults=:
4370while test $# != 0
4371do
4372  case $1 in
4373  --*=*)
4374    ac_option=`expr "X$1" : 'X\([^=]*\)='`
4375    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4376    ac_shift=:
4377    ;;
4378  *)
4379    ac_option=$1
4380    ac_optarg=$2
4381    ac_shift=shift
4382    ;;
4383  esac
4384
4385  case $ac_option in
4386  # Handling of the options.
4387  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4388    ac_cs_recheck=: ;;
4389  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4390    echo "$ac_cs_version"; exit ;;
4391  --debug | --debu | --deb | --de | --d | -d )
4392    debug=: ;;
4393  --file | --fil | --fi | --f )
4394    $ac_shift
4395    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4396    ac_need_defaults=false;;
4397  --header | --heade | --head | --hea )
4398    $ac_shift
4399    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4400    ac_need_defaults=false;;
4401  --he | --h)
4402    # Conflict between --help and --header
4403    { echo "$as_me: error: ambiguous option: $1
4404Try \`$0 --help' for more information." >&2
4405   { (exit 1); exit 1; }; };;
4406  --help | --hel | -h )
4407    echo "$ac_cs_usage"; exit ;;
4408  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4409  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4410    ac_cs_silent=: ;;
4411
4412  # This is an error.
4413  -*) { echo "$as_me: error: unrecognized option: $1
4414Try \`$0 --help' for more information." >&2
4415   { (exit 1); exit 1; }; } ;;
4416
4417  *) ac_config_targets="$ac_config_targets $1"
4418     ac_need_defaults=false ;;
4419
4420  esac
4421  shift
4422done
4423
4424ac_configure_extra_args=
4425
4426if $ac_cs_silent; then
4427  exec 6>/dev/null
4428  ac_configure_extra_args="$ac_configure_extra_args --silent"
4429fi
4430
4431_ACEOF
4432cat >>$CONFIG_STATUS <<_ACEOF
4433if \$ac_cs_recheck; then
4434  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4435  CONFIG_SHELL=$SHELL
4436  export CONFIG_SHELL
4437  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4438fi
4439
4440_ACEOF
4441cat >>$CONFIG_STATUS <<\_ACEOF
4442exec 5>>config.log
4443{
4444  echo
4445  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4446## Running $as_me. ##
4447_ASBOX
4448  echo "$ac_log"
4449} >&5
4450
4451_ACEOF
4452cat >>$CONFIG_STATUS <<_ACEOF
4453#
4454# INIT-COMMANDS
4455#
4456AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4457
4458_ACEOF
4459
4460cat >>$CONFIG_STATUS <<\_ACEOF
4461
4462# Handling of arguments.
4463for ac_config_target in $ac_config_targets
4464do
4465  case $ac_config_target in
4466    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4467    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4468    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4469
4470  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4471echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4472   { (exit 1); exit 1; }; };;
4473  esac
4474done
4475
4476
4477# If the user did not use the arguments to specify the items to instantiate,
4478# then the envvar interface is used.  Set only those that are not.
4479# We use the long form for the default assignment because of an extremely
4480# bizarre bug on SunOS 4.1.3.
4481if $ac_need_defaults; then
4482  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4483  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4484  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4485fi
4486
4487# Have a temporary directory for convenience.  Make it in the build tree
4488# simply because there is no reason against having it here, and in addition,
4489# creating and moving files from /tmp can sometimes cause problems.
4490# Hook for its removal unless debugging.
4491# Note that there is a small window in which the directory will not be cleaned:
4492# after its creation but before its name has been assigned to `$tmp'.
4493$debug ||
4494{
4495  tmp=
4496  trap 'exit_status=$?
4497  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4498' 0
4499  trap '{ (exit 1); exit 1; }' 1 2 13 15
4500}
4501# Create a (secure) tmp directory for tmp files.
4502
4503{
4504  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4505  test -n "$tmp" && test -d "$tmp"
4506}  ||
4507{
4508  tmp=./conf$$-$RANDOM
4509  (umask 077 && mkdir "$tmp")
4510} ||
4511{
4512   echo "$me: cannot create a temporary directory in ." >&2
4513   { (exit 1); exit 1; }
4514}
4515
4516#
4517# Set up the sed scripts for CONFIG_FILES section.
4518#
4519
4520# No need to generate the scripts if there are no CONFIG_FILES.
4521# This happens for instance when ./config.status config.h
4522if test -n "$CONFIG_FILES"; then
4523
4524_ACEOF
4525
4526
4527
4528ac_delim='%!_!# '
4529for ac_last_try in false false false false false :; do
4530  cat >conf$$subs.sed <<_ACEOF
4531SHELL!$SHELL$ac_delim
4532PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4533PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4534PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4535PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4536PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4537PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4538exec_prefix!$exec_prefix$ac_delim
4539prefix!$prefix$ac_delim
4540program_transform_name!$program_transform_name$ac_delim
4541bindir!$bindir$ac_delim
4542sbindir!$sbindir$ac_delim
4543libexecdir!$libexecdir$ac_delim
4544datarootdir!$datarootdir$ac_delim
4545datadir!$datadir$ac_delim
4546sysconfdir!$sysconfdir$ac_delim
4547sharedstatedir!$sharedstatedir$ac_delim
4548localstatedir!$localstatedir$ac_delim
4549includedir!$includedir$ac_delim
4550oldincludedir!$oldincludedir$ac_delim
4551docdir!$docdir$ac_delim
4552infodir!$infodir$ac_delim
4553htmldir!$htmldir$ac_delim
4554dvidir!$dvidir$ac_delim
4555pdfdir!$pdfdir$ac_delim
4556psdir!$psdir$ac_delim
4557libdir!$libdir$ac_delim
4558localedir!$localedir$ac_delim
4559mandir!$mandir$ac_delim
4560DEFS!$DEFS$ac_delim
4561ECHO_C!$ECHO_C$ac_delim
4562ECHO_N!$ECHO_N$ac_delim
4563ECHO_T!$ECHO_T$ac_delim
4564LIBS!$LIBS$ac_delim
4565build_alias!$build_alias$ac_delim
4566host_alias!$host_alias$ac_delim
4567target_alias!$target_alias$ac_delim
4568INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
4569INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
4570INSTALL_DATA!$INSTALL_DATA$ac_delim
4571am__isrc!$am__isrc$ac_delim
4572CYGPATH_W!$CYGPATH_W$ac_delim
4573PACKAGE!$PACKAGE$ac_delim
4574VERSION!$VERSION$ac_delim
4575ACLOCAL!$ACLOCAL$ac_delim
4576AUTOCONF!$AUTOCONF$ac_delim
4577AUTOMAKE!$AUTOMAKE$ac_delim
4578AUTOHEADER!$AUTOHEADER$ac_delim
4579MAKEINFO!$MAKEINFO$ac_delim
4580install_sh!$install_sh$ac_delim
4581STRIP!$STRIP$ac_delim
4582INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
4583mkdir_p!$mkdir_p$ac_delim
4584AWK!$AWK$ac_delim
4585SET_MAKE!$SET_MAKE$ac_delim
4586am__leading_dot!$am__leading_dot$ac_delim
4587AMTAR!$AMTAR$ac_delim
4588am__tar!$am__tar$ac_delim
4589am__untar!$am__untar$ac_delim
4590MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
4591MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
4592MAINT!$MAINT$ac_delim
4593CC!$CC$ac_delim
4594CFLAGS!$CFLAGS$ac_delim
4595LDFLAGS!$LDFLAGS$ac_delim
4596CPPFLAGS!$CPPFLAGS$ac_delim
4597ac_ct_CC!$ac_ct_CC$ac_delim
4598EXEEXT!$EXEEXT$ac_delim
4599OBJEXT!$OBJEXT$ac_delim
4600DEPDIR!$DEPDIR$ac_delim
4601am__include!$am__include$ac_delim
4602am__quote!$am__quote$ac_delim
4603AMDEP_TRUE!$AMDEP_TRUE$ac_delim
4604AMDEP_FALSE!$AMDEP_FALSE$ac_delim
4605AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
4606CCDEPMODE!$CCDEPMODE$ac_delim
4607am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
4608am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
4609XKBCONFIGROOT!$XKBCONFIGROOT$ac_delim
4610PKG_CONFIG!$PKG_CONFIG$ac_delim
4611SETXKBMAP_CFLAGS!$SETXKBMAP_CFLAGS$ac_delim
4612SETXKBMAP_LIBS!$SETXKBMAP_LIBS$ac_delim
4613LINT!$LINT$ac_delim
4614LINT_FLAGS!$LINT_FLAGS$ac_delim
4615LINT_TRUE!$LINT_TRUE$ac_delim
4616LINT_FALSE!$LINT_FALSE$ac_delim
4617build!$build$ac_delim
4618build_cpu!$build_cpu$ac_delim
4619build_vendor!$build_vendor$ac_delim
4620build_os!$build_os$ac_delim
4621host!$host$ac_delim
4622host_cpu!$host_cpu$ac_delim
4623host_vendor!$host_vendor$ac_delim
4624host_os!$host_os$ac_delim
4625APP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim
4626LIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim
4627FILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim
4628_ACEOF
4629
4630  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
4631    break
4632  elif $ac_last_try; then
4633    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4634echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4635   { (exit 1); exit 1; }; }
4636  else
4637    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4638  fi
4639done
4640
4641ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4642if test -n "$ac_eof"; then
4643  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4644  ac_eof=`expr $ac_eof + 1`
4645fi
4646
4647cat >>$CONFIG_STATUS <<_ACEOF
4648cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4649/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4650_ACEOF
4651sed '
4652s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4653s/^/s,@/; s/!/@,|#_!!_#|/
4654:n
4655t n
4656s/'"$ac_delim"'$/,g/; t
4657s/$/\\/; p
4658N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4659' >>$CONFIG_STATUS <conf$$subs.sed
4660rm -f conf$$subs.sed
4661cat >>$CONFIG_STATUS <<_ACEOF
4662CEOF$ac_eof
4663_ACEOF
4664
4665
4666ac_delim='%!_!# '
4667for ac_last_try in false false false false false :; do
4668  cat >conf$$subs.sed <<_ACEOF
4669MISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim
4670DRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim
4671ADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim
4672APP_MAN_DIR!$APP_MAN_DIR$ac_delim
4673LIB_MAN_DIR!$LIB_MAN_DIR$ac_delim
4674FILE_MAN_DIR!$FILE_MAN_DIR$ac_delim
4675MISC_MAN_DIR!$MISC_MAN_DIR$ac_delim
4676DRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim
4677ADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim
4678LIBOBJS!$LIBOBJS$ac_delim
4679LTLIBOBJS!$LTLIBOBJS$ac_delim
4680_ACEOF
4681
4682  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 11; then
4683    break
4684  elif $ac_last_try; then
4685    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4686echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4687   { (exit 1); exit 1; }; }
4688  else
4689    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4690  fi
4691done
4692
4693ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4694if test -n "$ac_eof"; then
4695  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4696  ac_eof=`expr $ac_eof + 1`
4697fi
4698
4699cat >>$CONFIG_STATUS <<_ACEOF
4700cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
4701/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4702_ACEOF
4703sed '
4704s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4705s/^/s,@/; s/!/@,|#_!!_#|/
4706:n
4707t n
4708s/'"$ac_delim"'$/,g/; t
4709s/$/\\/; p
4710N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4711' >>$CONFIG_STATUS <conf$$subs.sed
4712rm -f conf$$subs.sed
4713cat >>$CONFIG_STATUS <<_ACEOF
4714:end
4715s/|#_!!_#|//g
4716CEOF$ac_eof
4717_ACEOF
4718
4719
4720# VPATH may cause trouble with some makes, so we remove $(srcdir),
4721# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4722# trailing colons and then remove the whole line if VPATH becomes empty
4723# (actually we leave an empty line to preserve line numbers).
4724if test "x$srcdir" = x.; then
4725  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
4726s/:*\$(srcdir):*/:/
4727s/:*\${srcdir}:*/:/
4728s/:*@srcdir@:*/:/
4729s/^\([^=]*=[	 ]*\):*/\1/
4730s/:*$//
4731s/^[^=]*=[	 ]*$//
4732}'
4733fi
4734
4735cat >>$CONFIG_STATUS <<\_ACEOF
4736fi # test -n "$CONFIG_FILES"
4737
4738
4739for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
4740do
4741  case $ac_tag in
4742  :[FHLC]) ac_mode=$ac_tag; continue;;
4743  esac
4744  case $ac_mode$ac_tag in
4745  :[FHL]*:*);;
4746  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4747echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4748   { (exit 1); exit 1; }; };;
4749  :[FH]-) ac_tag=-:-;;
4750  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4751  esac
4752  ac_save_IFS=$IFS
4753  IFS=:
4754  set x $ac_tag
4755  IFS=$ac_save_IFS
4756  shift
4757  ac_file=$1
4758  shift
4759
4760  case $ac_mode in
4761  :L) ac_source=$1;;
4762  :[FH])
4763    ac_file_inputs=
4764    for ac_f
4765    do
4766      case $ac_f in
4767      -) ac_f="$tmp/stdin";;
4768      *) # Look for the file first in the build tree, then in the source tree
4769	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
4770	 # because $ac_f cannot contain `:'.
4771	 test -f "$ac_f" ||
4772	   case $ac_f in
4773	   [\\/$]*) false;;
4774	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4775	   esac ||
4776	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4777echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4778   { (exit 1); exit 1; }; };;
4779      esac
4780      ac_file_inputs="$ac_file_inputs $ac_f"
4781    done
4782
4783    # Let's still pretend it is `configure' which instantiates (i.e., don't
4784    # use $as_me), people would be surprised to read:
4785    #    /* config.h.  Generated by config.status.  */
4786    configure_input="Generated from "`IFS=:
4787	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
4788    if test x"$ac_file" != x-; then
4789      configure_input="$ac_file.  $configure_input"
4790      { echo "$as_me:$LINENO: creating $ac_file" >&5
4791echo "$as_me: creating $ac_file" >&6;}
4792    fi
4793
4794    case $ac_tag in
4795    *:-:* | *:-) cat >"$tmp/stdin";;
4796    esac
4797    ;;
4798  esac
4799
4800  ac_dir=`$as_dirname -- "$ac_file" ||
4801$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4802	 X"$ac_file" : 'X\(//\)[^/]' \| \
4803	 X"$ac_file" : 'X\(//\)$' \| \
4804	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4805echo X"$ac_file" |
4806    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4807	    s//\1/
4808	    q
4809	  }
4810	  /^X\(\/\/\)[^/].*/{
4811	    s//\1/
4812	    q
4813	  }
4814	  /^X\(\/\/\)$/{
4815	    s//\1/
4816	    q
4817	  }
4818	  /^X\(\/\).*/{
4819	    s//\1/
4820	    q
4821	  }
4822	  s/.*/./; q'`
4823  { as_dir="$ac_dir"
4824  case $as_dir in #(
4825  -*) as_dir=./$as_dir;;
4826  esac
4827  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4828    as_dirs=
4829    while :; do
4830      case $as_dir in #(
4831      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4832      *) as_qdir=$as_dir;;
4833      esac
4834      as_dirs="'$as_qdir' $as_dirs"
4835      as_dir=`$as_dirname -- "$as_dir" ||
4836$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4837	 X"$as_dir" : 'X\(//\)[^/]' \| \
4838	 X"$as_dir" : 'X\(//\)$' \| \
4839	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4840echo X"$as_dir" |
4841    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4842	    s//\1/
4843	    q
4844	  }
4845	  /^X\(\/\/\)[^/].*/{
4846	    s//\1/
4847	    q
4848	  }
4849	  /^X\(\/\/\)$/{
4850	    s//\1/
4851	    q
4852	  }
4853	  /^X\(\/\).*/{
4854	    s//\1/
4855	    q
4856	  }
4857	  s/.*/./; q'`
4858      test -d "$as_dir" && break
4859    done
4860    test -z "$as_dirs" || eval "mkdir $as_dirs"
4861  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4862echo "$as_me: error: cannot create directory $as_dir" >&2;}
4863   { (exit 1); exit 1; }; }; }
4864  ac_builddir=.
4865
4866case "$ac_dir" in
4867.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4868*)
4869  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4870  # A ".." for each directory in $ac_dir_suffix.
4871  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
4872  case $ac_top_builddir_sub in
4873  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4874  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4875  esac ;;
4876esac
4877ac_abs_top_builddir=$ac_pwd
4878ac_abs_builddir=$ac_pwd$ac_dir_suffix
4879# for backward compatibility:
4880ac_top_builddir=$ac_top_build_prefix
4881
4882case $srcdir in
4883  .)  # We are building in place.
4884    ac_srcdir=.
4885    ac_top_srcdir=$ac_top_builddir_sub
4886    ac_abs_top_srcdir=$ac_pwd ;;
4887  [\\/]* | ?:[\\/]* )  # Absolute name.
4888    ac_srcdir=$srcdir$ac_dir_suffix;
4889    ac_top_srcdir=$srcdir
4890    ac_abs_top_srcdir=$srcdir ;;
4891  *) # Relative name.
4892    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4893    ac_top_srcdir=$ac_top_build_prefix$srcdir
4894    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4895esac
4896ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4897
4898
4899  case $ac_mode in
4900  :F)
4901  #
4902  # CONFIG_FILE
4903  #
4904
4905  case $INSTALL in
4906  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4907  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4908  esac
4909  ac_MKDIR_P=$MKDIR_P
4910  case $MKDIR_P in
4911  [\\/$]* | ?:[\\/]* ) ;;
4912  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
4913  esac
4914_ACEOF
4915
4916cat >>$CONFIG_STATUS <<\_ACEOF
4917# If the template does not know about datarootdir, expand it.
4918# FIXME: This hack should be removed a few years after 2.60.
4919ac_datarootdir_hack=; ac_datarootdir_seen=
4920
4921case `sed -n '/datarootdir/ {
4922  p
4923  q
4924}
4925/@datadir@/p
4926/@docdir@/p
4927/@infodir@/p
4928/@localedir@/p
4929/@mandir@/p
4930' $ac_file_inputs` in
4931*datarootdir*) ac_datarootdir_seen=yes;;
4932*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4933  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4934echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4935_ACEOF
4936cat >>$CONFIG_STATUS <<_ACEOF
4937  ac_datarootdir_hack='
4938  s&@datadir@&$datadir&g
4939  s&@docdir@&$docdir&g
4940  s&@infodir@&$infodir&g
4941  s&@localedir@&$localedir&g
4942  s&@mandir@&$mandir&g
4943    s&\\\${datarootdir}&$datarootdir&g' ;;
4944esac
4945_ACEOF
4946
4947# Neutralize VPATH when `$srcdir' = `.'.
4948# Shell code in configure.ac might set extrasub.
4949# FIXME: do we really want to maintain this feature?
4950cat >>$CONFIG_STATUS <<_ACEOF
4951  sed "$ac_vpsub
4952$extrasub
4953_ACEOF
4954cat >>$CONFIG_STATUS <<\_ACEOF
4955:t
4956/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4957s&@configure_input@&$configure_input&;t t
4958s&@top_builddir@&$ac_top_builddir_sub&;t t
4959s&@srcdir@&$ac_srcdir&;t t
4960s&@abs_srcdir@&$ac_abs_srcdir&;t t
4961s&@top_srcdir@&$ac_top_srcdir&;t t
4962s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4963s&@builddir@&$ac_builddir&;t t
4964s&@abs_builddir@&$ac_abs_builddir&;t t
4965s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4966s&@INSTALL@&$ac_INSTALL&;t t
4967s&@MKDIR_P@&$ac_MKDIR_P&;t t
4968$ac_datarootdir_hack
4969" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
4970
4971test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4972  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4973  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4974  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4975which seems to be undefined.  Please make sure it is defined." >&5
4976echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4977which seems to be undefined.  Please make sure it is defined." >&2;}
4978
4979  rm -f "$tmp/stdin"
4980  case $ac_file in
4981  -) cat "$tmp/out"; rm -f "$tmp/out";;
4982  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
4983  esac
4984 ;;
4985  :H)
4986  #
4987  # CONFIG_HEADER
4988  #
4989_ACEOF
4990
4991# Transform confdefs.h into a sed script `conftest.defines', that
4992# substitutes the proper values into config.h.in to produce config.h.
4993rm -f conftest.defines conftest.tail
4994# First, append a space to every undef/define line, to ease matching.
4995echo 's/$/ /' >conftest.defines
4996# Then, protect against being on the right side of a sed subst, or in
4997# an unquoted here document, in config.status.  If some macros were
4998# called several times there might be several #defines for the same
4999# symbol, which is useless.  But do not sort them, since the last
5000# AC_DEFINE must be honored.
5001ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5002# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
5003# NAME is the cpp macro being defined, VALUE is the value it is being given.
5004# PARAMS is the parameter list in the macro definition--in most cases, it's
5005# just an empty string.
5006ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
5007ac_dB='\\)[	 (].*,\\1define\\2'
5008ac_dC=' '
5009ac_dD=' ,'
5010
5011uniq confdefs.h |
5012  sed -n '
5013	t rset
5014	:rset
5015	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
5016	t ok
5017	d
5018	:ok
5019	s/[\\&,]/\\&/g
5020	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
5021	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
5022  ' >>conftest.defines
5023
5024# Remove the space that was appended to ease matching.
5025# Then replace #undef with comments.  This is necessary, for
5026# example, in the case of _POSIX_SOURCE, which is predefined and required
5027# on some systems where configure will not decide to define it.
5028# (The regexp can be short, since the line contains either #define or #undef.)
5029echo 's/ $//
5030s,^[	 #]*u.*,/* & */,' >>conftest.defines
5031
5032# Break up conftest.defines:
5033ac_max_sed_lines=50
5034
5035# First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
5036# Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
5037# Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
5038# et cetera.
5039ac_in='$ac_file_inputs'
5040ac_out='"$tmp/out1"'
5041ac_nxt='"$tmp/out2"'
5042
5043while :
5044do
5045  # Write a here document:
5046    cat >>$CONFIG_STATUS <<_ACEOF
5047    # First, check the format of the line:
5048    cat >"\$tmp/defines.sed" <<\\CEOF
5049/^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
5050/^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
5051b
5052:def
5053_ACEOF
5054  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
5055  echo 'CEOF
5056    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
5057  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
5058  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
5059  grep . conftest.tail >/dev/null || break
5060  rm -f conftest.defines
5061  mv conftest.tail conftest.defines
5062done
5063rm -f conftest.defines conftest.tail
5064
5065echo "ac_result=$ac_in" >>$CONFIG_STATUS
5066cat >>$CONFIG_STATUS <<\_ACEOF
5067  if test x"$ac_file" != x-; then
5068    echo "/* $configure_input  */" >"$tmp/config.h"
5069    cat "$ac_result" >>"$tmp/config.h"
5070    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
5071      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5072echo "$as_me: $ac_file is unchanged" >&6;}
5073    else
5074      rm -f $ac_file
5075      mv "$tmp/config.h" $ac_file
5076    fi
5077  else
5078    echo "/* $configure_input  */"
5079    cat "$ac_result"
5080  fi
5081  rm -f "$tmp/out12"
5082# Compute $ac_file's index in $config_headers.
5083_am_stamp_count=1
5084for _am_header in $config_headers :; do
5085  case $_am_header in
5086    $ac_file | $ac_file:* )
5087      break ;;
5088    * )
5089      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5090  esac
5091done
5092echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
5093$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5094	 X$ac_file : 'X\(//\)[^/]' \| \
5095	 X$ac_file : 'X\(//\)$' \| \
5096	 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
5097echo X$ac_file |
5098    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5099	    s//\1/
5100	    q
5101	  }
5102	  /^X\(\/\/\)[^/].*/{
5103	    s//\1/
5104	    q
5105	  }
5106	  /^X\(\/\/\)$/{
5107	    s//\1/
5108	    q
5109	  }
5110	  /^X\(\/\).*/{
5111	    s//\1/
5112	    q
5113	  }
5114	  s/.*/./; q'`/stamp-h$_am_stamp_count
5115 ;;
5116
5117  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
5118echo "$as_me: executing $ac_file commands" >&6;}
5119 ;;
5120  esac
5121
5122
5123  case $ac_file$ac_mode in
5124    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5125  # Strip MF so we end up with the name of the file.
5126  mf=`echo "$mf" | sed -e 's/:.*$//'`
5127  # Check whether this is an Automake generated Makefile or not.
5128  # We used to match only the files named `Makefile.in', but
5129  # some people rename them; so instead we look at the file content.
5130  # Grep'ing the first line is not enough: some people post-process
5131  # each Makefile.in and add a new line on top of each file to say so.
5132  # Grep'ing the whole file is not good either: AIX grep has a line
5133  # limit of 2048, but all sed's we know have understand at least 4000.
5134  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
5135    dirpart=`$as_dirname -- "$mf" ||
5136$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5137	 X"$mf" : 'X\(//\)[^/]' \| \
5138	 X"$mf" : 'X\(//\)$' \| \
5139	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5140echo X"$mf" |
5141    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5142	    s//\1/
5143	    q
5144	  }
5145	  /^X\(\/\/\)[^/].*/{
5146	    s//\1/
5147	    q
5148	  }
5149	  /^X\(\/\/\)$/{
5150	    s//\1/
5151	    q
5152	  }
5153	  /^X\(\/\).*/{
5154	    s//\1/
5155	    q
5156	  }
5157	  s/.*/./; q'`
5158  else
5159    continue
5160  fi
5161  # Extract the definition of DEPDIR, am__include, and am__quote
5162  # from the Makefile without running `make'.
5163  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5164  test -z "$DEPDIR" && continue
5165  am__include=`sed -n 's/^am__include = //p' < "$mf"`
5166  test -z "am__include" && continue
5167  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5168  # When using ansi2knr, U may be empty or an underscore; expand it
5169  U=`sed -n 's/^U = //p' < "$mf"`
5170  # Find all dependency output files, they are included files with
5171  # $(DEPDIR) in their names.  We invoke sed twice because it is the
5172  # simplest approach to changing $(DEPDIR) to its actual value in the
5173  # expansion.
5174  for file in `sed -n "
5175    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5176       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5177    # Make sure the directory exists.
5178    test -f "$dirpart/$file" && continue
5179    fdir=`$as_dirname -- "$file" ||
5180$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5181	 X"$file" : 'X\(//\)[^/]' \| \
5182	 X"$file" : 'X\(//\)$' \| \
5183	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5184echo X"$file" |
5185    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5186	    s//\1/
5187	    q
5188	  }
5189	  /^X\(\/\/\)[^/].*/{
5190	    s//\1/
5191	    q
5192	  }
5193	  /^X\(\/\/\)$/{
5194	    s//\1/
5195	    q
5196	  }
5197	  /^X\(\/\).*/{
5198	    s//\1/
5199	    q
5200	  }
5201	  s/.*/./; q'`
5202    { as_dir=$dirpart/$fdir
5203  case $as_dir in #(
5204  -*) as_dir=./$as_dir;;
5205  esac
5206  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5207    as_dirs=
5208    while :; do
5209      case $as_dir in #(
5210      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5211      *) as_qdir=$as_dir;;
5212      esac
5213      as_dirs="'$as_qdir' $as_dirs"
5214      as_dir=`$as_dirname -- "$as_dir" ||
5215$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5216	 X"$as_dir" : 'X\(//\)[^/]' \| \
5217	 X"$as_dir" : 'X\(//\)$' \| \
5218	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5219echo X"$as_dir" |
5220    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5221	    s//\1/
5222	    q
5223	  }
5224	  /^X\(\/\/\)[^/].*/{
5225	    s//\1/
5226	    q
5227	  }
5228	  /^X\(\/\/\)$/{
5229	    s//\1/
5230	    q
5231	  }
5232	  /^X\(\/\).*/{
5233	    s//\1/
5234	    q
5235	  }
5236	  s/.*/./; q'`
5237      test -d "$as_dir" && break
5238    done
5239    test -z "$as_dirs" || eval "mkdir $as_dirs"
5240  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5241echo "$as_me: error: cannot create directory $as_dir" >&2;}
5242   { (exit 1); exit 1; }; }; }
5243    # echo "creating $dirpart/$file"
5244    echo '# dummy' > "$dirpart/$file"
5245  done
5246done
5247 ;;
5248
5249  esac
5250done # for ac_tag
5251
5252
5253{ (exit 0); exit 0; }
5254_ACEOF
5255chmod +x $CONFIG_STATUS
5256ac_clean_files=$ac_clean_files_save
5257
5258
5259# configure is writing to config.log, and then calls config.status.
5260# config.status does its own redirection, appending to config.log.
5261# Unfortunately, on DOS this fails, as config.log is still kept open
5262# by configure, so config.status won't be able to write to it; its
5263# output is simply discarded.  So we exec the FD to /dev/null,
5264# effectively closing config.log, so it can be properly (re)opened and
5265# appended to by config.status.  When coming back to configure, we
5266# need to make the FD available again.
5267if test "$no_create" != yes; then
5268  ac_cs_success=:
5269  ac_config_status_args=
5270  test "$silent" = yes &&
5271    ac_config_status_args="$ac_config_status_args --quiet"
5272  exec 5>/dev/null
5273  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5274  exec 5>>config.log
5275  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5276  # would make configure fail if this is the last instruction.
5277  $ac_cs_success || { (exit 1); exit 1; }
5278fi
5279
5280