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