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