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