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