source: configure @ a62cbb3

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

Fixed enable-threading option and removed extraneous debug print

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