source: configure @ 545ef59

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since 545ef59 was ef7d253, checked in by Thierry Delisle <tdelisle@…>, 8 years ago

updated automake config to support less verbose build and compile the tests directory

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