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