1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for mdds 1.7.0.
4#
5# Report bugs to <kohei.yoshida@gmail.com>.
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"
201  if (eval "$as_required") 2>/dev/null; then :
202  as_have_required=yes
203else
204  as_have_required=no
205fi
206  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
207
208else
209  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
210as_found=false
211for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
212do
213  IFS=$as_save_IFS
214  test -z "$as_dir" && as_dir=.
215  as_found=:
216  case $as_dir in #(
217	 /*)
218	   for as_base in sh bash ksh sh5; do
219	     # Try only shells that exist, to save several forks.
220	     as_shell=$as_dir/$as_base
221	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
223  CONFIG_SHELL=$as_shell as_have_required=yes
224		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
225  break 2
226fi
227fi
228	   done;;
229       esac
230  as_found=false
231done
232$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
233	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
234  CONFIG_SHELL=$SHELL as_have_required=yes
235fi; }
236IFS=$as_save_IFS
237
238
239      if test "x$CONFIG_SHELL" != x; then :
240  export CONFIG_SHELL
241             # We cannot yet assume a decent shell, so we have to provide a
242# neutralization value for shells without unset; and this also
243# works around shells that cannot unset nonexistent variables.
244# Preserve -v and -x to the replacement shell.
245BASH_ENV=/dev/null
246ENV=/dev/null
247(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248case $- in # ((((
249  *v*x* | *x*v* ) as_opts=-vx ;;
250  *v* ) as_opts=-v ;;
251  *x* ) as_opts=-x ;;
252  * ) as_opts= ;;
253esac
254exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255# Admittedly, this is quite paranoid, since all the known shells bail
256# out after a failed `exec'.
257$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
258exit 255
259fi
260
261    if test x$as_have_required = xno; then :
262  $as_echo "$0: This script requires a shell more modern than all"
263  $as_echo "$0: the shells that I found on your system."
264  if test x${ZSH_VERSION+set} = xset ; then
265    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267  else
268    $as_echo "$0: Please tell bug-autoconf@gnu.org and
269$0: kohei.yoshida@gmail.com about your system, including
270$0: any error possibly output before this message. Then
271$0: install a modern shell, or manually run the script
272$0: under such a shell if you do have one."
273  fi
274  exit 1
275fi
276fi
277fi
278SHELL=${CONFIG_SHELL-/bin/sh}
279export SHELL
280# Unset more variables known to interfere with behavior of common tools.
281CLICOLOR_FORCE= GREP_OPTIONS=
282unset CLICOLOR_FORCE GREP_OPTIONS
283
284## --------------------- ##
285## M4sh Shell Functions. ##
286## --------------------- ##
287# as_fn_unset VAR
288# ---------------
289# Portably unset VAR.
290as_fn_unset ()
291{
292  { eval $1=; unset $1;}
293}
294as_unset=as_fn_unset
295
296# as_fn_set_status STATUS
297# -----------------------
298# Set $? to STATUS, without forking.
299as_fn_set_status ()
300{
301  return $1
302} # as_fn_set_status
303
304# as_fn_exit STATUS
305# -----------------
306# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
307as_fn_exit ()
308{
309  set +e
310  as_fn_set_status $1
311  exit $1
312} # as_fn_exit
313
314# as_fn_mkdir_p
315# -------------
316# Create "$as_dir" as a directory, including parents if necessary.
317as_fn_mkdir_p ()
318{
319
320  case $as_dir in #(
321  -*) as_dir=./$as_dir;;
322  esac
323  test -d "$as_dir" || eval $as_mkdir_p || {
324    as_dirs=
325    while :; do
326      case $as_dir in #(
327      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328      *) as_qdir=$as_dir;;
329      esac
330      as_dirs="'$as_qdir' $as_dirs"
331      as_dir=`$as_dirname -- "$as_dir" ||
332$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
333	 X"$as_dir" : 'X\(//\)[^/]' \| \
334	 X"$as_dir" : 'X\(//\)$' \| \
335	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
336$as_echo X"$as_dir" |
337    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
338	    s//\1/
339	    q
340	  }
341	  /^X\(\/\/\)[^/].*/{
342	    s//\1/
343	    q
344	  }
345	  /^X\(\/\/\)$/{
346	    s//\1/
347	    q
348	  }
349	  /^X\(\/\).*/{
350	    s//\1/
351	    q
352	  }
353	  s/.*/./; q'`
354      test -d "$as_dir" && break
355    done
356    test -z "$as_dirs" || eval "mkdir $as_dirs"
357  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
358
359
360} # as_fn_mkdir_p
361
362# as_fn_executable_p FILE
363# -----------------------
364# Test if FILE is an executable regular file.
365as_fn_executable_p ()
366{
367  test -f "$1" && test -x "$1"
368} # as_fn_executable_p
369# as_fn_append VAR VALUE
370# ----------------------
371# Append the text in VALUE to the end of the definition contained in VAR. Take
372# advantage of any shell optimizations that allow amortized linear growth over
373# repeated appends, instead of the typical quadratic growth present in naive
374# implementations.
375if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
376  eval 'as_fn_append ()
377  {
378    eval $1+=\$2
379  }'
380else
381  as_fn_append ()
382  {
383    eval $1=\$$1\$2
384  }
385fi # as_fn_append
386
387# as_fn_arith ARG...
388# ------------------
389# Perform arithmetic evaluation on the ARGs, and store the result in the
390# global $as_val. Take advantage of shells that can avoid forks. The arguments
391# must be portable across $(()) and expr.
392if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
393  eval 'as_fn_arith ()
394  {
395    as_val=$(( $* ))
396  }'
397else
398  as_fn_arith ()
399  {
400    as_val=`expr "$@" || test $? -eq 1`
401  }
402fi # as_fn_arith
403
404
405# as_fn_error STATUS ERROR [LINENO LOG_FD]
406# ----------------------------------------
407# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
408# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
409# script with STATUS, using 1 if that was 0.
410as_fn_error ()
411{
412  as_status=$1; test $as_status -eq 0 && as_status=1
413  if test "$4"; then
414    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
415    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
416  fi
417  $as_echo "$as_me: error: $2" >&2
418  as_fn_exit $as_status
419} # as_fn_error
420
421if expr a : '\(a\)' >/dev/null 2>&1 &&
422   test "X`expr 00001 : '.*\(...\)'`" = X001; then
423  as_expr=expr
424else
425  as_expr=false
426fi
427
428if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
429  as_basename=basename
430else
431  as_basename=false
432fi
433
434if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
435  as_dirname=dirname
436else
437  as_dirname=false
438fi
439
440as_me=`$as_basename -- "$0" ||
441$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
442	 X"$0" : 'X\(//\)$' \| \
443	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
444$as_echo X/"$0" |
445    sed '/^.*\/\([^/][^/]*\)\/*$/{
446	    s//\1/
447	    q
448	  }
449	  /^X\/\(\/\/\)$/{
450	    s//\1/
451	    q
452	  }
453	  /^X\/\(\/\).*/{
454	    s//\1/
455	    q
456	  }
457	  s/.*/./; q'`
458
459# Avoid depending upon Character Ranges.
460as_cr_letters='abcdefghijklmnopqrstuvwxyz'
461as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
462as_cr_Letters=$as_cr_letters$as_cr_LETTERS
463as_cr_digits='0123456789'
464as_cr_alnum=$as_cr_Letters$as_cr_digits
465
466
467  as_lineno_1=$LINENO as_lineno_1a=$LINENO
468  as_lineno_2=$LINENO as_lineno_2a=$LINENO
469  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
470  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
471  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
472  sed -n '
473    p
474    /[$]LINENO/=
475  ' <$as_myself |
476    sed '
477      s/[$]LINENO.*/&-/
478      t lineno
479      b
480      :lineno
481      N
482      :loop
483      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
484      t loop
485      s/-\n.*//
486    ' >$as_me.lineno &&
487  chmod +x "$as_me.lineno" ||
488    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
489
490  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
491  # already done that, so ensure we don't try to do so again and fall
492  # in an infinite loop.  This has already happened in practice.
493  _as_can_reexec=no; export _as_can_reexec
494  # Don't try to exec as it changes $[0], causing all sort of problems
495  # (the dirname of $[0] is not the place where we might find the
496  # original and so on.  Autoconf is especially sensitive to this).
497  . "./$as_me.lineno"
498  # Exit status is that of the last command.
499  exit
500}
501
502ECHO_C= ECHO_N= ECHO_T=
503case `echo -n x` in #(((((
504-n*)
505  case `echo 'xy\c'` in
506  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
507  xy)  ECHO_C='\c';;
508  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
509       ECHO_T='	';;
510  esac;;
511*)
512  ECHO_N='-n';;
513esac
514
515rm -f conf$$ conf$$.exe conf$$.file
516if test -d conf$$.dir; then
517  rm -f conf$$.dir/conf$$.file
518else
519  rm -f conf$$.dir
520  mkdir conf$$.dir 2>/dev/null
521fi
522if (echo >conf$$.file) 2>/dev/null; then
523  if ln -s conf$$.file conf$$ 2>/dev/null; then
524    as_ln_s='ln -s'
525    # ... but there are two gotchas:
526    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
527    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
528    # In both cases, we have to default to `cp -pR'.
529    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
530      as_ln_s='cp -pR'
531  elif ln conf$$.file conf$$ 2>/dev/null; then
532    as_ln_s=ln
533  else
534    as_ln_s='cp -pR'
535  fi
536else
537  as_ln_s='cp -pR'
538fi
539rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
540rmdir conf$$.dir 2>/dev/null
541
542if mkdir -p . 2>/dev/null; then
543  as_mkdir_p='mkdir -p "$as_dir"'
544else
545  test -d ./-p && rmdir ./-p
546  as_mkdir_p=false
547fi
548
549as_test_x='test -x'
550as_executable_p=as_fn_executable_p
551
552# Sed expression to map a string onto a valid CPP name.
553as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
554
555# Sed expression to map a string onto a valid variable name.
556as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557
558
559test -n "$DJDIR" || exec 7<&0 </dev/null
560exec 6>&1
561
562# Name of the host.
563# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
564# so uname gets run too.
565ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
566
567#
568# Initializations.
569#
570ac_default_prefix=/usr/local
571ac_clean_files=
572ac_config_libobj_dir=.
573LIBOBJS=
574cross_compiling=no
575subdirs=
576MFLAGS=
577MAKEFLAGS=
578
579# Identity of this package.
580PACKAGE_NAME='mdds'
581PACKAGE_TARNAME='mdds'
582PACKAGE_VERSION='1.7.0'
583PACKAGE_STRING='mdds 1.7.0'
584PACKAGE_BUGREPORT='kohei.yoshida@gmail.com'
585PACKAGE_URL=''
586
587ac_subst_vars='am__EXEEXT_FALSE
588am__EXEEXT_TRUE
589LTLIBOBJS
590LIBOBJS
591CXXFLAGS_UNITTESTS
592BUILD_DOCS_FALSE
593BUILD_DOCS_TRUE
594SPHINX
595DOXYGEN
596RUN_MEMORY_TESTS_FALSE
597RUN_MEMORY_TESTS_TRUE
598VALGRIND
599RUNTEST_BIN
600EXPECT
601GDB
602am__fastdepCXX_FALSE
603am__fastdepCXX_TRUE
604CXXDEPMODE
605am__nodep
606AMDEPBACKSLASH
607AMDEP_FALSE
608AMDEP_TRUE
609am__include
610DEPDIR
611OBJEXT
612EXEEXT
613ac_ct_CXX
614LDFLAGS
615CXXFLAGS
616CXX
617CPPFLAGS_NODEBUG
618CPPFLAGS
619QUICKCHECKDIR
620MISCDIR
621INCDIR
622SRCDIR
623OBJDIR
624API_VERSION
625MAINT
626MAINTAINER_MODE_FALSE
627MAINTAINER_MODE_TRUE
628AM_BACKSLASH
629AM_DEFAULT_VERBOSITY
630AM_DEFAULT_V
631AM_V
632am__untar
633am__tar
634AMTAR
635am__leading_dot
636SET_MAKE
637AWK
638mkdir_p
639MKDIR_P
640INSTALL_STRIP_PROGRAM
641STRIP
642install_sh
643MAKEINFO
644AUTOHEADER
645AUTOMAKE
646AUTOCONF
647ACLOCAL
648VERSION
649PACKAGE
650CYGPATH_W
651am__isrc
652INSTALL_DATA
653INSTALL_SCRIPT
654INSTALL_PROGRAM
655target_alias
656host_alias
657build_alias
658LIBS
659ECHO_T
660ECHO_N
661ECHO_C
662DEFS
663mandir
664localedir
665libdir
666psdir
667pdfdir
668dvidir
669htmldir
670infodir
671docdir
672oldincludedir
673includedir
674runstatedir
675localstatedir
676sharedstatedir
677sysconfdir
678datadir
679datarootdir
680libexecdir
681sbindir
682bindir
683program_transform_name
684prefix
685exec_prefix
686PACKAGE_URL
687PACKAGE_BUGREPORT
688PACKAGE_STRING
689PACKAGE_VERSION
690PACKAGE_TARNAME
691PACKAGE_NAME
692PATH_SEPARATOR
693SHELL
694am__quote'
695ac_subst_files=''
696ac_user_opts='
697enable_option_checking
698enable_silent_rules
699enable_maintainer_mode
700enable_debug_stdcxx
701enable_release_tests
702enable_gcov
703enable_loop_unrolling
704enable_openmp
705enable_sanitizer_coverage
706enable_dependency_tracking
707enable_memory_tests
708enable_docs
709enable_werror
710'
711      ac_precious_vars='build_alias
712host_alias
713target_alias
714CXX
715CXXFLAGS
716LDFLAGS
717LIBS
718CPPFLAGS
719CCC'
720
721
722# Initialize some variables set by options.
723ac_init_help=
724ac_init_version=false
725ac_unrecognized_opts=
726ac_unrecognized_sep=
727# The variables have the same names as the options, with
728# dashes changed to underlines.
729cache_file=/dev/null
730exec_prefix=NONE
731no_create=
732no_recursion=
733prefix=NONE
734program_prefix=NONE
735program_suffix=NONE
736program_transform_name=s,x,x,
737silent=
738site=
739srcdir=
740verbose=
741x_includes=NONE
742x_libraries=NONE
743
744# Installation directory options.
745# These are left unexpanded so users can "make install exec_prefix=/foo"
746# and all the variables that are supposed to be based on exec_prefix
747# by default will actually change.
748# Use braces instead of parens because sh, perl, etc. also accept them.
749# (The list follows the same order as the GNU Coding Standards.)
750bindir='${exec_prefix}/bin'
751sbindir='${exec_prefix}/sbin'
752libexecdir='${exec_prefix}/libexec'
753datarootdir='${prefix}/share'
754datadir='${datarootdir}'
755sysconfdir='${prefix}/etc'
756sharedstatedir='${prefix}/com'
757localstatedir='${prefix}/var'
758runstatedir='${localstatedir}/run'
759includedir='${prefix}/include'
760oldincludedir='/usr/include'
761docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
762infodir='${datarootdir}/info'
763htmldir='${docdir}'
764dvidir='${docdir}'
765pdfdir='${docdir}'
766psdir='${docdir}'
767libdir='${exec_prefix}/lib'
768localedir='${datarootdir}/locale'
769mandir='${datarootdir}/man'
770
771ac_prev=
772ac_dashdash=
773for ac_option
774do
775  # If the previous option needs an argument, assign it.
776  if test -n "$ac_prev"; then
777    eval $ac_prev=\$ac_option
778    ac_prev=
779    continue
780  fi
781
782  case $ac_option in
783  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
784  *=)   ac_optarg= ;;
785  *)    ac_optarg=yes ;;
786  esac
787
788  # Accept the important Cygnus configure options, so we can diagnose typos.
789
790  case $ac_dashdash$ac_option in
791  --)
792    ac_dashdash=yes ;;
793
794  -bindir | --bindir | --bindi | --bind | --bin | --bi)
795    ac_prev=bindir ;;
796  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
797    bindir=$ac_optarg ;;
798
799  -build | --build | --buil | --bui | --bu)
800    ac_prev=build_alias ;;
801  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
802    build_alias=$ac_optarg ;;
803
804  -cache-file | --cache-file | --cache-fil | --cache-fi \
805  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
806    ac_prev=cache_file ;;
807  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
808  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
809    cache_file=$ac_optarg ;;
810
811  --config-cache | -C)
812    cache_file=config.cache ;;
813
814  -datadir | --datadir | --datadi | --datad)
815    ac_prev=datadir ;;
816  -datadir=* | --datadir=* | --datadi=* | --datad=*)
817    datadir=$ac_optarg ;;
818
819  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
820  | --dataroo | --dataro | --datar)
821    ac_prev=datarootdir ;;
822  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
823  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
824    datarootdir=$ac_optarg ;;
825
826  -disable-* | --disable-*)
827    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
828    # Reject names that are not valid shell variable names.
829    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
830      as_fn_error $? "invalid feature name: $ac_useropt"
831    ac_useropt_orig=$ac_useropt
832    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
833    case $ac_user_opts in
834      *"
835"enable_$ac_useropt"
836"*) ;;
837      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
838	 ac_unrecognized_sep=', ';;
839    esac
840    eval enable_$ac_useropt=no ;;
841
842  -docdir | --docdir | --docdi | --doc | --do)
843    ac_prev=docdir ;;
844  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
845    docdir=$ac_optarg ;;
846
847  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
848    ac_prev=dvidir ;;
849  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
850    dvidir=$ac_optarg ;;
851
852  -enable-* | --enable-*)
853    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
854    # Reject names that are not valid shell variable names.
855    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
856      as_fn_error $? "invalid feature name: $ac_useropt"
857    ac_useropt_orig=$ac_useropt
858    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
859    case $ac_user_opts in
860      *"
861"enable_$ac_useropt"
862"*) ;;
863      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
864	 ac_unrecognized_sep=', ';;
865    esac
866    eval enable_$ac_useropt=\$ac_optarg ;;
867
868  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
869  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
870  | --exec | --exe | --ex)
871    ac_prev=exec_prefix ;;
872  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
873  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
874  | --exec=* | --exe=* | --ex=*)
875    exec_prefix=$ac_optarg ;;
876
877  -gas | --gas | --ga | --g)
878    # Obsolete; use --with-gas.
879    with_gas=yes ;;
880
881  -help | --help | --hel | --he | -h)
882    ac_init_help=long ;;
883  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
884    ac_init_help=recursive ;;
885  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
886    ac_init_help=short ;;
887
888  -host | --host | --hos | --ho)
889    ac_prev=host_alias ;;
890  -host=* | --host=* | --hos=* | --ho=*)
891    host_alias=$ac_optarg ;;
892
893  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
894    ac_prev=htmldir ;;
895  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
896  | --ht=*)
897    htmldir=$ac_optarg ;;
898
899  -includedir | --includedir | --includedi | --included | --include \
900  | --includ | --inclu | --incl | --inc)
901    ac_prev=includedir ;;
902  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
903  | --includ=* | --inclu=* | --incl=* | --inc=*)
904    includedir=$ac_optarg ;;
905
906  -infodir | --infodir | --infodi | --infod | --info | --inf)
907    ac_prev=infodir ;;
908  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
909    infodir=$ac_optarg ;;
910
911  -libdir | --libdir | --libdi | --libd)
912    ac_prev=libdir ;;
913  -libdir=* | --libdir=* | --libdi=* | --libd=*)
914    libdir=$ac_optarg ;;
915
916  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
917  | --libexe | --libex | --libe)
918    ac_prev=libexecdir ;;
919  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
920  | --libexe=* | --libex=* | --libe=*)
921    libexecdir=$ac_optarg ;;
922
923  -localedir | --localedir | --localedi | --localed | --locale)
924    ac_prev=localedir ;;
925  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
926    localedir=$ac_optarg ;;
927
928  -localstatedir | --localstatedir | --localstatedi | --localstated \
929  | --localstate | --localstat | --localsta | --localst | --locals)
930    ac_prev=localstatedir ;;
931  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
932  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
933    localstatedir=$ac_optarg ;;
934
935  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
936    ac_prev=mandir ;;
937  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
938    mandir=$ac_optarg ;;
939
940  -nfp | --nfp | --nf)
941    # Obsolete; use --without-fp.
942    with_fp=no ;;
943
944  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
945  | --no-cr | --no-c | -n)
946    no_create=yes ;;
947
948  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
949  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
950    no_recursion=yes ;;
951
952  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
953  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
954  | --oldin | --oldi | --old | --ol | --o)
955    ac_prev=oldincludedir ;;
956  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
957  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
958  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
959    oldincludedir=$ac_optarg ;;
960
961  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
962    ac_prev=prefix ;;
963  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
964    prefix=$ac_optarg ;;
965
966  -program-prefix | --program-prefix | --program-prefi | --program-pref \
967  | --program-pre | --program-pr | --program-p)
968    ac_prev=program_prefix ;;
969  -program-prefix=* | --program-prefix=* | --program-prefi=* \
970  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
971    program_prefix=$ac_optarg ;;
972
973  -program-suffix | --program-suffix | --program-suffi | --program-suff \
974  | --program-suf | --program-su | --program-s)
975    ac_prev=program_suffix ;;
976  -program-suffix=* | --program-suffix=* | --program-suffi=* \
977  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
978    program_suffix=$ac_optarg ;;
979
980  -program-transform-name | --program-transform-name \
981  | --program-transform-nam | --program-transform-na \
982  | --program-transform-n | --program-transform- \
983  | --program-transform | --program-transfor \
984  | --program-transfo | --program-transf \
985  | --program-trans | --program-tran \
986  | --progr-tra | --program-tr | --program-t)
987    ac_prev=program_transform_name ;;
988  -program-transform-name=* | --program-transform-name=* \
989  | --program-transform-nam=* | --program-transform-na=* \
990  | --program-transform-n=* | --program-transform-=* \
991  | --program-transform=* | --program-transfor=* \
992  | --program-transfo=* | --program-transf=* \
993  | --program-trans=* | --program-tran=* \
994  | --progr-tra=* | --program-tr=* | --program-t=*)
995    program_transform_name=$ac_optarg ;;
996
997  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
998    ac_prev=pdfdir ;;
999  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1000    pdfdir=$ac_optarg ;;
1001
1002  -psdir | --psdir | --psdi | --psd | --ps)
1003    ac_prev=psdir ;;
1004  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1005    psdir=$ac_optarg ;;
1006
1007  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1008  | -silent | --silent | --silen | --sile | --sil)
1009    silent=yes ;;
1010
1011  -runstatedir | --runstatedir | --runstatedi | --runstated \
1012  | --runstate | --runstat | --runsta | --runst | --runs \
1013  | --run | --ru | --r)
1014    ac_prev=runstatedir ;;
1015  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1016  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1017  | --run=* | --ru=* | --r=*)
1018    runstatedir=$ac_optarg ;;
1019
1020  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1021    ac_prev=sbindir ;;
1022  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1023  | --sbi=* | --sb=*)
1024    sbindir=$ac_optarg ;;
1025
1026  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1027  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1028  | --sharedst | --shareds | --shared | --share | --shar \
1029  | --sha | --sh)
1030    ac_prev=sharedstatedir ;;
1031  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1032  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1033  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1034  | --sha=* | --sh=*)
1035    sharedstatedir=$ac_optarg ;;
1036
1037  -site | --site | --sit)
1038    ac_prev=site ;;
1039  -site=* | --site=* | --sit=*)
1040    site=$ac_optarg ;;
1041
1042  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1043    ac_prev=srcdir ;;
1044  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1045    srcdir=$ac_optarg ;;
1046
1047  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1048  | --syscon | --sysco | --sysc | --sys | --sy)
1049    ac_prev=sysconfdir ;;
1050  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1051  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1052    sysconfdir=$ac_optarg ;;
1053
1054  -target | --target | --targe | --targ | --tar | --ta | --t)
1055    ac_prev=target_alias ;;
1056  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1057    target_alias=$ac_optarg ;;
1058
1059  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1060    verbose=yes ;;
1061
1062  -version | --version | --versio | --versi | --vers | -V)
1063    ac_init_version=: ;;
1064
1065  -with-* | --with-*)
1066    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1067    # Reject names that are not valid shell variable names.
1068    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1069      as_fn_error $? "invalid package name: $ac_useropt"
1070    ac_useropt_orig=$ac_useropt
1071    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1072    case $ac_user_opts in
1073      *"
1074"with_$ac_useropt"
1075"*) ;;
1076      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1077	 ac_unrecognized_sep=', ';;
1078    esac
1079    eval with_$ac_useropt=\$ac_optarg ;;
1080
1081  -without-* | --without-*)
1082    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1083    # Reject names that are not valid shell variable names.
1084    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1085      as_fn_error $? "invalid package name: $ac_useropt"
1086    ac_useropt_orig=$ac_useropt
1087    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1088    case $ac_user_opts in
1089      *"
1090"with_$ac_useropt"
1091"*) ;;
1092      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1093	 ac_unrecognized_sep=', ';;
1094    esac
1095    eval with_$ac_useropt=no ;;
1096
1097  --x)
1098    # Obsolete; use --with-x.
1099    with_x=yes ;;
1100
1101  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1102  | --x-incl | --x-inc | --x-in | --x-i)
1103    ac_prev=x_includes ;;
1104  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1105  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1106    x_includes=$ac_optarg ;;
1107
1108  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1109  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1110    ac_prev=x_libraries ;;
1111  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1112  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1113    x_libraries=$ac_optarg ;;
1114
1115  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1116Try \`$0 --help' for more information"
1117    ;;
1118
1119  *=*)
1120    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1121    # Reject names that are not valid shell variable names.
1122    case $ac_envvar in #(
1123      '' | [0-9]* | *[!_$as_cr_alnum]* )
1124      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1125    esac
1126    eval $ac_envvar=\$ac_optarg
1127    export $ac_envvar ;;
1128
1129  *)
1130    # FIXME: should be removed in autoconf 3.0.
1131    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1132    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1133      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1134    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1135    ;;
1136
1137  esac
1138done
1139
1140if test -n "$ac_prev"; then
1141  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1142  as_fn_error $? "missing argument to $ac_option"
1143fi
1144
1145if test -n "$ac_unrecognized_opts"; then
1146  case $enable_option_checking in
1147    no) ;;
1148    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1149    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1150  esac
1151fi
1152
1153# Check all directory arguments for consistency.
1154for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1155		datadir sysconfdir sharedstatedir localstatedir includedir \
1156		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1157		libdir localedir mandir runstatedir
1158do
1159  eval ac_val=\$$ac_var
1160  # Remove trailing slashes.
1161  case $ac_val in
1162    */ )
1163      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1164      eval $ac_var=\$ac_val;;
1165  esac
1166  # Be sure to have absolute directory names.
1167  case $ac_val in
1168    [\\/$]* | ?:[\\/]* )  continue;;
1169    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1170  esac
1171  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1172done
1173
1174# There might be people who depend on the old broken behavior: `$host'
1175# used to hold the argument of --host etc.
1176# FIXME: To remove some day.
1177build=$build_alias
1178host=$host_alias
1179target=$target_alias
1180
1181# FIXME: To remove some day.
1182if test "x$host_alias" != x; then
1183  if test "x$build_alias" = x; then
1184    cross_compiling=maybe
1185  elif test "x$build_alias" != "x$host_alias"; then
1186    cross_compiling=yes
1187  fi
1188fi
1189
1190ac_tool_prefix=
1191test -n "$host_alias" && ac_tool_prefix=$host_alias-
1192
1193test "$silent" = yes && exec 6>/dev/null
1194
1195
1196ac_pwd=`pwd` && test -n "$ac_pwd" &&
1197ac_ls_di=`ls -di .` &&
1198ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1199  as_fn_error $? "working directory cannot be determined"
1200test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1201  as_fn_error $? "pwd does not report name of working directory"
1202
1203
1204# Find the source files, if location was not specified.
1205if test -z "$srcdir"; then
1206  ac_srcdir_defaulted=yes
1207  # Try the directory containing this script, then the parent directory.
1208  ac_confdir=`$as_dirname -- "$as_myself" ||
1209$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1210	 X"$as_myself" : 'X\(//\)[^/]' \| \
1211	 X"$as_myself" : 'X\(//\)$' \| \
1212	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1213$as_echo X"$as_myself" |
1214    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1215	    s//\1/
1216	    q
1217	  }
1218	  /^X\(\/\/\)[^/].*/{
1219	    s//\1/
1220	    q
1221	  }
1222	  /^X\(\/\/\)$/{
1223	    s//\1/
1224	    q
1225	  }
1226	  /^X\(\/\).*/{
1227	    s//\1/
1228	    q
1229	  }
1230	  s/.*/./; q'`
1231  srcdir=$ac_confdir
1232  if test ! -r "$srcdir/$ac_unique_file"; then
1233    srcdir=..
1234  fi
1235else
1236  ac_srcdir_defaulted=no
1237fi
1238if test ! -r "$srcdir/$ac_unique_file"; then
1239  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1240  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1241fi
1242ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1243ac_abs_confdir=`(
1244	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1245	pwd)`
1246# When building in place, set srcdir=.
1247if test "$ac_abs_confdir" = "$ac_pwd"; then
1248  srcdir=.
1249fi
1250# Remove unnecessary trailing slashes from srcdir.
1251# Double slashes in file names in object file debugging info
1252# mess up M-x gdb in Emacs.
1253case $srcdir in
1254*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1255esac
1256for ac_var in $ac_precious_vars; do
1257  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1258  eval ac_env_${ac_var}_value=\$${ac_var}
1259  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1260  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1261done
1262
1263#
1264# Report the --help message.
1265#
1266if test "$ac_init_help" = "long"; then
1267  # Omit some internal or obsolete options to make the list less imposing.
1268  # This message is too long to be a string in the A/UX 3.1 sh.
1269  cat <<_ACEOF
1270\`configure' configures mdds 1.7.0 to adapt to many kinds of systems.
1271
1272Usage: $0 [OPTION]... [VAR=VALUE]...
1273
1274To assign environment variables (e.g., CC, CFLAGS...), specify them as
1275VAR=VALUE.  See below for descriptions of some of the useful variables.
1276
1277Defaults for the options are specified in brackets.
1278
1279Configuration:
1280  -h, --help              display this help and exit
1281      --help=short        display options specific to this package
1282      --help=recursive    display the short help of all the included packages
1283  -V, --version           display version information and exit
1284  -q, --quiet, --silent   do not print \`checking ...' messages
1285      --cache-file=FILE   cache test results in FILE [disabled]
1286  -C, --config-cache      alias for \`--cache-file=config.cache'
1287  -n, --no-create         do not create output files
1288      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1289
1290Installation directories:
1291  --prefix=PREFIX         install architecture-independent files in PREFIX
1292                          [$ac_default_prefix]
1293  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1294                          [PREFIX]
1295
1296By default, \`make install' will install all the files in
1297\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1298an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1299for instance \`--prefix=\$HOME'.
1300
1301For better control, use the options below.
1302
1303Fine tuning of the installation directories:
1304  --bindir=DIR            user executables [EPREFIX/bin]
1305  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1306  --libexecdir=DIR        program executables [EPREFIX/libexec]
1307  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1308  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1309  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1310  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1311  --libdir=DIR            object code libraries [EPREFIX/lib]
1312  --includedir=DIR        C header files [PREFIX/include]
1313  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1314  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1315  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1316  --infodir=DIR           info documentation [DATAROOTDIR/info]
1317  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1318  --mandir=DIR            man documentation [DATAROOTDIR/man]
1319  --docdir=DIR            documentation root [DATAROOTDIR/doc/mdds]
1320  --htmldir=DIR           html documentation [DOCDIR]
1321  --dvidir=DIR            dvi documentation [DOCDIR]
1322  --pdfdir=DIR            pdf documentation [DOCDIR]
1323  --psdir=DIR             ps documentation [DOCDIR]
1324_ACEOF
1325
1326  cat <<\_ACEOF
1327
1328Program names:
1329  --program-prefix=PREFIX            prepend PREFIX to installed program names
1330  --program-suffix=SUFFIX            append SUFFIX to installed program names
1331  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1332_ACEOF
1333fi
1334
1335if test -n "$ac_init_help"; then
1336  case $ac_init_help in
1337     short | recursive ) echo "Configuration of mdds 1.7.0:";;
1338   esac
1339  cat <<\_ACEOF
1340
1341Optional Features:
1342  --disable-option-checking  ignore unrecognized --enable/--with options
1343  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1344  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1345  --enable-silent-rules   less verbose build output (undo: "make V=1")
1346  --disable-silent-rules  verbose build output (undo: "make V=0")
1347  --enable-maintainer-mode
1348                          enable make rules and dependencies not useful (and
1349                          sometimes confusing) to the casual installer
1350
1351  --enable-debug-stdcxx   Enable libstdc++ debug mode during make check.
1352
1353
1354
1355  --enable-release-tests   Enable release builds for unit tests.
1356
1357
1358  --enable-gcov           Enable generation of gcov information.
1359  --disable-loop-unrolling
1360                          Disable use of loop unrolling.
1361  --disable-openmp        Disable use of OpenMP.
1362  --enable-sanitizer-coverage
1363                          Enable generation of sanitizer coverage information.
1364  --enable-dependency-tracking
1365                          do not reject slow dependency extractors
1366  --disable-dependency-tracking
1367                          speeds up one-time build
1368  --enable-memory-tests   Run memory tests.
1369  --enable-docs           Generate docs during build.
1370  --enable-werror         Treat all warnings as errors, useful for development
1371
1372Some influential environment variables:
1373  CXX         C++ compiler command
1374  CXXFLAGS    C++ compiler flags
1375  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1376              nonstandard directory <lib dir>
1377  LIBS        libraries to pass to the linker, e.g. -l<library>
1378  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1379              you have headers in a nonstandard directory <include dir>
1380
1381Use these variables to override the choices made by `configure' or to help
1382it to find libraries and programs with nonstandard names/locations.
1383
1384Report bugs to <kohei.yoshida@gmail.com>.
1385_ACEOF
1386ac_status=$?
1387fi
1388
1389if test "$ac_init_help" = "recursive"; then
1390  # If there are subdirs, report their specific --help.
1391  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1392    test -d "$ac_dir" ||
1393      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1394      continue
1395    ac_builddir=.
1396
1397case "$ac_dir" in
1398.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1399*)
1400  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1401  # A ".." for each directory in $ac_dir_suffix.
1402  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1403  case $ac_top_builddir_sub in
1404  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1405  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1406  esac ;;
1407esac
1408ac_abs_top_builddir=$ac_pwd
1409ac_abs_builddir=$ac_pwd$ac_dir_suffix
1410# for backward compatibility:
1411ac_top_builddir=$ac_top_build_prefix
1412
1413case $srcdir in
1414  .)  # We are building in place.
1415    ac_srcdir=.
1416    ac_top_srcdir=$ac_top_builddir_sub
1417    ac_abs_top_srcdir=$ac_pwd ;;
1418  [\\/]* | ?:[\\/]* )  # Absolute name.
1419    ac_srcdir=$srcdir$ac_dir_suffix;
1420    ac_top_srcdir=$srcdir
1421    ac_abs_top_srcdir=$srcdir ;;
1422  *) # Relative name.
1423    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1424    ac_top_srcdir=$ac_top_build_prefix$srcdir
1425    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1426esac
1427ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1428
1429    cd "$ac_dir" || { ac_status=$?; continue; }
1430    # Check for guested configure.
1431    if test -f "$ac_srcdir/configure.gnu"; then
1432      echo &&
1433      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1434    elif test -f "$ac_srcdir/configure"; then
1435      echo &&
1436      $SHELL "$ac_srcdir/configure" --help=recursive
1437    else
1438      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1439    fi || ac_status=$?
1440    cd "$ac_pwd" || { ac_status=$?; break; }
1441  done
1442fi
1443
1444test -n "$ac_init_help" && exit $ac_status
1445if $ac_init_version; then
1446  cat <<\_ACEOF
1447mdds configure 1.7.0
1448generated by GNU Autoconf 2.69
1449
1450Copyright (C) 2012 Free Software Foundation, Inc.
1451This configure script is free software; the Free Software Foundation
1452gives unlimited permission to copy, distribute and modify it.
1453_ACEOF
1454  exit
1455fi
1456
1457## ------------------------ ##
1458## Autoconf initialization. ##
1459## ------------------------ ##
1460
1461# ac_fn_cxx_try_compile LINENO
1462# ----------------------------
1463# Try to compile conftest.$ac_ext, and return whether this succeeded.
1464ac_fn_cxx_try_compile ()
1465{
1466  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1467  rm -f conftest.$ac_objext
1468  if { { ac_try="$ac_compile"
1469case "(($ac_try" in
1470  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1471  *) ac_try_echo=$ac_try;;
1472esac
1473eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1474$as_echo "$ac_try_echo"; } >&5
1475  (eval "$ac_compile") 2>conftest.err
1476  ac_status=$?
1477  if test -s conftest.err; then
1478    grep -v '^ *+' conftest.err >conftest.er1
1479    cat conftest.er1 >&5
1480    mv -f conftest.er1 conftest.err
1481  fi
1482  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1483  test $ac_status = 0; } && {
1484	 test -z "$ac_cxx_werror_flag" ||
1485	 test ! -s conftest.err
1486       } && test -s conftest.$ac_objext; then :
1487  ac_retval=0
1488else
1489  $as_echo "$as_me: failed program was:" >&5
1490sed 's/^/| /' conftest.$ac_ext >&5
1491
1492	ac_retval=1
1493fi
1494  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1495  as_fn_set_status $ac_retval
1496
1497} # ac_fn_cxx_try_compile
1498cat >config.log <<_ACEOF
1499This file contains any messages produced by compilers while
1500running configure, to aid debugging if configure makes a mistake.
1501
1502It was created by mdds $as_me 1.7.0, which was
1503generated by GNU Autoconf 2.69.  Invocation command line was
1504
1505  $ $0 $@
1506
1507_ACEOF
1508exec 5>>config.log
1509{
1510cat <<_ASUNAME
1511## --------- ##
1512## Platform. ##
1513## --------- ##
1514
1515hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1516uname -m = `(uname -m) 2>/dev/null || echo unknown`
1517uname -r = `(uname -r) 2>/dev/null || echo unknown`
1518uname -s = `(uname -s) 2>/dev/null || echo unknown`
1519uname -v = `(uname -v) 2>/dev/null || echo unknown`
1520
1521/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1522/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1523
1524/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1525/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1526/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1527/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1528/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1529/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1530/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1531
1532_ASUNAME
1533
1534as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1535for as_dir in $PATH
1536do
1537  IFS=$as_save_IFS
1538  test -z "$as_dir" && as_dir=.
1539    $as_echo "PATH: $as_dir"
1540  done
1541IFS=$as_save_IFS
1542
1543} >&5
1544
1545cat >&5 <<_ACEOF
1546
1547
1548## ----------- ##
1549## Core tests. ##
1550## ----------- ##
1551
1552_ACEOF
1553
1554
1555# Keep a trace of the command line.
1556# Strip out --no-create and --no-recursion so they do not pile up.
1557# Strip out --silent because we don't want to record it for future runs.
1558# Also quote any args containing shell meta-characters.
1559# Make two passes to allow for proper duplicate-argument suppression.
1560ac_configure_args=
1561ac_configure_args0=
1562ac_configure_args1=
1563ac_must_keep_next=false
1564for ac_pass in 1 2
1565do
1566  for ac_arg
1567  do
1568    case $ac_arg in
1569    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1570    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1571    | -silent | --silent | --silen | --sile | --sil)
1572      continue ;;
1573    *\'*)
1574      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1575    esac
1576    case $ac_pass in
1577    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1578    2)
1579      as_fn_append ac_configure_args1 " '$ac_arg'"
1580      if test $ac_must_keep_next = true; then
1581	ac_must_keep_next=false # Got value, back to normal.
1582      else
1583	case $ac_arg in
1584	  *=* | --config-cache | -C | -disable-* | --disable-* \
1585	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1586	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1587	  | -with-* | --with-* | -without-* | --without-* | --x)
1588	    case "$ac_configure_args0 " in
1589	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1590	    esac
1591	    ;;
1592	  -* ) ac_must_keep_next=true ;;
1593	esac
1594      fi
1595      as_fn_append ac_configure_args " '$ac_arg'"
1596      ;;
1597    esac
1598  done
1599done
1600{ ac_configure_args0=; unset ac_configure_args0;}
1601{ ac_configure_args1=; unset ac_configure_args1;}
1602
1603# When interrupted or exit'd, cleanup temporary files, and complete
1604# config.log.  We remove comments because anyway the quotes in there
1605# would cause problems or look ugly.
1606# WARNING: Use '\'' to represent an apostrophe within the trap.
1607# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1608trap 'exit_status=$?
1609  # Save into config.log some information that might help in debugging.
1610  {
1611    echo
1612
1613    $as_echo "## ---------------- ##
1614## Cache variables. ##
1615## ---------------- ##"
1616    echo
1617    # The following way of writing the cache mishandles newlines in values,
1618(
1619  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1620    eval ac_val=\$$ac_var
1621    case $ac_val in #(
1622    *${as_nl}*)
1623      case $ac_var in #(
1624      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1625$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1626      esac
1627      case $ac_var in #(
1628      _ | IFS | as_nl) ;; #(
1629      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1630      *) { eval $ac_var=; unset $ac_var;} ;;
1631      esac ;;
1632    esac
1633  done
1634  (set) 2>&1 |
1635    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1636    *${as_nl}ac_space=\ *)
1637      sed -n \
1638	"s/'\''/'\''\\\\'\'''\''/g;
1639	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1640      ;; #(
1641    *)
1642      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1643      ;;
1644    esac |
1645    sort
1646)
1647    echo
1648
1649    $as_echo "## ----------------- ##
1650## Output variables. ##
1651## ----------------- ##"
1652    echo
1653    for ac_var in $ac_subst_vars
1654    do
1655      eval ac_val=\$$ac_var
1656      case $ac_val in
1657      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1658      esac
1659      $as_echo "$ac_var='\''$ac_val'\''"
1660    done | sort
1661    echo
1662
1663    if test -n "$ac_subst_files"; then
1664      $as_echo "## ------------------- ##
1665## File substitutions. ##
1666## ------------------- ##"
1667      echo
1668      for ac_var in $ac_subst_files
1669      do
1670	eval ac_val=\$$ac_var
1671	case $ac_val in
1672	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1673	esac
1674	$as_echo "$ac_var='\''$ac_val'\''"
1675      done | sort
1676      echo
1677    fi
1678
1679    if test -s confdefs.h; then
1680      $as_echo "## ----------- ##
1681## confdefs.h. ##
1682## ----------- ##"
1683      echo
1684      cat confdefs.h
1685      echo
1686    fi
1687    test "$ac_signal" != 0 &&
1688      $as_echo "$as_me: caught signal $ac_signal"
1689    $as_echo "$as_me: exit $exit_status"
1690  } >&5
1691  rm -f core *.core core.conftest.* &&
1692    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1693    exit $exit_status
1694' 0
1695for ac_signal in 1 2 13 15; do
1696  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1697done
1698ac_signal=0
1699
1700# confdefs.h avoids OS command line length limits that DEFS can exceed.
1701rm -f -r conftest* confdefs.h
1702
1703$as_echo "/* confdefs.h */" > confdefs.h
1704
1705# Predefined preprocessor variables.
1706
1707cat >>confdefs.h <<_ACEOF
1708#define PACKAGE_NAME "$PACKAGE_NAME"
1709_ACEOF
1710
1711cat >>confdefs.h <<_ACEOF
1712#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1713_ACEOF
1714
1715cat >>confdefs.h <<_ACEOF
1716#define PACKAGE_VERSION "$PACKAGE_VERSION"
1717_ACEOF
1718
1719cat >>confdefs.h <<_ACEOF
1720#define PACKAGE_STRING "$PACKAGE_STRING"
1721_ACEOF
1722
1723cat >>confdefs.h <<_ACEOF
1724#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1725_ACEOF
1726
1727cat >>confdefs.h <<_ACEOF
1728#define PACKAGE_URL "$PACKAGE_URL"
1729_ACEOF
1730
1731
1732# Let the site file select an alternate cache file if it wants to.
1733# Prefer an explicitly selected file to automatically selected ones.
1734ac_site_file1=NONE
1735ac_site_file2=NONE
1736if test -n "$CONFIG_SITE"; then
1737  # We do not want a PATH search for config.site.
1738  case $CONFIG_SITE in #((
1739    -*)  ac_site_file1=./$CONFIG_SITE;;
1740    */*) ac_site_file1=$CONFIG_SITE;;
1741    *)   ac_site_file1=./$CONFIG_SITE;;
1742  esac
1743elif test "x$prefix" != xNONE; then
1744  ac_site_file1=$prefix/share/config.site
1745  ac_site_file2=$prefix/etc/config.site
1746else
1747  ac_site_file1=$ac_default_prefix/share/config.site
1748  ac_site_file2=$ac_default_prefix/etc/config.site
1749fi
1750for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1751do
1752  test "x$ac_site_file" = xNONE && continue
1753  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1754    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1755$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1756    sed 's/^/| /' "$ac_site_file" >&5
1757    . "$ac_site_file" \
1758      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1759$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1760as_fn_error $? "failed to load site script $ac_site_file
1761See \`config.log' for more details" "$LINENO" 5; }
1762  fi
1763done
1764
1765if test -r "$cache_file"; then
1766  # Some versions of bash will fail to source /dev/null (special files
1767  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1768  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1769    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1770$as_echo "$as_me: loading cache $cache_file" >&6;}
1771    case $cache_file in
1772      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1773      *)                      . "./$cache_file";;
1774    esac
1775  fi
1776else
1777  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1778$as_echo "$as_me: creating cache $cache_file" >&6;}
1779  >$cache_file
1780fi
1781
1782# Check that the precious variables saved in the cache have kept the same
1783# value.
1784ac_cache_corrupted=false
1785for ac_var in $ac_precious_vars; do
1786  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1787  eval ac_new_set=\$ac_env_${ac_var}_set
1788  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1789  eval ac_new_val=\$ac_env_${ac_var}_value
1790  case $ac_old_set,$ac_new_set in
1791    set,)
1792      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1793$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1794      ac_cache_corrupted=: ;;
1795    ,set)
1796      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1797$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1798      ac_cache_corrupted=: ;;
1799    ,);;
1800    *)
1801      if test "x$ac_old_val" != "x$ac_new_val"; then
1802	# differences in whitespace do not lead to failure.
1803	ac_old_val_w=`echo x $ac_old_val`
1804	ac_new_val_w=`echo x $ac_new_val`
1805	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1806	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1807$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1808	  ac_cache_corrupted=:
1809	else
1810	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1811$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1812	  eval $ac_var=\$ac_old_val
1813	fi
1814	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1815$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1816	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1817$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1818      fi;;
1819  esac
1820  # Pass precious variables to config.status.
1821  if test "$ac_new_set" = set; then
1822    case $ac_new_val in
1823    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1824    *) ac_arg=$ac_var=$ac_new_val ;;
1825    esac
1826    case " $ac_configure_args " in
1827      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1828      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1829    esac
1830  fi
1831done
1832if $ac_cache_corrupted; then
1833  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1834$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1835  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1836$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1837  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1838fi
1839## -------------------- ##
1840## Main body of script. ##
1841## -------------------- ##
1842
1843ac_ext=c
1844ac_cpp='$CPP $CPPFLAGS'
1845ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1846ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1847ac_compiler_gnu=$ac_cv_c_compiler_gnu
1848
1849
1850am__api_version='1.16'
1851
1852ac_aux_dir=
1853for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1854  if test -f "$ac_dir/install-sh"; then
1855    ac_aux_dir=$ac_dir
1856    ac_install_sh="$ac_aux_dir/install-sh -c"
1857    break
1858  elif test -f "$ac_dir/install.sh"; then
1859    ac_aux_dir=$ac_dir
1860    ac_install_sh="$ac_aux_dir/install.sh -c"
1861    break
1862  elif test -f "$ac_dir/shtool"; then
1863    ac_aux_dir=$ac_dir
1864    ac_install_sh="$ac_aux_dir/shtool install -c"
1865    break
1866  fi
1867done
1868if test -z "$ac_aux_dir"; then
1869  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1870fi
1871
1872# These three variables are undocumented and unsupported,
1873# and are intended to be withdrawn in a future Autoconf release.
1874# They can cause serious problems if a builder's source tree is in a directory
1875# whose full name contains unusual characters.
1876ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1877ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1878ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1879
1880
1881# Find a good install program.  We prefer a C program (faster),
1882# so one script is as good as another.  But avoid the broken or
1883# incompatible versions:
1884# SysV /etc/install, /usr/sbin/install
1885# SunOS /usr/etc/install
1886# IRIX /sbin/install
1887# AIX /bin/install
1888# AmigaOS /C/install, which installs bootblocks on floppy discs
1889# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1890# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1891# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1892# OS/2's system install, which has a completely different semantic
1893# ./install, which can be erroneously created by make from ./install.sh.
1894# Reject install programs that cannot install multiple files.
1895{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1896$as_echo_n "checking for a BSD-compatible install... " >&6; }
1897if test -z "$INSTALL"; then
1898if ${ac_cv_path_install+:} false; then :
1899  $as_echo_n "(cached) " >&6
1900else
1901  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1902for as_dir in $PATH
1903do
1904  IFS=$as_save_IFS
1905  test -z "$as_dir" && as_dir=.
1906    # Account for people who put trailing slashes in PATH elements.
1907case $as_dir/ in #((
1908  ./ | .// | /[cC]/* | \
1909  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1910  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1911  /usr/ucb/* ) ;;
1912  *)
1913    # OSF1 and SCO ODT 3.0 have their own names for install.
1914    # Don't use installbsd from OSF since it installs stuff as root
1915    # by default.
1916    for ac_prog in ginstall scoinst install; do
1917      for ac_exec_ext in '' $ac_executable_extensions; do
1918	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1919	  if test $ac_prog = install &&
1920	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1921	    # AIX install.  It has an incompatible calling convention.
1922	    :
1923	  elif test $ac_prog = install &&
1924	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1925	    # program-specific install script used by HP pwplus--don't use.
1926	    :
1927	  else
1928	    rm -rf conftest.one conftest.two conftest.dir
1929	    echo one > conftest.one
1930	    echo two > conftest.two
1931	    mkdir conftest.dir
1932	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1933	      test -s conftest.one && test -s conftest.two &&
1934	      test -s conftest.dir/conftest.one &&
1935	      test -s conftest.dir/conftest.two
1936	    then
1937	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1938	      break 3
1939	    fi
1940	  fi
1941	fi
1942      done
1943    done
1944    ;;
1945esac
1946
1947  done
1948IFS=$as_save_IFS
1949
1950rm -rf conftest.one conftest.two conftest.dir
1951
1952fi
1953  if test "${ac_cv_path_install+set}" = set; then
1954    INSTALL=$ac_cv_path_install
1955  else
1956    # As a last resort, use the slow shell script.  Don't cache a
1957    # value for INSTALL within a source directory, because that will
1958    # break other packages using the cache if that directory is
1959    # removed, or if the value is a relative name.
1960    INSTALL=$ac_install_sh
1961  fi
1962fi
1963{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1964$as_echo "$INSTALL" >&6; }
1965
1966# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1967# It thinks the first close brace ends the variable substitution.
1968test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1969
1970test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1971
1972test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1973
1974{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1975$as_echo_n "checking whether build environment is sane... " >&6; }
1976# Reject unsafe characters in $srcdir or the absolute working directory
1977# name.  Accept space and tab only in the latter.
1978am_lf='
1979'
1980case `pwd` in
1981  *[\\\"\#\$\&\'\`$am_lf]*)
1982    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1983esac
1984case $srcdir in
1985  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
1986    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1987esac
1988
1989# Do 'set' in a subshell so we don't clobber the current shell's
1990# arguments.  Must try -L first in case configure is actually a
1991# symlink; some systems play weird games with the mod time of symlinks
1992# (eg FreeBSD returns the mod time of the symlink's containing
1993# directory).
1994if (
1995   am_has_slept=no
1996   for am_try in 1 2; do
1997     echo "timestamp, slept: $am_has_slept" > conftest.file
1998     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1999     if test "$*" = "X"; then
2000	# -L didn't work.
2001	set X `ls -t "$srcdir/configure" conftest.file`
2002     fi
2003     if test "$*" != "X $srcdir/configure conftest.file" \
2004	&& test "$*" != "X conftest.file $srcdir/configure"; then
2005
2006	# If neither matched, then we have a broken ls.  This can happen
2007	# if, for instance, CONFIG_SHELL is bash and it inherits a
2008	# broken ls alias from the environment.  This has actually
2009	# happened.  Such a system could not be considered "sane".
2010	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2011  alias in your environment" "$LINENO" 5
2012     fi
2013     if test "$2" = conftest.file || test $am_try -eq 2; then
2014       break
2015     fi
2016     # Just in case.
2017     sleep 1
2018     am_has_slept=yes
2019   done
2020   test "$2" = conftest.file
2021   )
2022then
2023   # Ok.
2024   :
2025else
2026   as_fn_error $? "newly created file is older than distributed files!
2027Check your system clock" "$LINENO" 5
2028fi
2029{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2030$as_echo "yes" >&6; }
2031# If we didn't sleep, we still need to ensure time stamps of config.status and
2032# generated files are strictly newer.
2033am_sleep_pid=
2034if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2035  ( sleep 1 ) &
2036  am_sleep_pid=$!
2037fi
2038
2039rm -f conftest.file
2040
2041test "$program_prefix" != NONE &&
2042  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2043# Use a double $ so make ignores it.
2044test "$program_suffix" != NONE &&
2045  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2046# Double any \ or $.
2047# By default was `s,x,x', remove it if useless.
2048ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2049program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2050
2051# Expand $ac_aux_dir to an absolute path.
2052am_aux_dir=`cd "$ac_aux_dir" && pwd`
2053
2054if test x"${MISSING+set}" != xset; then
2055  case $am_aux_dir in
2056  *\ * | *\	*)
2057    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2058  *)
2059    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2060  esac
2061fi
2062# Use eval to expand $SHELL
2063if eval "$MISSING --is-lightweight"; then
2064  am_missing_run="$MISSING "
2065else
2066  am_missing_run=
2067  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2068$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2069fi
2070
2071if test x"${install_sh+set}" != xset; then
2072  case $am_aux_dir in
2073  *\ * | *\	*)
2074    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2075  *)
2076    install_sh="\${SHELL} $am_aux_dir/install-sh"
2077  esac
2078fi
2079
2080# Installed binaries are usually stripped using 'strip' when the user
2081# run "make install-strip".  However 'strip' might not be the right
2082# tool to use in cross-compilation environments, therefore Automake
2083# will honor the 'STRIP' environment variable to overrule this program.
2084if test "$cross_compiling" != no; then
2085  if test -n "$ac_tool_prefix"; then
2086  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2087set dummy ${ac_tool_prefix}strip; ac_word=$2
2088{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2089$as_echo_n "checking for $ac_word... " >&6; }
2090if ${ac_cv_prog_STRIP+:} false; then :
2091  $as_echo_n "(cached) " >&6
2092else
2093  if test -n "$STRIP"; then
2094  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2095else
2096as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2097for as_dir in $PATH
2098do
2099  IFS=$as_save_IFS
2100  test -z "$as_dir" && as_dir=.
2101    for ac_exec_ext in '' $ac_executable_extensions; do
2102  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2103    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2104    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2105    break 2
2106  fi
2107done
2108  done
2109IFS=$as_save_IFS
2110
2111fi
2112fi
2113STRIP=$ac_cv_prog_STRIP
2114if test -n "$STRIP"; then
2115  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2116$as_echo "$STRIP" >&6; }
2117else
2118  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2119$as_echo "no" >&6; }
2120fi
2121
2122
2123fi
2124if test -z "$ac_cv_prog_STRIP"; then
2125  ac_ct_STRIP=$STRIP
2126  # Extract the first word of "strip", so it can be a program name with args.
2127set dummy strip; ac_word=$2
2128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2129$as_echo_n "checking for $ac_word... " >&6; }
2130if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2131  $as_echo_n "(cached) " >&6
2132else
2133  if test -n "$ac_ct_STRIP"; then
2134  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2135else
2136as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2137for as_dir in $PATH
2138do
2139  IFS=$as_save_IFS
2140  test -z "$as_dir" && as_dir=.
2141    for ac_exec_ext in '' $ac_executable_extensions; do
2142  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2143    ac_cv_prog_ac_ct_STRIP="strip"
2144    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2145    break 2
2146  fi
2147done
2148  done
2149IFS=$as_save_IFS
2150
2151fi
2152fi
2153ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2154if test -n "$ac_ct_STRIP"; then
2155  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2156$as_echo "$ac_ct_STRIP" >&6; }
2157else
2158  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2159$as_echo "no" >&6; }
2160fi
2161
2162  if test "x$ac_ct_STRIP" = x; then
2163    STRIP=":"
2164  else
2165    case $cross_compiling:$ac_tool_warned in
2166yes:)
2167{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2168$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2169ac_tool_warned=yes ;;
2170esac
2171    STRIP=$ac_ct_STRIP
2172  fi
2173else
2174  STRIP="$ac_cv_prog_STRIP"
2175fi
2176
2177fi
2178INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2179
2180{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2181$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2182if test -z "$MKDIR_P"; then
2183  if ${ac_cv_path_mkdir+:} false; then :
2184  $as_echo_n "(cached) " >&6
2185else
2186  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2187for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2188do
2189  IFS=$as_save_IFS
2190  test -z "$as_dir" && as_dir=.
2191    for ac_prog in mkdir gmkdir; do
2192	 for ac_exec_ext in '' $ac_executable_extensions; do
2193	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2194	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2195	     'mkdir (GNU coreutils) '* | \
2196	     'mkdir (coreutils) '* | \
2197	     'mkdir (fileutils) '4.1*)
2198	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2199	       break 3;;
2200	   esac
2201	 done
2202       done
2203  done
2204IFS=$as_save_IFS
2205
2206fi
2207
2208  test -d ./--version && rmdir ./--version
2209  if test "${ac_cv_path_mkdir+set}" = set; then
2210    MKDIR_P="$ac_cv_path_mkdir -p"
2211  else
2212    # As a last resort, use the slow shell script.  Don't cache a
2213    # value for MKDIR_P within a source directory, because that will
2214    # break other packages using the cache if that directory is
2215    # removed, or if the value is a relative name.
2216    MKDIR_P="$ac_install_sh -d"
2217  fi
2218fi
2219{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2220$as_echo "$MKDIR_P" >&6; }
2221
2222for ac_prog in gawk mawk nawk awk
2223do
2224  # Extract the first word of "$ac_prog", so it can be a program name with args.
2225set dummy $ac_prog; ac_word=$2
2226{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2227$as_echo_n "checking for $ac_word... " >&6; }
2228if ${ac_cv_prog_AWK+:} false; then :
2229  $as_echo_n "(cached) " >&6
2230else
2231  if test -n "$AWK"; then
2232  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2233else
2234as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2235for as_dir in $PATH
2236do
2237  IFS=$as_save_IFS
2238  test -z "$as_dir" && as_dir=.
2239    for ac_exec_ext in '' $ac_executable_extensions; do
2240  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2241    ac_cv_prog_AWK="$ac_prog"
2242    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2243    break 2
2244  fi
2245done
2246  done
2247IFS=$as_save_IFS
2248
2249fi
2250fi
2251AWK=$ac_cv_prog_AWK
2252if test -n "$AWK"; then
2253  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2254$as_echo "$AWK" >&6; }
2255else
2256  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2257$as_echo "no" >&6; }
2258fi
2259
2260
2261  test -n "$AWK" && break
2262done
2263
2264{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2265$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2266set x ${MAKE-make}
2267ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2268if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2269  $as_echo_n "(cached) " >&6
2270else
2271  cat >conftest.make <<\_ACEOF
2272SHELL = /bin/sh
2273all:
2274	@echo '@@@%%%=$(MAKE)=@@@%%%'
2275_ACEOF
2276# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2277case `${MAKE-make} -f conftest.make 2>/dev/null` in
2278  *@@@%%%=?*=@@@%%%*)
2279    eval ac_cv_prog_make_${ac_make}_set=yes;;
2280  *)
2281    eval ac_cv_prog_make_${ac_make}_set=no;;
2282esac
2283rm -f conftest.make
2284fi
2285if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2286  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2287$as_echo "yes" >&6; }
2288  SET_MAKE=
2289else
2290  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2291$as_echo "no" >&6; }
2292  SET_MAKE="MAKE=${MAKE-make}"
2293fi
2294
2295rm -rf .tst 2>/dev/null
2296mkdir .tst 2>/dev/null
2297if test -d .tst; then
2298  am__leading_dot=.
2299else
2300  am__leading_dot=_
2301fi
2302rmdir .tst 2>/dev/null
2303
2304# Check whether --enable-silent-rules was given.
2305if test "${enable_silent_rules+set}" = set; then :
2306  enableval=$enable_silent_rules;
2307fi
2308
2309case $enable_silent_rules in # (((
2310  yes) AM_DEFAULT_VERBOSITY=0;;
2311   no) AM_DEFAULT_VERBOSITY=1;;
2312    *) AM_DEFAULT_VERBOSITY=1;;
2313esac
2314am_make=${MAKE-make}
2315{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2316$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2317if ${am_cv_make_support_nested_variables+:} false; then :
2318  $as_echo_n "(cached) " >&6
2319else
2320  if $as_echo 'TRUE=$(BAR$(V))
2321BAR0=false
2322BAR1=true
2323V=1
2324am__doit:
2325	@$(TRUE)
2326.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2327  am_cv_make_support_nested_variables=yes
2328else
2329  am_cv_make_support_nested_variables=no
2330fi
2331fi
2332{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2333$as_echo "$am_cv_make_support_nested_variables" >&6; }
2334if test $am_cv_make_support_nested_variables = yes; then
2335    AM_V='$(V)'
2336  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2337else
2338  AM_V=$AM_DEFAULT_VERBOSITY
2339  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2340fi
2341AM_BACKSLASH='\'
2342
2343if test "`cd $srcdir && pwd`" != "`pwd`"; then
2344  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2345  # is not polluted with repeated "-I."
2346  am__isrc=' -I$(srcdir)'
2347  # test to see if srcdir already configured
2348  if test -f $srcdir/config.status; then
2349    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2350  fi
2351fi
2352
2353# test whether we have cygpath
2354if test -z "$CYGPATH_W"; then
2355  if (cygpath --version) >/dev/null 2>/dev/null; then
2356    CYGPATH_W='cygpath -w'
2357  else
2358    CYGPATH_W=echo
2359  fi
2360fi
2361
2362
2363# Define the identity of the package.
2364 PACKAGE='mdds'
2365 VERSION='1.7.0'
2366
2367
2368cat >>confdefs.h <<_ACEOF
2369#define PACKAGE "$PACKAGE"
2370_ACEOF
2371
2372
2373cat >>confdefs.h <<_ACEOF
2374#define VERSION "$VERSION"
2375_ACEOF
2376
2377# Some tools Automake needs.
2378
2379ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2380
2381
2382AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2383
2384
2385AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2386
2387
2388AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2389
2390
2391MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2392
2393# For better backward compatibility.  To be removed once Automake 1.9.x
2394# dies out for good.  For more background, see:
2395# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2396# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2397mkdir_p='$(MKDIR_P)'
2398
2399# We need awk for the "check" target (and possibly the TAP driver).  The
2400# system "awk" is bad on some platforms.
2401# Always define AMTAR for backward compatibility.  Yes, it's still used
2402# in the wild :-(  We should find a proper way to deprecate it ...
2403AMTAR='$${TAR-tar}'
2404
2405
2406# We'll loop over all known methods to create a tar archive until one works.
2407_am_tools='gnutar  pax cpio none'
2408
2409am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2410
2411
2412
2413
2414
2415
2416# POSIX will say in a future version that running "rm -f" with no argument
2417# is OK; and we want to be able to make that assumption in our Makefile
2418# recipes.  So use an aggressive probe to check that the usage we want is
2419# actually supported "in the wild" to an acceptable degree.
2420# See automake bug#10828.
2421# To make any issue more visible, cause the running configure to be aborted
2422# by default if the 'rm' program in use doesn't match our expectations; the
2423# user can still override this though.
2424if rm -f && rm -fr && rm -rf; then : OK; else
2425  cat >&2 <<'END'
2426Oops!
2427
2428Your 'rm' program seems unable to run without file operands specified
2429on the command line, even when the '-f' option is present.  This is contrary
2430to the behaviour of most rm programs out there, and not conforming with
2431the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2432
2433Please tell bug-automake@gnu.org about your system, including the value
2434of your $PATH and any error possibly output before this message.  This
2435can help us improve future automake versions.
2436
2437END
2438  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2439    echo 'Configuration will proceed anyway, since you have set the' >&2
2440    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2441    echo >&2
2442  else
2443    cat >&2 <<'END'
2444Aborting the configuration process, to ensure you take notice of the issue.
2445
2446You can download and install GNU coreutils to get an 'rm' implementation
2447that behaves properly: <https://www.gnu.org/software/coreutils/>.
2448
2449If you want to complete the configuration process using your problematic
2450'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2451to "yes", and re-run configure.
2452
2453END
2454    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2455  fi
2456fi
2457
2458
2459{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2460$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2461    # Check whether --enable-maintainer-mode was given.
2462if test "${enable_maintainer_mode+set}" = set; then :
2463  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2464else
2465  USE_MAINTAINER_MODE=no
2466fi
2467
2468  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2469$as_echo "$USE_MAINTAINER_MODE" >&6; }
2470   if test $USE_MAINTAINER_MODE = yes; then
2471  MAINTAINER_MODE_TRUE=
2472  MAINTAINER_MODE_FALSE='#'
2473else
2474  MAINTAINER_MODE_TRUE='#'
2475  MAINTAINER_MODE_FALSE=
2476fi
2477
2478  MAINT=$MAINTAINER_MODE_TRUE
2479
2480
2481
2482VERSION=1.7.0
2483API_VERSION=1.5
2484
2485
2486
2487
2488PACKAGE_TARNAME=mdds
2489
2490
2491OBJDIR=obj
2492SRCDIR=src
2493INCDIR=include
2494MISCDIR=misc
2495QUICKCHECKDIR=quickcheck
2496
2497
2498
2499
2500
2501
2502CPPFLAGS="$CPPFLAGS -Wall -g -pedantic-errors"
2503CPPFLAGS="$CPPFLAGS -I/usr/include -I/usr/local/include"
2504CXXFLAGS="$CXXFLAGS -Wshadow -std=c++11"
2505
2506# Check whether --enable-debug-stdcxx was given.
2507if test "${enable_debug_stdcxx+set}" = set; then :
2508  enableval=$enable_debug_stdcxx; debug_stdcxx=yes
2509fi
2510
2511
2512if test x"$debug_stdcxx" == "xyes"; then :
2513
2514  CXXFLAGS="$CXXFLAGS -D_GLIBCXX_DEBUG"
2515
2516fi
2517
2518# Check whether --enable-release-tests was given.
2519if test "${enable_release_tests+set}" = set; then :
2520  enableval=$enable_release_tests; release_tests=yes
2521fi
2522
2523
2524if test x"$release_tests" == "xyes"; then :
2525
2526  CXXFLAGS="$CXXFLAGS -DNDEBUG -O2"
2527
2528fi
2529
2530# Check whether --enable-gcov was given.
2531if test "${enable_gcov+set}" = set; then :
2532  enableval=$enable_gcov; enable_gcov="$enableval"
2533else
2534  enable_gcov=no
2535
2536fi
2537
2538
2539# Check whether --enable-loop-unrolling was given.
2540if test "${enable_loop_unrolling+set}" = set; then :
2541  enableval=$enable_loop_unrolling; enable_loop_unrolling="$enableval"
2542else
2543  enable_loop_unrolling=yes
2544
2545fi
2546
2547
2548if test x"$enable_loop_unrolling" == "xno"; then :
2549
2550  CXXFLAGS="$CXXFLAGS -DMDDS_LOOP_UNROLLING=0"
2551
2552fi
2553
2554if test x"$enable_gcov" == "xyes"; then :
2555
2556  CXXFLAGS="$CXXFLAGS --coverage -O0"
2557
2558fi
2559
2560# Check whether --enable-openmp was given.
2561if test "${enable_openmp+set}" = set; then :
2562  enableval=$enable_openmp; enable_openmp="$enableval"
2563else
2564  enable_openmp=yes
2565
2566fi
2567
2568
2569if test x"$enable_openmp" == "xyes"; then :
2570
2571  CXXFLAGS="$CXXFLAGS -fopenmp -DMDDS_USE_OPENMP=1"
2572  LDFLAGS="$LDFLAGS -fopenmp"
2573
2574fi
2575
2576# Check whether --enable-sanitizer-coverage was given.
2577if test "${enable_sanitizer_coverage+set}" = set; then :
2578  enableval=$enable_sanitizer_coverage; enable_sanitizer_coverage="$enableval"
2579else
2580  enable_sanitizer_coverage=no
2581
2582fi
2583
2584
2585if test x"$enable_sanitizer_coverage" == "xyes"; then :
2586
2587  CXXFLAGS="$CXXFLAGS -fprofile-instr-generate -fcoverage-mapping -O0"
2588
2589fi
2590
2591
2592
2593
2594ac_ext=cpp
2595ac_cpp='$CXXCPP $CPPFLAGS'
2596ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2597ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2598ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2599if test -z "$CXX"; then
2600  if test -n "$CCC"; then
2601    CXX=$CCC
2602  else
2603    if test -n "$ac_tool_prefix"; then
2604  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2605  do
2606    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2607set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2608{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2609$as_echo_n "checking for $ac_word... " >&6; }
2610if ${ac_cv_prog_CXX+:} false; then :
2611  $as_echo_n "(cached) " >&6
2612else
2613  if test -n "$CXX"; then
2614  ac_cv_prog_CXX="$CXX" # Let the user override the test.
2615else
2616as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2617for as_dir in $PATH
2618do
2619  IFS=$as_save_IFS
2620  test -z "$as_dir" && as_dir=.
2621    for ac_exec_ext in '' $ac_executable_extensions; do
2622  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2623    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2624    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2625    break 2
2626  fi
2627done
2628  done
2629IFS=$as_save_IFS
2630
2631fi
2632fi
2633CXX=$ac_cv_prog_CXX
2634if test -n "$CXX"; then
2635  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2636$as_echo "$CXX" >&6; }
2637else
2638  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2639$as_echo "no" >&6; }
2640fi
2641
2642
2643    test -n "$CXX" && break
2644  done
2645fi
2646if test -z "$CXX"; then
2647  ac_ct_CXX=$CXX
2648  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2649do
2650  # Extract the first word of "$ac_prog", so it can be a program name with args.
2651set dummy $ac_prog; ac_word=$2
2652{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2653$as_echo_n "checking for $ac_word... " >&6; }
2654if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2655  $as_echo_n "(cached) " >&6
2656else
2657  if test -n "$ac_ct_CXX"; then
2658  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2659else
2660as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2661for as_dir in $PATH
2662do
2663  IFS=$as_save_IFS
2664  test -z "$as_dir" && as_dir=.
2665    for ac_exec_ext in '' $ac_executable_extensions; do
2666  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2667    ac_cv_prog_ac_ct_CXX="$ac_prog"
2668    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2669    break 2
2670  fi
2671done
2672  done
2673IFS=$as_save_IFS
2674
2675fi
2676fi
2677ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2678if test -n "$ac_ct_CXX"; then
2679  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2680$as_echo "$ac_ct_CXX" >&6; }
2681else
2682  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2683$as_echo "no" >&6; }
2684fi
2685
2686
2687  test -n "$ac_ct_CXX" && break
2688done
2689
2690  if test "x$ac_ct_CXX" = x; then
2691    CXX="g++"
2692  else
2693    case $cross_compiling:$ac_tool_warned in
2694yes:)
2695{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2696$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2697ac_tool_warned=yes ;;
2698esac
2699    CXX=$ac_ct_CXX
2700  fi
2701fi
2702
2703  fi
2704fi
2705# Provide some information about the compiler.
2706$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2707set X $ac_compile
2708ac_compiler=$2
2709for ac_option in --version -v -V -qversion; do
2710  { { ac_try="$ac_compiler $ac_option >&5"
2711case "(($ac_try" in
2712  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2713  *) ac_try_echo=$ac_try;;
2714esac
2715eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2716$as_echo "$ac_try_echo"; } >&5
2717  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2718  ac_status=$?
2719  if test -s conftest.err; then
2720    sed '10a\
2721... rest of stderr output deleted ...
2722         10q' conftest.err >conftest.er1
2723    cat conftest.er1 >&5
2724  fi
2725  rm -f conftest.er1 conftest.err
2726  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2727  test $ac_status = 0; }
2728done
2729
2730cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2731/* end confdefs.h.  */
2732
2733int
2734main ()
2735{
2736
2737  ;
2738  return 0;
2739}
2740_ACEOF
2741ac_clean_files_save=$ac_clean_files
2742ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2743# Try to create an executable without -o first, disregard a.out.
2744# It will help us diagnose broken compilers, and finding out an intuition
2745# of exeext.
2746{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2747$as_echo_n "checking whether the C++ compiler works... " >&6; }
2748ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2749
2750# The possible output files:
2751ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2752
2753ac_rmfiles=
2754for ac_file in $ac_files
2755do
2756  case $ac_file in
2757    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2758    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2759  esac
2760done
2761rm -f $ac_rmfiles
2762
2763if { { ac_try="$ac_link_default"
2764case "(($ac_try" in
2765  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2766  *) ac_try_echo=$ac_try;;
2767esac
2768eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2769$as_echo "$ac_try_echo"; } >&5
2770  (eval "$ac_link_default") 2>&5
2771  ac_status=$?
2772  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2773  test $ac_status = 0; }; then :
2774  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2775# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2776# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2777# so that the user can short-circuit this test for compilers unknown to
2778# Autoconf.
2779for ac_file in $ac_files ''
2780do
2781  test -f "$ac_file" || continue
2782  case $ac_file in
2783    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2784	;;
2785    [ab].out )
2786	# We found the default executable, but exeext='' is most
2787	# certainly right.
2788	break;;
2789    *.* )
2790	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2791	then :; else
2792	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2793	fi
2794	# We set ac_cv_exeext here because the later test for it is not
2795	# safe: cross compilers may not add the suffix if given an `-o'
2796	# argument, so we may need to know it at that point already.
2797	# Even if this section looks crufty: it has the advantage of
2798	# actually working.
2799	break;;
2800    * )
2801	break;;
2802  esac
2803done
2804test "$ac_cv_exeext" = no && ac_cv_exeext=
2805
2806else
2807  ac_file=''
2808fi
2809if test -z "$ac_file"; then :
2810  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2811$as_echo "no" >&6; }
2812$as_echo "$as_me: failed program was:" >&5
2813sed 's/^/| /' conftest.$ac_ext >&5
2814
2815{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2816$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2817as_fn_error 77 "C++ compiler cannot create executables
2818See \`config.log' for more details" "$LINENO" 5; }
2819else
2820  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2821$as_echo "yes" >&6; }
2822fi
2823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2824$as_echo_n "checking for C++ compiler default output file name... " >&6; }
2825{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2826$as_echo "$ac_file" >&6; }
2827ac_exeext=$ac_cv_exeext
2828
2829rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2830ac_clean_files=$ac_clean_files_save
2831{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2832$as_echo_n "checking for suffix of executables... " >&6; }
2833if { { ac_try="$ac_link"
2834case "(($ac_try" in
2835  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2836  *) ac_try_echo=$ac_try;;
2837esac
2838eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2839$as_echo "$ac_try_echo"; } >&5
2840  (eval "$ac_link") 2>&5
2841  ac_status=$?
2842  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2843  test $ac_status = 0; }; then :
2844  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2845# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2846# work properly (i.e., refer to `conftest.exe'), while it won't with
2847# `rm'.
2848for ac_file in conftest.exe conftest conftest.*; do
2849  test -f "$ac_file" || continue
2850  case $ac_file in
2851    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2852    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2853	  break;;
2854    * ) break;;
2855  esac
2856done
2857else
2858  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2859$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2860as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2861See \`config.log' for more details" "$LINENO" 5; }
2862fi
2863rm -f conftest conftest$ac_cv_exeext
2864{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2865$as_echo "$ac_cv_exeext" >&6; }
2866
2867rm -f conftest.$ac_ext
2868EXEEXT=$ac_cv_exeext
2869ac_exeext=$EXEEXT
2870cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2871/* end confdefs.h.  */
2872#include <stdio.h>
2873int
2874main ()
2875{
2876FILE *f = fopen ("conftest.out", "w");
2877 return ferror (f) || fclose (f) != 0;
2878
2879  ;
2880  return 0;
2881}
2882_ACEOF
2883ac_clean_files="$ac_clean_files conftest.out"
2884# Check that the compiler produces executables we can run.  If not, either
2885# the compiler is broken, or we cross compile.
2886{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2887$as_echo_n "checking whether we are cross compiling... " >&6; }
2888if test "$cross_compiling" != yes; then
2889  { { ac_try="$ac_link"
2890case "(($ac_try" in
2891  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2892  *) ac_try_echo=$ac_try;;
2893esac
2894eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2895$as_echo "$ac_try_echo"; } >&5
2896  (eval "$ac_link") 2>&5
2897  ac_status=$?
2898  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2899  test $ac_status = 0; }
2900  if { ac_try='./conftest$ac_cv_exeext'
2901  { { case "(($ac_try" in
2902  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2903  *) ac_try_echo=$ac_try;;
2904esac
2905eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2906$as_echo "$ac_try_echo"; } >&5
2907  (eval "$ac_try") 2>&5
2908  ac_status=$?
2909  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2910  test $ac_status = 0; }; }; then
2911    cross_compiling=no
2912  else
2913    if test "$cross_compiling" = maybe; then
2914	cross_compiling=yes
2915    else
2916	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2917$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2918as_fn_error $? "cannot run C++ compiled programs.
2919If you meant to cross compile, use \`--host'.
2920See \`config.log' for more details" "$LINENO" 5; }
2921    fi
2922  fi
2923fi
2924{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2925$as_echo "$cross_compiling" >&6; }
2926
2927rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2928ac_clean_files=$ac_clean_files_save
2929{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2930$as_echo_n "checking for suffix of object files... " >&6; }
2931if ${ac_cv_objext+:} false; then :
2932  $as_echo_n "(cached) " >&6
2933else
2934  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2935/* end confdefs.h.  */
2936
2937int
2938main ()
2939{
2940
2941  ;
2942  return 0;
2943}
2944_ACEOF
2945rm -f conftest.o conftest.obj
2946if { { ac_try="$ac_compile"
2947case "(($ac_try" in
2948  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2949  *) ac_try_echo=$ac_try;;
2950esac
2951eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2952$as_echo "$ac_try_echo"; } >&5
2953  (eval "$ac_compile") 2>&5
2954  ac_status=$?
2955  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2956  test $ac_status = 0; }; then :
2957  for ac_file in conftest.o conftest.obj conftest.*; do
2958  test -f "$ac_file" || continue;
2959  case $ac_file in
2960    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2961    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2962       break;;
2963  esac
2964done
2965else
2966  $as_echo "$as_me: failed program was:" >&5
2967sed 's/^/| /' conftest.$ac_ext >&5
2968
2969{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2970$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2971as_fn_error $? "cannot compute suffix of object files: cannot compile
2972See \`config.log' for more details" "$LINENO" 5; }
2973fi
2974rm -f conftest.$ac_cv_objext conftest.$ac_ext
2975fi
2976{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2977$as_echo "$ac_cv_objext" >&6; }
2978OBJEXT=$ac_cv_objext
2979ac_objext=$OBJEXT
2980{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2981$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2982if ${ac_cv_cxx_compiler_gnu+:} false; then :
2983  $as_echo_n "(cached) " >&6
2984else
2985  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2986/* end confdefs.h.  */
2987
2988int
2989main ()
2990{
2991#ifndef __GNUC__
2992       choke me
2993#endif
2994
2995  ;
2996  return 0;
2997}
2998_ACEOF
2999if ac_fn_cxx_try_compile "$LINENO"; then :
3000  ac_compiler_gnu=yes
3001else
3002  ac_compiler_gnu=no
3003fi
3004rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3005ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3006
3007fi
3008{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3009$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3010if test $ac_compiler_gnu = yes; then
3011  GXX=yes
3012else
3013  GXX=
3014fi
3015ac_test_CXXFLAGS=${CXXFLAGS+set}
3016ac_save_CXXFLAGS=$CXXFLAGS
3017{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3018$as_echo_n "checking whether $CXX accepts -g... " >&6; }
3019if ${ac_cv_prog_cxx_g+:} false; then :
3020  $as_echo_n "(cached) " >&6
3021else
3022  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3023   ac_cxx_werror_flag=yes
3024   ac_cv_prog_cxx_g=no
3025   CXXFLAGS="-g"
3026   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3027/* end confdefs.h.  */
3028
3029int
3030main ()
3031{
3032
3033  ;
3034  return 0;
3035}
3036_ACEOF
3037if ac_fn_cxx_try_compile "$LINENO"; then :
3038  ac_cv_prog_cxx_g=yes
3039else
3040  CXXFLAGS=""
3041      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3042/* end confdefs.h.  */
3043
3044int
3045main ()
3046{
3047
3048  ;
3049  return 0;
3050}
3051_ACEOF
3052if ac_fn_cxx_try_compile "$LINENO"; then :
3053
3054else
3055  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3056	 CXXFLAGS="-g"
3057	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3058/* end confdefs.h.  */
3059
3060int
3061main ()
3062{
3063
3064  ;
3065  return 0;
3066}
3067_ACEOF
3068if ac_fn_cxx_try_compile "$LINENO"; then :
3069  ac_cv_prog_cxx_g=yes
3070fi
3071rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3072fi
3073rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3074fi
3075rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3076   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3077fi
3078{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3079$as_echo "$ac_cv_prog_cxx_g" >&6; }
3080if test "$ac_test_CXXFLAGS" = set; then
3081  CXXFLAGS=$ac_save_CXXFLAGS
3082elif test $ac_cv_prog_cxx_g = yes; then
3083  if test "$GXX" = yes; then
3084    CXXFLAGS="-g -O2"
3085  else
3086    CXXFLAGS="-g"
3087  fi
3088else
3089  if test "$GXX" = yes; then
3090    CXXFLAGS="-O2"
3091  else
3092    CXXFLAGS=
3093  fi
3094fi
3095ac_ext=c
3096ac_cpp='$CPP $CPPFLAGS'
3097ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3098ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3099ac_compiler_gnu=$ac_cv_c_compiler_gnu
3100DEPDIR="${am__leading_dot}deps"
3101
3102ac_config_commands="$ac_config_commands depfiles"
3103
3104{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3105$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3106cat > confinc.mk << 'END'
3107am__doit:
3108	@echo this is the am__doit target >confinc.out
3109.PHONY: am__doit
3110END
3111am__include="#"
3112am__quote=
3113# BSD make does it like this.
3114echo '.include "confinc.mk" # ignored' > confmf.BSD
3115# Other make implementations (GNU, Solaris 10, AIX) do it like this.
3116echo 'include confinc.mk # ignored' > confmf.GNU
3117_am_result=no
3118for s in GNU BSD; do
3119  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3120   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3121   ac_status=$?
3122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3123   (exit $ac_status); }
3124  case $?:`cat confinc.out 2>/dev/null` in #(
3125  '0:this is the am__doit target') :
3126    case $s in #(
3127  BSD) :
3128    am__include='.include' am__quote='"' ;; #(
3129  *) :
3130    am__include='include' am__quote='' ;;
3131esac ;; #(
3132  *) :
3133     ;;
3134esac
3135  if test "$am__include" != "#"; then
3136    _am_result="yes ($s style)"
3137    break
3138  fi
3139done
3140rm -f confinc.* confmf.*
3141{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3142$as_echo "${_am_result}" >&6; }
3143
3144# Check whether --enable-dependency-tracking was given.
3145if test "${enable_dependency_tracking+set}" = set; then :
3146  enableval=$enable_dependency_tracking;
3147fi
3148
3149if test "x$enable_dependency_tracking" != xno; then
3150  am_depcomp="$ac_aux_dir/depcomp"
3151  AMDEPBACKSLASH='\'
3152  am__nodep='_no'
3153fi
3154 if test "x$enable_dependency_tracking" != xno; then
3155  AMDEP_TRUE=
3156  AMDEP_FALSE='#'
3157else
3158  AMDEP_TRUE='#'
3159  AMDEP_FALSE=
3160fi
3161
3162
3163
3164depcc="$CXX"  am_compiler_list=
3165
3166{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3167$as_echo_n "checking dependency style of $depcc... " >&6; }
3168if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3169  $as_echo_n "(cached) " >&6
3170else
3171  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3172  # We make a subdir and do the tests there.  Otherwise we can end up
3173  # making bogus files that we don't know about and never remove.  For
3174  # instance it was reported that on HP-UX the gcc test will end up
3175  # making a dummy file named 'D' -- because '-MD' means "put the output
3176  # in D".
3177  rm -rf conftest.dir
3178  mkdir conftest.dir
3179  # Copy depcomp to subdir because otherwise we won't find it if we're
3180  # using a relative directory.
3181  cp "$am_depcomp" conftest.dir
3182  cd conftest.dir
3183  # We will build objects and dependencies in a subdirectory because
3184  # it helps to detect inapplicable dependency modes.  For instance
3185  # both Tru64's cc and ICC support -MD to output dependencies as a
3186  # side effect of compilation, but ICC will put the dependencies in
3187  # the current directory while Tru64 will put them in the object
3188  # directory.
3189  mkdir sub
3190
3191  am_cv_CXX_dependencies_compiler_type=none
3192  if test "$am_compiler_list" = ""; then
3193     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3194  fi
3195  am__universal=false
3196  case " $depcc " in #(
3197     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3198     esac
3199
3200  for depmode in $am_compiler_list; do
3201    # Setup a source with many dependencies, because some compilers
3202    # like to wrap large dependency lists on column 80 (with \), and
3203    # we should not choose a depcomp mode which is confused by this.
3204    #
3205    # We need to recreate these files for each test, as the compiler may
3206    # overwrite some of them when testing with obscure command lines.
3207    # This happens at least with the AIX C compiler.
3208    : > sub/conftest.c
3209    for i in 1 2 3 4 5 6; do
3210      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3211      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3212      # Solaris 10 /bin/sh.
3213      echo '/* dummy */' > sub/conftst$i.h
3214    done
3215    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3216
3217    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3218    # mode.  It turns out that the SunPro C++ compiler does not properly
3219    # handle '-M -o', and we need to detect this.  Also, some Intel
3220    # versions had trouble with output in subdirs.
3221    am__obj=sub/conftest.${OBJEXT-o}
3222    am__minus_obj="-o $am__obj"
3223    case $depmode in
3224    gcc)
3225      # This depmode causes a compiler race in universal mode.
3226      test "$am__universal" = false || continue
3227      ;;
3228    nosideeffect)
3229      # After this tag, mechanisms are not by side-effect, so they'll
3230      # only be used when explicitly requested.
3231      if test "x$enable_dependency_tracking" = xyes; then
3232	continue
3233      else
3234	break
3235      fi
3236      ;;
3237    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3238      # This compiler won't grok '-c -o', but also, the minuso test has
3239      # not run yet.  These depmodes are late enough in the game, and
3240      # so weak that their functioning should not be impacted.
3241      am__obj=conftest.${OBJEXT-o}
3242      am__minus_obj=
3243      ;;
3244    none) break ;;
3245    esac
3246    if depmode=$depmode \
3247       source=sub/conftest.c object=$am__obj \
3248       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3249       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3250         >/dev/null 2>conftest.err &&
3251       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3252       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3253       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3254       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3255      # icc doesn't choke on unknown options, it will just issue warnings
3256      # or remarks (even with -Werror).  So we grep stderr for any message
3257      # that says an option was ignored or not supported.
3258      # When given -MP, icc 7.0 and 7.1 complain thusly:
3259      #   icc: Command line warning: ignoring option '-M'; no argument required
3260      # The diagnosis changed in icc 8.0:
3261      #   icc: Command line remark: option '-MP' not supported
3262      if (grep 'ignoring option' conftest.err ||
3263          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3264        am_cv_CXX_dependencies_compiler_type=$depmode
3265        break
3266      fi
3267    fi
3268  done
3269
3270  cd ..
3271  rm -rf conftest.dir
3272else
3273  am_cv_CXX_dependencies_compiler_type=none
3274fi
3275
3276fi
3277{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3278$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3279CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3280
3281 if
3282  test "x$enable_dependency_tracking" != xno \
3283  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3284  am__fastdepCXX_TRUE=
3285  am__fastdepCXX_FALSE='#'
3286else
3287  am__fastdepCXX_TRUE='#'
3288  am__fastdepCXX_FALSE=
3289fi
3290
3291
3292# Extract the first word of "gdb", so it can be a program name with args.
3293set dummy gdb; ac_word=$2
3294{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3295$as_echo_n "checking for $ac_word... " >&6; }
3296if ${ac_cv_path_GDB+:} false; then :
3297  $as_echo_n "(cached) " >&6
3298else
3299  case $GDB in
3300  [\\/]* | ?:[\\/]*)
3301  ac_cv_path_GDB="$GDB" # Let the user override the test with a path.
3302  ;;
3303  *)
3304  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3305for as_dir in $PATH
3306do
3307  IFS=$as_save_IFS
3308  test -z "$as_dir" && as_dir=.
3309    for ac_exec_ext in '' $ac_executable_extensions; do
3310  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3311    ac_cv_path_GDB="$as_dir/$ac_word$ac_exec_ext"
3312    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3313    break 2
3314  fi
3315done
3316  done
3317IFS=$as_save_IFS
3318
3319  ;;
3320esac
3321fi
3322GDB=$ac_cv_path_GDB
3323if test -n "$GDB"; then
3324  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDB" >&5
3325$as_echo "$GDB" >&6; }
3326else
3327  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3328$as_echo "no" >&6; }
3329fi
3330
3331
3332# Extract the first word of "expect", so it can be a program name with args.
3333set dummy expect; ac_word=$2
3334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3335$as_echo_n "checking for $ac_word... " >&6; }
3336if ${ac_cv_path_EXPECT+:} false; then :
3337  $as_echo_n "(cached) " >&6
3338else
3339  case $EXPECT in
3340  [\\/]* | ?:[\\/]*)
3341  ac_cv_path_EXPECT="$EXPECT" # Let the user override the test with a path.
3342  ;;
3343  *)
3344  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3345for as_dir in $PATH
3346do
3347  IFS=$as_save_IFS
3348  test -z "$as_dir" && as_dir=.
3349    for ac_exec_ext in '' $ac_executable_extensions; do
3350  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3351    ac_cv_path_EXPECT="$as_dir/$ac_word$ac_exec_ext"
3352    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3353    break 2
3354  fi
3355done
3356  done
3357IFS=$as_save_IFS
3358
3359  ;;
3360esac
3361fi
3362EXPECT=$ac_cv_path_EXPECT
3363if test -n "$EXPECT"; then
3364  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXPECT" >&5
3365$as_echo "$EXPECT" >&6; }
3366else
3367  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3368$as_echo "no" >&6; }
3369fi
3370
3371
3372# Extract the first word of "runtest", so it can be a program name with args.
3373set dummy runtest; ac_word=$2
3374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3375$as_echo_n "checking for $ac_word... " >&6; }
3376if ${ac_cv_path_RUNTEST_BIN+:} false; then :
3377  $as_echo_n "(cached) " >&6
3378else
3379  case $RUNTEST_BIN in
3380  [\\/]* | ?:[\\/]*)
3381  ac_cv_path_RUNTEST_BIN="$RUNTEST_BIN" # Let the user override the test with a path.
3382  ;;
3383  *)
3384  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3385for as_dir in $PATH
3386do
3387  IFS=$as_save_IFS
3388  test -z "$as_dir" && as_dir=.
3389    for ac_exec_ext in '' $ac_executable_extensions; do
3390  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3391    ac_cv_path_RUNTEST_BIN="$as_dir/$ac_word$ac_exec_ext"
3392    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3393    break 2
3394  fi
3395done
3396  done
3397IFS=$as_save_IFS
3398
3399  ;;
3400esac
3401fi
3402RUNTEST_BIN=$ac_cv_path_RUNTEST_BIN
3403if test -n "$RUNTEST_BIN"; then
3404  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUNTEST_BIN" >&5
3405$as_echo "$RUNTEST_BIN" >&6; }
3406else
3407  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3408$as_echo "no" >&6; }
3409fi
3410
3411
3412
3413# Check whether --enable-memory-tests was given.
3414if test "${enable_memory_tests+set}" = set; then :
3415  enableval=$enable_memory_tests; enable_memory_tests=$enableval
3416else
3417  enable_memory_tests=no
3418
3419fi
3420
3421if test "$enable_memory_tests" = yes; then :
3422  # Extract the first word of "valgrind", so it can be a program name with args.
3423set dummy valgrind; ac_word=$2
3424{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3425$as_echo_n "checking for $ac_word... " >&6; }
3426if ${ac_cv_path_VALGRIND+:} false; then :
3427  $as_echo_n "(cached) " >&6
3428else
3429  case $VALGRIND in
3430  [\\/]* | ?:[\\/]*)
3431  ac_cv_path_VALGRIND="$VALGRIND" # Let the user override the test with a path.
3432  ;;
3433  *)
3434  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3435for as_dir in $PATH
3436do
3437  IFS=$as_save_IFS
3438  test -z "$as_dir" && as_dir=.
3439    for ac_exec_ext in '' $ac_executable_extensions; do
3440  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3441    ac_cv_path_VALGRIND="$as_dir/$ac_word$ac_exec_ext"
3442    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3443    break 2
3444  fi
3445done
3446  done
3447IFS=$as_save_IFS
3448
3449  ;;
3450esac
3451fi
3452VALGRIND=$ac_cv_path_VALGRIND
3453if test -n "$VALGRIND"; then
3454  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND" >&5
3455$as_echo "$VALGRIND" >&6; }
3456else
3457  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3458$as_echo "no" >&6; }
3459fi
3460
3461
3462  if test -z "$VALGRIND"; then :
3463  as_fn_error $? "valgrind not found" "$LINENO" 5
3464fi
3465
3466fi
3467 if test "$enable_memory_tests" = yes; then
3468  RUN_MEMORY_TESTS_TRUE=
3469  RUN_MEMORY_TESTS_FALSE='#'
3470else
3471  RUN_MEMORY_TESTS_TRUE='#'
3472  RUN_MEMORY_TESTS_FALSE=
3473fi
3474
3475
3476# Check whether --enable-docs was given.
3477if test "${enable_docs+set}" = set; then :
3478  enableval=$enable_docs; enable_docs=$enableval
3479else
3480  enable_docs=no
3481
3482fi
3483
3484if test "$enable_docs" = yes; then :
3485
3486    # Extract the first word of "doxygen", so it can be a program name with args.
3487set dummy doxygen; ac_word=$2
3488{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3489$as_echo_n "checking for $ac_word... " >&6; }
3490if ${ac_cv_path_DOXYGEN+:} false; then :
3491  $as_echo_n "(cached) " >&6
3492else
3493  case $DOXYGEN in
3494  [\\/]* | ?:[\\/]*)
3495  ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
3496  ;;
3497  *)
3498  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3499for as_dir in $PATH
3500do
3501  IFS=$as_save_IFS
3502  test -z "$as_dir" && as_dir=.
3503    for ac_exec_ext in '' $ac_executable_extensions; do
3504  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3505    ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
3506    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3507    break 2
3508  fi
3509done
3510  done
3511IFS=$as_save_IFS
3512
3513  ;;
3514esac
3515fi
3516DOXYGEN=$ac_cv_path_DOXYGEN
3517if test -n "$DOXYGEN"; then
3518  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
3519$as_echo "$DOXYGEN" >&6; }
3520else
3521  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3522$as_echo "no" >&6; }
3523fi
3524
3525
3526    if test -z "$DOXYGEN"; then :
3527  as_fn_error $? "doxygen not found" "$LINENO" 5
3528fi
3529    # Extract the first word of "sphinx-build", so it can be a program name with args.
3530set dummy sphinx-build; ac_word=$2
3531{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3532$as_echo_n "checking for $ac_word... " >&6; }
3533if ${ac_cv_path_SPHINX+:} false; then :
3534  $as_echo_n "(cached) " >&6
3535else
3536  case $SPHINX in
3537  [\\/]* | ?:[\\/]*)
3538  ac_cv_path_SPHINX="$SPHINX" # Let the user override the test with a path.
3539  ;;
3540  *)
3541  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3542for as_dir in $PATH
3543do
3544  IFS=$as_save_IFS
3545  test -z "$as_dir" && as_dir=.
3546    for ac_exec_ext in '' $ac_executable_extensions; do
3547  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3548    ac_cv_path_SPHINX="$as_dir/$ac_word$ac_exec_ext"
3549    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3550    break 2
3551  fi
3552done
3553  done
3554IFS=$as_save_IFS
3555
3556  ;;
3557esac
3558fi
3559SPHINX=$ac_cv_path_SPHINX
3560if test -n "$SPHINX"; then
3561  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPHINX" >&5
3562$as_echo "$SPHINX" >&6; }
3563else
3564  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3565$as_echo "no" >&6; }
3566fi
3567
3568
3569    if test -z "$SPHINX"; then :
3570  as_fn_error $? "sphinx-build not found" "$LINENO" 5
3571fi
3572
3573
3574fi
3575 if test "$enable_docs" = yes; then
3576  BUILD_DOCS_TRUE=
3577  BUILD_DOCS_FALSE='#'
3578else
3579  BUILD_DOCS_TRUE='#'
3580  BUILD_DOCS_FALSE=
3581fi
3582
3583
3584# Check whether --enable-werror was given.
3585if test "${enable_werror+set}" = set; then :
3586  enableval=$enable_werror; enable_werror="$enableval"
3587else
3588  enable_werror=no
3589
3590fi
3591
3592if test x"$enable_werror" == "xyes"; then :
3593
3594	CXXFLAGS="$CXXFLAGS -Werror"
3595
3596fi
3597
3598CXXFLAGS_UNITTESTS="-DMDDS_DEBUG_NODE_BASE -DMDDS_UNIT_TEST"
3599
3600
3601ac_config_files="$ac_config_files Makefile include/Makefile include/mdds/Makefile include/mdds/multi_type_vector/Makefile example/Makefile test/Makefile test/gdb/Makefile test/gdb/src/Makefile flat_segment_tree_test_mem.mem:src/test.mem.in misc/mdds-$API_VERSION.pc:misc/mdds.pc.in multi_type_matrix_test_mem.mem:src/test.mem.in multi_type_matrix_test_walk_mem.mem:src/test.mem.in multi_type_vector_test_event_mem.mem:src/test.mem.in multi_type_vector_test_custom_mem.mem:src/test.mem.in multi_type_vector_test_default_mem.mem:src/test.mem.in multi_type_vector_test_collection_mem.mem:src/test.mem.in point_quad_tree_test_mem.mem:src/test.mem.in rectangle_set_test_mem.mem:src/test.mem.in segment_tree_test_mem.mem:src/test.mem.in sorted_string_map_test_mem.mem:src/test.mem.in trie_map_test_mem.mem:src/test.mem.in rtree_test_mem.mem:src/test.mem.in rtree_test_bulkload_mem.mem:src/test.mem.in"
3602
3603cat >confcache <<\_ACEOF
3604# This file is a shell script that caches the results of configure
3605# tests run on this system so they can be shared between configure
3606# scripts and configure runs, see configure's option --config-cache.
3607# It is not useful on other systems.  If it contains results you don't
3608# want to keep, you may remove or edit it.
3609#
3610# config.status only pays attention to the cache file if you give it
3611# the --recheck option to rerun configure.
3612#
3613# `ac_cv_env_foo' variables (set or unset) will be overridden when
3614# loading this file, other *unset* `ac_cv_foo' will be assigned the
3615# following values.
3616
3617_ACEOF
3618
3619# The following way of writing the cache mishandles newlines in values,
3620# but we know of no workaround that is simple, portable, and efficient.
3621# So, we kill variables containing newlines.
3622# Ultrix sh set writes to stderr and can't be redirected directly,
3623# and sets the high bit in the cache file unless we assign to the vars.
3624(
3625  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3626    eval ac_val=\$$ac_var
3627    case $ac_val in #(
3628    *${as_nl}*)
3629      case $ac_var in #(
3630      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3631$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3632      esac
3633      case $ac_var in #(
3634      _ | IFS | as_nl) ;; #(
3635      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3636      *) { eval $ac_var=; unset $ac_var;} ;;
3637      esac ;;
3638    esac
3639  done
3640
3641  (set) 2>&1 |
3642    case $as_nl`(ac_space=' '; set) 2>&1` in #(
3643    *${as_nl}ac_space=\ *)
3644      # `set' does not quote correctly, so add quotes: double-quote
3645      # substitution turns \\\\ into \\, and sed turns \\ into \.
3646      sed -n \
3647	"s/'/'\\\\''/g;
3648	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3649      ;; #(
3650    *)
3651      # `set' quotes correctly as required by POSIX, so do not add quotes.
3652      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3653      ;;
3654    esac |
3655    sort
3656) |
3657  sed '
3658     /^ac_cv_env_/b end
3659     t clear
3660     :clear
3661     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3662     t end
3663     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3664     :end' >>confcache
3665if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3666  if test -w "$cache_file"; then
3667    if test "x$cache_file" != "x/dev/null"; then
3668      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3669$as_echo "$as_me: updating cache $cache_file" >&6;}
3670      if test ! -f "$cache_file" || test -h "$cache_file"; then
3671	cat confcache >"$cache_file"
3672      else
3673        case $cache_file in #(
3674        */* | ?:*)
3675	  mv -f confcache "$cache_file"$$ &&
3676	  mv -f "$cache_file"$$ "$cache_file" ;; #(
3677        *)
3678	  mv -f confcache "$cache_file" ;;
3679	esac
3680      fi
3681    fi
3682  else
3683    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3684$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3685  fi
3686fi
3687rm -f confcache
3688
3689test "x$prefix" = xNONE && prefix=$ac_default_prefix
3690# Let make expand exec_prefix.
3691test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3692
3693# Transform confdefs.h into DEFS.
3694# Protect against shell expansion while executing Makefile rules.
3695# Protect against Makefile macro expansion.
3696#
3697# If the first sed substitution is executed (which looks for macros that
3698# take arguments), then branch to the quote section.  Otherwise,
3699# look for a macro that doesn't take arguments.
3700ac_script='
3701:mline
3702/\\$/{
3703 N
3704 s,\\\n,,
3705 b mline
3706}
3707t clear
3708:clear
3709s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
3710t quote
3711s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
3712t quote
3713b any
3714:quote
3715s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3716s/\[/\\&/g
3717s/\]/\\&/g
3718s/\$/$$/g
3719H
3720:any
3721${
3722	g
3723	s/^\n//
3724	s/\n/ /g
3725	p
3726}
3727'
3728DEFS=`sed -n "$ac_script" confdefs.h`
3729
3730
3731ac_libobjs=
3732ac_ltlibobjs=
3733U=
3734for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3735  # 1. Remove the extension, and $U if already installed.
3736  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3737  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3738  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
3739  #    will be set to the directory where LIBOBJS objects are built.
3740  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3741  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3742done
3743LIBOBJS=$ac_libobjs
3744
3745LTLIBOBJS=$ac_ltlibobjs
3746
3747
3748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
3749$as_echo_n "checking that generated files are newer than configure... " >&6; }
3750   if test -n "$am_sleep_pid"; then
3751     # Hide warnings about reused PIDs.
3752     wait $am_sleep_pid 2>/dev/null
3753   fi
3754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
3755$as_echo "done" >&6; }
3756 if test -n "$EXEEXT"; then
3757  am__EXEEXT_TRUE=
3758  am__EXEEXT_FALSE='#'
3759else
3760  am__EXEEXT_TRUE='#'
3761  am__EXEEXT_FALSE=
3762fi
3763
3764if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
3765  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
3766Usually this means the macro was only invoked conditionally." "$LINENO" 5
3767fi
3768if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3769  as_fn_error $? "conditional \"AMDEP\" was never defined.
3770Usually this means the macro was only invoked conditionally." "$LINENO" 5
3771fi
3772if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
3773  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
3774Usually this means the macro was only invoked conditionally." "$LINENO" 5
3775fi
3776if test -z "${RUN_MEMORY_TESTS_TRUE}" && test -z "${RUN_MEMORY_TESTS_FALSE}"; then
3777  as_fn_error $? "conditional \"RUN_MEMORY_TESTS\" was never defined.
3778Usually this means the macro was only invoked conditionally." "$LINENO" 5
3779fi
3780if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then
3781  as_fn_error $? "conditional \"BUILD_DOCS\" was never defined.
3782Usually this means the macro was only invoked conditionally." "$LINENO" 5
3783fi
3784
3785: "${CONFIG_STATUS=./config.status}"
3786ac_write_fail=0
3787ac_clean_files_save=$ac_clean_files
3788ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3789{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3790$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3791as_write_fail=0
3792cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3793#! $SHELL
3794# Generated by $as_me.
3795# Run this file to recreate the current configuration.
3796# Compiler output produced by configure, useful for debugging
3797# configure, is in config.log if it exists.
3798
3799debug=false
3800ac_cs_recheck=false
3801ac_cs_silent=false
3802
3803SHELL=\${CONFIG_SHELL-$SHELL}
3804export SHELL
3805_ASEOF
3806cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3807## -------------------- ##
3808## M4sh Initialization. ##
3809## -------------------- ##
3810
3811# Be more Bourne compatible
3812DUALCASE=1; export DUALCASE # for MKS sh
3813if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3814  emulate sh
3815  NULLCMD=:
3816  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3817  # is contrary to our usage.  Disable this feature.
3818  alias -g '${1+"$@"}'='"$@"'
3819  setopt NO_GLOB_SUBST
3820else
3821  case `(set -o) 2>/dev/null` in #(
3822  *posix*) :
3823    set -o posix ;; #(
3824  *) :
3825     ;;
3826esac
3827fi
3828
3829
3830as_nl='
3831'
3832export as_nl
3833# Printing a long string crashes Solaris 7 /usr/bin/printf.
3834as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3835as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3836as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3837# Prefer a ksh shell builtin over an external printf program on Solaris,
3838# but without wasting forks for bash or zsh.
3839if test -z "$BASH_VERSION$ZSH_VERSION" \
3840    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3841  as_echo='print -r --'
3842  as_echo_n='print -rn --'
3843elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3844  as_echo='printf %s\n'
3845  as_echo_n='printf %s'
3846else
3847  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3848    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3849    as_echo_n='/usr/ucb/echo -n'
3850  else
3851    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3852    as_echo_n_body='eval
3853      arg=$1;
3854      case $arg in #(
3855      *"$as_nl"*)
3856	expr "X$arg" : "X\\(.*\\)$as_nl";
3857	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3858      esac;
3859      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3860    '
3861    export as_echo_n_body
3862    as_echo_n='sh -c $as_echo_n_body as_echo'
3863  fi
3864  export as_echo_body
3865  as_echo='sh -c $as_echo_body as_echo'
3866fi
3867
3868# The user is always right.
3869if test "${PATH_SEPARATOR+set}" != set; then
3870  PATH_SEPARATOR=:
3871  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3872    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3873      PATH_SEPARATOR=';'
3874  }
3875fi
3876
3877
3878# IFS
3879# We need space, tab and new line, in precisely that order.  Quoting is
3880# there to prevent editors from complaining about space-tab.
3881# (If _AS_PATH_WALK were called with IFS unset, it would disable word
3882# splitting by setting IFS to empty value.)
3883IFS=" ""	$as_nl"
3884
3885# Find who we are.  Look in the path if we contain no directory separator.
3886as_myself=
3887case $0 in #((
3888  *[\\/]* ) as_myself=$0 ;;
3889  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3890for as_dir in $PATH
3891do
3892  IFS=$as_save_IFS
3893  test -z "$as_dir" && as_dir=.
3894    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3895  done
3896IFS=$as_save_IFS
3897
3898     ;;
3899esac
3900# We did not find ourselves, most probably we were run as `sh COMMAND'
3901# in which case we are not to be found in the path.
3902if test "x$as_myself" = x; then
3903  as_myself=$0
3904fi
3905if test ! -f "$as_myself"; then
3906  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3907  exit 1
3908fi
3909
3910# Unset variables that we do not need and which cause bugs (e.g. in
3911# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
3912# suppresses any "Segmentation fault" message there.  '((' could
3913# trigger a bug in pdksh 5.2.14.
3914for as_var in BASH_ENV ENV MAIL MAILPATH
3915do eval test x\${$as_var+set} = xset \
3916  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3917done
3918PS1='$ '
3919PS2='> '
3920PS4='+ '
3921
3922# NLS nuisances.
3923LC_ALL=C
3924export LC_ALL
3925LANGUAGE=C
3926export LANGUAGE
3927
3928# CDPATH.
3929(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3930
3931
3932# as_fn_error STATUS ERROR [LINENO LOG_FD]
3933# ----------------------------------------
3934# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3935# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3936# script with STATUS, using 1 if that was 0.
3937as_fn_error ()
3938{
3939  as_status=$1; test $as_status -eq 0 && as_status=1
3940  if test "$4"; then
3941    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3942    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3943  fi
3944  $as_echo "$as_me: error: $2" >&2
3945  as_fn_exit $as_status
3946} # as_fn_error
3947
3948
3949# as_fn_set_status STATUS
3950# -----------------------
3951# Set $? to STATUS, without forking.
3952as_fn_set_status ()
3953{
3954  return $1
3955} # as_fn_set_status
3956
3957# as_fn_exit STATUS
3958# -----------------
3959# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3960as_fn_exit ()
3961{
3962  set +e
3963  as_fn_set_status $1
3964  exit $1
3965} # as_fn_exit
3966
3967# as_fn_unset VAR
3968# ---------------
3969# Portably unset VAR.
3970as_fn_unset ()
3971{
3972  { eval $1=; unset $1;}
3973}
3974as_unset=as_fn_unset
3975# as_fn_append VAR VALUE
3976# ----------------------
3977# Append the text in VALUE to the end of the definition contained in VAR. Take
3978# advantage of any shell optimizations that allow amortized linear growth over
3979# repeated appends, instead of the typical quadratic growth present in naive
3980# implementations.
3981if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3982  eval 'as_fn_append ()
3983  {
3984    eval $1+=\$2
3985  }'
3986else
3987  as_fn_append ()
3988  {
3989    eval $1=\$$1\$2
3990  }
3991fi # as_fn_append
3992
3993# as_fn_arith ARG...
3994# ------------------
3995# Perform arithmetic evaluation on the ARGs, and store the result in the
3996# global $as_val. Take advantage of shells that can avoid forks. The arguments
3997# must be portable across $(()) and expr.
3998if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3999  eval 'as_fn_arith ()
4000  {
4001    as_val=$(( $* ))
4002  }'
4003else
4004  as_fn_arith ()
4005  {
4006    as_val=`expr "$@" || test $? -eq 1`
4007  }
4008fi # as_fn_arith
4009
4010
4011if expr a : '\(a\)' >/dev/null 2>&1 &&
4012   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4013  as_expr=expr
4014else
4015  as_expr=false
4016fi
4017
4018if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4019  as_basename=basename
4020else
4021  as_basename=false
4022fi
4023
4024if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4025  as_dirname=dirname
4026else
4027  as_dirname=false
4028fi
4029
4030as_me=`$as_basename -- "$0" ||
4031$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4032	 X"$0" : 'X\(//\)$' \| \
4033	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4034$as_echo X/"$0" |
4035    sed '/^.*\/\([^/][^/]*\)\/*$/{
4036	    s//\1/
4037	    q
4038	  }
4039	  /^X\/\(\/\/\)$/{
4040	    s//\1/
4041	    q
4042	  }
4043	  /^X\/\(\/\).*/{
4044	    s//\1/
4045	    q
4046	  }
4047	  s/.*/./; q'`
4048
4049# Avoid depending upon Character Ranges.
4050as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4051as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4052as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4053as_cr_digits='0123456789'
4054as_cr_alnum=$as_cr_Letters$as_cr_digits
4055
4056ECHO_C= ECHO_N= ECHO_T=
4057case `echo -n x` in #(((((
4058-n*)
4059  case `echo 'xy\c'` in
4060  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
4061  xy)  ECHO_C='\c';;
4062  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
4063       ECHO_T='	';;
4064  esac;;
4065*)
4066  ECHO_N='-n';;
4067esac
4068
4069rm -f conf$$ conf$$.exe conf$$.file
4070if test -d conf$$.dir; then
4071  rm -f conf$$.dir/conf$$.file
4072else
4073  rm -f conf$$.dir
4074  mkdir conf$$.dir 2>/dev/null
4075fi
4076if (echo >conf$$.file) 2>/dev/null; then
4077  if ln -s conf$$.file conf$$ 2>/dev/null; then
4078    as_ln_s='ln -s'
4079    # ... but there are two gotchas:
4080    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4081    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4082    # In both cases, we have to default to `cp -pR'.
4083    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4084      as_ln_s='cp -pR'
4085  elif ln conf$$.file conf$$ 2>/dev/null; then
4086    as_ln_s=ln
4087  else
4088    as_ln_s='cp -pR'
4089  fi
4090else
4091  as_ln_s='cp -pR'
4092fi
4093rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4094rmdir conf$$.dir 2>/dev/null
4095
4096
4097# as_fn_mkdir_p
4098# -------------
4099# Create "$as_dir" as a directory, including parents if necessary.
4100as_fn_mkdir_p ()
4101{
4102
4103  case $as_dir in #(
4104  -*) as_dir=./$as_dir;;
4105  esac
4106  test -d "$as_dir" || eval $as_mkdir_p || {
4107    as_dirs=
4108    while :; do
4109      case $as_dir in #(
4110      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4111      *) as_qdir=$as_dir;;
4112      esac
4113      as_dirs="'$as_qdir' $as_dirs"
4114      as_dir=`$as_dirname -- "$as_dir" ||
4115$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4116	 X"$as_dir" : 'X\(//\)[^/]' \| \
4117	 X"$as_dir" : 'X\(//\)$' \| \
4118	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4119$as_echo X"$as_dir" |
4120    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4121	    s//\1/
4122	    q
4123	  }
4124	  /^X\(\/\/\)[^/].*/{
4125	    s//\1/
4126	    q
4127	  }
4128	  /^X\(\/\/\)$/{
4129	    s//\1/
4130	    q
4131	  }
4132	  /^X\(\/\).*/{
4133	    s//\1/
4134	    q
4135	  }
4136	  s/.*/./; q'`
4137      test -d "$as_dir" && break
4138    done
4139    test -z "$as_dirs" || eval "mkdir $as_dirs"
4140  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4141
4142
4143} # as_fn_mkdir_p
4144if mkdir -p . 2>/dev/null; then
4145  as_mkdir_p='mkdir -p "$as_dir"'
4146else
4147  test -d ./-p && rmdir ./-p
4148  as_mkdir_p=false
4149fi
4150
4151
4152# as_fn_executable_p FILE
4153# -----------------------
4154# Test if FILE is an executable regular file.
4155as_fn_executable_p ()
4156{
4157  test -f "$1" && test -x "$1"
4158} # as_fn_executable_p
4159as_test_x='test -x'
4160as_executable_p=as_fn_executable_p
4161
4162# Sed expression to map a string onto a valid CPP name.
4163as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4164
4165# Sed expression to map a string onto a valid variable name.
4166as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4167
4168
4169exec 6>&1
4170## ----------------------------------- ##
4171## Main body of $CONFIG_STATUS script. ##
4172## ----------------------------------- ##
4173_ASEOF
4174test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4175
4176cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4177# Save the log message, to keep $0 and so on meaningful, and to
4178# report actual input values of CONFIG_FILES etc. instead of their
4179# values after options handling.
4180ac_log="
4181This file was extended by mdds $as_me 1.7.0, which was
4182generated by GNU Autoconf 2.69.  Invocation command line was
4183
4184  CONFIG_FILES    = $CONFIG_FILES
4185  CONFIG_HEADERS  = $CONFIG_HEADERS
4186  CONFIG_LINKS    = $CONFIG_LINKS
4187  CONFIG_COMMANDS = $CONFIG_COMMANDS
4188  $ $0 $@
4189
4190on `(hostname || uname -n) 2>/dev/null | sed 1q`
4191"
4192
4193_ACEOF
4194
4195case $ac_config_files in *"
4196"*) set x $ac_config_files; shift; ac_config_files=$*;;
4197esac
4198
4199
4200
4201cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4202# Files that config.status was made for.
4203config_files="$ac_config_files"
4204config_commands="$ac_config_commands"
4205
4206_ACEOF
4207
4208cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4209ac_cs_usage="\
4210\`$as_me' instantiates files and other configuration actions
4211from templates according to the current configuration.  Unless the files
4212and actions are specified as TAGs, all are instantiated by default.
4213
4214Usage: $0 [OPTION]... [TAG]...
4215
4216  -h, --help       print this help, then exit
4217  -V, --version    print version number and configuration settings, then exit
4218      --config     print configuration, then exit
4219  -q, --quiet, --silent
4220                   do not print progress messages
4221  -d, --debug      don't remove temporary files
4222      --recheck    update $as_me by reconfiguring in the same conditions
4223      --file=FILE[:TEMPLATE]
4224                   instantiate the configuration file FILE
4225
4226Configuration files:
4227$config_files
4228
4229Configuration commands:
4230$config_commands
4231
4232Report bugs to <kohei.yoshida@gmail.com>."
4233
4234_ACEOF
4235cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4236ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4237ac_cs_version="\\
4238mdds config.status 1.7.0
4239configured by $0, generated by GNU Autoconf 2.69,
4240  with options \\"\$ac_cs_config\\"
4241
4242Copyright (C) 2012 Free Software Foundation, Inc.
4243This config.status script is free software; the Free Software Foundation
4244gives unlimited permission to copy, distribute and modify it."
4245
4246ac_pwd='$ac_pwd'
4247srcdir='$srcdir'
4248INSTALL='$INSTALL'
4249MKDIR_P='$MKDIR_P'
4250AWK='$AWK'
4251test -n "\$AWK" || AWK=awk
4252_ACEOF
4253
4254cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4255# The default lists apply if the user does not specify any file.
4256ac_need_defaults=:
4257while test $# != 0
4258do
4259  case $1 in
4260  --*=?*)
4261    ac_option=`expr "X$1" : 'X\([^=]*\)='`
4262    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4263    ac_shift=:
4264    ;;
4265  --*=)
4266    ac_option=`expr "X$1" : 'X\([^=]*\)='`
4267    ac_optarg=
4268    ac_shift=:
4269    ;;
4270  *)
4271    ac_option=$1
4272    ac_optarg=$2
4273    ac_shift=shift
4274    ;;
4275  esac
4276
4277  case $ac_option in
4278  # Handling of the options.
4279  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4280    ac_cs_recheck=: ;;
4281  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4282    $as_echo "$ac_cs_version"; exit ;;
4283  --config | --confi | --conf | --con | --co | --c )
4284    $as_echo "$ac_cs_config"; exit ;;
4285  --debug | --debu | --deb | --de | --d | -d )
4286    debug=: ;;
4287  --file | --fil | --fi | --f )
4288    $ac_shift
4289    case $ac_optarg in
4290    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4291    '') as_fn_error $? "missing file argument" ;;
4292    esac
4293    as_fn_append CONFIG_FILES " '$ac_optarg'"
4294    ac_need_defaults=false;;
4295  --he | --h |  --help | --hel | -h )
4296    $as_echo "$ac_cs_usage"; exit ;;
4297  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4298  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4299    ac_cs_silent=: ;;
4300
4301  # This is an error.
4302  -*) as_fn_error $? "unrecognized option: \`$1'
4303Try \`$0 --help' for more information." ;;
4304
4305  *) as_fn_append ac_config_targets " $1"
4306     ac_need_defaults=false ;;
4307
4308  esac
4309  shift
4310done
4311
4312ac_configure_extra_args=
4313
4314if $ac_cs_silent; then
4315  exec 6>/dev/null
4316  ac_configure_extra_args="$ac_configure_extra_args --silent"
4317fi
4318
4319_ACEOF
4320cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4321if \$ac_cs_recheck; then
4322  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4323  shift
4324  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4325  CONFIG_SHELL='$SHELL'
4326  export CONFIG_SHELL
4327  exec "\$@"
4328fi
4329
4330_ACEOF
4331cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4332exec 5>>config.log
4333{
4334  echo
4335  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4336## Running $as_me. ##
4337_ASBOX
4338  $as_echo "$ac_log"
4339} >&5
4340
4341_ACEOF
4342cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4343#
4344# INIT-COMMANDS
4345#
4346AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
4347
4348_ACEOF
4349
4350cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4351
4352# Handling of arguments.
4353for ac_config_target in $ac_config_targets
4354do
4355  case $ac_config_target in
4356    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4357    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4358    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
4359    "include/mdds/Makefile") CONFIG_FILES="$CONFIG_FILES include/mdds/Makefile" ;;
4360    "include/mdds/multi_type_vector/Makefile") CONFIG_FILES="$CONFIG_FILES include/mdds/multi_type_vector/Makefile" ;;
4361    "example/Makefile") CONFIG_FILES="$CONFIG_FILES example/Makefile" ;;
4362    "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
4363    "test/gdb/Makefile") CONFIG_FILES="$CONFIG_FILES test/gdb/Makefile" ;;
4364    "test/gdb/src/Makefile") CONFIG_FILES="$CONFIG_FILES test/gdb/src/Makefile" ;;
4365    "flat_segment_tree_test_mem.mem") CONFIG_FILES="$CONFIG_FILES flat_segment_tree_test_mem.mem:src/test.mem.in" ;;
4366    "misc/mdds-$API_VERSION.pc") CONFIG_FILES="$CONFIG_FILES misc/mdds-$API_VERSION.pc:misc/mdds.pc.in" ;;
4367    "multi_type_matrix_test_mem.mem") CONFIG_FILES="$CONFIG_FILES multi_type_matrix_test_mem.mem:src/test.mem.in" ;;
4368    "multi_type_matrix_test_walk_mem.mem") CONFIG_FILES="$CONFIG_FILES multi_type_matrix_test_walk_mem.mem:src/test.mem.in" ;;
4369    "multi_type_vector_test_event_mem.mem") CONFIG_FILES="$CONFIG_FILES multi_type_vector_test_event_mem.mem:src/test.mem.in" ;;
4370    "multi_type_vector_test_custom_mem.mem") CONFIG_FILES="$CONFIG_FILES multi_type_vector_test_custom_mem.mem:src/test.mem.in" ;;
4371    "multi_type_vector_test_default_mem.mem") CONFIG_FILES="$CONFIG_FILES multi_type_vector_test_default_mem.mem:src/test.mem.in" ;;
4372    "multi_type_vector_test_collection_mem.mem") CONFIG_FILES="$CONFIG_FILES multi_type_vector_test_collection_mem.mem:src/test.mem.in" ;;
4373    "point_quad_tree_test_mem.mem") CONFIG_FILES="$CONFIG_FILES point_quad_tree_test_mem.mem:src/test.mem.in" ;;
4374    "rectangle_set_test_mem.mem") CONFIG_FILES="$CONFIG_FILES rectangle_set_test_mem.mem:src/test.mem.in" ;;
4375    "segment_tree_test_mem.mem") CONFIG_FILES="$CONFIG_FILES segment_tree_test_mem.mem:src/test.mem.in" ;;
4376    "sorted_string_map_test_mem.mem") CONFIG_FILES="$CONFIG_FILES sorted_string_map_test_mem.mem:src/test.mem.in" ;;
4377    "trie_map_test_mem.mem") CONFIG_FILES="$CONFIG_FILES trie_map_test_mem.mem:src/test.mem.in" ;;
4378    "rtree_test_mem.mem") CONFIG_FILES="$CONFIG_FILES rtree_test_mem.mem:src/test.mem.in" ;;
4379    "rtree_test_bulkload_mem.mem") CONFIG_FILES="$CONFIG_FILES rtree_test_bulkload_mem.mem:src/test.mem.in" ;;
4380
4381  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4382  esac
4383done
4384
4385
4386# If the user did not use the arguments to specify the items to instantiate,
4387# then the envvar interface is used.  Set only those that are not.
4388# We use the long form for the default assignment because of an extremely
4389# bizarre bug on SunOS 4.1.3.
4390if $ac_need_defaults; then
4391  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4392  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4393fi
4394
4395# Have a temporary directory for convenience.  Make it in the build tree
4396# simply because there is no reason against having it here, and in addition,
4397# creating and moving files from /tmp can sometimes cause problems.
4398# Hook for its removal unless debugging.
4399# Note that there is a small window in which the directory will not be cleaned:
4400# after its creation but before its name has been assigned to `$tmp'.
4401$debug ||
4402{
4403  tmp= ac_tmp=
4404  trap 'exit_status=$?
4405  : "${ac_tmp:=$tmp}"
4406  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4407' 0
4408  trap 'as_fn_exit 1' 1 2 13 15
4409}
4410# Create a (secure) tmp directory for tmp files.
4411
4412{
4413  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4414  test -d "$tmp"
4415}  ||
4416{
4417  tmp=./conf$$-$RANDOM
4418  (umask 077 && mkdir "$tmp")
4419} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4420ac_tmp=$tmp
4421
4422# Set up the scripts for CONFIG_FILES section.
4423# No need to generate them if there are no CONFIG_FILES.
4424# This happens for instance with `./config.status config.h'.
4425if test -n "$CONFIG_FILES"; then
4426
4427
4428ac_cr=`echo X | tr X '\015'`
4429# On cygwin, bash can eat \r inside `` if the user requested igncr.
4430# But we know of no other shell where ac_cr would be empty at this
4431# point, so we can use a bashism as a fallback.
4432if test "x$ac_cr" = x; then
4433  eval ac_cr=\$\'\\r\'
4434fi
4435ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4436if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4437  ac_cs_awk_cr='\\r'
4438else
4439  ac_cs_awk_cr=$ac_cr
4440fi
4441
4442echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4443_ACEOF
4444
4445
4446{
4447  echo "cat >conf$$subs.awk <<_ACEOF" &&
4448  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4449  echo "_ACEOF"
4450} >conf$$subs.sh ||
4451  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4452ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4453ac_delim='%!_!# '
4454for ac_last_try in false false false false false :; do
4455  . ./conf$$subs.sh ||
4456    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4457
4458  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4459  if test $ac_delim_n = $ac_delim_num; then
4460    break
4461  elif $ac_last_try; then
4462    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4463  else
4464    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4465  fi
4466done
4467rm -f conf$$subs.sh
4468
4469cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4470cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4471_ACEOF
4472sed -n '
4473h
4474s/^/S["/; s/!.*/"]=/
4475p
4476g
4477s/^[^!]*!//
4478:repl
4479t repl
4480s/'"$ac_delim"'$//
4481t delim
4482:nl
4483h
4484s/\(.\{148\}\)..*/\1/
4485t more1
4486s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4487p
4488n
4489b repl
4490:more1
4491s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4492p
4493g
4494s/.\{148\}//
4495t nl
4496:delim
4497h
4498s/\(.\{148\}\)..*/\1/
4499t more2
4500s/["\\]/\\&/g; s/^/"/; s/$/"/
4501p
4502b
4503:more2
4504s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4505p
4506g
4507s/.\{148\}//
4508t delim
4509' <conf$$subs.awk | sed '
4510/^[^""]/{
4511  N
4512  s/\n//
4513}
4514' >>$CONFIG_STATUS || ac_write_fail=1
4515rm -f conf$$subs.awk
4516cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4517_ACAWK
4518cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4519  for (key in S) S_is_set[key] = 1
4520  FS = ""
4521
4522}
4523{
4524  line = $ 0
4525  nfields = split(line, field, "@")
4526  substed = 0
4527  len = length(field[1])
4528  for (i = 2; i < nfields; i++) {
4529    key = field[i]
4530    keylen = length(key)
4531    if (S_is_set[key]) {
4532      value = S[key]
4533      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4534      len += length(value) + length(field[++i])
4535      substed = 1
4536    } else
4537      len += 1 + keylen
4538  }
4539
4540  print line
4541}
4542
4543_ACAWK
4544_ACEOF
4545cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4546if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4547  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4548else
4549  cat
4550fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4551  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4552_ACEOF
4553
4554# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4555# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4556# trailing colons and then remove the whole line if VPATH becomes empty
4557# (actually we leave an empty line to preserve line numbers).
4558if test "x$srcdir" = x.; then
4559  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
4560h
4561s///
4562s/^/:/
4563s/[	 ]*$/:/
4564s/:\$(srcdir):/:/g
4565s/:\${srcdir}:/:/g
4566s/:@srcdir@:/:/g
4567s/^:*//
4568s/:*$//
4569x
4570s/\(=[	 ]*\).*/\1/
4571G
4572s/\n//
4573s/^[^=]*=[	 ]*$//
4574}'
4575fi
4576
4577cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4578fi # test -n "$CONFIG_FILES"
4579
4580
4581eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
4582shift
4583for ac_tag
4584do
4585  case $ac_tag in
4586  :[FHLC]) ac_mode=$ac_tag; continue;;
4587  esac
4588  case $ac_mode$ac_tag in
4589  :[FHL]*:*);;
4590  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4591  :[FH]-) ac_tag=-:-;;
4592  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4593  esac
4594  ac_save_IFS=$IFS
4595  IFS=:
4596  set x $ac_tag
4597  IFS=$ac_save_IFS
4598  shift
4599  ac_file=$1
4600  shift
4601
4602  case $ac_mode in
4603  :L) ac_source=$1;;
4604  :[FH])
4605    ac_file_inputs=
4606    for ac_f
4607    do
4608      case $ac_f in
4609      -) ac_f="$ac_tmp/stdin";;
4610      *) # Look for the file first in the build tree, then in the source tree
4611	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
4612	 # because $ac_f cannot contain `:'.
4613	 test -f "$ac_f" ||
4614	   case $ac_f in
4615	   [\\/$]*) false;;
4616	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4617	   esac ||
4618	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4619      esac
4620      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4621      as_fn_append ac_file_inputs " '$ac_f'"
4622    done
4623
4624    # Let's still pretend it is `configure' which instantiates (i.e., don't
4625    # use $as_me), people would be surprised to read:
4626    #    /* config.h.  Generated by config.status.  */
4627    configure_input='Generated from '`
4628	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4629	`' by configure.'
4630    if test x"$ac_file" != x-; then
4631      configure_input="$ac_file.  $configure_input"
4632      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4633$as_echo "$as_me: creating $ac_file" >&6;}
4634    fi
4635    # Neutralize special characters interpreted by sed in replacement strings.
4636    case $configure_input in #(
4637    *\&* | *\|* | *\\* )
4638       ac_sed_conf_input=`$as_echo "$configure_input" |
4639       sed 's/[\\\\&|]/\\\\&/g'`;; #(
4640    *) ac_sed_conf_input=$configure_input;;
4641    esac
4642
4643    case $ac_tag in
4644    *:-:* | *:-) cat >"$ac_tmp/stdin" \
4645      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4646    esac
4647    ;;
4648  esac
4649
4650  ac_dir=`$as_dirname -- "$ac_file" ||
4651$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4652	 X"$ac_file" : 'X\(//\)[^/]' \| \
4653	 X"$ac_file" : 'X\(//\)$' \| \
4654	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4655$as_echo X"$ac_file" |
4656    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4657	    s//\1/
4658	    q
4659	  }
4660	  /^X\(\/\/\)[^/].*/{
4661	    s//\1/
4662	    q
4663	  }
4664	  /^X\(\/\/\)$/{
4665	    s//\1/
4666	    q
4667	  }
4668	  /^X\(\/\).*/{
4669	    s//\1/
4670	    q
4671	  }
4672	  s/.*/./; q'`
4673  as_dir="$ac_dir"; as_fn_mkdir_p
4674  ac_builddir=.
4675
4676case "$ac_dir" in
4677.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4678*)
4679  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4680  # A ".." for each directory in $ac_dir_suffix.
4681  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4682  case $ac_top_builddir_sub in
4683  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4684  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4685  esac ;;
4686esac
4687ac_abs_top_builddir=$ac_pwd
4688ac_abs_builddir=$ac_pwd$ac_dir_suffix
4689# for backward compatibility:
4690ac_top_builddir=$ac_top_build_prefix
4691
4692case $srcdir in
4693  .)  # We are building in place.
4694    ac_srcdir=.
4695    ac_top_srcdir=$ac_top_builddir_sub
4696    ac_abs_top_srcdir=$ac_pwd ;;
4697  [\\/]* | ?:[\\/]* )  # Absolute name.
4698    ac_srcdir=$srcdir$ac_dir_suffix;
4699    ac_top_srcdir=$srcdir
4700    ac_abs_top_srcdir=$srcdir ;;
4701  *) # Relative name.
4702    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4703    ac_top_srcdir=$ac_top_build_prefix$srcdir
4704    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4705esac
4706ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4707
4708
4709  case $ac_mode in
4710  :F)
4711  #
4712  # CONFIG_FILE
4713  #
4714
4715  case $INSTALL in
4716  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4717  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4718  esac
4719  ac_MKDIR_P=$MKDIR_P
4720  case $MKDIR_P in
4721  [\\/$]* | ?:[\\/]* ) ;;
4722  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
4723  esac
4724_ACEOF
4725
4726cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4727# If the template does not know about datarootdir, expand it.
4728# FIXME: This hack should be removed a few years after 2.60.
4729ac_datarootdir_hack=; ac_datarootdir_seen=
4730ac_sed_dataroot='
4731/datarootdir/ {
4732  p
4733  q
4734}
4735/@datadir@/p
4736/@docdir@/p
4737/@infodir@/p
4738/@localedir@/p
4739/@mandir@/p'
4740case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4741*datarootdir*) ac_datarootdir_seen=yes;;
4742*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4743  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4744$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4745_ACEOF
4746cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4747  ac_datarootdir_hack='
4748  s&@datadir@&$datadir&g
4749  s&@docdir@&$docdir&g
4750  s&@infodir@&$infodir&g
4751  s&@localedir@&$localedir&g
4752  s&@mandir@&$mandir&g
4753  s&\\\${datarootdir}&$datarootdir&g' ;;
4754esac
4755_ACEOF
4756
4757# Neutralize VPATH when `$srcdir' = `.'.
4758# Shell code in configure.ac might set extrasub.
4759# FIXME: do we really want to maintain this feature?
4760cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4761ac_sed_extra="$ac_vpsub
4762$extrasub
4763_ACEOF
4764cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4765:t
4766/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4767s|@configure_input@|$ac_sed_conf_input|;t t
4768s&@top_builddir@&$ac_top_builddir_sub&;t t
4769s&@top_build_prefix@&$ac_top_build_prefix&;t t
4770s&@srcdir@&$ac_srcdir&;t t
4771s&@abs_srcdir@&$ac_abs_srcdir&;t t
4772s&@top_srcdir@&$ac_top_srcdir&;t t
4773s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4774s&@builddir@&$ac_builddir&;t t
4775s&@abs_builddir@&$ac_abs_builddir&;t t
4776s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4777s&@INSTALL@&$ac_INSTALL&;t t
4778s&@MKDIR_P@&$ac_MKDIR_P&;t t
4779$ac_datarootdir_hack
4780"
4781eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4782  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4783
4784test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4785  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4786  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
4787      "$ac_tmp/out"`; test -z "$ac_out"; } &&
4788  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4789which seems to be undefined.  Please make sure it is defined" >&5
4790$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4791which seems to be undefined.  Please make sure it is defined" >&2;}
4792
4793  rm -f "$ac_tmp/stdin"
4794  case $ac_file in
4795  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4796  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4797  esac \
4798  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4799 ;;
4800
4801
4802  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
4803$as_echo "$as_me: executing $ac_file commands" >&6;}
4804 ;;
4805  esac
4806
4807
4808  case $ac_file$ac_mode in
4809    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
4810  # Older Autoconf quotes --file arguments for eval, but not when files
4811  # are listed without --file.  Let's play safe and only enable the eval
4812  # if we detect the quoting.
4813  # TODO: see whether this extra hack can be removed once we start
4814  # requiring Autoconf 2.70 or later.
4815  case $CONFIG_FILES in #(
4816  *\'*) :
4817    eval set x "$CONFIG_FILES" ;; #(
4818  *) :
4819    set x $CONFIG_FILES ;; #(
4820  *) :
4821     ;;
4822esac
4823  shift
4824  # Used to flag and report bootstrapping failures.
4825  am_rc=0
4826  for am_mf
4827  do
4828    # Strip MF so we end up with the name of the file.
4829    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
4830    # Check whether this is an Automake generated Makefile which includes
4831    # dependency-tracking related rules and includes.
4832    # Grep'ing the whole file directly is not great: AIX grep has a line
4833    # limit of 2048, but all sed's we know have understand at least 4000.
4834    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
4835      || continue
4836    am_dirpart=`$as_dirname -- "$am_mf" ||
4837$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4838	 X"$am_mf" : 'X\(//\)[^/]' \| \
4839	 X"$am_mf" : 'X\(//\)$' \| \
4840	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
4841$as_echo X"$am_mf" |
4842    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4843	    s//\1/
4844	    q
4845	  }
4846	  /^X\(\/\/\)[^/].*/{
4847	    s//\1/
4848	    q
4849	  }
4850	  /^X\(\/\/\)$/{
4851	    s//\1/
4852	    q
4853	  }
4854	  /^X\(\/\).*/{
4855	    s//\1/
4856	    q
4857	  }
4858	  s/.*/./; q'`
4859    am_filepart=`$as_basename -- "$am_mf" ||
4860$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
4861	 X"$am_mf" : 'X\(//\)$' \| \
4862	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
4863$as_echo X/"$am_mf" |
4864    sed '/^.*\/\([^/][^/]*\)\/*$/{
4865	    s//\1/
4866	    q
4867	  }
4868	  /^X\/\(\/\/\)$/{
4869	    s//\1/
4870	    q
4871	  }
4872	  /^X\/\(\/\).*/{
4873	    s//\1/
4874	    q
4875	  }
4876	  s/.*/./; q'`
4877    { echo "$as_me:$LINENO: cd "$am_dirpart" \
4878      && sed -e '/# am--include-marker/d' "$am_filepart" \
4879        | $MAKE -f - am--depfiles" >&5
4880   (cd "$am_dirpart" \
4881      && sed -e '/# am--include-marker/d' "$am_filepart" \
4882        | $MAKE -f - am--depfiles) >&5 2>&5
4883   ac_status=$?
4884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4885   (exit $ac_status); } || am_rc=$?
4886  done
4887  if test $am_rc -ne 0; then
4888    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4889$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4890as_fn_error $? "Something went wrong bootstrapping makefile fragments
4891    for automatic dependency tracking.  Try re-running configure with the
4892    '--disable-dependency-tracking' option to at least be able to build
4893    the package (albeit without support for automatic dependency tracking).
4894See \`config.log' for more details" "$LINENO" 5; }
4895  fi
4896  { am_dirpart=; unset am_dirpart;}
4897  { am_filepart=; unset am_filepart;}
4898  { am_mf=; unset am_mf;}
4899  { am_rc=; unset am_rc;}
4900  rm -f conftest-deps.mk
4901}
4902 ;;
4903
4904  esac
4905done # for ac_tag
4906
4907
4908as_fn_exit 0
4909_ACEOF
4910ac_clean_files=$ac_clean_files_save
4911
4912test $ac_write_fail = 0 ||
4913  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4914
4915
4916# configure is writing to config.log, and then calls config.status.
4917# config.status does its own redirection, appending to config.log.
4918# Unfortunately, on DOS this fails, as config.log is still kept open
4919# by configure, so config.status won't be able to write to it; its
4920# output is simply discarded.  So we exec the FD to /dev/null,
4921# effectively closing config.log, so it can be properly (re)opened and
4922# appended to by config.status.  When coming back to configure, we
4923# need to make the FD available again.
4924if test "$no_create" != yes; then
4925  ac_cs_success=:
4926  ac_config_status_args=
4927  test "$silent" = yes &&
4928    ac_config_status_args="$ac_config_status_args --quiet"
4929  exec 5>/dev/null
4930  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4931  exec 5>>config.log
4932  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4933  # would make configure fail if this is the last instruction.
4934  $ac_cs_success || as_fn_exit 1
4935fi
4936if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4937  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4938$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4939fi
4940
4941
4942{ $as_echo "$as_me:${as_lineno-$LINENO}:
4943==============================================================================
4944Build configuration:
4945        gcov                  $enable_gcov
4946        openmp                $enable_openmp
4947        sanitizer-coverage    $enable_sanitizer_coverage
4948        loop-unrolling        $enable_loop_unrolling
4949
4950        CXXFLAGS              $CXXFLAGS
4951==============================================================================
4952" >&5
4953$as_echo "$as_me:
4954==============================================================================
4955Build configuration:
4956        gcov                  $enable_gcov
4957        openmp                $enable_openmp
4958        sanitizer-coverage    $enable_sanitizer_coverage
4959        loop-unrolling        $enable_loop_unrolling
4960
4961        CXXFLAGS              $CXXFLAGS
4962==============================================================================
4963" >&6;}
4964