source: configure @ 8e5724e

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since 8e5724e was 8e5724e, checked in by Thierry Delisle <tdelisle@…>, 8 years ago

Added the CFA_DEBUG flag and the libhdr folder to libcfa compilation.
Compilation now has an assambly compiler.
Added first assembly file to compiler.

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