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