configure revision b3eb03f3
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.63 for xkbutils 1.0.2.
4#
5# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6#
7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## --------------------- ##
12## M4sh Initialization.  ##
13## --------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18  emulate sh
19  NULLCMD=:
20  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21  # is contrary to our usage.  Disable this feature.
22  alias -g '${1+"$@"}'='"$@"'
23  setopt NO_GLOB_SUBST
24else
25  case `(set -o) 2>/dev/null` in
26  *posix*) set -o posix ;;
27esac
28
29fi
30
31
32
33
34# PATH needs CR
35# Avoid depending upon Character Ranges.
36as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39as_cr_digits='0123456789'
40as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42as_nl='
43'
44export as_nl
45# Printing a long string crashes Solaris 7 /usr/bin/printf.
46as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83# Support unset when possible.
84if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85  as_unset=unset
86else
87  as_unset=false
88fi
89
90
91# IFS
92# We need space, tab and new line, in precisely that order.  Quoting is
93# there to prevent editors from complaining about space-tab.
94# (If _AS_PATH_WALK were called with IFS unset, it would disable word
95# splitting by setting IFS to empty value.)
96IFS=" ""	$as_nl"
97
98# Find who we are.  Look in the path if we contain no directory separator.
99case $0 in
100  *[\\/]* ) as_myself=$0 ;;
101  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102for as_dir in $PATH
103do
104  IFS=$as_save_IFS
105  test -z "$as_dir" && as_dir=.
106  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107done
108IFS=$as_save_IFS
109
110     ;;
111esac
112# We did not find ourselves, most probably we were run as `sh COMMAND'
113# in which case we are not to be found in the path.
114if test "x$as_myself" = x; then
115  as_myself=$0
116fi
117if test ! -f "$as_myself"; then
118  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119  { (exit 1); exit 1; }
120fi
121
122# Work around bugs in pre-3.0 UWIN ksh.
123for as_var in ENV MAIL MAILPATH
124do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
125done
126PS1='$ '
127PS2='> '
128PS4='+ '
129
130# NLS nuisances.
131LC_ALL=C
132export LC_ALL
133LANGUAGE=C
134export LANGUAGE
135
136# Required to use basename.
137if expr a : '\(a\)' >/dev/null 2>&1 &&
138   test "X`expr 00001 : '.*\(...\)'`" = X001; then
139  as_expr=expr
140else
141  as_expr=false
142fi
143
144if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145  as_basename=basename
146else
147  as_basename=false
148fi
149
150
151# Name of the executable.
152as_me=`$as_basename -- "$0" ||
153$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154	 X"$0" : 'X\(//\)$' \| \
155	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156$as_echo X/"$0" |
157    sed '/^.*\/\([^/][^/]*\)\/*$/{
158	    s//\1/
159	    q
160	  }
161	  /^X\/\(\/\/\)$/{
162	    s//\1/
163	    q
164	  }
165	  /^X\/\(\/\).*/{
166	    s//\1/
167	    q
168	  }
169	  s/.*/./; q'`
170
171# CDPATH.
172$as_unset CDPATH
173
174
175if test "x$CONFIG_SHELL" = x; then
176  if (eval ":") 2>/dev/null; then
177  as_have_required=yes
178else
179  as_have_required=no
180fi
181
182  if test $as_have_required = yes &&	 (eval ":
183(as_func_return () {
184  (exit \$1)
185}
186as_func_success () {
187  as_func_return 0
188}
189as_func_failure () {
190  as_func_return 1
191}
192as_func_ret_success () {
193  return 0
194}
195as_func_ret_failure () {
196  return 1
197}
198
199exitcode=0
200if as_func_success; then
201  :
202else
203  exitcode=1
204  echo as_func_success failed.
205fi
206
207if as_func_failure; then
208  exitcode=1
209  echo as_func_failure succeeded.
210fi
211
212if as_func_ret_success; then
213  :
214else
215  exitcode=1
216  echo as_func_ret_success failed.
217fi
218
219if as_func_ret_failure; then
220  exitcode=1
221  echo as_func_ret_failure succeeded.
222fi
223
224if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
225  :
226else
227  exitcode=1
228  echo positional parameters were not saved.
229fi
230
231test \$exitcode = 0) || { (exit 1); exit 1; }
232
233(
234  as_lineno_1=\$LINENO
235  as_lineno_2=\$LINENO
236  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238") 2> /dev/null; then
239  :
240else
241  as_candidate_shells=
242    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244do
245  IFS=$as_save_IFS
246  test -z "$as_dir" && as_dir=.
247  case $as_dir in
248	 /*)
249	   for as_base in sh bash ksh sh5; do
250	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
251	   done;;
252       esac
253done
254IFS=$as_save_IFS
255
256
257      for as_shell in $as_candidate_shells $SHELL; do
258	 # Try only shells that exist, to save several forks.
259	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260		{ ("$as_shell") 2> /dev/null <<\_ASEOF
261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262  emulate sh
263  NULLCMD=:
264  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265  # is contrary to our usage.  Disable this feature.
266  alias -g '${1+"$@"}'='"$@"'
267  setopt NO_GLOB_SUBST
268else
269  case `(set -o) 2>/dev/null` in
270  *posix*) set -o posix ;;
271esac
272
273fi
274
275
276:
277_ASEOF
278}; then
279  CONFIG_SHELL=$as_shell
280	       as_have_required=yes
281	       if { "$as_shell" 2> /dev/null <<\_ASEOF
282if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283  emulate sh
284  NULLCMD=:
285  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286  # is contrary to our usage.  Disable this feature.
287  alias -g '${1+"$@"}'='"$@"'
288  setopt NO_GLOB_SUBST
289else
290  case `(set -o) 2>/dev/null` in
291  *posix*) set -o posix ;;
292esac
293
294fi
295
296
297:
298(as_func_return () {
299  (exit $1)
300}
301as_func_success () {
302  as_func_return 0
303}
304as_func_failure () {
305  as_func_return 1
306}
307as_func_ret_success () {
308  return 0
309}
310as_func_ret_failure () {
311  return 1
312}
313
314exitcode=0
315if as_func_success; then
316  :
317else
318  exitcode=1
319  echo as_func_success failed.
320fi
321
322if as_func_failure; then
323  exitcode=1
324  echo as_func_failure succeeded.
325fi
326
327if as_func_ret_success; then
328  :
329else
330  exitcode=1
331  echo as_func_ret_success failed.
332fi
333
334if as_func_ret_failure; then
335  exitcode=1
336  echo as_func_ret_failure succeeded.
337fi
338
339if ( set x; as_func_ret_success y && test x = "$1" ); then
340  :
341else
342  exitcode=1
343  echo positional parameters were not saved.
344fi
345
346test $exitcode = 0) || { (exit 1); exit 1; }
347
348(
349  as_lineno_1=$LINENO
350  as_lineno_2=$LINENO
351  test "x$as_lineno_1" != "x$as_lineno_2" &&
352  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
353
354_ASEOF
355}; then
356  break
357fi
358
359fi
360
361      done
362
363      if test "x$CONFIG_SHELL" != x; then
364  for as_var in BASH_ENV ENV
365	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366	done
367	export CONFIG_SHELL
368	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369fi
370
371
372    if test $as_have_required = no; then
373  echo This script requires a shell more modern than all the
374      echo shells that I found on your system.  Please install a
375      echo modern shell, or manually run the script under such a
376      echo shell if you do have one.
377      { (exit 1); exit 1; }
378fi
379
380
381fi
382
383fi
384
385
386
387(eval "as_func_return () {
388  (exit \$1)
389}
390as_func_success () {
391  as_func_return 0
392}
393as_func_failure () {
394  as_func_return 1
395}
396as_func_ret_success () {
397  return 0
398}
399as_func_ret_failure () {
400  return 1
401}
402
403exitcode=0
404if as_func_success; then
405  :
406else
407  exitcode=1
408  echo as_func_success failed.
409fi
410
411if as_func_failure; then
412  exitcode=1
413  echo as_func_failure succeeded.
414fi
415
416if as_func_ret_success; then
417  :
418else
419  exitcode=1
420  echo as_func_ret_success failed.
421fi
422
423if as_func_ret_failure; then
424  exitcode=1
425  echo as_func_ret_failure succeeded.
426fi
427
428if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
429  :
430else
431  exitcode=1
432  echo positional parameters were not saved.
433fi
434
435test \$exitcode = 0") || {
436  echo No shell found that supports shell functions.
437  echo Please tell bug-autoconf@gnu.org about your system,
438  echo including any error possibly output before this message.
439  echo This can help us improve future autoconf versions.
440  echo Configuration will now proceed without shell functions.
441}
442
443
444
445  as_lineno_1=$LINENO
446  as_lineno_2=$LINENO
447  test "x$as_lineno_1" != "x$as_lineno_2" &&
448  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
449
450  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451  # uniformly replaced by the line number.  The first 'sed' inserts a
452  # line-number line after each line using $LINENO; the second 'sed'
453  # does the real work.  The second script uses 'N' to pair each
454  # line-number line with the line containing $LINENO, and appends
455  # trailing '-' during substitution so that $LINENO is not a special
456  # case at line end.
457  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458  # scripts with optimization help from Paolo Bonzini.  Blame Lee
459  # E. McMahon (1931-1989) for sed's syntax.  :-)
460  sed -n '
461    p
462    /[$]LINENO/=
463  ' <$as_myself |
464    sed '
465      s/[$]LINENO.*/&-/
466      t lineno
467      b
468      :lineno
469      N
470      :loop
471      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
472      t loop
473      s/-\n.*//
474    ' >$as_me.lineno &&
475  chmod +x "$as_me.lineno" ||
476    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477   { (exit 1); exit 1; }; }
478
479  # Don't try to exec as it changes $[0], causing all sort of problems
480  # (the dirname of $[0] is not the place where we might find the
481  # original and so on.  Autoconf is especially sensitive to this).
482  . "./$as_me.lineno"
483  # Exit status is that of the last command.
484  exit
485}
486
487
488if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489  as_dirname=dirname
490else
491  as_dirname=false
492fi
493
494ECHO_C= ECHO_N= ECHO_T=
495case `echo -n x` in
496-n*)
497  case `echo 'x\c'` in
498  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
499  *)   ECHO_C='\c';;
500  esac;;
501*)
502  ECHO_N='-n';;
503esac
504if expr a : '\(a\)' >/dev/null 2>&1 &&
505   test "X`expr 00001 : '.*\(...\)'`" = X001; then
506  as_expr=expr
507else
508  as_expr=false
509fi
510
511rm -f conf$$ conf$$.exe conf$$.file
512if test -d conf$$.dir; then
513  rm -f conf$$.dir/conf$$.file
514else
515  rm -f conf$$.dir
516  mkdir conf$$.dir 2>/dev/null
517fi
518if (echo >conf$$.file) 2>/dev/null; then
519  if ln -s conf$$.file conf$$ 2>/dev/null; then
520    as_ln_s='ln -s'
521    # ... but there are two gotchas:
522    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524    # In both cases, we have to default to `cp -p'.
525    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
526      as_ln_s='cp -p'
527  elif ln conf$$.file conf$$ 2>/dev/null; then
528    as_ln_s=ln
529  else
530    as_ln_s='cp -p'
531  fi
532else
533  as_ln_s='cp -p'
534fi
535rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536rmdir conf$$.dir 2>/dev/null
537
538if mkdir -p . 2>/dev/null; then
539  as_mkdir_p=:
540else
541  test -d ./-p && rmdir ./-p
542  as_mkdir_p=false
543fi
544
545if test -x / >/dev/null 2>&1; then
546  as_test_x='test -x'
547else
548  if ls -dL / >/dev/null 2>&1; then
549    as_ls_L_option=L
550  else
551    as_ls_L_option=
552  fi
553  as_test_x='
554    eval sh -c '\''
555      if test -d "$1"; then
556	test -d "$1/.";
557      else
558	case $1 in
559	-*)set "./$1";;
560	esac;
561	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562	???[sx]*):;;*)false;;esac;fi
563    '\'' sh
564  '
565fi
566as_executable_p=$as_test_x
567
568# Sed expression to map a string onto a valid CPP name.
569as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
570
571# Sed expression to map a string onto a valid variable name.
572as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
573
574
575
576exec 7<&0 </dev/null 6>&1
577
578# Name of the host.
579# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
580# so uname gets run too.
581ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582
583#
584# Initializations.
585#
586ac_default_prefix=/usr/local
587ac_clean_files=
588ac_config_libobj_dir=.
589LIBOBJS=
590cross_compiling=no
591subdirs=
592MFLAGS=
593MAKEFLAGS=
594SHELL=${CONFIG_SHELL-/bin/sh}
595
596# Identity of this package.
597PACKAGE_NAME='xkbutils'
598PACKAGE_TARNAME='xkbutils'
599PACKAGE_VERSION='1.0.2'
600PACKAGE_STRING='xkbutils 1.0.2'
601PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
602
603# Factoring default headers for most tests.
604ac_includes_default="\
605#include <stdio.h>
606#ifdef HAVE_SYS_TYPES_H
607# include <sys/types.h>
608#endif
609#ifdef HAVE_SYS_STAT_H
610# include <sys/stat.h>
611#endif
612#ifdef STDC_HEADERS
613# include <stdlib.h>
614# include <stddef.h>
615#else
616# ifdef HAVE_STDLIB_H
617#  include <stdlib.h>
618# endif
619#endif
620#ifdef HAVE_STRING_H
621# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622#  include <memory.h>
623# endif
624# include <string.h>
625#endif
626#ifdef HAVE_STRINGS_H
627# include <strings.h>
628#endif
629#ifdef HAVE_INTTYPES_H
630# include <inttypes.h>
631#endif
632#ifdef HAVE_STDINT_H
633# include <stdint.h>
634#endif
635#ifdef HAVE_UNISTD_H
636# include <unistd.h>
637#endif"
638
639ac_subst_vars='am__EXEEXT_FALSE
640am__EXEEXT_TRUE
641LTLIBOBJS
642LIBOBJS
643XKBWATCH_LIBS
644XKBWATCH_CFLAGS
645XKBBELL_LIBS
646XKBBELL_CFLAGS
647XKBVLEDS_LIBS
648XKBVLEDS_CFLAGS
649PKG_CONFIG
650ADMIN_MAN_DIR
651DRIVER_MAN_DIR
652MISC_MAN_DIR
653FILE_MAN_DIR
654LIB_MAN_DIR
655APP_MAN_DIR
656ADMIN_MAN_SUFFIX
657DRIVER_MAN_SUFFIX
658MISC_MAN_SUFFIX
659FILE_MAN_SUFFIX
660LIB_MAN_SUFFIX
661APP_MAN_SUFFIX
662host_os
663host_vendor
664host_cpu
665host
666build_os
667build_vendor
668build_cpu
669build
670distcleancheck_listfiles
671CHANGELOG_CMD
672AM_BACKSLASH
673AM_DEFAULT_VERBOSITY
674CWARNFLAGS
675EGREP
676GREP
677CPP
678am__fastdepCC_FALSE
679am__fastdepCC_TRUE
680CCDEPMODE
681AMDEPBACKSLASH
682AMDEP_FALSE
683AMDEP_TRUE
684am__quote
685am__include
686DEPDIR
687OBJEXT
688EXEEXT
689ac_ct_CC
690CPPFLAGS
691LDFLAGS
692CFLAGS
693CC
694MAINT
695MAINTAINER_MODE_FALSE
696MAINTAINER_MODE_TRUE
697am__untar
698am__tar
699AMTAR
700am__leading_dot
701SET_MAKE
702AWK
703mkdir_p
704MKDIR_P
705INSTALL_STRIP_PROGRAM
706STRIP
707install_sh
708MAKEINFO
709AUTOHEADER
710AUTOMAKE
711AUTOCONF
712ACLOCAL
713VERSION
714PACKAGE
715CYGPATH_W
716am__isrc
717INSTALL_DATA
718INSTALL_SCRIPT
719INSTALL_PROGRAM
720target_alias
721host_alias
722build_alias
723LIBS
724ECHO_T
725ECHO_N
726ECHO_C
727DEFS
728mandir
729localedir
730libdir
731psdir
732pdfdir
733dvidir
734htmldir
735infodir
736docdir
737oldincludedir
738includedir
739localstatedir
740sharedstatedir
741sysconfdir
742datadir
743datarootdir
744libexecdir
745sbindir
746bindir
747program_transform_name
748prefix
749exec_prefix
750PACKAGE_BUGREPORT
751PACKAGE_STRING
752PACKAGE_VERSION
753PACKAGE_TARNAME
754PACKAGE_NAME
755PATH_SEPARATOR
756SHELL'
757ac_subst_files=''
758ac_user_opts='
759enable_option_checking
760enable_maintainer_mode
761enable_dependency_tracking
762enable_silent_rules
763enable_strict_compilation
764with_release_version
765'
766      ac_precious_vars='build_alias
767host_alias
768target_alias
769CC
770CFLAGS
771LDFLAGS
772LIBS
773CPPFLAGS
774CPP
775PKG_CONFIG
776XKBVLEDS_CFLAGS
777XKBVLEDS_LIBS
778XKBBELL_CFLAGS
779XKBBELL_LIBS
780XKBWATCH_CFLAGS
781XKBWATCH_LIBS'
782
783
784# Initialize some variables set by options.
785ac_init_help=
786ac_init_version=false
787ac_unrecognized_opts=
788ac_unrecognized_sep=
789# The variables have the same names as the options, with
790# dashes changed to underlines.
791cache_file=/dev/null
792exec_prefix=NONE
793no_create=
794no_recursion=
795prefix=NONE
796program_prefix=NONE
797program_suffix=NONE
798program_transform_name=s,x,x,
799silent=
800site=
801srcdir=
802verbose=
803x_includes=NONE
804x_libraries=NONE
805
806# Installation directory options.
807# These are left unexpanded so users can "make install exec_prefix=/foo"
808# and all the variables that are supposed to be based on exec_prefix
809# by default will actually change.
810# Use braces instead of parens because sh, perl, etc. also accept them.
811# (The list follows the same order as the GNU Coding Standards.)
812bindir='${exec_prefix}/bin'
813sbindir='${exec_prefix}/sbin'
814libexecdir='${exec_prefix}/libexec'
815datarootdir='${prefix}/share'
816datadir='${datarootdir}'
817sysconfdir='${prefix}/etc'
818sharedstatedir='${prefix}/com'
819localstatedir='${prefix}/var'
820includedir='${prefix}/include'
821oldincludedir='/usr/include'
822docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
823infodir='${datarootdir}/info'
824htmldir='${docdir}'
825dvidir='${docdir}'
826pdfdir='${docdir}'
827psdir='${docdir}'
828libdir='${exec_prefix}/lib'
829localedir='${datarootdir}/locale'
830mandir='${datarootdir}/man'
831
832ac_prev=
833ac_dashdash=
834for ac_option
835do
836  # If the previous option needs an argument, assign it.
837  if test -n "$ac_prev"; then
838    eval $ac_prev=\$ac_option
839    ac_prev=
840    continue
841  fi
842
843  case $ac_option in
844  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
845  *)	ac_optarg=yes ;;
846  esac
847
848  # Accept the important Cygnus configure options, so we can diagnose typos.
849
850  case $ac_dashdash$ac_option in
851  --)
852    ac_dashdash=yes ;;
853
854  -bindir | --bindir | --bindi | --bind | --bin | --bi)
855    ac_prev=bindir ;;
856  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
857    bindir=$ac_optarg ;;
858
859  -build | --build | --buil | --bui | --bu)
860    ac_prev=build_alias ;;
861  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
862    build_alias=$ac_optarg ;;
863
864  -cache-file | --cache-file | --cache-fil | --cache-fi \
865  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
866    ac_prev=cache_file ;;
867  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
868  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
869    cache_file=$ac_optarg ;;
870
871  --config-cache | -C)
872    cache_file=config.cache ;;
873
874  -datadir | --datadir | --datadi | --datad)
875    ac_prev=datadir ;;
876  -datadir=* | --datadir=* | --datadi=* | --datad=*)
877    datadir=$ac_optarg ;;
878
879  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
880  | --dataroo | --dataro | --datar)
881    ac_prev=datarootdir ;;
882  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
883  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
884    datarootdir=$ac_optarg ;;
885
886  -disable-* | --disable-*)
887    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
888    # Reject names that are not valid shell variable names.
889    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
890      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
891   { (exit 1); exit 1; }; }
892    ac_useropt_orig=$ac_useropt
893    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
894    case $ac_user_opts in
895      *"
896"enable_$ac_useropt"
897"*) ;;
898      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
899	 ac_unrecognized_sep=', ';;
900    esac
901    eval enable_$ac_useropt=no ;;
902
903  -docdir | --docdir | --docdi | --doc | --do)
904    ac_prev=docdir ;;
905  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
906    docdir=$ac_optarg ;;
907
908  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
909    ac_prev=dvidir ;;
910  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
911    dvidir=$ac_optarg ;;
912
913  -enable-* | --enable-*)
914    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
915    # Reject names that are not valid shell variable names.
916    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
917      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
918   { (exit 1); exit 1; }; }
919    ac_useropt_orig=$ac_useropt
920    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
921    case $ac_user_opts in
922      *"
923"enable_$ac_useropt"
924"*) ;;
925      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
926	 ac_unrecognized_sep=', ';;
927    esac
928    eval enable_$ac_useropt=\$ac_optarg ;;
929
930  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
931  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
932  | --exec | --exe | --ex)
933    ac_prev=exec_prefix ;;
934  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
935  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
936  | --exec=* | --exe=* | --ex=*)
937    exec_prefix=$ac_optarg ;;
938
939  -gas | --gas | --ga | --g)
940    # Obsolete; use --with-gas.
941    with_gas=yes ;;
942
943  -help | --help | --hel | --he | -h)
944    ac_init_help=long ;;
945  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
946    ac_init_help=recursive ;;
947  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
948    ac_init_help=short ;;
949
950  -host | --host | --hos | --ho)
951    ac_prev=host_alias ;;
952  -host=* | --host=* | --hos=* | --ho=*)
953    host_alias=$ac_optarg ;;
954
955  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
956    ac_prev=htmldir ;;
957  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
958  | --ht=*)
959    htmldir=$ac_optarg ;;
960
961  -includedir | --includedir | --includedi | --included | --include \
962  | --includ | --inclu | --incl | --inc)
963    ac_prev=includedir ;;
964  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
965  | --includ=* | --inclu=* | --incl=* | --inc=*)
966    includedir=$ac_optarg ;;
967
968  -infodir | --infodir | --infodi | --infod | --info | --inf)
969    ac_prev=infodir ;;
970  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
971    infodir=$ac_optarg ;;
972
973  -libdir | --libdir | --libdi | --libd)
974    ac_prev=libdir ;;
975  -libdir=* | --libdir=* | --libdi=* | --libd=*)
976    libdir=$ac_optarg ;;
977
978  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
979  | --libexe | --libex | --libe)
980    ac_prev=libexecdir ;;
981  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
982  | --libexe=* | --libex=* | --libe=*)
983    libexecdir=$ac_optarg ;;
984
985  -localedir | --localedir | --localedi | --localed | --locale)
986    ac_prev=localedir ;;
987  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
988    localedir=$ac_optarg ;;
989
990  -localstatedir | --localstatedir | --localstatedi | --localstated \
991  | --localstate | --localstat | --localsta | --localst | --locals)
992    ac_prev=localstatedir ;;
993  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
994  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
995    localstatedir=$ac_optarg ;;
996
997  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
998    ac_prev=mandir ;;
999  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1000    mandir=$ac_optarg ;;
1001
1002  -nfp | --nfp | --nf)
1003    # Obsolete; use --without-fp.
1004    with_fp=no ;;
1005
1006  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1007  | --no-cr | --no-c | -n)
1008    no_create=yes ;;
1009
1010  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1011  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1012    no_recursion=yes ;;
1013
1014  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1015  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1016  | --oldin | --oldi | --old | --ol | --o)
1017    ac_prev=oldincludedir ;;
1018  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1019  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1020  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1021    oldincludedir=$ac_optarg ;;
1022
1023  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1024    ac_prev=prefix ;;
1025  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1026    prefix=$ac_optarg ;;
1027
1028  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1029  | --program-pre | --program-pr | --program-p)
1030    ac_prev=program_prefix ;;
1031  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1032  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1033    program_prefix=$ac_optarg ;;
1034
1035  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1036  | --program-suf | --program-su | --program-s)
1037    ac_prev=program_suffix ;;
1038  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1039  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1040    program_suffix=$ac_optarg ;;
1041
1042  -program-transform-name | --program-transform-name \
1043  | --program-transform-nam | --program-transform-na \
1044  | --program-transform-n | --program-transform- \
1045  | --program-transform | --program-transfor \
1046  | --program-transfo | --program-transf \
1047  | --program-trans | --program-tran \
1048  | --progr-tra | --program-tr | --program-t)
1049    ac_prev=program_transform_name ;;
1050  -program-transform-name=* | --program-transform-name=* \
1051  | --program-transform-nam=* | --program-transform-na=* \
1052  | --program-transform-n=* | --program-transform-=* \
1053  | --program-transform=* | --program-transfor=* \
1054  | --program-transfo=* | --program-transf=* \
1055  | --program-trans=* | --program-tran=* \
1056  | --progr-tra=* | --program-tr=* | --program-t=*)
1057    program_transform_name=$ac_optarg ;;
1058
1059  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1060    ac_prev=pdfdir ;;
1061  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1062    pdfdir=$ac_optarg ;;
1063
1064  -psdir | --psdir | --psdi | --psd | --ps)
1065    ac_prev=psdir ;;
1066  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1067    psdir=$ac_optarg ;;
1068
1069  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1070  | -silent | --silent | --silen | --sile | --sil)
1071    silent=yes ;;
1072
1073  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1074    ac_prev=sbindir ;;
1075  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1076  | --sbi=* | --sb=*)
1077    sbindir=$ac_optarg ;;
1078
1079  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1080  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1081  | --sharedst | --shareds | --shared | --share | --shar \
1082  | --sha | --sh)
1083    ac_prev=sharedstatedir ;;
1084  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1085  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1086  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1087  | --sha=* | --sh=*)
1088    sharedstatedir=$ac_optarg ;;
1089
1090  -site | --site | --sit)
1091    ac_prev=site ;;
1092  -site=* | --site=* | --sit=*)
1093    site=$ac_optarg ;;
1094
1095  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1096    ac_prev=srcdir ;;
1097  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1098    srcdir=$ac_optarg ;;
1099
1100  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1101  | --syscon | --sysco | --sysc | --sys | --sy)
1102    ac_prev=sysconfdir ;;
1103  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1104  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1105    sysconfdir=$ac_optarg ;;
1106
1107  -target | --target | --targe | --targ | --tar | --ta | --t)
1108    ac_prev=target_alias ;;
1109  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1110    target_alias=$ac_optarg ;;
1111
1112  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1113    verbose=yes ;;
1114
1115  -version | --version | --versio | --versi | --vers | -V)
1116    ac_init_version=: ;;
1117
1118  -with-* | --with-*)
1119    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1120    # Reject names that are not valid shell variable names.
1121    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1122      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1123   { (exit 1); exit 1; }; }
1124    ac_useropt_orig=$ac_useropt
1125    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1126    case $ac_user_opts in
1127      *"
1128"with_$ac_useropt"
1129"*) ;;
1130      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1131	 ac_unrecognized_sep=', ';;
1132    esac
1133    eval with_$ac_useropt=\$ac_optarg ;;
1134
1135  -without-* | --without-*)
1136    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1137    # Reject names that are not valid shell variable names.
1138    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1139      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1140   { (exit 1); exit 1; }; }
1141    ac_useropt_orig=$ac_useropt
1142    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1143    case $ac_user_opts in
1144      *"
1145"with_$ac_useropt"
1146"*) ;;
1147      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1148	 ac_unrecognized_sep=', ';;
1149    esac
1150    eval with_$ac_useropt=no ;;
1151
1152  --x)
1153    # Obsolete; use --with-x.
1154    with_x=yes ;;
1155
1156  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1157  | --x-incl | --x-inc | --x-in | --x-i)
1158    ac_prev=x_includes ;;
1159  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1160  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1161    x_includes=$ac_optarg ;;
1162
1163  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1164  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1165    ac_prev=x_libraries ;;
1166  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1167  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1168    x_libraries=$ac_optarg ;;
1169
1170  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1171Try \`$0 --help' for more information." >&2
1172   { (exit 1); exit 1; }; }
1173    ;;
1174
1175  *=*)
1176    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1177    # Reject names that are not valid shell variable names.
1178    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1179      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1180   { (exit 1); exit 1; }; }
1181    eval $ac_envvar=\$ac_optarg
1182    export $ac_envvar ;;
1183
1184  *)
1185    # FIXME: should be removed in autoconf 3.0.
1186    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1187    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1188      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1189    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1190    ;;
1191
1192  esac
1193done
1194
1195if test -n "$ac_prev"; then
1196  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1197  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1198   { (exit 1); exit 1; }; }
1199fi
1200
1201if test -n "$ac_unrecognized_opts"; then
1202  case $enable_option_checking in
1203    no) ;;
1204    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1205   { (exit 1); exit 1; }; } ;;
1206    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1207  esac
1208fi
1209
1210# Check all directory arguments for consistency.
1211for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1212		datadir sysconfdir sharedstatedir localstatedir includedir \
1213		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1214		libdir localedir mandir
1215do
1216  eval ac_val=\$$ac_var
1217  # Remove trailing slashes.
1218  case $ac_val in
1219    */ )
1220      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1221      eval $ac_var=\$ac_val;;
1222  esac
1223  # Be sure to have absolute directory names.
1224  case $ac_val in
1225    [\\/$]* | ?:[\\/]* )  continue;;
1226    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1227  esac
1228  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1229   { (exit 1); exit 1; }; }
1230done
1231
1232# There might be people who depend on the old broken behavior: `$host'
1233# used to hold the argument of --host etc.
1234# FIXME: To remove some day.
1235build=$build_alias
1236host=$host_alias
1237target=$target_alias
1238
1239# FIXME: To remove some day.
1240if test "x$host_alias" != x; then
1241  if test "x$build_alias" = x; then
1242    cross_compiling=maybe
1243    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1244    If a cross compiler is detected then cross compile mode will be used." >&2
1245  elif test "x$build_alias" != "x$host_alias"; then
1246    cross_compiling=yes
1247  fi
1248fi
1249
1250ac_tool_prefix=
1251test -n "$host_alias" && ac_tool_prefix=$host_alias-
1252
1253test "$silent" = yes && exec 6>/dev/null
1254
1255
1256ac_pwd=`pwd` && test -n "$ac_pwd" &&
1257ac_ls_di=`ls -di .` &&
1258ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1259  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1260   { (exit 1); exit 1; }; }
1261test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1262  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1263   { (exit 1); exit 1; }; }
1264
1265
1266# Find the source files, if location was not specified.
1267if test -z "$srcdir"; then
1268  ac_srcdir_defaulted=yes
1269  # Try the directory containing this script, then the parent directory.
1270  ac_confdir=`$as_dirname -- "$as_myself" ||
1271$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1272	 X"$as_myself" : 'X\(//\)[^/]' \| \
1273	 X"$as_myself" : 'X\(//\)$' \| \
1274	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1275$as_echo X"$as_myself" |
1276    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1277	    s//\1/
1278	    q
1279	  }
1280	  /^X\(\/\/\)[^/].*/{
1281	    s//\1/
1282	    q
1283	  }
1284	  /^X\(\/\/\)$/{
1285	    s//\1/
1286	    q
1287	  }
1288	  /^X\(\/\).*/{
1289	    s//\1/
1290	    q
1291	  }
1292	  s/.*/./; q'`
1293  srcdir=$ac_confdir
1294  if test ! -r "$srcdir/$ac_unique_file"; then
1295    srcdir=..
1296  fi
1297else
1298  ac_srcdir_defaulted=no
1299fi
1300if test ! -r "$srcdir/$ac_unique_file"; then
1301  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1302  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1303   { (exit 1); exit 1; }; }
1304fi
1305ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1306ac_abs_confdir=`(
1307	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1308   { (exit 1); exit 1; }; }
1309	pwd)`
1310# When building in place, set srcdir=.
1311if test "$ac_abs_confdir" = "$ac_pwd"; then
1312  srcdir=.
1313fi
1314# Remove unnecessary trailing slashes from srcdir.
1315# Double slashes in file names in object file debugging info
1316# mess up M-x gdb in Emacs.
1317case $srcdir in
1318*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1319esac
1320for ac_var in $ac_precious_vars; do
1321  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1322  eval ac_env_${ac_var}_value=\$${ac_var}
1323  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1324  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1325done
1326
1327#
1328# Report the --help message.
1329#
1330if test "$ac_init_help" = "long"; then
1331  # Omit some internal or obsolete options to make the list less imposing.
1332  # This message is too long to be a string in the A/UX 3.1 sh.
1333  cat <<_ACEOF
1334\`configure' configures xkbutils 1.0.2 to adapt to many kinds of systems.
1335
1336Usage: $0 [OPTION]... [VAR=VALUE]...
1337
1338To assign environment variables (e.g., CC, CFLAGS...), specify them as
1339VAR=VALUE.  See below for descriptions of some of the useful variables.
1340
1341Defaults for the options are specified in brackets.
1342
1343Configuration:
1344  -h, --help              display this help and exit
1345      --help=short        display options specific to this package
1346      --help=recursive    display the short help of all the included packages
1347  -V, --version           display version information and exit
1348  -q, --quiet, --silent   do not print \`checking...' messages
1349      --cache-file=FILE   cache test results in FILE [disabled]
1350  -C, --config-cache      alias for \`--cache-file=config.cache'
1351  -n, --no-create         do not create output files
1352      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1353
1354Installation directories:
1355  --prefix=PREFIX         install architecture-independent files in PREFIX
1356                          [$ac_default_prefix]
1357  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1358                          [PREFIX]
1359
1360By default, \`make install' will install all the files in
1361\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1362an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1363for instance \`--prefix=\$HOME'.
1364
1365For better control, use the options below.
1366
1367Fine tuning of the installation directories:
1368  --bindir=DIR            user executables [EPREFIX/bin]
1369  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1370  --libexecdir=DIR        program executables [EPREFIX/libexec]
1371  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1372  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1373  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1374  --libdir=DIR            object code libraries [EPREFIX/lib]
1375  --includedir=DIR        C header files [PREFIX/include]
1376  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1377  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1378  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1379  --infodir=DIR           info documentation [DATAROOTDIR/info]
1380  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1381  --mandir=DIR            man documentation [DATAROOTDIR/man]
1382  --docdir=DIR            documentation root [DATAROOTDIR/doc/xkbutils]
1383  --htmldir=DIR           html documentation [DOCDIR]
1384  --dvidir=DIR            dvi documentation [DOCDIR]
1385  --pdfdir=DIR            pdf documentation [DOCDIR]
1386  --psdir=DIR             ps documentation [DOCDIR]
1387_ACEOF
1388
1389  cat <<\_ACEOF
1390
1391Program names:
1392  --program-prefix=PREFIX            prepend PREFIX to installed program names
1393  --program-suffix=SUFFIX            append SUFFIX to installed program names
1394  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1395
1396System types:
1397  --build=BUILD     configure for building on BUILD [guessed]
1398  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1399_ACEOF
1400fi
1401
1402if test -n "$ac_init_help"; then
1403  case $ac_init_help in
1404     short | recursive ) echo "Configuration of xkbutils 1.0.2:";;
1405   esac
1406  cat <<\_ACEOF
1407
1408Optional Features:
1409  --disable-option-checking  ignore unrecognized --enable/--with options
1410  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1411  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1412  --enable-maintainer-mode  enable make rules and dependencies not useful
1413			  (and sometimes confusing) to the casual installer
1414  --disable-dependency-tracking  speeds up one-time build
1415  --enable-dependency-tracking   do not reject slow dependency extractors
1416  --enable-silent-rules          less verbose build output (undo: `make V=1')
1417  --disable-silent-rules         verbose build output (undo: `make V=0')
1418  --enable-strict-compilation
1419                          Enable all warnings from compiler and make them
1420                          errors (default: disabled)
1421
1422Optional Packages:
1423  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1424  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1425  --with-release-version=STRING
1426                          Use release version string in package name
1427
1428Some influential environment variables:
1429  CC          C compiler command
1430  CFLAGS      C compiler flags
1431  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1432              nonstandard directory <lib dir>
1433  LIBS        libraries to pass to the linker, e.g. -l<library>
1434  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1435              you have headers in a nonstandard directory <include dir>
1436  CPP         C preprocessor
1437  PKG_CONFIG  path to pkg-config utility
1438  XKBVLEDS_CFLAGS
1439              C compiler flags for XKBVLEDS, overriding pkg-config
1440  XKBVLEDS_LIBS
1441              linker flags for XKBVLEDS, overriding pkg-config
1442  XKBBELL_CFLAGS
1443              C compiler flags for XKBBELL, overriding pkg-config
1444  XKBBELL_LIBS
1445              linker flags for XKBBELL, overriding pkg-config
1446  XKBWATCH_CFLAGS
1447              C compiler flags for XKBWATCH, overriding pkg-config
1448  XKBWATCH_LIBS
1449              linker flags for XKBWATCH, overriding pkg-config
1450
1451Use these variables to override the choices made by `configure' or to help
1452it to find libraries and programs with nonstandard names/locations.
1453
1454Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1455_ACEOF
1456ac_status=$?
1457fi
1458
1459if test "$ac_init_help" = "recursive"; then
1460  # If there are subdirs, report their specific --help.
1461  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1462    test -d "$ac_dir" ||
1463      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1464      continue
1465    ac_builddir=.
1466
1467case "$ac_dir" in
1468.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1469*)
1470  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1471  # A ".." for each directory in $ac_dir_suffix.
1472  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1473  case $ac_top_builddir_sub in
1474  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1475  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1476  esac ;;
1477esac
1478ac_abs_top_builddir=$ac_pwd
1479ac_abs_builddir=$ac_pwd$ac_dir_suffix
1480# for backward compatibility:
1481ac_top_builddir=$ac_top_build_prefix
1482
1483case $srcdir in
1484  .)  # We are building in place.
1485    ac_srcdir=.
1486    ac_top_srcdir=$ac_top_builddir_sub
1487    ac_abs_top_srcdir=$ac_pwd ;;
1488  [\\/]* | ?:[\\/]* )  # Absolute name.
1489    ac_srcdir=$srcdir$ac_dir_suffix;
1490    ac_top_srcdir=$srcdir
1491    ac_abs_top_srcdir=$srcdir ;;
1492  *) # Relative name.
1493    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1494    ac_top_srcdir=$ac_top_build_prefix$srcdir
1495    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1496esac
1497ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1498
1499    cd "$ac_dir" || { ac_status=$?; continue; }
1500    # Check for guested configure.
1501    if test -f "$ac_srcdir/configure.gnu"; then
1502      echo &&
1503      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1504    elif test -f "$ac_srcdir/configure"; then
1505      echo &&
1506      $SHELL "$ac_srcdir/configure" --help=recursive
1507    else
1508      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1509    fi || ac_status=$?
1510    cd "$ac_pwd" || { ac_status=$?; break; }
1511  done
1512fi
1513
1514test -n "$ac_init_help" && exit $ac_status
1515if $ac_init_version; then
1516  cat <<\_ACEOF
1517xkbutils configure 1.0.2
1518generated by GNU Autoconf 2.63
1519
1520Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
15212002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1522This configure script is free software; the Free Software Foundation
1523gives unlimited permission to copy, distribute and modify it.
1524_ACEOF
1525  exit
1526fi
1527cat >config.log <<_ACEOF
1528This file contains any messages produced by compilers while
1529running configure, to aid debugging if configure makes a mistake.
1530
1531It was created by xkbutils $as_me 1.0.2, which was
1532generated by GNU Autoconf 2.63.  Invocation command line was
1533
1534  $ $0 $@
1535
1536_ACEOF
1537exec 5>>config.log
1538{
1539cat <<_ASUNAME
1540## --------- ##
1541## Platform. ##
1542## --------- ##
1543
1544hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1545uname -m = `(uname -m) 2>/dev/null || echo unknown`
1546uname -r = `(uname -r) 2>/dev/null || echo unknown`
1547uname -s = `(uname -s) 2>/dev/null || echo unknown`
1548uname -v = `(uname -v) 2>/dev/null || echo unknown`
1549
1550/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1551/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1552
1553/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1554/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1555/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1556/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1557/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1558/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1559/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1560
1561_ASUNAME
1562
1563as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1564for as_dir in $PATH
1565do
1566  IFS=$as_save_IFS
1567  test -z "$as_dir" && as_dir=.
1568  $as_echo "PATH: $as_dir"
1569done
1570IFS=$as_save_IFS
1571
1572} >&5
1573
1574cat >&5 <<_ACEOF
1575
1576
1577## ----------- ##
1578## Core tests. ##
1579## ----------- ##
1580
1581_ACEOF
1582
1583
1584# Keep a trace of the command line.
1585# Strip out --no-create and --no-recursion so they do not pile up.
1586# Strip out --silent because we don't want to record it for future runs.
1587# Also quote any args containing shell meta-characters.
1588# Make two passes to allow for proper duplicate-argument suppression.
1589ac_configure_args=
1590ac_configure_args0=
1591ac_configure_args1=
1592ac_must_keep_next=false
1593for ac_pass in 1 2
1594do
1595  for ac_arg
1596  do
1597    case $ac_arg in
1598    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1599    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1600    | -silent | --silent | --silen | --sile | --sil)
1601      continue ;;
1602    *\'*)
1603      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1604    esac
1605    case $ac_pass in
1606    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1607    2)
1608      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1609      if test $ac_must_keep_next = true; then
1610	ac_must_keep_next=false # Got value, back to normal.
1611      else
1612	case $ac_arg in
1613	  *=* | --config-cache | -C | -disable-* | --disable-* \
1614	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1615	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1616	  | -with-* | --with-* | -without-* | --without-* | --x)
1617	    case "$ac_configure_args0 " in
1618	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1619	    esac
1620	    ;;
1621	  -* ) ac_must_keep_next=true ;;
1622	esac
1623      fi
1624      ac_configure_args="$ac_configure_args '$ac_arg'"
1625      ;;
1626    esac
1627  done
1628done
1629$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1630$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1631
1632# When interrupted or exit'd, cleanup temporary files, and complete
1633# config.log.  We remove comments because anyway the quotes in there
1634# would cause problems or look ugly.
1635# WARNING: Use '\'' to represent an apostrophe within the trap.
1636# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1637trap 'exit_status=$?
1638  # Save into config.log some information that might help in debugging.
1639  {
1640    echo
1641
1642    cat <<\_ASBOX
1643## ---------------- ##
1644## Cache variables. ##
1645## ---------------- ##
1646_ASBOX
1647    echo
1648    # The following way of writing the cache mishandles newlines in values,
1649(
1650  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1651    eval ac_val=\$$ac_var
1652    case $ac_val in #(
1653    *${as_nl}*)
1654      case $ac_var in #(
1655      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1656$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1657      esac
1658      case $ac_var in #(
1659      _ | IFS | as_nl) ;; #(
1660      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1661      *) $as_unset $ac_var ;;
1662      esac ;;
1663    esac
1664  done
1665  (set) 2>&1 |
1666    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1667    *${as_nl}ac_space=\ *)
1668      sed -n \
1669	"s/'\''/'\''\\\\'\'''\''/g;
1670	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1671      ;; #(
1672    *)
1673      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1674      ;;
1675    esac |
1676    sort
1677)
1678    echo
1679
1680    cat <<\_ASBOX
1681## ----------------- ##
1682## Output variables. ##
1683## ----------------- ##
1684_ASBOX
1685    echo
1686    for ac_var in $ac_subst_vars
1687    do
1688      eval ac_val=\$$ac_var
1689      case $ac_val in
1690      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1691      esac
1692      $as_echo "$ac_var='\''$ac_val'\''"
1693    done | sort
1694    echo
1695
1696    if test -n "$ac_subst_files"; then
1697      cat <<\_ASBOX
1698## ------------------- ##
1699## File substitutions. ##
1700## ------------------- ##
1701_ASBOX
1702      echo
1703      for ac_var in $ac_subst_files
1704      do
1705	eval ac_val=\$$ac_var
1706	case $ac_val in
1707	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1708	esac
1709	$as_echo "$ac_var='\''$ac_val'\''"
1710      done | sort
1711      echo
1712    fi
1713
1714    if test -s confdefs.h; then
1715      cat <<\_ASBOX
1716## ----------- ##
1717## confdefs.h. ##
1718## ----------- ##
1719_ASBOX
1720      echo
1721      cat confdefs.h
1722      echo
1723    fi
1724    test "$ac_signal" != 0 &&
1725      $as_echo "$as_me: caught signal $ac_signal"
1726    $as_echo "$as_me: exit $exit_status"
1727  } >&5
1728  rm -f core *.core core.conftest.* &&
1729    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1730    exit $exit_status
1731' 0
1732for ac_signal in 1 2 13 15; do
1733  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1734done
1735ac_signal=0
1736
1737# confdefs.h avoids OS command line length limits that DEFS can exceed.
1738rm -f -r conftest* confdefs.h
1739
1740# Predefined preprocessor variables.
1741
1742cat >>confdefs.h <<_ACEOF
1743#define PACKAGE_NAME "$PACKAGE_NAME"
1744_ACEOF
1745
1746
1747cat >>confdefs.h <<_ACEOF
1748#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1749_ACEOF
1750
1751
1752cat >>confdefs.h <<_ACEOF
1753#define PACKAGE_VERSION "$PACKAGE_VERSION"
1754_ACEOF
1755
1756
1757cat >>confdefs.h <<_ACEOF
1758#define PACKAGE_STRING "$PACKAGE_STRING"
1759_ACEOF
1760
1761
1762cat >>confdefs.h <<_ACEOF
1763#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1764_ACEOF
1765
1766
1767# Let the site file select an alternate cache file if it wants to.
1768# Prefer an explicitly selected file to automatically selected ones.
1769ac_site_file1=NONE
1770ac_site_file2=NONE
1771if test -n "$CONFIG_SITE"; then
1772  ac_site_file1=$CONFIG_SITE
1773elif test "x$prefix" != xNONE; then
1774  ac_site_file1=$prefix/share/config.site
1775  ac_site_file2=$prefix/etc/config.site
1776else
1777  ac_site_file1=$ac_default_prefix/share/config.site
1778  ac_site_file2=$ac_default_prefix/etc/config.site
1779fi
1780for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1781do
1782  test "x$ac_site_file" = xNONE && continue
1783  if test -r "$ac_site_file"; then
1784    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1785$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1786    sed 's/^/| /' "$ac_site_file" >&5
1787    . "$ac_site_file"
1788  fi
1789done
1790
1791if test -r "$cache_file"; then
1792  # Some versions of bash will fail to source /dev/null (special
1793  # files actually), so we avoid doing that.
1794  if test -f "$cache_file"; then
1795    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1796$as_echo "$as_me: loading cache $cache_file" >&6;}
1797    case $cache_file in
1798      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1799      *)                      . "./$cache_file";;
1800    esac
1801  fi
1802else
1803  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1804$as_echo "$as_me: creating cache $cache_file" >&6;}
1805  >$cache_file
1806fi
1807
1808# Check that the precious variables saved in the cache have kept the same
1809# value.
1810ac_cache_corrupted=false
1811for ac_var in $ac_precious_vars; do
1812  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1813  eval ac_new_set=\$ac_env_${ac_var}_set
1814  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1815  eval ac_new_val=\$ac_env_${ac_var}_value
1816  case $ac_old_set,$ac_new_set in
1817    set,)
1818      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1819$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1820      ac_cache_corrupted=: ;;
1821    ,set)
1822      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1823$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1824      ac_cache_corrupted=: ;;
1825    ,);;
1826    *)
1827      if test "x$ac_old_val" != "x$ac_new_val"; then
1828	# differences in whitespace do not lead to failure.
1829	ac_old_val_w=`echo x $ac_old_val`
1830	ac_new_val_w=`echo x $ac_new_val`
1831	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1832	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1833$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1834	  ac_cache_corrupted=:
1835	else
1836	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1837$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1838	  eval $ac_var=\$ac_old_val
1839	fi
1840	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
1841$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1842	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
1843$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1844      fi;;
1845  esac
1846  # Pass precious variables to config.status.
1847  if test "$ac_new_set" = set; then
1848    case $ac_new_val in
1849    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1850    *) ac_arg=$ac_var=$ac_new_val ;;
1851    esac
1852    case " $ac_configure_args " in
1853      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1854      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1855    esac
1856  fi
1857done
1858if $ac_cache_corrupted; then
1859  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1860$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1861  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1862$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1863  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1864$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1865   { (exit 1); exit 1; }; }
1866fi
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892ac_ext=c
1893ac_cpp='$CPP $CPPFLAGS'
1894ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1895ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1896ac_compiler_gnu=$ac_cv_c_compiler_gnu
1897
1898
1899am__api_version='1.11'
1900
1901ac_aux_dir=
1902for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1903  if test -f "$ac_dir/install-sh"; then
1904    ac_aux_dir=$ac_dir
1905    ac_install_sh="$ac_aux_dir/install-sh -c"
1906    break
1907  elif test -f "$ac_dir/install.sh"; then
1908    ac_aux_dir=$ac_dir
1909    ac_install_sh="$ac_aux_dir/install.sh -c"
1910    break
1911  elif test -f "$ac_dir/shtool"; then
1912    ac_aux_dir=$ac_dir
1913    ac_install_sh="$ac_aux_dir/shtool install -c"
1914    break
1915  fi
1916done
1917if test -z "$ac_aux_dir"; then
1918  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1919$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1920   { (exit 1); exit 1; }; }
1921fi
1922
1923# These three variables are undocumented and unsupported,
1924# and are intended to be withdrawn in a future Autoconf release.
1925# They can cause serious problems if a builder's source tree is in a directory
1926# whose full name contains unusual characters.
1927ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1928ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1929ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1930
1931
1932# Find a good install program.  We prefer a C program (faster),
1933# so one script is as good as another.  But avoid the broken or
1934# incompatible versions:
1935# SysV /etc/install, /usr/sbin/install
1936# SunOS /usr/etc/install
1937# IRIX /sbin/install
1938# AIX /bin/install
1939# AmigaOS /C/install, which installs bootblocks on floppy discs
1940# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1941# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1942# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1943# OS/2's system install, which has a completely different semantic
1944# ./install, which can be erroneously created by make from ./install.sh.
1945# Reject install programs that cannot install multiple files.
1946{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1947$as_echo_n "checking for a BSD-compatible install... " >&6; }
1948if test -z "$INSTALL"; then
1949if test "${ac_cv_path_install+set}" = set; then
1950  $as_echo_n "(cached) " >&6
1951else
1952  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1953for as_dir in $PATH
1954do
1955  IFS=$as_save_IFS
1956  test -z "$as_dir" && as_dir=.
1957  # Account for people who put trailing slashes in PATH elements.
1958case $as_dir/ in
1959  ./ | .// | /cC/* | \
1960  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1961  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1962  /usr/ucb/* ) ;;
1963  *)
1964    # OSF1 and SCO ODT 3.0 have their own names for install.
1965    # Don't use installbsd from OSF since it installs stuff as root
1966    # by default.
1967    for ac_prog in ginstall scoinst install; do
1968      for ac_exec_ext in '' $ac_executable_extensions; do
1969	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1970	  if test $ac_prog = install &&
1971	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1972	    # AIX install.  It has an incompatible calling convention.
1973	    :
1974	  elif test $ac_prog = install &&
1975	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1976	    # program-specific install script used by HP pwplus--don't use.
1977	    :
1978	  else
1979	    rm -rf conftest.one conftest.two conftest.dir
1980	    echo one > conftest.one
1981	    echo two > conftest.two
1982	    mkdir conftest.dir
1983	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1984	      test -s conftest.one && test -s conftest.two &&
1985	      test -s conftest.dir/conftest.one &&
1986	      test -s conftest.dir/conftest.two
1987	    then
1988	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1989	      break 3
1990	    fi
1991	  fi
1992	fi
1993      done
1994    done
1995    ;;
1996esac
1997
1998done
1999IFS=$as_save_IFS
2000
2001rm -rf conftest.one conftest.two conftest.dir
2002
2003fi
2004  if test "${ac_cv_path_install+set}" = set; then
2005    INSTALL=$ac_cv_path_install
2006  else
2007    # As a last resort, use the slow shell script.  Don't cache a
2008    # value for INSTALL within a source directory, because that will
2009    # break other packages using the cache if that directory is
2010    # removed, or if the value is a relative name.
2011    INSTALL=$ac_install_sh
2012  fi
2013fi
2014{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2015$as_echo "$INSTALL" >&6; }
2016
2017# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2018# It thinks the first close brace ends the variable substitution.
2019test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2020
2021test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2022
2023test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2024
2025{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2026$as_echo_n "checking whether build environment is sane... " >&6; }
2027# Just in case
2028sleep 1
2029echo timestamp > conftest.file
2030# Reject unsafe characters in $srcdir or the absolute working directory
2031# name.  Accept space and tab only in the latter.
2032am_lf='
2033'
2034case `pwd` in
2035  *[\\\"\#\$\&\'\`$am_lf]*)
2036    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2037$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2038   { (exit 1); exit 1; }; };;
2039esac
2040case $srcdir in
2041  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2042    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2043$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2044   { (exit 1); exit 1; }; };;
2045esac
2046
2047# Do `set' in a subshell so we don't clobber the current shell's
2048# arguments.  Must try -L first in case configure is actually a
2049# symlink; some systems play weird games with the mod time of symlinks
2050# (eg FreeBSD returns the mod time of the symlink's containing
2051# directory).
2052if (
2053   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2054   if test "$*" = "X"; then
2055      # -L didn't work.
2056      set X `ls -t "$srcdir/configure" conftest.file`
2057   fi
2058   rm -f conftest.file
2059   if test "$*" != "X $srcdir/configure conftest.file" \
2060      && test "$*" != "X conftest.file $srcdir/configure"; then
2061
2062      # If neither matched, then we have a broken ls.  This can happen
2063      # if, for instance, CONFIG_SHELL is bash and it inherits a
2064      # broken ls alias from the environment.  This has actually
2065      # happened.  Such a system could not be considered "sane".
2066      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2067alias in your environment" >&5
2068$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2069alias in your environment" >&2;}
2070   { (exit 1); exit 1; }; }
2071   fi
2072
2073   test "$2" = conftest.file
2074   )
2075then
2076   # Ok.
2077   :
2078else
2079   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2080Check your system clock" >&5
2081$as_echo "$as_me: error: newly created file is older than distributed files!
2082Check your system clock" >&2;}
2083   { (exit 1); exit 1; }; }
2084fi
2085{ $as_echo "$as_me:$LINENO: result: yes" >&5
2086$as_echo "yes" >&6; }
2087test "$program_prefix" != NONE &&
2088  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2089# Use a double $ so make ignores it.
2090test "$program_suffix" != NONE &&
2091  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2092# Double any \ or $.
2093# By default was `s,x,x', remove it if useless.
2094ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2095program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2096
2097# expand $ac_aux_dir to an absolute path
2098am_aux_dir=`cd $ac_aux_dir && pwd`
2099
2100if test x"${MISSING+set}" != xset; then
2101  case $am_aux_dir in
2102  *\ * | *\	*)
2103    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2104  *)
2105    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2106  esac
2107fi
2108# Use eval to expand $SHELL
2109if eval "$MISSING --run true"; then
2110  am_missing_run="$MISSING --run "
2111else
2112  am_missing_run=
2113  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2114$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2115fi
2116
2117if test x"${install_sh}" != xset; then
2118  case $am_aux_dir in
2119  *\ * | *\	*)
2120    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2121  *)
2122    install_sh="\${SHELL} $am_aux_dir/install-sh"
2123  esac
2124fi
2125
2126# Installed binaries are usually stripped using `strip' when the user
2127# run `make install-strip'.  However `strip' might not be the right
2128# tool to use in cross-compilation environments, therefore Automake
2129# will honor the `STRIP' environment variable to overrule this program.
2130if test "$cross_compiling" != no; then
2131  if test -n "$ac_tool_prefix"; then
2132  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2133set dummy ${ac_tool_prefix}strip; ac_word=$2
2134{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2135$as_echo_n "checking for $ac_word... " >&6; }
2136if test "${ac_cv_prog_STRIP+set}" = set; then
2137  $as_echo_n "(cached) " >&6
2138else
2139  if test -n "$STRIP"; then
2140  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2141else
2142as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2143for as_dir in $PATH
2144do
2145  IFS=$as_save_IFS
2146  test -z "$as_dir" && as_dir=.
2147  for ac_exec_ext in '' $ac_executable_extensions; do
2148  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2149    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2150    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2151    break 2
2152  fi
2153done
2154done
2155IFS=$as_save_IFS
2156
2157fi
2158fi
2159STRIP=$ac_cv_prog_STRIP
2160if test -n "$STRIP"; then
2161  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2162$as_echo "$STRIP" >&6; }
2163else
2164  { $as_echo "$as_me:$LINENO: result: no" >&5
2165$as_echo "no" >&6; }
2166fi
2167
2168
2169fi
2170if test -z "$ac_cv_prog_STRIP"; then
2171  ac_ct_STRIP=$STRIP
2172  # Extract the first word of "strip", so it can be a program name with args.
2173set dummy strip; ac_word=$2
2174{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2175$as_echo_n "checking for $ac_word... " >&6; }
2176if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2177  $as_echo_n "(cached) " >&6
2178else
2179  if test -n "$ac_ct_STRIP"; then
2180  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2181else
2182as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2183for as_dir in $PATH
2184do
2185  IFS=$as_save_IFS
2186  test -z "$as_dir" && as_dir=.
2187  for ac_exec_ext in '' $ac_executable_extensions; do
2188  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2189    ac_cv_prog_ac_ct_STRIP="strip"
2190    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2191    break 2
2192  fi
2193done
2194done
2195IFS=$as_save_IFS
2196
2197fi
2198fi
2199ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2200if test -n "$ac_ct_STRIP"; then
2201  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2202$as_echo "$ac_ct_STRIP" >&6; }
2203else
2204  { $as_echo "$as_me:$LINENO: result: no" >&5
2205$as_echo "no" >&6; }
2206fi
2207
2208  if test "x$ac_ct_STRIP" = x; then
2209    STRIP=":"
2210  else
2211    case $cross_compiling:$ac_tool_warned in
2212yes:)
2213{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2214$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2215ac_tool_warned=yes ;;
2216esac
2217    STRIP=$ac_ct_STRIP
2218  fi
2219else
2220  STRIP="$ac_cv_prog_STRIP"
2221fi
2222
2223fi
2224INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2225
2226{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2227$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2228if test -z "$MKDIR_P"; then
2229  if test "${ac_cv_path_mkdir+set}" = set; then
2230  $as_echo_n "(cached) " >&6
2231else
2232  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2233for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2234do
2235  IFS=$as_save_IFS
2236  test -z "$as_dir" && as_dir=.
2237  for ac_prog in mkdir gmkdir; do
2238	 for ac_exec_ext in '' $ac_executable_extensions; do
2239	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2240	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2241	     'mkdir (GNU coreutils) '* | \
2242	     'mkdir (coreutils) '* | \
2243	     'mkdir (fileutils) '4.1*)
2244	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2245	       break 3;;
2246	   esac
2247	 done
2248       done
2249done
2250IFS=$as_save_IFS
2251
2252fi
2253
2254  if test "${ac_cv_path_mkdir+set}" = set; then
2255    MKDIR_P="$ac_cv_path_mkdir -p"
2256  else
2257    # As a last resort, use the slow shell script.  Don't cache a
2258    # value for MKDIR_P within a source directory, because that will
2259    # break other packages using the cache if that directory is
2260    # removed, or if the value is a relative name.
2261    test -d ./--version && rmdir ./--version
2262    MKDIR_P="$ac_install_sh -d"
2263  fi
2264fi
2265{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2266$as_echo "$MKDIR_P" >&6; }
2267
2268mkdir_p="$MKDIR_P"
2269case $mkdir_p in
2270  [\\/$]* | ?:[\\/]*) ;;
2271  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2272esac
2273
2274for ac_prog in gawk mawk nawk awk
2275do
2276  # Extract the first word of "$ac_prog", so it can be a program name with args.
2277set dummy $ac_prog; ac_word=$2
2278{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2279$as_echo_n "checking for $ac_word... " >&6; }
2280if test "${ac_cv_prog_AWK+set}" = set; then
2281  $as_echo_n "(cached) " >&6
2282else
2283  if test -n "$AWK"; then
2284  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2285else
2286as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2287for as_dir in $PATH
2288do
2289  IFS=$as_save_IFS
2290  test -z "$as_dir" && as_dir=.
2291  for ac_exec_ext in '' $ac_executable_extensions; do
2292  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2293    ac_cv_prog_AWK="$ac_prog"
2294    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2295    break 2
2296  fi
2297done
2298done
2299IFS=$as_save_IFS
2300
2301fi
2302fi
2303AWK=$ac_cv_prog_AWK
2304if test -n "$AWK"; then
2305  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2306$as_echo "$AWK" >&6; }
2307else
2308  { $as_echo "$as_me:$LINENO: result: no" >&5
2309$as_echo "no" >&6; }
2310fi
2311
2312
2313  test -n "$AWK" && break
2314done
2315
2316{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2317$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2318set x ${MAKE-make}
2319ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2320if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2321  $as_echo_n "(cached) " >&6
2322else
2323  cat >conftest.make <<\_ACEOF
2324SHELL = /bin/sh
2325all:
2326	@echo '@@@%%%=$(MAKE)=@@@%%%'
2327_ACEOF
2328# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2329case `${MAKE-make} -f conftest.make 2>/dev/null` in
2330  *@@@%%%=?*=@@@%%%*)
2331    eval ac_cv_prog_make_${ac_make}_set=yes;;
2332  *)
2333    eval ac_cv_prog_make_${ac_make}_set=no;;
2334esac
2335rm -f conftest.make
2336fi
2337if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2338  { $as_echo "$as_me:$LINENO: result: yes" >&5
2339$as_echo "yes" >&6; }
2340  SET_MAKE=
2341else
2342  { $as_echo "$as_me:$LINENO: result: no" >&5
2343$as_echo "no" >&6; }
2344  SET_MAKE="MAKE=${MAKE-make}"
2345fi
2346
2347rm -rf .tst 2>/dev/null
2348mkdir .tst 2>/dev/null
2349if test -d .tst; then
2350  am__leading_dot=.
2351else
2352  am__leading_dot=_
2353fi
2354rmdir .tst 2>/dev/null
2355
2356if test "`cd $srcdir && pwd`" != "`pwd`"; then
2357  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2358  # is not polluted with repeated "-I."
2359  am__isrc=' -I$(srcdir)'
2360  # test to see if srcdir already configured
2361  if test -f $srcdir/config.status; then
2362    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2363$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2364   { (exit 1); exit 1; }; }
2365  fi
2366fi
2367
2368# test whether we have cygpath
2369if test -z "$CYGPATH_W"; then
2370  if (cygpath --version) >/dev/null 2>/dev/null; then
2371    CYGPATH_W='cygpath -w'
2372  else
2373    CYGPATH_W=echo
2374  fi
2375fi
2376
2377
2378# Define the identity of the package.
2379 PACKAGE='xkbutils'
2380 VERSION='1.0.2'
2381
2382
2383cat >>confdefs.h <<_ACEOF
2384#define PACKAGE "$PACKAGE"
2385_ACEOF
2386
2387
2388cat >>confdefs.h <<_ACEOF
2389#define VERSION "$VERSION"
2390_ACEOF
2391
2392# Some tools Automake needs.
2393
2394ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2395
2396
2397AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2398
2399
2400AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2401
2402
2403AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2404
2405
2406MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2407
2408# We need awk for the "check" target.  The system "awk" is bad on
2409# some platforms.
2410# Always define AMTAR for backward compatibility.
2411
2412AMTAR=${AMTAR-"${am_missing_run}tar"}
2413
2414am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2415
2416
2417
2418
2419
2420
2421{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2422$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2423    # Check whether --enable-maintainer-mode was given.
2424if test "${enable_maintainer_mode+set}" = set; then
2425  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2426else
2427  USE_MAINTAINER_MODE=no
2428fi
2429
2430  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2431$as_echo "$USE_MAINTAINER_MODE" >&6; }
2432   if test $USE_MAINTAINER_MODE = yes; then
2433  MAINTAINER_MODE_TRUE=
2434  MAINTAINER_MODE_FALSE='#'
2435else
2436  MAINTAINER_MODE_TRUE='#'
2437  MAINTAINER_MODE_FALSE=
2438fi
2439
2440  MAINT=$MAINTAINER_MODE_TRUE
2441
2442
2443
2444# Require xorg-macros 1.3 or later: XORG_DEFAULT_OPTIONS
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457ac_config_headers="$ac_config_headers config.h"
2458
2459
2460ac_ext=c
2461ac_cpp='$CPP $CPPFLAGS'
2462ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2463ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2464ac_compiler_gnu=$ac_cv_c_compiler_gnu
2465if test -n "$ac_tool_prefix"; then
2466  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2467set dummy ${ac_tool_prefix}gcc; ac_word=$2
2468{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2469$as_echo_n "checking for $ac_word... " >&6; }
2470if test "${ac_cv_prog_CC+set}" = set; then
2471  $as_echo_n "(cached) " >&6
2472else
2473  if test -n "$CC"; then
2474  ac_cv_prog_CC="$CC" # Let the user override the test.
2475else
2476as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2477for as_dir in $PATH
2478do
2479  IFS=$as_save_IFS
2480  test -z "$as_dir" && as_dir=.
2481  for ac_exec_ext in '' $ac_executable_extensions; do
2482  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2483    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2484    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2485    break 2
2486  fi
2487done
2488done
2489IFS=$as_save_IFS
2490
2491fi
2492fi
2493CC=$ac_cv_prog_CC
2494if test -n "$CC"; then
2495  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2496$as_echo "$CC" >&6; }
2497else
2498  { $as_echo "$as_me:$LINENO: result: no" >&5
2499$as_echo "no" >&6; }
2500fi
2501
2502
2503fi
2504if test -z "$ac_cv_prog_CC"; then
2505  ac_ct_CC=$CC
2506  # Extract the first word of "gcc", so it can be a program name with args.
2507set dummy gcc; ac_word=$2
2508{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2509$as_echo_n "checking for $ac_word... " >&6; }
2510if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2511  $as_echo_n "(cached) " >&6
2512else
2513  if test -n "$ac_ct_CC"; then
2514  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2515else
2516as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2517for as_dir in $PATH
2518do
2519  IFS=$as_save_IFS
2520  test -z "$as_dir" && as_dir=.
2521  for ac_exec_ext in '' $ac_executable_extensions; do
2522  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2523    ac_cv_prog_ac_ct_CC="gcc"
2524    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2525    break 2
2526  fi
2527done
2528done
2529IFS=$as_save_IFS
2530
2531fi
2532fi
2533ac_ct_CC=$ac_cv_prog_ac_ct_CC
2534if test -n "$ac_ct_CC"; then
2535  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2536$as_echo "$ac_ct_CC" >&6; }
2537else
2538  { $as_echo "$as_me:$LINENO: result: no" >&5
2539$as_echo "no" >&6; }
2540fi
2541
2542  if test "x$ac_ct_CC" = x; then
2543    CC=""
2544  else
2545    case $cross_compiling:$ac_tool_warned in
2546yes:)
2547{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2548$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2549ac_tool_warned=yes ;;
2550esac
2551    CC=$ac_ct_CC
2552  fi
2553else
2554  CC="$ac_cv_prog_CC"
2555fi
2556
2557if test -z "$CC"; then
2558          if test -n "$ac_tool_prefix"; then
2559    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2560set dummy ${ac_tool_prefix}cc; ac_word=$2
2561{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2562$as_echo_n "checking for $ac_word... " >&6; }
2563if test "${ac_cv_prog_CC+set}" = set; then
2564  $as_echo_n "(cached) " >&6
2565else
2566  if test -n "$CC"; then
2567  ac_cv_prog_CC="$CC" # Let the user override the test.
2568else
2569as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2570for as_dir in $PATH
2571do
2572  IFS=$as_save_IFS
2573  test -z "$as_dir" && as_dir=.
2574  for ac_exec_ext in '' $ac_executable_extensions; do
2575  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2576    ac_cv_prog_CC="${ac_tool_prefix}cc"
2577    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2578    break 2
2579  fi
2580done
2581done
2582IFS=$as_save_IFS
2583
2584fi
2585fi
2586CC=$ac_cv_prog_CC
2587if test -n "$CC"; then
2588  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2589$as_echo "$CC" >&6; }
2590else
2591  { $as_echo "$as_me:$LINENO: result: no" >&5
2592$as_echo "no" >&6; }
2593fi
2594
2595
2596  fi
2597fi
2598if test -z "$CC"; then
2599  # Extract the first word of "cc", so it can be a program name with args.
2600set dummy cc; ac_word=$2
2601{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2602$as_echo_n "checking for $ac_word... " >&6; }
2603if test "${ac_cv_prog_CC+set}" = set; then
2604  $as_echo_n "(cached) " >&6
2605else
2606  if test -n "$CC"; then
2607  ac_cv_prog_CC="$CC" # Let the user override the test.
2608else
2609  ac_prog_rejected=no
2610as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2611for as_dir in $PATH
2612do
2613  IFS=$as_save_IFS
2614  test -z "$as_dir" && as_dir=.
2615  for ac_exec_ext in '' $ac_executable_extensions; do
2616  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2617    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2618       ac_prog_rejected=yes
2619       continue
2620     fi
2621    ac_cv_prog_CC="cc"
2622    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2623    break 2
2624  fi
2625done
2626done
2627IFS=$as_save_IFS
2628
2629if test $ac_prog_rejected = yes; then
2630  # We found a bogon in the path, so make sure we never use it.
2631  set dummy $ac_cv_prog_CC
2632  shift
2633  if test $# != 0; then
2634    # We chose a different compiler from the bogus one.
2635    # However, it has the same basename, so the bogon will be chosen
2636    # first if we set CC to just the basename; use the full file name.
2637    shift
2638    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2639  fi
2640fi
2641fi
2642fi
2643CC=$ac_cv_prog_CC
2644if test -n "$CC"; then
2645  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2646$as_echo "$CC" >&6; }
2647else
2648  { $as_echo "$as_me:$LINENO: result: no" >&5
2649$as_echo "no" >&6; }
2650fi
2651
2652
2653fi
2654if test -z "$CC"; then
2655  if test -n "$ac_tool_prefix"; then
2656  for ac_prog in cl.exe
2657  do
2658    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2659set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2660{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2661$as_echo_n "checking for $ac_word... " >&6; }
2662if test "${ac_cv_prog_CC+set}" = set; then
2663  $as_echo_n "(cached) " >&6
2664else
2665  if test -n "$CC"; then
2666  ac_cv_prog_CC="$CC" # Let the user override the test.
2667else
2668as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2669for as_dir in $PATH
2670do
2671  IFS=$as_save_IFS
2672  test -z "$as_dir" && as_dir=.
2673  for ac_exec_ext in '' $ac_executable_extensions; do
2674  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2675    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2676    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2677    break 2
2678  fi
2679done
2680done
2681IFS=$as_save_IFS
2682
2683fi
2684fi
2685CC=$ac_cv_prog_CC
2686if test -n "$CC"; then
2687  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2688$as_echo "$CC" >&6; }
2689else
2690  { $as_echo "$as_me:$LINENO: result: no" >&5
2691$as_echo "no" >&6; }
2692fi
2693
2694
2695    test -n "$CC" && break
2696  done
2697fi
2698if test -z "$CC"; then
2699  ac_ct_CC=$CC
2700  for ac_prog in cl.exe
2701do
2702  # Extract the first word of "$ac_prog", so it can be a program name with args.
2703set dummy $ac_prog; ac_word=$2
2704{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2705$as_echo_n "checking for $ac_word... " >&6; }
2706if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2707  $as_echo_n "(cached) " >&6
2708else
2709  if test -n "$ac_ct_CC"; then
2710  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2711else
2712as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2713for as_dir in $PATH
2714do
2715  IFS=$as_save_IFS
2716  test -z "$as_dir" && as_dir=.
2717  for ac_exec_ext in '' $ac_executable_extensions; do
2718  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2719    ac_cv_prog_ac_ct_CC="$ac_prog"
2720    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2721    break 2
2722  fi
2723done
2724done
2725IFS=$as_save_IFS
2726
2727fi
2728fi
2729ac_ct_CC=$ac_cv_prog_ac_ct_CC
2730if test -n "$ac_ct_CC"; then
2731  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2732$as_echo "$ac_ct_CC" >&6; }
2733else
2734  { $as_echo "$as_me:$LINENO: result: no" >&5
2735$as_echo "no" >&6; }
2736fi
2737
2738
2739  test -n "$ac_ct_CC" && break
2740done
2741
2742  if test "x$ac_ct_CC" = x; then
2743    CC=""
2744  else
2745    case $cross_compiling:$ac_tool_warned in
2746yes:)
2747{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2748$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2749ac_tool_warned=yes ;;
2750esac
2751    CC=$ac_ct_CC
2752  fi
2753fi
2754
2755fi
2756
2757
2758test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2759$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2760{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2761See \`config.log' for more details." >&5
2762$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2763See \`config.log' for more details." >&2;}
2764   { (exit 1); exit 1; }; }; }
2765
2766# Provide some information about the compiler.
2767$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2768set X $ac_compile
2769ac_compiler=$2
2770{ (ac_try="$ac_compiler --version >&5"
2771case "(($ac_try" in
2772  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2773  *) ac_try_echo=$ac_try;;
2774esac
2775eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2776$as_echo "$ac_try_echo") >&5
2777  (eval "$ac_compiler --version >&5") 2>&5
2778  ac_status=$?
2779  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2780  (exit $ac_status); }
2781{ (ac_try="$ac_compiler -v >&5"
2782case "(($ac_try" in
2783  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2784  *) ac_try_echo=$ac_try;;
2785esac
2786eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2787$as_echo "$ac_try_echo") >&5
2788  (eval "$ac_compiler -v >&5") 2>&5
2789  ac_status=$?
2790  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2791  (exit $ac_status); }
2792{ (ac_try="$ac_compiler -V >&5"
2793case "(($ac_try" in
2794  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2795  *) ac_try_echo=$ac_try;;
2796esac
2797eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2798$as_echo "$ac_try_echo") >&5
2799  (eval "$ac_compiler -V >&5") 2>&5
2800  ac_status=$?
2801  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2802  (exit $ac_status); }
2803
2804cat >conftest.$ac_ext <<_ACEOF
2805/* confdefs.h.  */
2806_ACEOF
2807cat confdefs.h >>conftest.$ac_ext
2808cat >>conftest.$ac_ext <<_ACEOF
2809/* end confdefs.h.  */
2810
2811int
2812main ()
2813{
2814
2815  ;
2816  return 0;
2817}
2818_ACEOF
2819ac_clean_files_save=$ac_clean_files
2820ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2821# Try to create an executable without -o first, disregard a.out.
2822# It will help us diagnose broken compilers, and finding out an intuition
2823# of exeext.
2824{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2825$as_echo_n "checking for C compiler default output file name... " >&6; }
2826ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2827
2828# The possible output files:
2829ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2830
2831ac_rmfiles=
2832for ac_file in $ac_files
2833do
2834  case $ac_file in
2835    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2836    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2837  esac
2838done
2839rm -f $ac_rmfiles
2840
2841if { (ac_try="$ac_link_default"
2842case "(($ac_try" in
2843  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2844  *) ac_try_echo=$ac_try;;
2845esac
2846eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2847$as_echo "$ac_try_echo") >&5
2848  (eval "$ac_link_default") 2>&5
2849  ac_status=$?
2850  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851  (exit $ac_status); }; then
2852  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2853# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2854# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2855# so that the user can short-circuit this test for compilers unknown to
2856# Autoconf.
2857for ac_file in $ac_files ''
2858do
2859  test -f "$ac_file" || continue
2860  case $ac_file in
2861    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2862	;;
2863    [ab].out )
2864	# We found the default executable, but exeext='' is most
2865	# certainly right.
2866	break;;
2867    *.* )
2868        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2869	then :; else
2870	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2871	fi
2872	# We set ac_cv_exeext here because the later test for it is not
2873	# safe: cross compilers may not add the suffix if given an `-o'
2874	# argument, so we may need to know it at that point already.
2875	# Even if this section looks crufty: it has the advantage of
2876	# actually working.
2877	break;;
2878    * )
2879	break;;
2880  esac
2881done
2882test "$ac_cv_exeext" = no && ac_cv_exeext=
2883
2884else
2885  ac_file=''
2886fi
2887
2888{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2889$as_echo "$ac_file" >&6; }
2890if test -z "$ac_file"; then
2891  $as_echo "$as_me: failed program was:" >&5
2892sed 's/^/| /' conftest.$ac_ext >&5
2893
2894{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2895$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2896{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2897See \`config.log' for more details." >&5
2898$as_echo "$as_me: error: C compiler cannot create executables
2899See \`config.log' for more details." >&2;}
2900   { (exit 77); exit 77; }; }; }
2901fi
2902
2903ac_exeext=$ac_cv_exeext
2904
2905# Check that the compiler produces executables we can run.  If not, either
2906# the compiler is broken, or we cross compile.
2907{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2908$as_echo_n "checking whether the C compiler works... " >&6; }
2909# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2910# If not cross compiling, check that we can run a simple program.
2911if test "$cross_compiling" != yes; then
2912  if { ac_try='./$ac_file'
2913  { (case "(($ac_try" in
2914  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2915  *) ac_try_echo=$ac_try;;
2916esac
2917eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2918$as_echo "$ac_try_echo") >&5
2919  (eval "$ac_try") 2>&5
2920  ac_status=$?
2921  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2922  (exit $ac_status); }; }; then
2923    cross_compiling=no
2924  else
2925    if test "$cross_compiling" = maybe; then
2926	cross_compiling=yes
2927    else
2928	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2929$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2930{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2931If you meant to cross compile, use \`--host'.
2932See \`config.log' for more details." >&5
2933$as_echo "$as_me: error: cannot run C compiled programs.
2934If you meant to cross compile, use \`--host'.
2935See \`config.log' for more details." >&2;}
2936   { (exit 1); exit 1; }; }; }
2937    fi
2938  fi
2939fi
2940{ $as_echo "$as_me:$LINENO: result: yes" >&5
2941$as_echo "yes" >&6; }
2942
2943rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2944ac_clean_files=$ac_clean_files_save
2945# Check that the compiler produces executables we can run.  If not, either
2946# the compiler is broken, or we cross compile.
2947{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2948$as_echo_n "checking whether we are cross compiling... " >&6; }
2949{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2950$as_echo "$cross_compiling" >&6; }
2951
2952{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2953$as_echo_n "checking for suffix of executables... " >&6; }
2954if { (ac_try="$ac_link"
2955case "(($ac_try" in
2956  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2957  *) ac_try_echo=$ac_try;;
2958esac
2959eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2960$as_echo "$ac_try_echo") >&5
2961  (eval "$ac_link") 2>&5
2962  ac_status=$?
2963  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2964  (exit $ac_status); }; then
2965  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2966# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2967# work properly (i.e., refer to `conftest.exe'), while it won't with
2968# `rm'.
2969for ac_file in conftest.exe conftest conftest.*; do
2970  test -f "$ac_file" || continue
2971  case $ac_file in
2972    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2973    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2974	  break;;
2975    * ) break;;
2976  esac
2977done
2978else
2979  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2980$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2981{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2982See \`config.log' for more details." >&5
2983$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2984See \`config.log' for more details." >&2;}
2985   { (exit 1); exit 1; }; }; }
2986fi
2987
2988rm -f conftest$ac_cv_exeext
2989{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2990$as_echo "$ac_cv_exeext" >&6; }
2991
2992rm -f conftest.$ac_ext
2993EXEEXT=$ac_cv_exeext
2994ac_exeext=$EXEEXT
2995{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2996$as_echo_n "checking for suffix of object files... " >&6; }
2997if test "${ac_cv_objext+set}" = set; then
2998  $as_echo_n "(cached) " >&6
2999else
3000  cat >conftest.$ac_ext <<_ACEOF
3001/* confdefs.h.  */
3002_ACEOF
3003cat confdefs.h >>conftest.$ac_ext
3004cat >>conftest.$ac_ext <<_ACEOF
3005/* end confdefs.h.  */
3006
3007int
3008main ()
3009{
3010
3011  ;
3012  return 0;
3013}
3014_ACEOF
3015rm -f conftest.o conftest.obj
3016if { (ac_try="$ac_compile"
3017case "(($ac_try" in
3018  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3019  *) ac_try_echo=$ac_try;;
3020esac
3021eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3022$as_echo "$ac_try_echo") >&5
3023  (eval "$ac_compile") 2>&5
3024  ac_status=$?
3025  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3026  (exit $ac_status); }; then
3027  for ac_file in conftest.o conftest.obj conftest.*; do
3028  test -f "$ac_file" || continue;
3029  case $ac_file in
3030    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3031    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3032       break;;
3033  esac
3034done
3035else
3036  $as_echo "$as_me: failed program was:" >&5
3037sed 's/^/| /' conftest.$ac_ext >&5
3038
3039{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3040$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3041{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3042See \`config.log' for more details." >&5
3043$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3044See \`config.log' for more details." >&2;}
3045   { (exit 1); exit 1; }; }; }
3046fi
3047
3048rm -f conftest.$ac_cv_objext conftest.$ac_ext
3049fi
3050{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3051$as_echo "$ac_cv_objext" >&6; }
3052OBJEXT=$ac_cv_objext
3053ac_objext=$OBJEXT
3054{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3055$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3056if test "${ac_cv_c_compiler_gnu+set}" = set; then
3057  $as_echo_n "(cached) " >&6
3058else
3059  cat >conftest.$ac_ext <<_ACEOF
3060/* confdefs.h.  */
3061_ACEOF
3062cat confdefs.h >>conftest.$ac_ext
3063cat >>conftest.$ac_ext <<_ACEOF
3064/* end confdefs.h.  */
3065
3066int
3067main ()
3068{
3069#ifndef __GNUC__
3070       choke me
3071#endif
3072
3073  ;
3074  return 0;
3075}
3076_ACEOF
3077rm -f conftest.$ac_objext
3078if { (ac_try="$ac_compile"
3079case "(($ac_try" in
3080  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3081  *) ac_try_echo=$ac_try;;
3082esac
3083eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3084$as_echo "$ac_try_echo") >&5
3085  (eval "$ac_compile") 2>conftest.er1
3086  ac_status=$?
3087  grep -v '^ *+' conftest.er1 >conftest.err
3088  rm -f conftest.er1
3089  cat conftest.err >&5
3090  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3091  (exit $ac_status); } && {
3092	 test -z "$ac_c_werror_flag" ||
3093	 test ! -s conftest.err
3094       } && test -s conftest.$ac_objext; then
3095  ac_compiler_gnu=yes
3096else
3097  $as_echo "$as_me: failed program was:" >&5
3098sed 's/^/| /' conftest.$ac_ext >&5
3099
3100	ac_compiler_gnu=no
3101fi
3102
3103rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3104ac_cv_c_compiler_gnu=$ac_compiler_gnu
3105
3106fi
3107{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3108$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3109if test $ac_compiler_gnu = yes; then
3110  GCC=yes
3111else
3112  GCC=
3113fi
3114ac_test_CFLAGS=${CFLAGS+set}
3115ac_save_CFLAGS=$CFLAGS
3116{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3117$as_echo_n "checking whether $CC accepts -g... " >&6; }
3118if test "${ac_cv_prog_cc_g+set}" = set; then
3119  $as_echo_n "(cached) " >&6
3120else
3121  ac_save_c_werror_flag=$ac_c_werror_flag
3122   ac_c_werror_flag=yes
3123   ac_cv_prog_cc_g=no
3124   CFLAGS="-g"
3125   cat >conftest.$ac_ext <<_ACEOF
3126/* confdefs.h.  */
3127_ACEOF
3128cat confdefs.h >>conftest.$ac_ext
3129cat >>conftest.$ac_ext <<_ACEOF
3130/* end confdefs.h.  */
3131
3132int
3133main ()
3134{
3135
3136  ;
3137  return 0;
3138}
3139_ACEOF
3140rm -f conftest.$ac_objext
3141if { (ac_try="$ac_compile"
3142case "(($ac_try" in
3143  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3144  *) ac_try_echo=$ac_try;;
3145esac
3146eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3147$as_echo "$ac_try_echo") >&5
3148  (eval "$ac_compile") 2>conftest.er1
3149  ac_status=$?
3150  grep -v '^ *+' conftest.er1 >conftest.err
3151  rm -f conftest.er1
3152  cat conftest.err >&5
3153  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3154  (exit $ac_status); } && {
3155	 test -z "$ac_c_werror_flag" ||
3156	 test ! -s conftest.err
3157       } && test -s conftest.$ac_objext; then
3158  ac_cv_prog_cc_g=yes
3159else
3160  $as_echo "$as_me: failed program was:" >&5
3161sed 's/^/| /' conftest.$ac_ext >&5
3162
3163	CFLAGS=""
3164      cat >conftest.$ac_ext <<_ACEOF
3165/* confdefs.h.  */
3166_ACEOF
3167cat confdefs.h >>conftest.$ac_ext
3168cat >>conftest.$ac_ext <<_ACEOF
3169/* end confdefs.h.  */
3170
3171int
3172main ()
3173{
3174
3175  ;
3176  return 0;
3177}
3178_ACEOF
3179rm -f conftest.$ac_objext
3180if { (ac_try="$ac_compile"
3181case "(($ac_try" in
3182  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3183  *) ac_try_echo=$ac_try;;
3184esac
3185eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3186$as_echo "$ac_try_echo") >&5
3187  (eval "$ac_compile") 2>conftest.er1
3188  ac_status=$?
3189  grep -v '^ *+' conftest.er1 >conftest.err
3190  rm -f conftest.er1
3191  cat conftest.err >&5
3192  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3193  (exit $ac_status); } && {
3194	 test -z "$ac_c_werror_flag" ||
3195	 test ! -s conftest.err
3196       } && test -s conftest.$ac_objext; then
3197  :
3198else
3199  $as_echo "$as_me: failed program was:" >&5
3200sed 's/^/| /' conftest.$ac_ext >&5
3201
3202	ac_c_werror_flag=$ac_save_c_werror_flag
3203	 CFLAGS="-g"
3204	 cat >conftest.$ac_ext <<_ACEOF
3205/* confdefs.h.  */
3206_ACEOF
3207cat confdefs.h >>conftest.$ac_ext
3208cat >>conftest.$ac_ext <<_ACEOF
3209/* end confdefs.h.  */
3210
3211int
3212main ()
3213{
3214
3215  ;
3216  return 0;
3217}
3218_ACEOF
3219rm -f conftest.$ac_objext
3220if { (ac_try="$ac_compile"
3221case "(($ac_try" in
3222  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3223  *) ac_try_echo=$ac_try;;
3224esac
3225eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3226$as_echo "$ac_try_echo") >&5
3227  (eval "$ac_compile") 2>conftest.er1
3228  ac_status=$?
3229  grep -v '^ *+' conftest.er1 >conftest.err
3230  rm -f conftest.er1
3231  cat conftest.err >&5
3232  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3233  (exit $ac_status); } && {
3234	 test -z "$ac_c_werror_flag" ||
3235	 test ! -s conftest.err
3236       } && test -s conftest.$ac_objext; then
3237  ac_cv_prog_cc_g=yes
3238else
3239  $as_echo "$as_me: failed program was:" >&5
3240sed 's/^/| /' conftest.$ac_ext >&5
3241
3242
3243fi
3244
3245rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3246fi
3247
3248rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3249fi
3250
3251rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3252   ac_c_werror_flag=$ac_save_c_werror_flag
3253fi
3254{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3255$as_echo "$ac_cv_prog_cc_g" >&6; }
3256if test "$ac_test_CFLAGS" = set; then
3257  CFLAGS=$ac_save_CFLAGS
3258elif test $ac_cv_prog_cc_g = yes; then
3259  if test "$GCC" = yes; then
3260    CFLAGS="-g -O2"
3261  else
3262    CFLAGS="-g"
3263  fi
3264else
3265  if test "$GCC" = yes; then
3266    CFLAGS="-O2"
3267  else
3268    CFLAGS=
3269  fi
3270fi
3271{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3272$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3273if test "${ac_cv_prog_cc_c89+set}" = set; then
3274  $as_echo_n "(cached) " >&6
3275else
3276  ac_cv_prog_cc_c89=no
3277ac_save_CC=$CC
3278cat >conftest.$ac_ext <<_ACEOF
3279/* confdefs.h.  */
3280_ACEOF
3281cat confdefs.h >>conftest.$ac_ext
3282cat >>conftest.$ac_ext <<_ACEOF
3283/* end confdefs.h.  */
3284#include <stdarg.h>
3285#include <stdio.h>
3286#include <sys/types.h>
3287#include <sys/stat.h>
3288/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3289struct buf { int x; };
3290FILE * (*rcsopen) (struct buf *, struct stat *, int);
3291static char *e (p, i)
3292     char **p;
3293     int i;
3294{
3295  return p[i];
3296}
3297static char *f (char * (*g) (char **, int), char **p, ...)
3298{
3299  char *s;
3300  va_list v;
3301  va_start (v,p);
3302  s = g (p, va_arg (v,int));
3303  va_end (v);
3304  return s;
3305}
3306
3307/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3308   function prototypes and stuff, but not '\xHH' hex character constants.
3309   These don't provoke an error unfortunately, instead are silently treated
3310   as 'x'.  The following induces an error, until -std is added to get
3311   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3312   array size at least.  It's necessary to write '\x00'==0 to get something
3313   that's true only with -std.  */
3314int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3315
3316/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3317   inside strings and character constants.  */
3318#define FOO(x) 'x'
3319int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3320
3321int test (int i, double x);
3322struct s1 {int (*f) (int a);};
3323struct s2 {int (*f) (double a);};
3324int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3325int argc;
3326char **argv;
3327int
3328main ()
3329{
3330return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3331  ;
3332  return 0;
3333}
3334_ACEOF
3335for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3336	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3337do
3338  CC="$ac_save_CC $ac_arg"
3339  rm -f conftest.$ac_objext
3340if { (ac_try="$ac_compile"
3341case "(($ac_try" in
3342  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3343  *) ac_try_echo=$ac_try;;
3344esac
3345eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3346$as_echo "$ac_try_echo") >&5
3347  (eval "$ac_compile") 2>conftest.er1
3348  ac_status=$?
3349  grep -v '^ *+' conftest.er1 >conftest.err
3350  rm -f conftest.er1
3351  cat conftest.err >&5
3352  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3353  (exit $ac_status); } && {
3354	 test -z "$ac_c_werror_flag" ||
3355	 test ! -s conftest.err
3356       } && test -s conftest.$ac_objext; then
3357  ac_cv_prog_cc_c89=$ac_arg
3358else
3359  $as_echo "$as_me: failed program was:" >&5
3360sed 's/^/| /' conftest.$ac_ext >&5
3361
3362
3363fi
3364
3365rm -f core conftest.err conftest.$ac_objext
3366  test "x$ac_cv_prog_cc_c89" != "xno" && break
3367done
3368rm -f conftest.$ac_ext
3369CC=$ac_save_CC
3370
3371fi
3372# AC_CACHE_VAL
3373case "x$ac_cv_prog_cc_c89" in
3374  x)
3375    { $as_echo "$as_me:$LINENO: result: none needed" >&5
3376$as_echo "none needed" >&6; } ;;
3377  xno)
3378    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3379$as_echo "unsupported" >&6; } ;;
3380  *)
3381    CC="$CC $ac_cv_prog_cc_c89"
3382    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3383$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3384esac
3385
3386
3387ac_ext=c
3388ac_cpp='$CPP $CPPFLAGS'
3389ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3390ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3391ac_compiler_gnu=$ac_cv_c_compiler_gnu
3392DEPDIR="${am__leading_dot}deps"
3393
3394ac_config_commands="$ac_config_commands depfiles"
3395
3396
3397am_make=${MAKE-make}
3398cat > confinc << 'END'
3399am__doit:
3400	@echo this is the am__doit target
3401.PHONY: am__doit
3402END
3403# If we don't find an include directive, just comment out the code.
3404{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3405$as_echo_n "checking for style of include used by $am_make... " >&6; }
3406am__include="#"
3407am__quote=
3408_am_result=none
3409# First try GNU make style include.
3410echo "include confinc" > confmf
3411# Ignore all kinds of additional output from `make'.
3412case `$am_make -s -f confmf 2> /dev/null` in #(
3413*the\ am__doit\ target*)
3414  am__include=include
3415  am__quote=
3416  _am_result=GNU
3417  ;;
3418esac
3419# Now try BSD make style include.
3420if test "$am__include" = "#"; then
3421   echo '.include "confinc"' > confmf
3422   case `$am_make -s -f confmf 2> /dev/null` in #(
3423   *the\ am__doit\ target*)
3424     am__include=.include
3425     am__quote="\""
3426     _am_result=BSD
3427     ;;
3428   esac
3429fi
3430
3431
3432{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3433$as_echo "$_am_result" >&6; }
3434rm -f confinc confmf
3435
3436# Check whether --enable-dependency-tracking was given.
3437if test "${enable_dependency_tracking+set}" = set; then
3438  enableval=$enable_dependency_tracking;
3439fi
3440
3441if test "x$enable_dependency_tracking" != xno; then
3442  am_depcomp="$ac_aux_dir/depcomp"
3443  AMDEPBACKSLASH='\'
3444fi
3445 if test "x$enable_dependency_tracking" != xno; then
3446  AMDEP_TRUE=
3447  AMDEP_FALSE='#'
3448else
3449  AMDEP_TRUE='#'
3450  AMDEP_FALSE=
3451fi
3452
3453
3454
3455depcc="$CC"   am_compiler_list=
3456
3457{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3458$as_echo_n "checking dependency style of $depcc... " >&6; }
3459if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3460  $as_echo_n "(cached) " >&6
3461else
3462  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3463  # We make a subdir and do the tests there.  Otherwise we can end up
3464  # making bogus files that we don't know about and never remove.  For
3465  # instance it was reported that on HP-UX the gcc test will end up
3466  # making a dummy file named `D' -- because `-MD' means `put the output
3467  # in D'.
3468  mkdir conftest.dir
3469  # Copy depcomp to subdir because otherwise we won't find it if we're
3470  # using a relative directory.
3471  cp "$am_depcomp" conftest.dir
3472  cd conftest.dir
3473  # We will build objects and dependencies in a subdirectory because
3474  # it helps to detect inapplicable dependency modes.  For instance
3475  # both Tru64's cc and ICC support -MD to output dependencies as a
3476  # side effect of compilation, but ICC will put the dependencies in
3477  # the current directory while Tru64 will put them in the object
3478  # directory.
3479  mkdir sub
3480
3481  am_cv_CC_dependencies_compiler_type=none
3482  if test "$am_compiler_list" = ""; then
3483     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3484  fi
3485  am__universal=false
3486  case " $depcc " in #(
3487     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3488     esac
3489
3490  for depmode in $am_compiler_list; do
3491    # Setup a source with many dependencies, because some compilers
3492    # like to wrap large dependency lists on column 80 (with \), and
3493    # we should not choose a depcomp mode which is confused by this.
3494    #
3495    # We need to recreate these files for each test, as the compiler may
3496    # overwrite some of them when testing with obscure command lines.
3497    # This happens at least with the AIX C compiler.
3498    : > sub/conftest.c
3499    for i in 1 2 3 4 5 6; do
3500      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3501      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3502      # Solaris 8's {/usr,}/bin/sh.
3503      touch sub/conftst$i.h
3504    done
3505    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3506
3507    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3508    # mode.  It turns out that the SunPro C++ compiler does not properly
3509    # handle `-M -o', and we need to detect this.  Also, some Intel
3510    # versions had trouble with output in subdirs
3511    am__obj=sub/conftest.${OBJEXT-o}
3512    am__minus_obj="-o $am__obj"
3513    case $depmode in
3514    gcc)
3515      # This depmode causes a compiler race in universal mode.
3516      test "$am__universal" = false || continue
3517      ;;
3518    nosideeffect)
3519      # after this tag, mechanisms are not by side-effect, so they'll
3520      # only be used when explicitly requested
3521      if test "x$enable_dependency_tracking" = xyes; then
3522	continue
3523      else
3524	break
3525      fi
3526      ;;
3527    msvisualcpp | msvcmsys)
3528      # This compiler won't grok `-c -o', but also, the minuso test has
3529      # not run yet.  These depmodes are late enough in the game, and
3530      # so weak that their functioning should not be impacted.
3531      am__obj=conftest.${OBJEXT-o}
3532      am__minus_obj=
3533      ;;
3534    none) break ;;
3535    esac
3536    if depmode=$depmode \
3537       source=sub/conftest.c object=$am__obj \
3538       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3539       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3540         >/dev/null 2>conftest.err &&
3541       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3542       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3543       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3544       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3545      # icc doesn't choke on unknown options, it will just issue warnings
3546      # or remarks (even with -Werror).  So we grep stderr for any message
3547      # that says an option was ignored or not supported.
3548      # When given -MP, icc 7.0 and 7.1 complain thusly:
3549      #   icc: Command line warning: ignoring option '-M'; no argument required
3550      # The diagnosis changed in icc 8.0:
3551      #   icc: Command line remark: option '-MP' not supported
3552      if (grep 'ignoring option' conftest.err ||
3553          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3554        am_cv_CC_dependencies_compiler_type=$depmode
3555        break
3556      fi
3557    fi
3558  done
3559
3560  cd ..
3561  rm -rf conftest.dir
3562else
3563  am_cv_CC_dependencies_compiler_type=none
3564fi
3565
3566fi
3567{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3568$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3569CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3570
3571 if
3572  test "x$enable_dependency_tracking" != xno \
3573  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3574  am__fastdepCC_TRUE=
3575  am__fastdepCC_FALSE='#'
3576else
3577  am__fastdepCC_TRUE='#'
3578  am__fastdepCC_FALSE=
3579fi
3580
3581
3582if test "x$CC" != xcc; then
3583  { $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3584$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3585else
3586  { $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3587$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3588fi
3589set dummy $CC; ac_cc=`$as_echo "$2" |
3590		      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3591if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
3592  $as_echo_n "(cached) " >&6
3593else
3594  cat >conftest.$ac_ext <<_ACEOF
3595/* confdefs.h.  */
3596_ACEOF
3597cat confdefs.h >>conftest.$ac_ext
3598cat >>conftest.$ac_ext <<_ACEOF
3599/* end confdefs.h.  */
3600
3601int
3602main ()
3603{
3604
3605  ;
3606  return 0;
3607}
3608_ACEOF
3609# Make sure it works both with $CC and with simple cc.
3610# We do the test twice because some compilers refuse to overwrite an
3611# existing .o file with -o, though they will create one.
3612ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3613rm -f conftest2.*
3614if { (case "(($ac_try" in
3615  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3616  *) ac_try_echo=$ac_try;;
3617esac
3618eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3619$as_echo "$ac_try_echo") >&5
3620  (eval "$ac_try") 2>&5
3621  ac_status=$?
3622  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3623  (exit $ac_status); } &&
3624   test -f conftest2.$ac_objext && { (case "(($ac_try" in
3625  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3626  *) ac_try_echo=$ac_try;;
3627esac
3628eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3629$as_echo "$ac_try_echo") >&5
3630  (eval "$ac_try") 2>&5
3631  ac_status=$?
3632  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3633  (exit $ac_status); };
3634then
3635  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3636  if test "x$CC" != xcc; then
3637    # Test first that cc exists at all.
3638    if { ac_try='cc -c conftest.$ac_ext >&5'
3639  { (case "(($ac_try" in
3640  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3641  *) ac_try_echo=$ac_try;;
3642esac
3643eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3644$as_echo "$ac_try_echo") >&5
3645  (eval "$ac_try") 2>&5
3646  ac_status=$?
3647  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3648  (exit $ac_status); }; }; then
3649      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3650      rm -f conftest2.*
3651      if { (case "(($ac_try" in
3652  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3653  *) ac_try_echo=$ac_try;;
3654esac
3655eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3656$as_echo "$ac_try_echo") >&5
3657  (eval "$ac_try") 2>&5
3658  ac_status=$?
3659  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3660  (exit $ac_status); } &&
3661	 test -f conftest2.$ac_objext && { (case "(($ac_try" in
3662  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3663  *) ac_try_echo=$ac_try;;
3664esac
3665eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3666$as_echo "$ac_try_echo") >&5
3667  (eval "$ac_try") 2>&5
3668  ac_status=$?
3669  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3670  (exit $ac_status); };
3671      then
3672	# cc works too.
3673	:
3674      else
3675	# cc exists but doesn't like -o.
3676	eval ac_cv_prog_cc_${ac_cc}_c_o=no
3677      fi
3678    fi
3679  fi
3680else
3681  eval ac_cv_prog_cc_${ac_cc}_c_o=no
3682fi
3683rm -f core conftest*
3684
3685fi
3686if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3687  { $as_echo "$as_me:$LINENO: result: yes" >&5
3688$as_echo "yes" >&6; }
3689else
3690  { $as_echo "$as_me:$LINENO: result: no" >&5
3691$as_echo "no" >&6; }
3692
3693cat >>confdefs.h <<\_ACEOF
3694#define NO_MINUS_C_MINUS_O 1
3695_ACEOF
3696
3697fi
3698
3699# FIXME: we rely on the cache variable name because
3700# there is no other way.
3701set dummy $CC
3702am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3703eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
3704if test "$am_t" != yes; then
3705   # Losing compiler, so override with the script.
3706   # FIXME: It is wrong to rewrite CC.
3707   # But if we don't then we get into trouble of one sort or another.
3708   # A longer-term fix would be to have automake use am__CC in this case,
3709   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3710   CC="$am_aux_dir/compile $CC"
3711fi
3712
3713
3714# Find a good install program.  We prefer a C program (faster),
3715# so one script is as good as another.  But avoid the broken or
3716# incompatible versions:
3717# SysV /etc/install, /usr/sbin/install
3718# SunOS /usr/etc/install
3719# IRIX /sbin/install
3720# AIX /bin/install
3721# AmigaOS /C/install, which installs bootblocks on floppy discs
3722# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3723# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3724# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3725# OS/2's system install, which has a completely different semantic
3726# ./install, which can be erroneously created by make from ./install.sh.
3727# Reject install programs that cannot install multiple files.
3728{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3729$as_echo_n "checking for a BSD-compatible install... " >&6; }
3730if test -z "$INSTALL"; then
3731if test "${ac_cv_path_install+set}" = set; then
3732  $as_echo_n "(cached) " >&6
3733else
3734  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3735for as_dir in $PATH
3736do
3737  IFS=$as_save_IFS
3738  test -z "$as_dir" && as_dir=.
3739  # Account for people who put trailing slashes in PATH elements.
3740case $as_dir/ in
3741  ./ | .// | /cC/* | \
3742  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3743  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3744  /usr/ucb/* ) ;;
3745  *)
3746    # OSF1 and SCO ODT 3.0 have their own names for install.
3747    # Don't use installbsd from OSF since it installs stuff as root
3748    # by default.
3749    for ac_prog in ginstall scoinst install; do
3750      for ac_exec_ext in '' $ac_executable_extensions; do
3751	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3752	  if test $ac_prog = install &&
3753	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3754	    # AIX install.  It has an incompatible calling convention.
3755	    :
3756	  elif test $ac_prog = install &&
3757	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3758	    # program-specific install script used by HP pwplus--don't use.
3759	    :
3760	  else
3761	    rm -rf conftest.one conftest.two conftest.dir
3762	    echo one > conftest.one
3763	    echo two > conftest.two
3764	    mkdir conftest.dir
3765	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3766	      test -s conftest.one && test -s conftest.two &&
3767	      test -s conftest.dir/conftest.one &&
3768	      test -s conftest.dir/conftest.two
3769	    then
3770	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3771	      break 3
3772	    fi
3773	  fi
3774	fi
3775      done
3776    done
3777    ;;
3778esac
3779
3780done
3781IFS=$as_save_IFS
3782
3783rm -rf conftest.one conftest.two conftest.dir
3784
3785fi
3786  if test "${ac_cv_path_install+set}" = set; then
3787    INSTALL=$ac_cv_path_install
3788  else
3789    # As a last resort, use the slow shell script.  Don't cache a
3790    # value for INSTALL within a source directory, because that will
3791    # break other packages using the cache if that directory is
3792    # removed, or if the value is a relative name.
3793    INSTALL=$ac_install_sh
3794  fi
3795fi
3796{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3797$as_echo "$INSTALL" >&6; }
3798
3799# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3800# It thinks the first close brace ends the variable substitution.
3801test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3802
3803test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3804
3805test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3806
3807
3808
3809ac_ext=c
3810ac_cpp='$CPP $CPPFLAGS'
3811ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3812ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3813ac_compiler_gnu=$ac_cv_c_compiler_gnu
3814{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3815$as_echo_n "checking how to run the C preprocessor... " >&6; }
3816# On Suns, sometimes $CPP names a directory.
3817if test -n "$CPP" && test -d "$CPP"; then
3818  CPP=
3819fi
3820if test -z "$CPP"; then
3821  if test "${ac_cv_prog_CPP+set}" = set; then
3822  $as_echo_n "(cached) " >&6
3823else
3824      # Double quotes because CPP needs to be expanded
3825    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3826    do
3827      ac_preproc_ok=false
3828for ac_c_preproc_warn_flag in '' yes
3829do
3830  # Use a header file that comes with gcc, so configuring glibc
3831  # with a fresh cross-compiler works.
3832  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3833  # <limits.h> exists even on freestanding compilers.
3834  # On the NeXT, cc -E runs the code through the compiler's parser,
3835  # not just through cpp. "Syntax error" is here to catch this case.
3836  cat >conftest.$ac_ext <<_ACEOF
3837/* confdefs.h.  */
3838_ACEOF
3839cat confdefs.h >>conftest.$ac_ext
3840cat >>conftest.$ac_ext <<_ACEOF
3841/* end confdefs.h.  */
3842#ifdef __STDC__
3843# include <limits.h>
3844#else
3845# include <assert.h>
3846#endif
3847		     Syntax error
3848_ACEOF
3849if { (ac_try="$ac_cpp conftest.$ac_ext"
3850case "(($ac_try" in
3851  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3852  *) ac_try_echo=$ac_try;;
3853esac
3854eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3855$as_echo "$ac_try_echo") >&5
3856  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3857  ac_status=$?
3858  grep -v '^ *+' conftest.er1 >conftest.err
3859  rm -f conftest.er1
3860  cat conftest.err >&5
3861  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3862  (exit $ac_status); } >/dev/null && {
3863	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3864	 test ! -s conftest.err
3865       }; then
3866  :
3867else
3868  $as_echo "$as_me: failed program was:" >&5
3869sed 's/^/| /' conftest.$ac_ext >&5
3870
3871  # Broken: fails on valid input.
3872continue
3873fi
3874
3875rm -f conftest.err conftest.$ac_ext
3876
3877  # OK, works on sane cases.  Now check whether nonexistent headers
3878  # can be detected and how.
3879  cat >conftest.$ac_ext <<_ACEOF
3880/* confdefs.h.  */
3881_ACEOF
3882cat confdefs.h >>conftest.$ac_ext
3883cat >>conftest.$ac_ext <<_ACEOF
3884/* end confdefs.h.  */
3885#include <ac_nonexistent.h>
3886_ACEOF
3887if { (ac_try="$ac_cpp conftest.$ac_ext"
3888case "(($ac_try" in
3889  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3890  *) ac_try_echo=$ac_try;;
3891esac
3892eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3893$as_echo "$ac_try_echo") >&5
3894  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3895  ac_status=$?
3896  grep -v '^ *+' conftest.er1 >conftest.err
3897  rm -f conftest.er1
3898  cat conftest.err >&5
3899  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3900  (exit $ac_status); } >/dev/null && {
3901	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3902	 test ! -s conftest.err
3903       }; then
3904  # Broken: success on invalid input.
3905continue
3906else
3907  $as_echo "$as_me: failed program was:" >&5
3908sed 's/^/| /' conftest.$ac_ext >&5
3909
3910  # Passes both tests.
3911ac_preproc_ok=:
3912break
3913fi
3914
3915rm -f conftest.err conftest.$ac_ext
3916
3917done
3918# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3919rm -f conftest.err conftest.$ac_ext
3920if $ac_preproc_ok; then
3921  break
3922fi
3923
3924    done
3925    ac_cv_prog_CPP=$CPP
3926
3927fi
3928  CPP=$ac_cv_prog_CPP
3929else
3930  ac_cv_prog_CPP=$CPP
3931fi
3932{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
3933$as_echo "$CPP" >&6; }
3934ac_preproc_ok=false
3935for ac_c_preproc_warn_flag in '' yes
3936do
3937  # Use a header file that comes with gcc, so configuring glibc
3938  # with a fresh cross-compiler works.
3939  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3940  # <limits.h> exists even on freestanding compilers.
3941  # On the NeXT, cc -E runs the code through the compiler's parser,
3942  # not just through cpp. "Syntax error" is here to catch this case.
3943  cat >conftest.$ac_ext <<_ACEOF
3944/* confdefs.h.  */
3945_ACEOF
3946cat confdefs.h >>conftest.$ac_ext
3947cat >>conftest.$ac_ext <<_ACEOF
3948/* end confdefs.h.  */
3949#ifdef __STDC__
3950# include <limits.h>
3951#else
3952# include <assert.h>
3953#endif
3954		     Syntax error
3955_ACEOF
3956if { (ac_try="$ac_cpp conftest.$ac_ext"
3957case "(($ac_try" in
3958  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3959  *) ac_try_echo=$ac_try;;
3960esac
3961eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3962$as_echo "$ac_try_echo") >&5
3963  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3964  ac_status=$?
3965  grep -v '^ *+' conftest.er1 >conftest.err
3966  rm -f conftest.er1
3967  cat conftest.err >&5
3968  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3969  (exit $ac_status); } >/dev/null && {
3970	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3971	 test ! -s conftest.err
3972       }; then
3973  :
3974else
3975  $as_echo "$as_me: failed program was:" >&5
3976sed 's/^/| /' conftest.$ac_ext >&5
3977
3978  # Broken: fails on valid input.
3979continue
3980fi
3981
3982rm -f conftest.err conftest.$ac_ext
3983
3984  # OK, works on sane cases.  Now check whether nonexistent headers
3985  # can be detected and how.
3986  cat >conftest.$ac_ext <<_ACEOF
3987/* confdefs.h.  */
3988_ACEOF
3989cat confdefs.h >>conftest.$ac_ext
3990cat >>conftest.$ac_ext <<_ACEOF
3991/* end confdefs.h.  */
3992#include <ac_nonexistent.h>
3993_ACEOF
3994if { (ac_try="$ac_cpp conftest.$ac_ext"
3995case "(($ac_try" in
3996  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3997  *) ac_try_echo=$ac_try;;
3998esac
3999eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4000$as_echo "$ac_try_echo") >&5
4001  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4002  ac_status=$?
4003  grep -v '^ *+' conftest.er1 >conftest.err
4004  rm -f conftest.er1
4005  cat conftest.err >&5
4006  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4007  (exit $ac_status); } >/dev/null && {
4008	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4009	 test ! -s conftest.err
4010       }; then
4011  # Broken: success on invalid input.
4012continue
4013else
4014  $as_echo "$as_me: failed program was:" >&5
4015sed 's/^/| /' conftest.$ac_ext >&5
4016
4017  # Passes both tests.
4018ac_preproc_ok=:
4019break
4020fi
4021
4022rm -f conftest.err conftest.$ac_ext
4023
4024done
4025# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4026rm -f conftest.err conftest.$ac_ext
4027if $ac_preproc_ok; then
4028  :
4029else
4030  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4031$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4032{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4033See \`config.log' for more details." >&5
4034$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4035See \`config.log' for more details." >&2;}
4036   { (exit 1); exit 1; }; }; }
4037fi
4038
4039ac_ext=c
4040ac_cpp='$CPP $CPPFLAGS'
4041ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4042ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4043ac_compiler_gnu=$ac_cv_c_compiler_gnu
4044
4045
4046{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4047$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4048if test "${ac_cv_path_GREP+set}" = set; then
4049  $as_echo_n "(cached) " >&6
4050else
4051  if test -z "$GREP"; then
4052  ac_path_GREP_found=false
4053  # Loop through the user's path and test for each of PROGNAME-LIST
4054  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4055for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4056do
4057  IFS=$as_save_IFS
4058  test -z "$as_dir" && as_dir=.
4059  for ac_prog in grep ggrep; do
4060    for ac_exec_ext in '' $ac_executable_extensions; do
4061      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4062      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4063# Check for GNU ac_path_GREP and select it if it is found.
4064  # Check for GNU $ac_path_GREP
4065case `"$ac_path_GREP" --version 2>&1` in
4066*GNU*)
4067  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4068*)
4069  ac_count=0
4070  $as_echo_n 0123456789 >"conftest.in"
4071  while :
4072  do
4073    cat "conftest.in" "conftest.in" >"conftest.tmp"
4074    mv "conftest.tmp" "conftest.in"
4075    cp "conftest.in" "conftest.nl"
4076    $as_echo 'GREP' >> "conftest.nl"
4077    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4078    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4079    ac_count=`expr $ac_count + 1`
4080    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4081      # Best one so far, save it but keep looking for a better one
4082      ac_cv_path_GREP="$ac_path_GREP"
4083      ac_path_GREP_max=$ac_count
4084    fi
4085    # 10*(2^10) chars as input seems more than enough
4086    test $ac_count -gt 10 && break
4087  done
4088  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4089esac
4090
4091      $ac_path_GREP_found && break 3
4092    done
4093  done
4094done
4095IFS=$as_save_IFS
4096  if test -z "$ac_cv_path_GREP"; then
4097    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4098$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4099   { (exit 1); exit 1; }; }
4100  fi
4101else
4102  ac_cv_path_GREP=$GREP
4103fi
4104
4105fi
4106{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4107$as_echo "$ac_cv_path_GREP" >&6; }
4108 GREP="$ac_cv_path_GREP"
4109
4110
4111{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
4112$as_echo_n "checking for egrep... " >&6; }
4113if test "${ac_cv_path_EGREP+set}" = set; then
4114  $as_echo_n "(cached) " >&6
4115else
4116  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4117   then ac_cv_path_EGREP="$GREP -E"
4118   else
4119     if test -z "$EGREP"; then
4120  ac_path_EGREP_found=false
4121  # Loop through the user's path and test for each of PROGNAME-LIST
4122  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4123for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4124do
4125  IFS=$as_save_IFS
4126  test -z "$as_dir" && as_dir=.
4127  for ac_prog in egrep; do
4128    for ac_exec_ext in '' $ac_executable_extensions; do
4129      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4130      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4131# Check for GNU ac_path_EGREP and select it if it is found.
4132  # Check for GNU $ac_path_EGREP
4133case `"$ac_path_EGREP" --version 2>&1` in
4134*GNU*)
4135  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4136*)
4137  ac_count=0
4138  $as_echo_n 0123456789 >"conftest.in"
4139  while :
4140  do
4141    cat "conftest.in" "conftest.in" >"conftest.tmp"
4142    mv "conftest.tmp" "conftest.in"
4143    cp "conftest.in" "conftest.nl"
4144    $as_echo 'EGREP' >> "conftest.nl"
4145    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4146    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4147    ac_count=`expr $ac_count + 1`
4148    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4149      # Best one so far, save it but keep looking for a better one
4150      ac_cv_path_EGREP="$ac_path_EGREP"
4151      ac_path_EGREP_max=$ac_count
4152    fi
4153    # 10*(2^10) chars as input seems more than enough
4154    test $ac_count -gt 10 && break
4155  done
4156  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4157esac
4158
4159      $ac_path_EGREP_found && break 3
4160    done
4161  done
4162done
4163IFS=$as_save_IFS
4164  if test -z "$ac_cv_path_EGREP"; then
4165    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4166$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4167   { (exit 1); exit 1; }; }
4168  fi
4169else
4170  ac_cv_path_EGREP=$EGREP
4171fi
4172
4173   fi
4174fi
4175{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4176$as_echo "$ac_cv_path_EGREP" >&6; }
4177 EGREP="$ac_cv_path_EGREP"
4178
4179
4180{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4181$as_echo_n "checking for ANSI C header files... " >&6; }
4182if test "${ac_cv_header_stdc+set}" = set; then
4183  $as_echo_n "(cached) " >&6
4184else
4185  cat >conftest.$ac_ext <<_ACEOF
4186/* confdefs.h.  */
4187_ACEOF
4188cat confdefs.h >>conftest.$ac_ext
4189cat >>conftest.$ac_ext <<_ACEOF
4190/* end confdefs.h.  */
4191#include <stdlib.h>
4192#include <stdarg.h>
4193#include <string.h>
4194#include <float.h>
4195
4196int
4197main ()
4198{
4199
4200  ;
4201  return 0;
4202}
4203_ACEOF
4204rm -f conftest.$ac_objext
4205if { (ac_try="$ac_compile"
4206case "(($ac_try" in
4207  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4208  *) ac_try_echo=$ac_try;;
4209esac
4210eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4211$as_echo "$ac_try_echo") >&5
4212  (eval "$ac_compile") 2>conftest.er1
4213  ac_status=$?
4214  grep -v '^ *+' conftest.er1 >conftest.err
4215  rm -f conftest.er1
4216  cat conftest.err >&5
4217  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4218  (exit $ac_status); } && {
4219	 test -z "$ac_c_werror_flag" ||
4220	 test ! -s conftest.err
4221       } && test -s conftest.$ac_objext; then
4222  ac_cv_header_stdc=yes
4223else
4224  $as_echo "$as_me: failed program was:" >&5
4225sed 's/^/| /' conftest.$ac_ext >&5
4226
4227	ac_cv_header_stdc=no
4228fi
4229
4230rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4231
4232if test $ac_cv_header_stdc = yes; then
4233  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4234  cat >conftest.$ac_ext <<_ACEOF
4235/* confdefs.h.  */
4236_ACEOF
4237cat confdefs.h >>conftest.$ac_ext
4238cat >>conftest.$ac_ext <<_ACEOF
4239/* end confdefs.h.  */
4240#include <string.h>
4241
4242_ACEOF
4243if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4244  $EGREP "memchr" >/dev/null 2>&1; then
4245  :
4246else
4247  ac_cv_header_stdc=no
4248fi
4249rm -f conftest*
4250
4251fi
4252
4253if test $ac_cv_header_stdc = yes; then
4254  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4255  cat >conftest.$ac_ext <<_ACEOF
4256/* confdefs.h.  */
4257_ACEOF
4258cat confdefs.h >>conftest.$ac_ext
4259cat >>conftest.$ac_ext <<_ACEOF
4260/* end confdefs.h.  */
4261#include <stdlib.h>
4262
4263_ACEOF
4264if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4265  $EGREP "free" >/dev/null 2>&1; then
4266  :
4267else
4268  ac_cv_header_stdc=no
4269fi
4270rm -f conftest*
4271
4272fi
4273
4274if test $ac_cv_header_stdc = yes; then
4275  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4276  if test "$cross_compiling" = yes; then
4277  :
4278else
4279  cat >conftest.$ac_ext <<_ACEOF
4280/* confdefs.h.  */
4281_ACEOF
4282cat confdefs.h >>conftest.$ac_ext
4283cat >>conftest.$ac_ext <<_ACEOF
4284/* end confdefs.h.  */
4285#include <ctype.h>
4286#include <stdlib.h>
4287#if ((' ' & 0x0FF) == 0x020)
4288# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4289# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4290#else
4291# define ISLOWER(c) \
4292		   (('a' <= (c) && (c) <= 'i') \
4293		     || ('j' <= (c) && (c) <= 'r') \
4294		     || ('s' <= (c) && (c) <= 'z'))
4295# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4296#endif
4297
4298#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4299int
4300main ()
4301{
4302  int i;
4303  for (i = 0; i < 256; i++)
4304    if (XOR (islower (i), ISLOWER (i))
4305	|| toupper (i) != TOUPPER (i))
4306      return 2;
4307  return 0;
4308}
4309_ACEOF
4310rm -f conftest$ac_exeext
4311if { (ac_try="$ac_link"
4312case "(($ac_try" in
4313  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4314  *) ac_try_echo=$ac_try;;
4315esac
4316eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4317$as_echo "$ac_try_echo") >&5
4318  (eval "$ac_link") 2>&5
4319  ac_status=$?
4320  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4321  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4322  { (case "(($ac_try" in
4323  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4324  *) ac_try_echo=$ac_try;;
4325esac
4326eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4327$as_echo "$ac_try_echo") >&5
4328  (eval "$ac_try") 2>&5
4329  ac_status=$?
4330  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4331  (exit $ac_status); }; }; then
4332  :
4333else
4334  $as_echo "$as_me: program exited with status $ac_status" >&5
4335$as_echo "$as_me: failed program was:" >&5
4336sed 's/^/| /' conftest.$ac_ext >&5
4337
4338( exit $ac_status )
4339ac_cv_header_stdc=no
4340fi
4341rm -rf conftest.dSYM
4342rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4343fi
4344
4345
4346fi
4347fi
4348{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4349$as_echo "$ac_cv_header_stdc" >&6; }
4350if test $ac_cv_header_stdc = yes; then
4351
4352cat >>confdefs.h <<\_ACEOF
4353#define STDC_HEADERS 1
4354_ACEOF
4355
4356fi
4357
4358# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4369		  inttypes.h stdint.h unistd.h
4370do
4371as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4372{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4373$as_echo_n "checking for $ac_header... " >&6; }
4374if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4375  $as_echo_n "(cached) " >&6
4376else
4377  cat >conftest.$ac_ext <<_ACEOF
4378/* confdefs.h.  */
4379_ACEOF
4380cat confdefs.h >>conftest.$ac_ext
4381cat >>conftest.$ac_ext <<_ACEOF
4382/* end confdefs.h.  */
4383$ac_includes_default
4384
4385#include <$ac_header>
4386_ACEOF
4387rm -f conftest.$ac_objext
4388if { (ac_try="$ac_compile"
4389case "(($ac_try" in
4390  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4391  *) ac_try_echo=$ac_try;;
4392esac
4393eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4394$as_echo "$ac_try_echo") >&5
4395  (eval "$ac_compile") 2>conftest.er1
4396  ac_status=$?
4397  grep -v '^ *+' conftest.er1 >conftest.err
4398  rm -f conftest.er1
4399  cat conftest.err >&5
4400  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4401  (exit $ac_status); } && {
4402	 test -z "$ac_c_werror_flag" ||
4403	 test ! -s conftest.err
4404       } && test -s conftest.$ac_objext; then
4405  eval "$as_ac_Header=yes"
4406else
4407  $as_echo "$as_me: failed program was:" >&5
4408sed 's/^/| /' conftest.$ac_ext >&5
4409
4410	eval "$as_ac_Header=no"
4411fi
4412
4413rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4414fi
4415ac_res=`eval 'as_val=${'$as_ac_Header'}
4416		 $as_echo "$as_val"'`
4417	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4418$as_echo "$ac_res" >&6; }
4419as_val=`eval 'as_val=${'$as_ac_Header'}
4420		 $as_echo "$as_val"'`
4421   if test "x$as_val" = x""yes; then
4422  cat >>confdefs.h <<_ACEOF
4423#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4424_ACEOF
4425
4426fi
4427
4428done
4429
4430
4431   { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
4432$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4433if test "${ac_cv_prog_cc_c99+set}" = set; then
4434  $as_echo_n "(cached) " >&6
4435else
4436  ac_cv_prog_cc_c99=no
4437ac_save_CC=$CC
4438cat >conftest.$ac_ext <<_ACEOF
4439/* confdefs.h.  */
4440_ACEOF
4441cat confdefs.h >>conftest.$ac_ext
4442cat >>conftest.$ac_ext <<_ACEOF
4443/* end confdefs.h.  */
4444#include <stdarg.h>
4445#include <stdbool.h>
4446#include <stdlib.h>
4447#include <wchar.h>
4448#include <stdio.h>
4449
4450// Check varargs macros.  These examples are taken from C99 6.10.3.5.
4451#define debug(...) fprintf (stderr, __VA_ARGS__)
4452#define showlist(...) puts (#__VA_ARGS__)
4453#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4454static void
4455test_varargs_macros (void)
4456{
4457  int x = 1234;
4458  int y = 5678;
4459  debug ("Flag");
4460  debug ("X = %d\n", x);
4461  showlist (The first, second, and third items.);
4462  report (x>y, "x is %d but y is %d", x, y);
4463}
4464
4465// Check long long types.
4466#define BIG64 18446744073709551615ull
4467#define BIG32 4294967295ul
4468#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4469#if !BIG_OK
4470  your preprocessor is broken;
4471#endif
4472#if BIG_OK
4473#else
4474  your preprocessor is broken;
4475#endif
4476static long long int bignum = -9223372036854775807LL;
4477static unsigned long long int ubignum = BIG64;
4478
4479struct incomplete_array
4480{
4481  int datasize;
4482  double data[];
4483};
4484
4485struct named_init {
4486  int number;
4487  const wchar_t *name;
4488  double average;
4489};
4490
4491typedef const char *ccp;
4492
4493static inline int
4494test_restrict (ccp restrict text)
4495{
4496  // See if C++-style comments work.
4497  // Iterate through items via the restricted pointer.
4498  // Also check for declarations in for loops.
4499  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4500    continue;
4501  return 0;
4502}
4503
4504// Check varargs and va_copy.
4505static void
4506test_varargs (const char *format, ...)
4507{
4508  va_list args;
4509  va_start (args, format);
4510  va_list args_copy;
4511  va_copy (args_copy, args);
4512
4513  const char *str;
4514  int number;
4515  float fnumber;
4516
4517  while (*format)
4518    {
4519      switch (*format++)
4520	{
4521	case 's': // string
4522	  str = va_arg (args_copy, const char *);
4523	  break;
4524	case 'd': // int
4525	  number = va_arg (args_copy, int);
4526	  break;
4527	case 'f': // float
4528	  fnumber = va_arg (args_copy, double);
4529	  break;
4530	default:
4531	  break;
4532	}
4533    }
4534  va_end (args_copy);
4535  va_end (args);
4536}
4537
4538int
4539main ()
4540{
4541
4542  // Check bool.
4543  _Bool success = false;
4544
4545  // Check restrict.
4546  if (test_restrict ("String literal") == 0)
4547    success = true;
4548  char *restrict newvar = "Another string";
4549
4550  // Check varargs.
4551  test_varargs ("s, d' f .", "string", 65, 34.234);
4552  test_varargs_macros ();
4553
4554  // Check flexible array members.
4555  struct incomplete_array *ia =
4556    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4557  ia->datasize = 10;
4558  for (int i = 0; i < ia->datasize; ++i)
4559    ia->data[i] = i * 1.234;
4560
4561  // Check named initializers.
4562  struct named_init ni = {
4563    .number = 34,
4564    .name = L"Test wide string",
4565    .average = 543.34343,
4566  };
4567
4568  ni.number = 58;
4569
4570  int dynamic_array[ni.number];
4571  dynamic_array[ni.number - 1] = 543;
4572
4573  // work around unused variable warnings
4574  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4575	  || dynamic_array[ni.number - 1] != 543);
4576
4577  ;
4578  return 0;
4579}
4580_ACEOF
4581for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4582do
4583  CC="$ac_save_CC $ac_arg"
4584  rm -f conftest.$ac_objext
4585if { (ac_try="$ac_compile"
4586case "(($ac_try" in
4587  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4588  *) ac_try_echo=$ac_try;;
4589esac
4590eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4591$as_echo "$ac_try_echo") >&5
4592  (eval "$ac_compile") 2>conftest.er1
4593  ac_status=$?
4594  grep -v '^ *+' conftest.er1 >conftest.err
4595  rm -f conftest.er1
4596  cat conftest.err >&5
4597  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4598  (exit $ac_status); } && {
4599	 test -z "$ac_c_werror_flag" ||
4600	 test ! -s conftest.err
4601       } && test -s conftest.$ac_objext; then
4602  ac_cv_prog_cc_c99=$ac_arg
4603else
4604  $as_echo "$as_me: failed program was:" >&5
4605sed 's/^/| /' conftest.$ac_ext >&5
4606
4607
4608fi
4609
4610rm -f core conftest.err conftest.$ac_objext
4611  test "x$ac_cv_prog_cc_c99" != "xno" && break
4612done
4613rm -f conftest.$ac_ext
4614CC=$ac_save_CC
4615
4616fi
4617# AC_CACHE_VAL
4618case "x$ac_cv_prog_cc_c99" in
4619  x)
4620    { $as_echo "$as_me:$LINENO: result: none needed" >&5
4621$as_echo "none needed" >&6; } ;;
4622  xno)
4623    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4624$as_echo "unsupported" >&6; } ;;
4625  *)
4626    CC="$CC $ac_cv_prog_cc_c99"
4627    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
4628$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4629esac
4630
4631
4632
4633# Make sure we can run config.sub.
4634$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4635  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4636$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4637   { (exit 1); exit 1; }; }
4638
4639{ $as_echo "$as_me:$LINENO: checking build system type" >&5
4640$as_echo_n "checking build system type... " >&6; }
4641if test "${ac_cv_build+set}" = set; then
4642  $as_echo_n "(cached) " >&6
4643else
4644  ac_build_alias=$build_alias
4645test "x$ac_build_alias" = x &&
4646  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4647test "x$ac_build_alias" = x &&
4648  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4649$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4650   { (exit 1); exit 1; }; }
4651ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4652  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4653$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4654   { (exit 1); exit 1; }; }
4655
4656fi
4657{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4658$as_echo "$ac_cv_build" >&6; }
4659case $ac_cv_build in
4660*-*-*) ;;
4661*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4662$as_echo "$as_me: error: invalid value of canonical build" >&2;}
4663   { (exit 1); exit 1; }; };;
4664esac
4665build=$ac_cv_build
4666ac_save_IFS=$IFS; IFS='-'
4667set x $ac_cv_build
4668shift
4669build_cpu=$1
4670build_vendor=$2
4671shift; shift
4672# Remember, the first character of IFS is used to create $*,
4673# except with old shells:
4674build_os=$*
4675IFS=$ac_save_IFS
4676case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4677
4678
4679{ $as_echo "$as_me:$LINENO: checking host system type" >&5
4680$as_echo_n "checking host system type... " >&6; }
4681if test "${ac_cv_host+set}" = set; then
4682  $as_echo_n "(cached) " >&6
4683else
4684  if test "x$host_alias" = x; then
4685  ac_cv_host=$ac_cv_build
4686else
4687  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4688    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4689$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4690   { (exit 1); exit 1; }; }
4691fi
4692
4693fi
4694{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4695$as_echo "$ac_cv_host" >&6; }
4696case $ac_cv_host in
4697*-*-*) ;;
4698*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4699$as_echo "$as_me: error: invalid value of canonical host" >&2;}
4700   { (exit 1); exit 1; }; };;
4701esac
4702host=$ac_cv_host
4703ac_save_IFS=$IFS; IFS='-'
4704set x $ac_cv_host
4705shift
4706host_cpu=$1
4707host_vendor=$2
4708shift; shift
4709# Remember, the first character of IFS is used to create $*,
4710# except with old shells:
4711host_os=$*
4712IFS=$ac_save_IFS
4713case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4714
4715
4716
4717
4718
4719if  test "x$GCC" = xyes ; then
4720    CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
4721-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
4722-Wbad-function-cast"
4723    case `$CC -dumpversion` in
4724    3.4.* | 4.*)
4725	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
4726	;;
4727    esac
4728else
4729    { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
4730$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
4731if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
4732  $as_echo_n "(cached) " >&6
4733else
4734  cat >conftest.$ac_ext <<_ACEOF
4735/* confdefs.h.  */
4736_ACEOF
4737cat confdefs.h >>conftest.$ac_ext
4738cat >>conftest.$ac_ext <<_ACEOF
4739/* end confdefs.h.  */
4740$ac_includes_default
4741int
4742main ()
4743{
4744#ifndef __SUNPRO_C
4745  (void) __SUNPRO_C;
4746#endif
4747
4748  ;
4749  return 0;
4750}
4751_ACEOF
4752rm -f conftest.$ac_objext
4753if { (ac_try="$ac_compile"
4754case "(($ac_try" in
4755  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4756  *) ac_try_echo=$ac_try;;
4757esac
4758eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4759$as_echo "$ac_try_echo") >&5
4760  (eval "$ac_compile") 2>conftest.er1
4761  ac_status=$?
4762  grep -v '^ *+' conftest.er1 >conftest.err
4763  rm -f conftest.er1
4764  cat conftest.err >&5
4765  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4766  (exit $ac_status); } && {
4767	 test -z "$ac_c_werror_flag" ||
4768	 test ! -s conftest.err
4769       } && test -s conftest.$ac_objext; then
4770  ac_cv_have_decl___SUNPRO_C=yes
4771else
4772  $as_echo "$as_me: failed program was:" >&5
4773sed 's/^/| /' conftest.$ac_ext >&5
4774
4775	ac_cv_have_decl___SUNPRO_C=no
4776fi
4777
4778rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4779fi
4780{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
4781$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
4782if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
4783  SUNCC="yes"
4784else
4785  SUNCC="no"
4786fi
4787
4788    if test "x$SUNCC" = "xyes"; then
4789	CWARNFLAGS="-v"
4790    fi
4791fi
4792
4793# Check whether --enable-silent-rules was given.
4794if test "${enable_silent_rules+set}" = set; then
4795  enableval=$enable_silent_rules;
4796fi
4797
4798case $enable_silent_rules in
4799yes) AM_DEFAULT_VERBOSITY=0;;
4800no)  AM_DEFAULT_VERBOSITY=1;;
4801*)   AM_DEFAULT_VERBOSITY=0;;
4802esac
4803AM_BACKSLASH='\'
4804
4805
4806
4807
4808
4809
4810
4811# Check whether --enable-strict-compilation was given.
4812if test "${enable_strict_compilation+set}" = set; then
4813  enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
4814else
4815  STRICT_COMPILE=no
4816fi
4817
4818if test "x$STRICT_COMPILE" = "xyes"; then
4819	{ $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
4820$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
4821if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
4822  $as_echo_n "(cached) " >&6
4823else
4824  cat >conftest.$ac_ext <<_ACEOF
4825/* confdefs.h.  */
4826_ACEOF
4827cat confdefs.h >>conftest.$ac_ext
4828cat >>conftest.$ac_ext <<_ACEOF
4829/* end confdefs.h.  */
4830$ac_includes_default
4831int
4832main ()
4833{
4834#ifndef __SUNPRO_C
4835  (void) __SUNPRO_C;
4836#endif
4837
4838  ;
4839  return 0;
4840}
4841_ACEOF
4842rm -f conftest.$ac_objext
4843if { (ac_try="$ac_compile"
4844case "(($ac_try" in
4845  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4846  *) ac_try_echo=$ac_try;;
4847esac
4848eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4849$as_echo "$ac_try_echo") >&5
4850  (eval "$ac_compile") 2>conftest.er1
4851  ac_status=$?
4852  grep -v '^ *+' conftest.er1 >conftest.err
4853  rm -f conftest.er1
4854  cat conftest.err >&5
4855  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4856  (exit $ac_status); } && {
4857	 test -z "$ac_c_werror_flag" ||
4858	 test ! -s conftest.err
4859       } && test -s conftest.$ac_objext; then
4860  ac_cv_have_decl___SUNPRO_C=yes
4861else
4862  $as_echo "$as_me: failed program was:" >&5
4863sed 's/^/| /' conftest.$ac_ext >&5
4864
4865	ac_cv_have_decl___SUNPRO_C=no
4866fi
4867
4868rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4869fi
4870{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
4871$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
4872if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
4873  SUNCC="yes"
4874else
4875  SUNCC="no"
4876fi
4877
4878	{ $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5
4879$as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; }
4880if test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then
4881  $as_echo_n "(cached) " >&6
4882else
4883  cat >conftest.$ac_ext <<_ACEOF
4884/* confdefs.h.  */
4885_ACEOF
4886cat confdefs.h >>conftest.$ac_ext
4887cat >>conftest.$ac_ext <<_ACEOF
4888/* end confdefs.h.  */
4889$ac_includes_default
4890int
4891main ()
4892{
4893#ifndef __INTEL_COMPILER
4894  (void) __INTEL_COMPILER;
4895#endif
4896
4897  ;
4898  return 0;
4899}
4900_ACEOF
4901rm -f conftest.$ac_objext
4902if { (ac_try="$ac_compile"
4903case "(($ac_try" in
4904  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4905  *) ac_try_echo=$ac_try;;
4906esac
4907eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4908$as_echo "$ac_try_echo") >&5
4909  (eval "$ac_compile") 2>conftest.er1
4910  ac_status=$?
4911  grep -v '^ *+' conftest.er1 >conftest.err
4912  rm -f conftest.er1
4913  cat conftest.err >&5
4914  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4915  (exit $ac_status); } && {
4916	 test -z "$ac_c_werror_flag" ||
4917	 test ! -s conftest.err
4918       } && test -s conftest.$ac_objext; then
4919  ac_cv_have_decl___INTEL_COMPILER=yes
4920else
4921  $as_echo "$as_me: failed program was:" >&5
4922sed 's/^/| /' conftest.$ac_ext >&5
4923
4924	ac_cv_have_decl___INTEL_COMPILER=no
4925fi
4926
4927rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4928fi
4929{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5
4930$as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; }
4931if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then
4932  INTELCC="yes"
4933else
4934  INTELCC="no"
4935fi
4936
4937	if test "x$GCC" = xyes ; then
4938		STRICT_CFLAGS="-pedantic -Werror"
4939	elif test "x$SUNCC" = "xyes"; then
4940		STRICT_CFLAGS="-errwarn"
4941    elif test "x$INTELCC" = "xyes"; then
4942		STRICT_CFLAGS="-Werror"
4943	fi
4944fi
4945CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
4946
4947
4948
4949
4950# Check whether --with-release-version was given.
4951if test "${with_release_version+set}" = set; then
4952  withval=$with_release_version; RELEASE_VERSION="$withval"
4953else
4954  RELEASE_VERSION=""
4955fi
4956
4957	if test "x$RELEASE_VERSION" != "x"; then
4958		PACKAGE="$PACKAGE-$RELEASE_VERSION"
4959		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
4960		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
4961$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
4962	fi
4963
4964cat >>confdefs.h <<_ACEOF
4965#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
4966_ACEOF
4967
4968	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
4969	if test "x$PVM" = "x"; then
4970		PVM="0"
4971	fi
4972
4973cat >>confdefs.h <<_ACEOF
4974#define PACKAGE_VERSION_MINOR $PVM
4975_ACEOF
4976
4977	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
4978	if test "x$PVP" = "x"; then
4979		PVP="0"
4980	fi
4981
4982cat >>confdefs.h <<_ACEOF
4983#define PACKAGE_VERSION_PATCHLEVEL $PVP
4984_ACEOF
4985
4986
4987
4988CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
4989mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
4990echo 'git directory not found: installing possibly empty changelog.' >&2)"
4991
4992distcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
4993
4994
4995
4996
4997
4998if test x$APP_MAN_SUFFIX = x    ; then
4999    APP_MAN_SUFFIX=1
5000fi
5001if test x$APP_MAN_DIR = x    ; then
5002    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
5003fi
5004
5005if test x$LIB_MAN_SUFFIX = x    ; then
5006    LIB_MAN_SUFFIX=3
5007fi
5008if test x$LIB_MAN_DIR = x    ; then
5009    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
5010fi
5011
5012if test x$FILE_MAN_SUFFIX = x    ; then
5013    case $host_os in
5014	solaris*)	FILE_MAN_SUFFIX=4  ;;
5015	*)		FILE_MAN_SUFFIX=5  ;;
5016    esac
5017fi
5018if test x$FILE_MAN_DIR = x    ; then
5019    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
5020fi
5021
5022if test x$MISC_MAN_SUFFIX = x    ; then
5023    case $host_os in
5024	solaris*)	MISC_MAN_SUFFIX=5  ;;
5025	*)		MISC_MAN_SUFFIX=7  ;;
5026    esac
5027fi
5028if test x$MISC_MAN_DIR = x    ; then
5029    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
5030fi
5031
5032if test x$DRIVER_MAN_SUFFIX = x    ; then
5033    case $host_os in
5034	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
5035	*)		DRIVER_MAN_SUFFIX=4  ;;
5036    esac
5037fi
5038if test x$DRIVER_MAN_DIR = x    ; then
5039    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
5040fi
5041
5042if test x$ADMIN_MAN_SUFFIX = x    ; then
5043    case $host_os in
5044	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
5045	*)		ADMIN_MAN_SUFFIX=8  ;;
5046    esac
5047fi
5048if test x$ADMIN_MAN_DIR = x    ; then
5049    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
5050fi
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068# xkbvleds checks
5069
5070
5071if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5072	if test -n "$ac_tool_prefix"; then
5073  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5074set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5075{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5076$as_echo_n "checking for $ac_word... " >&6; }
5077if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
5078  $as_echo_n "(cached) " >&6
5079else
5080  case $PKG_CONFIG in
5081  [\\/]* | ?:[\\/]*)
5082  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5083  ;;
5084  *)
5085  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5086for as_dir in $PATH
5087do
5088  IFS=$as_save_IFS
5089  test -z "$as_dir" && as_dir=.
5090  for ac_exec_ext in '' $ac_executable_extensions; do
5091  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5092    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5093    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5094    break 2
5095  fi
5096done
5097done
5098IFS=$as_save_IFS
5099
5100  ;;
5101esac
5102fi
5103PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5104if test -n "$PKG_CONFIG"; then
5105  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5106$as_echo "$PKG_CONFIG" >&6; }
5107else
5108  { $as_echo "$as_me:$LINENO: result: no" >&5
5109$as_echo "no" >&6; }
5110fi
5111
5112
5113fi
5114if test -z "$ac_cv_path_PKG_CONFIG"; then
5115  ac_pt_PKG_CONFIG=$PKG_CONFIG
5116  # Extract the first word of "pkg-config", so it can be a program name with args.
5117set dummy pkg-config; ac_word=$2
5118{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5119$as_echo_n "checking for $ac_word... " >&6; }
5120if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
5121  $as_echo_n "(cached) " >&6
5122else
5123  case $ac_pt_PKG_CONFIG in
5124  [\\/]* | ?:[\\/]*)
5125  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5126  ;;
5127  *)
5128  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5129for as_dir in $PATH
5130do
5131  IFS=$as_save_IFS
5132  test -z "$as_dir" && as_dir=.
5133  for ac_exec_ext in '' $ac_executable_extensions; do
5134  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5135    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5136    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5137    break 2
5138  fi
5139done
5140done
5141IFS=$as_save_IFS
5142
5143  ;;
5144esac
5145fi
5146ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5147if test -n "$ac_pt_PKG_CONFIG"; then
5148  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
5149$as_echo "$ac_pt_PKG_CONFIG" >&6; }
5150else
5151  { $as_echo "$as_me:$LINENO: result: no" >&5
5152$as_echo "no" >&6; }
5153fi
5154
5155  if test "x$ac_pt_PKG_CONFIG" = x; then
5156    PKG_CONFIG=""
5157  else
5158    case $cross_compiling:$ac_tool_warned in
5159yes:)
5160{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5161$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5162ac_tool_warned=yes ;;
5163esac
5164    PKG_CONFIG=$ac_pt_PKG_CONFIG
5165  fi
5166else
5167  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5168fi
5169
5170fi
5171if test -n "$PKG_CONFIG"; then
5172	_pkg_min_version=0.9.0
5173	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
5174$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5175	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5176		{ $as_echo "$as_me:$LINENO: result: yes" >&5
5177$as_echo "yes" >&6; }
5178	else
5179		{ $as_echo "$as_me:$LINENO: result: no" >&5
5180$as_echo "no" >&6; }
5181		PKG_CONFIG=""
5182	fi
5183
5184fi
5185
5186pkg_failed=no
5187{ $as_echo "$as_me:$LINENO: checking for XKBVLEDS" >&5
5188$as_echo_n "checking for XKBVLEDS... " >&6; }
5189
5190if test -n "$XKBVLEDS_CFLAGS"; then
5191    pkg_cv_XKBVLEDS_CFLAGS="$XKBVLEDS_CFLAGS"
5192 elif test -n "$PKG_CONFIG"; then
5193    if test -n "$PKG_CONFIG" && \
5194    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xaw7\"") >&5
5195  ($PKG_CONFIG --exists --print-errors "xaw7") 2>&5
5196  ac_status=$?
5197  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5198  (exit $ac_status); }; then
5199  pkg_cv_XKBVLEDS_CFLAGS=`$PKG_CONFIG --cflags "xaw7" 2>/dev/null`
5200else
5201  pkg_failed=yes
5202fi
5203 else
5204    pkg_failed=untried
5205fi
5206if test -n "$XKBVLEDS_LIBS"; then
5207    pkg_cv_XKBVLEDS_LIBS="$XKBVLEDS_LIBS"
5208 elif test -n "$PKG_CONFIG"; then
5209    if test -n "$PKG_CONFIG" && \
5210    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xaw7\"") >&5
5211  ($PKG_CONFIG --exists --print-errors "xaw7") 2>&5
5212  ac_status=$?
5213  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5214  (exit $ac_status); }; then
5215  pkg_cv_XKBVLEDS_LIBS=`$PKG_CONFIG --libs "xaw7" 2>/dev/null`
5216else
5217  pkg_failed=yes
5218fi
5219 else
5220    pkg_failed=untried
5221fi
5222
5223
5224
5225if test $pkg_failed = yes; then
5226
5227if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5228        _pkg_short_errors_supported=yes
5229else
5230        _pkg_short_errors_supported=no
5231fi
5232        if test $_pkg_short_errors_supported = yes; then
5233	        XKBVLEDS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xaw7" 2>&1`
5234        else
5235	        XKBVLEDS_PKG_ERRORS=`$PKG_CONFIG --print-errors "xaw7" 2>&1`
5236        fi
5237	# Put the nasty error message in config.log where it belongs
5238	echo "$XKBVLEDS_PKG_ERRORS" >&5
5239
5240	{ { $as_echo "$as_me:$LINENO: error: Package requirements (xaw7) were not met:
5241
5242$XKBVLEDS_PKG_ERRORS
5243
5244Consider adjusting the PKG_CONFIG_PATH environment variable if you
5245installed software in a non-standard prefix.
5246
5247Alternatively, you may set the environment variables XKBVLEDS_CFLAGS
5248and XKBVLEDS_LIBS to avoid the need to call pkg-config.
5249See the pkg-config man page for more details.
5250" >&5
5251$as_echo "$as_me: error: Package requirements (xaw7) were not met:
5252
5253$XKBVLEDS_PKG_ERRORS
5254
5255Consider adjusting the PKG_CONFIG_PATH environment variable if you
5256installed software in a non-standard prefix.
5257
5258Alternatively, you may set the environment variables XKBVLEDS_CFLAGS
5259and XKBVLEDS_LIBS to avoid the need to call pkg-config.
5260See the pkg-config man page for more details.
5261" >&2;}
5262   { (exit 1); exit 1; }; }
5263elif test $pkg_failed = untried; then
5264	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5265$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5266{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
5267is in your PATH or set the PKG_CONFIG environment variable to the full
5268path to pkg-config.
5269
5270Alternatively, you may set the environment variables XKBVLEDS_CFLAGS
5271and XKBVLEDS_LIBS to avoid the need to call pkg-config.
5272See the pkg-config man page for more details.
5273
5274To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5275See \`config.log' for more details." >&5
5276$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
5277is in your PATH or set the PKG_CONFIG environment variable to the full
5278path to pkg-config.
5279
5280Alternatively, you may set the environment variables XKBVLEDS_CFLAGS
5281and XKBVLEDS_LIBS to avoid the need to call pkg-config.
5282See the pkg-config man page for more details.
5283
5284To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5285See \`config.log' for more details." >&2;}
5286   { (exit 1); exit 1; }; }; }
5287else
5288	XKBVLEDS_CFLAGS=$pkg_cv_XKBVLEDS_CFLAGS
5289	XKBVLEDS_LIBS=$pkg_cv_XKBVLEDS_LIBS
5290        { $as_echo "$as_me:$LINENO: result: yes" >&5
5291$as_echo "yes" >&6; }
5292	:
5293fi
5294
5295
5296
5297# xkbbell checks
5298
5299pkg_failed=no
5300{ $as_echo "$as_me:$LINENO: checking for XKBBELL" >&5
5301$as_echo_n "checking for XKBBELL... " >&6; }
5302
5303if test -n "$XKBBELL_CFLAGS"; then
5304    pkg_cv_XKBBELL_CFLAGS="$XKBBELL_CFLAGS"
5305 elif test -n "$PKG_CONFIG"; then
5306    if test -n "$PKG_CONFIG" && \
5307    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xkbfile x11 inputproto\"") >&5
5308  ($PKG_CONFIG --exists --print-errors "xkbfile x11 inputproto") 2>&5
5309  ac_status=$?
5310  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5311  (exit $ac_status); }; then
5312  pkg_cv_XKBBELL_CFLAGS=`$PKG_CONFIG --cflags "xkbfile x11 inputproto" 2>/dev/null`
5313else
5314  pkg_failed=yes
5315fi
5316 else
5317    pkg_failed=untried
5318fi
5319if test -n "$XKBBELL_LIBS"; then
5320    pkg_cv_XKBBELL_LIBS="$XKBBELL_LIBS"
5321 elif test -n "$PKG_CONFIG"; then
5322    if test -n "$PKG_CONFIG" && \
5323    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xkbfile x11 inputproto\"") >&5
5324  ($PKG_CONFIG --exists --print-errors "xkbfile x11 inputproto") 2>&5
5325  ac_status=$?
5326  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5327  (exit $ac_status); }; then
5328  pkg_cv_XKBBELL_LIBS=`$PKG_CONFIG --libs "xkbfile x11 inputproto" 2>/dev/null`
5329else
5330  pkg_failed=yes
5331fi
5332 else
5333    pkg_failed=untried
5334fi
5335
5336
5337
5338if test $pkg_failed = yes; then
5339
5340if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5341        _pkg_short_errors_supported=yes
5342else
5343        _pkg_short_errors_supported=no
5344fi
5345        if test $_pkg_short_errors_supported = yes; then
5346	        XKBBELL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xkbfile x11 inputproto" 2>&1`
5347        else
5348	        XKBBELL_PKG_ERRORS=`$PKG_CONFIG --print-errors "xkbfile x11 inputproto" 2>&1`
5349        fi
5350	# Put the nasty error message in config.log where it belongs
5351	echo "$XKBBELL_PKG_ERRORS" >&5
5352
5353	{ { $as_echo "$as_me:$LINENO: error: Package requirements (xkbfile x11 inputproto) were not met:
5354
5355$XKBBELL_PKG_ERRORS
5356
5357Consider adjusting the PKG_CONFIG_PATH environment variable if you
5358installed software in a non-standard prefix.
5359
5360Alternatively, you may set the environment variables XKBBELL_CFLAGS
5361and XKBBELL_LIBS to avoid the need to call pkg-config.
5362See the pkg-config man page for more details.
5363" >&5
5364$as_echo "$as_me: error: Package requirements (xkbfile x11 inputproto) were not met:
5365
5366$XKBBELL_PKG_ERRORS
5367
5368Consider adjusting the PKG_CONFIG_PATH environment variable if you
5369installed software in a non-standard prefix.
5370
5371Alternatively, you may set the environment variables XKBBELL_CFLAGS
5372and XKBBELL_LIBS to avoid the need to call pkg-config.
5373See the pkg-config man page for more details.
5374" >&2;}
5375   { (exit 1); exit 1; }; }
5376elif test $pkg_failed = untried; then
5377	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5378$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5379{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
5380is in your PATH or set the PKG_CONFIG environment variable to the full
5381path to pkg-config.
5382
5383Alternatively, you may set the environment variables XKBBELL_CFLAGS
5384and XKBBELL_LIBS to avoid the need to call pkg-config.
5385See the pkg-config man page for more details.
5386
5387To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5388See \`config.log' for more details." >&5
5389$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
5390is in your PATH or set the PKG_CONFIG environment variable to the full
5391path to pkg-config.
5392
5393Alternatively, you may set the environment variables XKBBELL_CFLAGS
5394and XKBBELL_LIBS to avoid the need to call pkg-config.
5395See the pkg-config man page for more details.
5396
5397To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5398See \`config.log' for more details." >&2;}
5399   { (exit 1); exit 1; }; }; }
5400else
5401	XKBBELL_CFLAGS=$pkg_cv_XKBBELL_CFLAGS
5402	XKBBELL_LIBS=$pkg_cv_XKBBELL_LIBS
5403        { $as_echo "$as_me:$LINENO: result: yes" >&5
5404$as_echo "yes" >&6; }
5405	:
5406fi
5407
5408
5409
5410# xkbwatch checks
5411
5412pkg_failed=no
5413{ $as_echo "$as_me:$LINENO: checking for XKBWATCH" >&5
5414$as_echo_n "checking for XKBWATCH... " >&6; }
5415
5416if test -n "$XKBWATCH_CFLAGS"; then
5417    pkg_cv_XKBWATCH_CFLAGS="$XKBWATCH_CFLAGS"
5418 elif test -n "$PKG_CONFIG"; then
5419    if test -n "$PKG_CONFIG" && \
5420    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xaw7\"") >&5
5421  ($PKG_CONFIG --exists --print-errors "xaw7") 2>&5
5422  ac_status=$?
5423  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5424  (exit $ac_status); }; then
5425  pkg_cv_XKBWATCH_CFLAGS=`$PKG_CONFIG --cflags "xaw7" 2>/dev/null`
5426else
5427  pkg_failed=yes
5428fi
5429 else
5430    pkg_failed=untried
5431fi
5432if test -n "$XKBWATCH_LIBS"; then
5433    pkg_cv_XKBWATCH_LIBS="$XKBWATCH_LIBS"
5434 elif test -n "$PKG_CONFIG"; then
5435    if test -n "$PKG_CONFIG" && \
5436    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xaw7\"") >&5
5437  ($PKG_CONFIG --exists --print-errors "xaw7") 2>&5
5438  ac_status=$?
5439  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5440  (exit $ac_status); }; then
5441  pkg_cv_XKBWATCH_LIBS=`$PKG_CONFIG --libs "xaw7" 2>/dev/null`
5442else
5443  pkg_failed=yes
5444fi
5445 else
5446    pkg_failed=untried
5447fi
5448
5449
5450
5451if test $pkg_failed = yes; then
5452
5453if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5454        _pkg_short_errors_supported=yes
5455else
5456        _pkg_short_errors_supported=no
5457fi
5458        if test $_pkg_short_errors_supported = yes; then
5459	        XKBWATCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xaw7" 2>&1`
5460        else
5461	        XKBWATCH_PKG_ERRORS=`$PKG_CONFIG --print-errors "xaw7" 2>&1`
5462        fi
5463	# Put the nasty error message in config.log where it belongs
5464	echo "$XKBWATCH_PKG_ERRORS" >&5
5465
5466	{ { $as_echo "$as_me:$LINENO: error: Package requirements (xaw7) were not met:
5467
5468$XKBWATCH_PKG_ERRORS
5469
5470Consider adjusting the PKG_CONFIG_PATH environment variable if you
5471installed software in a non-standard prefix.
5472
5473Alternatively, you may set the environment variables XKBWATCH_CFLAGS
5474and XKBWATCH_LIBS to avoid the need to call pkg-config.
5475See the pkg-config man page for more details.
5476" >&5
5477$as_echo "$as_me: error: Package requirements (xaw7) were not met:
5478
5479$XKBWATCH_PKG_ERRORS
5480
5481Consider adjusting the PKG_CONFIG_PATH environment variable if you
5482installed software in a non-standard prefix.
5483
5484Alternatively, you may set the environment variables XKBWATCH_CFLAGS
5485and XKBWATCH_LIBS to avoid the need to call pkg-config.
5486See the pkg-config man page for more details.
5487" >&2;}
5488   { (exit 1); exit 1; }; }
5489elif test $pkg_failed = untried; then
5490	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5491$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5492{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
5493is in your PATH or set the PKG_CONFIG environment variable to the full
5494path to pkg-config.
5495
5496Alternatively, you may set the environment variables XKBWATCH_CFLAGS
5497and XKBWATCH_LIBS to avoid the need to call pkg-config.
5498See the pkg-config man page for more details.
5499
5500To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5501See \`config.log' for more details." >&5
5502$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
5503is in your PATH or set the PKG_CONFIG environment variable to the full
5504path to pkg-config.
5505
5506Alternatively, you may set the environment variables XKBWATCH_CFLAGS
5507and XKBWATCH_LIBS to avoid the need to call pkg-config.
5508See the pkg-config man page for more details.
5509
5510To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5511See \`config.log' for more details." >&2;}
5512   { (exit 1); exit 1; }; }; }
5513else
5514	XKBWATCH_CFLAGS=$pkg_cv_XKBWATCH_CFLAGS
5515	XKBWATCH_LIBS=$pkg_cv_XKBWATCH_LIBS
5516        { $as_echo "$as_me:$LINENO: result: yes" >&5
5517$as_echo "yes" >&6; }
5518	:
5519fi
5520
5521
5522
5523
5524
5525
5526if test x$APP_MAN_SUFFIX = x    ; then
5527    APP_MAN_SUFFIX=1
5528fi
5529if test x$APP_MAN_DIR = x    ; then
5530    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
5531fi
5532
5533if test x$LIB_MAN_SUFFIX = x    ; then
5534    LIB_MAN_SUFFIX=3
5535fi
5536if test x$LIB_MAN_DIR = x    ; then
5537    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
5538fi
5539
5540if test x$FILE_MAN_SUFFIX = x    ; then
5541    case $host_os in
5542	solaris*)	FILE_MAN_SUFFIX=4  ;;
5543	*)		FILE_MAN_SUFFIX=5  ;;
5544    esac
5545fi
5546if test x$FILE_MAN_DIR = x    ; then
5547    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
5548fi
5549
5550if test x$MISC_MAN_SUFFIX = x    ; then
5551    case $host_os in
5552	solaris*)	MISC_MAN_SUFFIX=5  ;;
5553	*)		MISC_MAN_SUFFIX=7  ;;
5554    esac
5555fi
5556if test x$MISC_MAN_DIR = x    ; then
5557    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
5558fi
5559
5560if test x$DRIVER_MAN_SUFFIX = x    ; then
5561    case $host_os in
5562	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
5563	*)		DRIVER_MAN_SUFFIX=4  ;;
5564    esac
5565fi
5566if test x$DRIVER_MAN_DIR = x    ; then
5567    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
5568fi
5569
5570if test x$ADMIN_MAN_SUFFIX = x    ; then
5571    case $host_os in
5572	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
5573	*)		ADMIN_MAN_SUFFIX=8  ;;
5574    esac
5575fi
5576if test x$ADMIN_MAN_DIR = x    ; then
5577    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
5578fi
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596# Check whether --with-release-version was given.
5597if test "${with_release_version+set}" = set; then
5598  withval=$with_release_version; RELEASE_VERSION="$withval"
5599else
5600  RELEASE_VERSION=""
5601fi
5602
5603	if test "x$RELEASE_VERSION" != "x"; then
5604		PACKAGE="$PACKAGE-$RELEASE_VERSION"
5605		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
5606		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
5607$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
5608	fi
5609
5610cat >>confdefs.h <<_ACEOF
5611#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
5612_ACEOF
5613
5614	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
5615	if test "x$PVM" = "x"; then
5616		PVM="0"
5617	fi
5618
5619cat >>confdefs.h <<_ACEOF
5620#define PACKAGE_VERSION_MINOR $PVM
5621_ACEOF
5622
5623	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
5624	if test "x$PVP" = "x"; then
5625		PVP="0"
5626	fi
5627
5628cat >>confdefs.h <<_ACEOF
5629#define PACKAGE_VERSION_PATCHLEVEL $PVP
5630_ACEOF
5631
5632
5633
5634CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
5635mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
5636echo 'git directory not found: installing possibly empty changelog.' >&2)"
5637
5638distcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
5639
5640
5641
5642ac_config_files="$ac_config_files Makefile"
5643
5644cat >confcache <<\_ACEOF
5645# This file is a shell script that caches the results of configure
5646# tests run on this system so they can be shared between configure
5647# scripts and configure runs, see configure's option --config-cache.
5648# It is not useful on other systems.  If it contains results you don't
5649# want to keep, you may remove or edit it.
5650#
5651# config.status only pays attention to the cache file if you give it
5652# the --recheck option to rerun configure.
5653#
5654# `ac_cv_env_foo' variables (set or unset) will be overridden when
5655# loading this file, other *unset* `ac_cv_foo' will be assigned the
5656# following values.
5657
5658_ACEOF
5659
5660# The following way of writing the cache mishandles newlines in values,
5661# but we know of no workaround that is simple, portable, and efficient.
5662# So, we kill variables containing newlines.
5663# Ultrix sh set writes to stderr and can't be redirected directly,
5664# and sets the high bit in the cache file unless we assign to the vars.
5665(
5666  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5667    eval ac_val=\$$ac_var
5668    case $ac_val in #(
5669    *${as_nl}*)
5670      case $ac_var in #(
5671      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
5672$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5673      esac
5674      case $ac_var in #(
5675      _ | IFS | as_nl) ;; #(
5676      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5677      *) $as_unset $ac_var ;;
5678      esac ;;
5679    esac
5680  done
5681
5682  (set) 2>&1 |
5683    case $as_nl`(ac_space=' '; set) 2>&1` in #(
5684    *${as_nl}ac_space=\ *)
5685      # `set' does not quote correctly, so add quotes (double-quote
5686      # substitution turns \\\\ into \\, and sed turns \\ into \).
5687      sed -n \
5688	"s/'/'\\\\''/g;
5689	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5690      ;; #(
5691    *)
5692      # `set' quotes correctly as required by POSIX, so do not add quotes.
5693      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5694      ;;
5695    esac |
5696    sort
5697) |
5698  sed '
5699     /^ac_cv_env_/b end
5700     t clear
5701     :clear
5702     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5703     t end
5704     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5705     :end' >>confcache
5706if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5707  if test -w "$cache_file"; then
5708    test "x$cache_file" != "x/dev/null" &&
5709      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
5710$as_echo "$as_me: updating cache $cache_file" >&6;}
5711    cat confcache >$cache_file
5712  else
5713    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5714$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5715  fi
5716fi
5717rm -f confcache
5718
5719test "x$prefix" = xNONE && prefix=$ac_default_prefix
5720# Let make expand exec_prefix.
5721test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5722
5723DEFS=-DHAVE_CONFIG_H
5724
5725ac_libobjs=
5726ac_ltlibobjs=
5727for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5728  # 1. Remove the extension, and $U if already installed.
5729  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5730  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5731  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5732  #    will be set to the directory where LIBOBJS objects are built.
5733  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5734  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5735done
5736LIBOBJS=$ac_libobjs
5737
5738LTLIBOBJS=$ac_ltlibobjs
5739
5740
5741 if test -n "$EXEEXT"; then
5742  am__EXEEXT_TRUE=
5743  am__EXEEXT_FALSE='#'
5744else
5745  am__EXEEXT_TRUE='#'
5746  am__EXEEXT_FALSE=
5747fi
5748
5749if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5750  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5751Usually this means the macro was only invoked conditionally." >&5
5752$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5753Usually this means the macro was only invoked conditionally." >&2;}
5754   { (exit 1); exit 1; }; }
5755fi
5756if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5757  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5758Usually this means the macro was only invoked conditionally." >&5
5759$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
5760Usually this means the macro was only invoked conditionally." >&2;}
5761   { (exit 1); exit 1; }; }
5762fi
5763if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5764  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5765Usually this means the macro was only invoked conditionally." >&5
5766$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5767Usually this means the macro was only invoked conditionally." >&2;}
5768   { (exit 1); exit 1; }; }
5769fi
5770
5771: ${CONFIG_STATUS=./config.status}
5772ac_write_fail=0
5773ac_clean_files_save=$ac_clean_files
5774ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5775{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5776$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5777cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5778#! $SHELL
5779# Generated by $as_me.
5780# Run this file to recreate the current configuration.
5781# Compiler output produced by configure, useful for debugging
5782# configure, is in config.log if it exists.
5783
5784debug=false
5785ac_cs_recheck=false
5786ac_cs_silent=false
5787SHELL=\${CONFIG_SHELL-$SHELL}
5788_ACEOF
5789
5790cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5791## --------------------- ##
5792## M4sh Initialization.  ##
5793## --------------------- ##
5794
5795# Be more Bourne compatible
5796DUALCASE=1; export DUALCASE # for MKS sh
5797if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5798  emulate sh
5799  NULLCMD=:
5800  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5801  # is contrary to our usage.  Disable this feature.
5802  alias -g '${1+"$@"}'='"$@"'
5803  setopt NO_GLOB_SUBST
5804else
5805  case `(set -o) 2>/dev/null` in
5806  *posix*) set -o posix ;;
5807esac
5808
5809fi
5810
5811
5812
5813
5814# PATH needs CR
5815# Avoid depending upon Character Ranges.
5816as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5817as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5818as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5819as_cr_digits='0123456789'
5820as_cr_alnum=$as_cr_Letters$as_cr_digits
5821
5822as_nl='
5823'
5824export as_nl
5825# Printing a long string crashes Solaris 7 /usr/bin/printf.
5826as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5827as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5828as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5829if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5830  as_echo='printf %s\n'
5831  as_echo_n='printf %s'
5832else
5833  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5834    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5835    as_echo_n='/usr/ucb/echo -n'
5836  else
5837    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5838    as_echo_n_body='eval
5839      arg=$1;
5840      case $arg in
5841      *"$as_nl"*)
5842	expr "X$arg" : "X\\(.*\\)$as_nl";
5843	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5844      esac;
5845      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5846    '
5847    export as_echo_n_body
5848    as_echo_n='sh -c $as_echo_n_body as_echo'
5849  fi
5850  export as_echo_body
5851  as_echo='sh -c $as_echo_body as_echo'
5852fi
5853
5854# The user is always right.
5855if test "${PATH_SEPARATOR+set}" != set; then
5856  PATH_SEPARATOR=:
5857  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5858    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5859      PATH_SEPARATOR=';'
5860  }
5861fi
5862
5863# Support unset when possible.
5864if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5865  as_unset=unset
5866else
5867  as_unset=false
5868fi
5869
5870
5871# IFS
5872# We need space, tab and new line, in precisely that order.  Quoting is
5873# there to prevent editors from complaining about space-tab.
5874# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5875# splitting by setting IFS to empty value.)
5876IFS=" ""	$as_nl"
5877
5878# Find who we are.  Look in the path if we contain no directory separator.
5879case $0 in
5880  *[\\/]* ) as_myself=$0 ;;
5881  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5882for as_dir in $PATH
5883do
5884  IFS=$as_save_IFS
5885  test -z "$as_dir" && as_dir=.
5886  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5887done
5888IFS=$as_save_IFS
5889
5890     ;;
5891esac
5892# We did not find ourselves, most probably we were run as `sh COMMAND'
5893# in which case we are not to be found in the path.
5894if test "x$as_myself" = x; then
5895  as_myself=$0
5896fi
5897if test ! -f "$as_myself"; then
5898  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5899  { (exit 1); exit 1; }
5900fi
5901
5902# Work around bugs in pre-3.0 UWIN ksh.
5903for as_var in ENV MAIL MAILPATH
5904do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5905done
5906PS1='$ '
5907PS2='> '
5908PS4='+ '
5909
5910# NLS nuisances.
5911LC_ALL=C
5912export LC_ALL
5913LANGUAGE=C
5914export LANGUAGE
5915
5916# Required to use basename.
5917if expr a : '\(a\)' >/dev/null 2>&1 &&
5918   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5919  as_expr=expr
5920else
5921  as_expr=false
5922fi
5923
5924if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5925  as_basename=basename
5926else
5927  as_basename=false
5928fi
5929
5930
5931# Name of the executable.
5932as_me=`$as_basename -- "$0" ||
5933$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5934	 X"$0" : 'X\(//\)$' \| \
5935	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5936$as_echo X/"$0" |
5937    sed '/^.*\/\([^/][^/]*\)\/*$/{
5938	    s//\1/
5939	    q
5940	  }
5941	  /^X\/\(\/\/\)$/{
5942	    s//\1/
5943	    q
5944	  }
5945	  /^X\/\(\/\).*/{
5946	    s//\1/
5947	    q
5948	  }
5949	  s/.*/./; q'`
5950
5951# CDPATH.
5952$as_unset CDPATH
5953
5954
5955
5956  as_lineno_1=$LINENO
5957  as_lineno_2=$LINENO
5958  test "x$as_lineno_1" != "x$as_lineno_2" &&
5959  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5960
5961  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5962  # uniformly replaced by the line number.  The first 'sed' inserts a
5963  # line-number line after each line using $LINENO; the second 'sed'
5964  # does the real work.  The second script uses 'N' to pair each
5965  # line-number line with the line containing $LINENO, and appends
5966  # trailing '-' during substitution so that $LINENO is not a special
5967  # case at line end.
5968  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5969  # scripts with optimization help from Paolo Bonzini.  Blame Lee
5970  # E. McMahon (1931-1989) for sed's syntax.  :-)
5971  sed -n '
5972    p
5973    /[$]LINENO/=
5974  ' <$as_myself |
5975    sed '
5976      s/[$]LINENO.*/&-/
5977      t lineno
5978      b
5979      :lineno
5980      N
5981      :loop
5982      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5983      t loop
5984      s/-\n.*//
5985    ' >$as_me.lineno &&
5986  chmod +x "$as_me.lineno" ||
5987    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5988   { (exit 1); exit 1; }; }
5989
5990  # Don't try to exec as it changes $[0], causing all sort of problems
5991  # (the dirname of $[0] is not the place where we might find the
5992  # original and so on.  Autoconf is especially sensitive to this).
5993  . "./$as_me.lineno"
5994  # Exit status is that of the last command.
5995  exit
5996}
5997
5998
5999if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6000  as_dirname=dirname
6001else
6002  as_dirname=false
6003fi
6004
6005ECHO_C= ECHO_N= ECHO_T=
6006case `echo -n x` in
6007-n*)
6008  case `echo 'x\c'` in
6009  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
6010  *)   ECHO_C='\c';;
6011  esac;;
6012*)
6013  ECHO_N='-n';;
6014esac
6015if expr a : '\(a\)' >/dev/null 2>&1 &&
6016   test "X`expr 00001 : '.*\(...\)'`" = X001; then
6017  as_expr=expr
6018else
6019  as_expr=false
6020fi
6021
6022rm -f conf$$ conf$$.exe conf$$.file
6023if test -d conf$$.dir; then
6024  rm -f conf$$.dir/conf$$.file
6025else
6026  rm -f conf$$.dir
6027  mkdir conf$$.dir 2>/dev/null
6028fi
6029if (echo >conf$$.file) 2>/dev/null; then
6030  if ln -s conf$$.file conf$$ 2>/dev/null; then
6031    as_ln_s='ln -s'
6032    # ... but there are two gotchas:
6033    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6034    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6035    # In both cases, we have to default to `cp -p'.
6036    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6037      as_ln_s='cp -p'
6038  elif ln conf$$.file conf$$ 2>/dev/null; then
6039    as_ln_s=ln
6040  else
6041    as_ln_s='cp -p'
6042  fi
6043else
6044  as_ln_s='cp -p'
6045fi
6046rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6047rmdir conf$$.dir 2>/dev/null
6048
6049if mkdir -p . 2>/dev/null; then
6050  as_mkdir_p=:
6051else
6052  test -d ./-p && rmdir ./-p
6053  as_mkdir_p=false
6054fi
6055
6056if test -x / >/dev/null 2>&1; then
6057  as_test_x='test -x'
6058else
6059  if ls -dL / >/dev/null 2>&1; then
6060    as_ls_L_option=L
6061  else
6062    as_ls_L_option=
6063  fi
6064  as_test_x='
6065    eval sh -c '\''
6066      if test -d "$1"; then
6067	test -d "$1/.";
6068      else
6069	case $1 in
6070	-*)set "./$1";;
6071	esac;
6072	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6073	???[sx]*):;;*)false;;esac;fi
6074    '\'' sh
6075  '
6076fi
6077as_executable_p=$as_test_x
6078
6079# Sed expression to map a string onto a valid CPP name.
6080as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6081
6082# Sed expression to map a string onto a valid variable name.
6083as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6084
6085
6086exec 6>&1
6087
6088# Save the log message, to keep $[0] and so on meaningful, and to
6089# report actual input values of CONFIG_FILES etc. instead of their
6090# values after options handling.
6091ac_log="
6092This file was extended by xkbutils $as_me 1.0.2, which was
6093generated by GNU Autoconf 2.63.  Invocation command line was
6094
6095  CONFIG_FILES    = $CONFIG_FILES
6096  CONFIG_HEADERS  = $CONFIG_HEADERS
6097  CONFIG_LINKS    = $CONFIG_LINKS
6098  CONFIG_COMMANDS = $CONFIG_COMMANDS
6099  $ $0 $@
6100
6101on `(hostname || uname -n) 2>/dev/null | sed 1q`
6102"
6103
6104_ACEOF
6105
6106case $ac_config_files in *"
6107"*) set x $ac_config_files; shift; ac_config_files=$*;;
6108esac
6109
6110case $ac_config_headers in *"
6111"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6112esac
6113
6114
6115cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6116# Files that config.status was made for.
6117config_files="$ac_config_files"
6118config_headers="$ac_config_headers"
6119config_commands="$ac_config_commands"
6120
6121_ACEOF
6122
6123cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6124ac_cs_usage="\
6125\`$as_me' instantiates files from templates according to the
6126current configuration.
6127
6128Usage: $0 [OPTION]... [FILE]...
6129
6130  -h, --help       print this help, then exit
6131  -V, --version    print version number and configuration settings, then exit
6132  -q, --quiet, --silent
6133                   do not print progress messages
6134  -d, --debug      don't remove temporary files
6135      --recheck    update $as_me by reconfiguring in the same conditions
6136      --file=FILE[:TEMPLATE]
6137                   instantiate the configuration file FILE
6138      --header=FILE[:TEMPLATE]
6139                   instantiate the configuration header FILE
6140
6141Configuration files:
6142$config_files
6143
6144Configuration headers:
6145$config_headers
6146
6147Configuration commands:
6148$config_commands
6149
6150Report bugs to <bug-autoconf@gnu.org>."
6151
6152_ACEOF
6153cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6154ac_cs_version="\\
6155xkbutils config.status 1.0.2
6156configured by $0, generated by GNU Autoconf 2.63,
6157  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6158
6159Copyright (C) 2008 Free Software Foundation, Inc.
6160This config.status script is free software; the Free Software Foundation
6161gives unlimited permission to copy, distribute and modify it."
6162
6163ac_pwd='$ac_pwd'
6164srcdir='$srcdir'
6165INSTALL='$INSTALL'
6166MKDIR_P='$MKDIR_P'
6167AWK='$AWK'
6168test -n "\$AWK" || AWK=awk
6169_ACEOF
6170
6171cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6172# The default lists apply if the user does not specify any file.
6173ac_need_defaults=:
6174while test $# != 0
6175do
6176  case $1 in
6177  --*=*)
6178    ac_option=`expr "X$1" : 'X\([^=]*\)='`
6179    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6180    ac_shift=:
6181    ;;
6182  *)
6183    ac_option=$1
6184    ac_optarg=$2
6185    ac_shift=shift
6186    ;;
6187  esac
6188
6189  case $ac_option in
6190  # Handling of the options.
6191  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6192    ac_cs_recheck=: ;;
6193  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6194    $as_echo "$ac_cs_version"; exit ;;
6195  --debug | --debu | --deb | --de | --d | -d )
6196    debug=: ;;
6197  --file | --fil | --fi | --f )
6198    $ac_shift
6199    case $ac_optarg in
6200    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6201    esac
6202    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
6203    ac_need_defaults=false;;
6204  --header | --heade | --head | --hea )
6205    $ac_shift
6206    case $ac_optarg in
6207    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6208    esac
6209    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
6210    ac_need_defaults=false;;
6211  --he | --h)
6212    # Conflict between --help and --header
6213    { $as_echo "$as_me: error: ambiguous option: $1
6214Try \`$0 --help' for more information." >&2
6215   { (exit 1); exit 1; }; };;
6216  --help | --hel | -h )
6217    $as_echo "$ac_cs_usage"; exit ;;
6218  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6219  | -silent | --silent | --silen | --sile | --sil | --si | --s)
6220    ac_cs_silent=: ;;
6221
6222  # This is an error.
6223  -*) { $as_echo "$as_me: error: unrecognized option: $1
6224Try \`$0 --help' for more information." >&2
6225   { (exit 1); exit 1; }; } ;;
6226
6227  *) ac_config_targets="$ac_config_targets $1"
6228     ac_need_defaults=false ;;
6229
6230  esac
6231  shift
6232done
6233
6234ac_configure_extra_args=
6235
6236if $ac_cs_silent; then
6237  exec 6>/dev/null
6238  ac_configure_extra_args="$ac_configure_extra_args --silent"
6239fi
6240
6241_ACEOF
6242cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6243if \$ac_cs_recheck; then
6244  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6245  shift
6246  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6247  CONFIG_SHELL='$SHELL'
6248  export CONFIG_SHELL
6249  exec "\$@"
6250fi
6251
6252_ACEOF
6253cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6254exec 5>>config.log
6255{
6256  echo
6257  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6258## Running $as_me. ##
6259_ASBOX
6260  $as_echo "$ac_log"
6261} >&5
6262
6263_ACEOF
6264cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6265#
6266# INIT-COMMANDS
6267#
6268AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6269
6270_ACEOF
6271
6272cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6273
6274# Handling of arguments.
6275for ac_config_target in $ac_config_targets
6276do
6277  case $ac_config_target in
6278    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6279    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6280    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6281
6282  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6283$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6284   { (exit 1); exit 1; }; };;
6285  esac
6286done
6287
6288
6289# If the user did not use the arguments to specify the items to instantiate,
6290# then the envvar interface is used.  Set only those that are not.
6291# We use the long form for the default assignment because of an extremely
6292# bizarre bug on SunOS 4.1.3.
6293if $ac_need_defaults; then
6294  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6295  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6296  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6297fi
6298
6299# Have a temporary directory for convenience.  Make it in the build tree
6300# simply because there is no reason against having it here, and in addition,
6301# creating and moving files from /tmp can sometimes cause problems.
6302# Hook for its removal unless debugging.
6303# Note that there is a small window in which the directory will not be cleaned:
6304# after its creation but before its name has been assigned to `$tmp'.
6305$debug ||
6306{
6307  tmp=
6308  trap 'exit_status=$?
6309  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6310' 0
6311  trap '{ (exit 1); exit 1; }' 1 2 13 15
6312}
6313# Create a (secure) tmp directory for tmp files.
6314
6315{
6316  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6317  test -n "$tmp" && test -d "$tmp"
6318}  ||
6319{
6320  tmp=./conf$$-$RANDOM
6321  (umask 077 && mkdir "$tmp")
6322} ||
6323{
6324   $as_echo "$as_me: cannot create a temporary directory in ." >&2
6325   { (exit 1); exit 1; }
6326}
6327
6328# Set up the scripts for CONFIG_FILES section.
6329# No need to generate them if there are no CONFIG_FILES.
6330# This happens for instance with `./config.status config.h'.
6331if test -n "$CONFIG_FILES"; then
6332
6333
6334ac_cr='
6335'
6336ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6337if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6338  ac_cs_awk_cr='\\r'
6339else
6340  ac_cs_awk_cr=$ac_cr
6341fi
6342
6343echo 'BEGIN {' >"$tmp/subs1.awk" &&
6344_ACEOF
6345
6346
6347{
6348  echo "cat >conf$$subs.awk <<_ACEOF" &&
6349  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6350  echo "_ACEOF"
6351} >conf$$subs.sh ||
6352  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6353$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6354   { (exit 1); exit 1; }; }
6355ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6356ac_delim='%!_!# '
6357for ac_last_try in false false false false false :; do
6358  . ./conf$$subs.sh ||
6359    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6360$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6361   { (exit 1); exit 1; }; }
6362
6363  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6364  if test $ac_delim_n = $ac_delim_num; then
6365    break
6366  elif $ac_last_try; then
6367    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6368$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6369   { (exit 1); exit 1; }; }
6370  else
6371    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6372  fi
6373done
6374rm -f conf$$subs.sh
6375
6376cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6377cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
6378_ACEOF
6379sed -n '
6380h
6381s/^/S["/; s/!.*/"]=/
6382p
6383g
6384s/^[^!]*!//
6385:repl
6386t repl
6387s/'"$ac_delim"'$//
6388t delim
6389:nl
6390h
6391s/\(.\{148\}\).*/\1/
6392t more1
6393s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6394p
6395n
6396b repl
6397:more1
6398s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6399p
6400g
6401s/.\{148\}//
6402t nl
6403:delim
6404h
6405s/\(.\{148\}\).*/\1/
6406t more2
6407s/["\\]/\\&/g; s/^/"/; s/$/"/
6408p
6409b
6410:more2
6411s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6412p
6413g
6414s/.\{148\}//
6415t delim
6416' <conf$$subs.awk | sed '
6417/^[^""]/{
6418  N
6419  s/\n//
6420}
6421' >>$CONFIG_STATUS || ac_write_fail=1
6422rm -f conf$$subs.awk
6423cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6424_ACAWK
6425cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6426  for (key in S) S_is_set[key] = 1
6427  FS = ""
6428
6429}
6430{
6431  line = $ 0
6432  nfields = split(line, field, "@")
6433  substed = 0
6434  len = length(field[1])
6435  for (i = 2; i < nfields; i++) {
6436    key = field[i]
6437    keylen = length(key)
6438    if (S_is_set[key]) {
6439      value = S[key]
6440      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6441      len += length(value) + length(field[++i])
6442      substed = 1
6443    } else
6444      len += 1 + keylen
6445  }
6446
6447  print line
6448}
6449
6450_ACAWK
6451_ACEOF
6452cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6453if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6454  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6455else
6456  cat
6457fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6458  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
6459$as_echo "$as_me: error: could not setup config files machinery" >&2;}
6460   { (exit 1); exit 1; }; }
6461_ACEOF
6462
6463# VPATH may cause trouble with some makes, so we remove $(srcdir),
6464# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6465# trailing colons and then remove the whole line if VPATH becomes empty
6466# (actually we leave an empty line to preserve line numbers).
6467if test "x$srcdir" = x.; then
6468  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
6469s/:*\$(srcdir):*/:/
6470s/:*\${srcdir}:*/:/
6471s/:*@srcdir@:*/:/
6472s/^\([^=]*=[	 ]*\):*/\1/
6473s/:*$//
6474s/^[^=]*=[	 ]*$//
6475}'
6476fi
6477
6478cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6479fi # test -n "$CONFIG_FILES"
6480
6481# Set up the scripts for CONFIG_HEADERS section.
6482# No need to generate them if there are no CONFIG_HEADERS.
6483# This happens for instance with `./config.status Makefile'.
6484if test -n "$CONFIG_HEADERS"; then
6485cat >"$tmp/defines.awk" <<\_ACAWK ||
6486BEGIN {
6487_ACEOF
6488
6489# Transform confdefs.h into an awk script `defines.awk', embedded as
6490# here-document in config.status, that substitutes the proper values into
6491# config.h.in to produce config.h.
6492
6493# Create a delimiter string that does not exist in confdefs.h, to ease
6494# handling of long lines.
6495ac_delim='%!_!# '
6496for ac_last_try in false false :; do
6497  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
6498  if test -z "$ac_t"; then
6499    break
6500  elif $ac_last_try; then
6501    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
6502$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
6503   { (exit 1); exit 1; }; }
6504  else
6505    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6506  fi
6507done
6508
6509# For the awk script, D is an array of macro values keyed by name,
6510# likewise P contains macro parameters if any.  Preserve backslash
6511# newline sequences.
6512
6513ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6514sed -n '
6515s/.\{148\}/&'"$ac_delim"'/g
6516t rset
6517:rset
6518s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
6519t def
6520d
6521:def
6522s/\\$//
6523t bsnl
6524s/["\\]/\\&/g
6525s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
6526D["\1"]=" \3"/p
6527s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
6528d
6529:bsnl
6530s/["\\]/\\&/g
6531s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
6532D["\1"]=" \3\\\\\\n"\\/p
6533t cont
6534s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6535t cont
6536d
6537:cont
6538n
6539s/.\{148\}/&'"$ac_delim"'/g
6540t clear
6541:clear
6542s/\\$//
6543t bsnlc
6544s/["\\]/\\&/g; s/^/"/; s/$/"/p
6545d
6546:bsnlc
6547s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6548b cont
6549' <confdefs.h | sed '
6550s/'"$ac_delim"'/"\\\
6551"/g' >>$CONFIG_STATUS || ac_write_fail=1
6552
6553cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6554  for (key in D) D_is_set[key] = 1
6555  FS = ""
6556}
6557/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6558  line = \$ 0
6559  split(line, arg, " ")
6560  if (arg[1] == "#") {
6561    defundef = arg[2]
6562    mac1 = arg[3]
6563  } else {
6564    defundef = substr(arg[1], 2)
6565    mac1 = arg[2]
6566  }
6567  split(mac1, mac2, "(") #)
6568  macro = mac2[1]
6569  prefix = substr(line, 1, index(line, defundef) - 1)
6570  if (D_is_set[macro]) {
6571    # Preserve the white space surrounding the "#".
6572    print prefix "define", macro P[macro] D[macro]
6573    next
6574  } else {
6575    # Replace #undef with comments.  This is necessary, for example,
6576    # in the case of _POSIX_SOURCE, which is predefined and required
6577    # on some systems where configure will not decide to define it.
6578    if (defundef == "undef") {
6579      print "/*", prefix defundef, macro, "*/"
6580      next
6581    }
6582  }
6583}
6584{ print }
6585_ACAWK
6586_ACEOF
6587cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6588  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
6589$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
6590   { (exit 1); exit 1; }; }
6591fi # test -n "$CONFIG_HEADERS"
6592
6593
6594eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
6595shift
6596for ac_tag
6597do
6598  case $ac_tag in
6599  :[FHLC]) ac_mode=$ac_tag; continue;;
6600  esac
6601  case $ac_mode$ac_tag in
6602  :[FHL]*:*);;
6603  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
6604$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
6605   { (exit 1); exit 1; }; };;
6606  :[FH]-) ac_tag=-:-;;
6607  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6608  esac
6609  ac_save_IFS=$IFS
6610  IFS=:
6611  set x $ac_tag
6612  IFS=$ac_save_IFS
6613  shift
6614  ac_file=$1
6615  shift
6616
6617  case $ac_mode in
6618  :L) ac_source=$1;;
6619  :[FH])
6620    ac_file_inputs=
6621    for ac_f
6622    do
6623      case $ac_f in
6624      -) ac_f="$tmp/stdin";;
6625      *) # Look for the file first in the build tree, then in the source tree
6626	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
6627	 # because $ac_f cannot contain `:'.
6628	 test -f "$ac_f" ||
6629	   case $ac_f in
6630	   [\\/$]*) false;;
6631	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6632	   esac ||
6633	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6634$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6635   { (exit 1); exit 1; }; };;
6636      esac
6637      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6638      ac_file_inputs="$ac_file_inputs '$ac_f'"
6639    done
6640
6641    # Let's still pretend it is `configure' which instantiates (i.e., don't
6642    # use $as_me), people would be surprised to read:
6643    #    /* config.h.  Generated by config.status.  */
6644    configure_input='Generated from '`
6645	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6646	`' by configure.'
6647    if test x"$ac_file" != x-; then
6648      configure_input="$ac_file.  $configure_input"
6649      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
6650$as_echo "$as_me: creating $ac_file" >&6;}
6651    fi
6652    # Neutralize special characters interpreted by sed in replacement strings.
6653    case $configure_input in #(
6654    *\&* | *\|* | *\\* )
6655       ac_sed_conf_input=`$as_echo "$configure_input" |
6656       sed 's/[\\\\&|]/\\\\&/g'`;; #(
6657    *) ac_sed_conf_input=$configure_input;;
6658    esac
6659
6660    case $ac_tag in
6661    *:-:* | *:-) cat >"$tmp/stdin" \
6662      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6663$as_echo "$as_me: error: could not create $ac_file" >&2;}
6664   { (exit 1); exit 1; }; } ;;
6665    esac
6666    ;;
6667  esac
6668
6669  ac_dir=`$as_dirname -- "$ac_file" ||
6670$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6671	 X"$ac_file" : 'X\(//\)[^/]' \| \
6672	 X"$ac_file" : 'X\(//\)$' \| \
6673	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6674$as_echo X"$ac_file" |
6675    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6676	    s//\1/
6677	    q
6678	  }
6679	  /^X\(\/\/\)[^/].*/{
6680	    s//\1/
6681	    q
6682	  }
6683	  /^X\(\/\/\)$/{
6684	    s//\1/
6685	    q
6686	  }
6687	  /^X\(\/\).*/{
6688	    s//\1/
6689	    q
6690	  }
6691	  s/.*/./; q'`
6692  { as_dir="$ac_dir"
6693  case $as_dir in #(
6694  -*) as_dir=./$as_dir;;
6695  esac
6696  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6697    as_dirs=
6698    while :; do
6699      case $as_dir in #(
6700      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6701      *) as_qdir=$as_dir;;
6702      esac
6703      as_dirs="'$as_qdir' $as_dirs"
6704      as_dir=`$as_dirname -- "$as_dir" ||
6705$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6706	 X"$as_dir" : 'X\(//\)[^/]' \| \
6707	 X"$as_dir" : 'X\(//\)$' \| \
6708	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6709$as_echo X"$as_dir" |
6710    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6711	    s//\1/
6712	    q
6713	  }
6714	  /^X\(\/\/\)[^/].*/{
6715	    s//\1/
6716	    q
6717	  }
6718	  /^X\(\/\/\)$/{
6719	    s//\1/
6720	    q
6721	  }
6722	  /^X\(\/\).*/{
6723	    s//\1/
6724	    q
6725	  }
6726	  s/.*/./; q'`
6727      test -d "$as_dir" && break
6728    done
6729    test -z "$as_dirs" || eval "mkdir $as_dirs"
6730  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6731$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6732   { (exit 1); exit 1; }; }; }
6733  ac_builddir=.
6734
6735case "$ac_dir" in
6736.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6737*)
6738  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6739  # A ".." for each directory in $ac_dir_suffix.
6740  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6741  case $ac_top_builddir_sub in
6742  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6743  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6744  esac ;;
6745esac
6746ac_abs_top_builddir=$ac_pwd
6747ac_abs_builddir=$ac_pwd$ac_dir_suffix
6748# for backward compatibility:
6749ac_top_builddir=$ac_top_build_prefix
6750
6751case $srcdir in
6752  .)  # We are building in place.
6753    ac_srcdir=.
6754    ac_top_srcdir=$ac_top_builddir_sub
6755    ac_abs_top_srcdir=$ac_pwd ;;
6756  [\\/]* | ?:[\\/]* )  # Absolute name.
6757    ac_srcdir=$srcdir$ac_dir_suffix;
6758    ac_top_srcdir=$srcdir
6759    ac_abs_top_srcdir=$srcdir ;;
6760  *) # Relative name.
6761    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6762    ac_top_srcdir=$ac_top_build_prefix$srcdir
6763    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6764esac
6765ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6766
6767
6768  case $ac_mode in
6769  :F)
6770  #
6771  # CONFIG_FILE
6772  #
6773
6774  case $INSTALL in
6775  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6776  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6777  esac
6778  ac_MKDIR_P=$MKDIR_P
6779  case $MKDIR_P in
6780  [\\/$]* | ?:[\\/]* ) ;;
6781  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6782  esac
6783_ACEOF
6784
6785cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6786# If the template does not know about datarootdir, expand it.
6787# FIXME: This hack should be removed a few years after 2.60.
6788ac_datarootdir_hack=; ac_datarootdir_seen=
6789
6790ac_sed_dataroot='
6791/datarootdir/ {
6792  p
6793  q
6794}
6795/@datadir@/p
6796/@docdir@/p
6797/@infodir@/p
6798/@localedir@/p
6799/@mandir@/p
6800'
6801case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6802*datarootdir*) ac_datarootdir_seen=yes;;
6803*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6804  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6805$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6806_ACEOF
6807cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6808  ac_datarootdir_hack='
6809  s&@datadir@&$datadir&g
6810  s&@docdir@&$docdir&g
6811  s&@infodir@&$infodir&g
6812  s&@localedir@&$localedir&g
6813  s&@mandir@&$mandir&g
6814    s&\\\${datarootdir}&$datarootdir&g' ;;
6815esac
6816_ACEOF
6817
6818# Neutralize VPATH when `$srcdir' = `.'.
6819# Shell code in configure.ac might set extrasub.
6820# FIXME: do we really want to maintain this feature?
6821cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6822ac_sed_extra="$ac_vpsub
6823$extrasub
6824_ACEOF
6825cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6826:t
6827/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6828s|@configure_input@|$ac_sed_conf_input|;t t
6829s&@top_builddir@&$ac_top_builddir_sub&;t t
6830s&@top_build_prefix@&$ac_top_build_prefix&;t t
6831s&@srcdir@&$ac_srcdir&;t t
6832s&@abs_srcdir@&$ac_abs_srcdir&;t t
6833s&@top_srcdir@&$ac_top_srcdir&;t t
6834s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6835s&@builddir@&$ac_builddir&;t t
6836s&@abs_builddir@&$ac_abs_builddir&;t t
6837s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6838s&@INSTALL@&$ac_INSTALL&;t t
6839s&@MKDIR_P@&$ac_MKDIR_P&;t t
6840$ac_datarootdir_hack
6841"
6842eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6843  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6844$as_echo "$as_me: error: could not create $ac_file" >&2;}
6845   { (exit 1); exit 1; }; }
6846
6847test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6848  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6849  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6850  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6851which seems to be undefined.  Please make sure it is defined." >&5
6852$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6853which seems to be undefined.  Please make sure it is defined." >&2;}
6854
6855  rm -f "$tmp/stdin"
6856  case $ac_file in
6857  -) cat "$tmp/out" && rm -f "$tmp/out";;
6858  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6859  esac \
6860  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6861$as_echo "$as_me: error: could not create $ac_file" >&2;}
6862   { (exit 1); exit 1; }; }
6863 ;;
6864  :H)
6865  #
6866  # CONFIG_HEADER
6867  #
6868  if test x"$ac_file" != x-; then
6869    {
6870      $as_echo "/* $configure_input  */" \
6871      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6872    } >"$tmp/config.h" \
6873      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6874$as_echo "$as_me: error: could not create $ac_file" >&2;}
6875   { (exit 1); exit 1; }; }
6876    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6877      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6878$as_echo "$as_me: $ac_file is unchanged" >&6;}
6879    else
6880      rm -f "$ac_file"
6881      mv "$tmp/config.h" "$ac_file" \
6882	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6883$as_echo "$as_me: error: could not create $ac_file" >&2;}
6884   { (exit 1); exit 1; }; }
6885    fi
6886  else
6887    $as_echo "/* $configure_input  */" \
6888      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6889      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
6890$as_echo "$as_me: error: could not create -" >&2;}
6891   { (exit 1); exit 1; }; }
6892  fi
6893# Compute "$ac_file"'s index in $config_headers.
6894_am_arg="$ac_file"
6895_am_stamp_count=1
6896for _am_header in $config_headers :; do
6897  case $_am_header in
6898    $_am_arg | $_am_arg:* )
6899      break ;;
6900    * )
6901      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6902  esac
6903done
6904echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6905$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6906	 X"$_am_arg" : 'X\(//\)[^/]' \| \
6907	 X"$_am_arg" : 'X\(//\)$' \| \
6908	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6909$as_echo X"$_am_arg" |
6910    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6911	    s//\1/
6912	    q
6913	  }
6914	  /^X\(\/\/\)[^/].*/{
6915	    s//\1/
6916	    q
6917	  }
6918	  /^X\(\/\/\)$/{
6919	    s//\1/
6920	    q
6921	  }
6922	  /^X\(\/\).*/{
6923	    s//\1/
6924	    q
6925	  }
6926	  s/.*/./; q'`/stamp-h$_am_stamp_count
6927 ;;
6928
6929  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
6930$as_echo "$as_me: executing $ac_file commands" >&6;}
6931 ;;
6932  esac
6933
6934
6935  case $ac_file$ac_mode in
6936    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6937  # Autoconf 2.62 quotes --file arguments for eval, but not when files
6938  # are listed without --file.  Let's play safe and only enable the eval
6939  # if we detect the quoting.
6940  case $CONFIG_FILES in
6941  *\'*) eval set x "$CONFIG_FILES" ;;
6942  *)   set x $CONFIG_FILES ;;
6943  esac
6944  shift
6945  for mf
6946  do
6947    # Strip MF so we end up with the name of the file.
6948    mf=`echo "$mf" | sed -e 's/:.*$//'`
6949    # Check whether this is an Automake generated Makefile or not.
6950    # We used to match only the files named `Makefile.in', but
6951    # some people rename them; so instead we look at the file content.
6952    # Grep'ing the first line is not enough: some people post-process
6953    # each Makefile.in and add a new line on top of each file to say so.
6954    # Grep'ing the whole file is not good either: AIX grep has a line
6955    # limit of 2048, but all sed's we know have understand at least 4000.
6956    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6957      dirpart=`$as_dirname -- "$mf" ||
6958$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6959	 X"$mf" : 'X\(//\)[^/]' \| \
6960	 X"$mf" : 'X\(//\)$' \| \
6961	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6962$as_echo X"$mf" |
6963    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6964	    s//\1/
6965	    q
6966	  }
6967	  /^X\(\/\/\)[^/].*/{
6968	    s//\1/
6969	    q
6970	  }
6971	  /^X\(\/\/\)$/{
6972	    s//\1/
6973	    q
6974	  }
6975	  /^X\(\/\).*/{
6976	    s//\1/
6977	    q
6978	  }
6979	  s/.*/./; q'`
6980    else
6981      continue
6982    fi
6983    # Extract the definition of DEPDIR, am__include, and am__quote
6984    # from the Makefile without running `make'.
6985    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6986    test -z "$DEPDIR" && continue
6987    am__include=`sed -n 's/^am__include = //p' < "$mf"`
6988    test -z "am__include" && continue
6989    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6990    # When using ansi2knr, U may be empty or an underscore; expand it
6991    U=`sed -n 's/^U = //p' < "$mf"`
6992    # Find all dependency output files, they are included files with
6993    # $(DEPDIR) in their names.  We invoke sed twice because it is the
6994    # simplest approach to changing $(DEPDIR) to its actual value in the
6995    # expansion.
6996    for file in `sed -n "
6997      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6998	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6999      # Make sure the directory exists.
7000      test -f "$dirpart/$file" && continue
7001      fdir=`$as_dirname -- "$file" ||
7002$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7003	 X"$file" : 'X\(//\)[^/]' \| \
7004	 X"$file" : 'X\(//\)$' \| \
7005	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7006$as_echo X"$file" |
7007    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7008	    s//\1/
7009	    q
7010	  }
7011	  /^X\(\/\/\)[^/].*/{
7012	    s//\1/
7013	    q
7014	  }
7015	  /^X\(\/\/\)$/{
7016	    s//\1/
7017	    q
7018	  }
7019	  /^X\(\/\).*/{
7020	    s//\1/
7021	    q
7022	  }
7023	  s/.*/./; q'`
7024      { as_dir=$dirpart/$fdir
7025  case $as_dir in #(
7026  -*) as_dir=./$as_dir;;
7027  esac
7028  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7029    as_dirs=
7030    while :; do
7031      case $as_dir in #(
7032      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7033      *) as_qdir=$as_dir;;
7034      esac
7035      as_dirs="'$as_qdir' $as_dirs"
7036      as_dir=`$as_dirname -- "$as_dir" ||
7037$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7038	 X"$as_dir" : 'X\(//\)[^/]' \| \
7039	 X"$as_dir" : 'X\(//\)$' \| \
7040	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7041$as_echo X"$as_dir" |
7042    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7043	    s//\1/
7044	    q
7045	  }
7046	  /^X\(\/\/\)[^/].*/{
7047	    s//\1/
7048	    q
7049	  }
7050	  /^X\(\/\/\)$/{
7051	    s//\1/
7052	    q
7053	  }
7054	  /^X\(\/\).*/{
7055	    s//\1/
7056	    q
7057	  }
7058	  s/.*/./; q'`
7059      test -d "$as_dir" && break
7060    done
7061    test -z "$as_dirs" || eval "mkdir $as_dirs"
7062  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7063$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
7064   { (exit 1); exit 1; }; }; }
7065      # echo "creating $dirpart/$file"
7066      echo '# dummy' > "$dirpart/$file"
7067    done
7068  done
7069}
7070 ;;
7071
7072  esac
7073done # for ac_tag
7074
7075
7076{ (exit 0); exit 0; }
7077_ACEOF
7078chmod +x $CONFIG_STATUS
7079ac_clean_files=$ac_clean_files_save
7080
7081test $ac_write_fail = 0 ||
7082  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
7083$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
7084   { (exit 1); exit 1; }; }
7085
7086
7087# configure is writing to config.log, and then calls config.status.
7088# config.status does its own redirection, appending to config.log.
7089# Unfortunately, on DOS this fails, as config.log is still kept open
7090# by configure, so config.status won't be able to write to it; its
7091# output is simply discarded.  So we exec the FD to /dev/null,
7092# effectively closing config.log, so it can be properly (re)opened and
7093# appended to by config.status.  When coming back to configure, we
7094# need to make the FD available again.
7095if test "$no_create" != yes; then
7096  ac_cs_success=:
7097  ac_config_status_args=
7098  test "$silent" = yes &&
7099    ac_config_status_args="$ac_config_status_args --quiet"
7100  exec 5>/dev/null
7101  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7102  exec 5>>config.log
7103  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7104  # would make configure fail if this is the last instruction.
7105  $ac_cs_success || { (exit 1); exit 1; }
7106fi
7107if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7108  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7109$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7110fi
7111
7112