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