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