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