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