source: configure @ 3bff885

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

Added option to compile without concurrency using --disable-threading on the configure (will fail concurrency related tests)

  • 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
3226if test "x$prefix" = "xNONE"; then
3227        cfa_prefix=${ac_default_prefix}
3228else
3229        cfa_prefix=${prefix}
3230fi
3231
3232cat >>confdefs.h <<_ACEOF
3233#define CFA_PREFIX "${cfa_prefix}"
3234_ACEOF
3235
3236CFA_PREFIX=${cfa_prefix}
3237
3238
3239if test "$includedir" = '${prefix}/include'; then
3240        cfa_incdir="${cfa_prefix}/include/cfa"
3241else
3242        cfa_incdir=${includedir}
3243fi
3244
3245cat >>confdefs.h <<_ACEOF
3246#define CFA_INCDIR "${cfa_incdir}"
3247_ACEOF
3248
3249CFA_INCDIR=${cfa_incdir}
3250
3251
3252if test "$bindir" = '${exec_prefix}/bin'; then
3253        cfa_bindir="${cfa_prefix}/bin"
3254else
3255        cfa_bindir=${bindir}
3256fi
3257
3258cat >>confdefs.h <<_ACEOF
3259#define CFA_BINDIR "${cfa_bindir}"
3260_ACEOF
3261
3262CFA_BINDIR=${cfa_bindir}
3263
3264
3265if test "$libdir" = '${exec_prefix}/lib'; then
3266        cfa_libdir=${cfa_prefix}/lib
3267else
3268        cfa_libdir=${libdir}
3269fi
3270
3271cat >>confdefs.h <<_ACEOF
3272#define CFA_LIBDIR "${cfa_libdir}"
3273_ACEOF
3274
3275CFA_LIBDIR=${cfa_libdir}
3276
3277
3278
3279cat >>confdefs.h <<_ACEOF
3280#define CFA_FLAGS "${CFAFLAGS}"
3281_ACEOF
3282
3283CFA_FLAGS=${CFAFLAGS}
3284
3285
3286# Make sure we can run config.sub.
3287$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3288  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3289
3290{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3291$as_echo_n "checking build system type... " >&6; }
3292if ${ac_cv_build+:} false; then :
3293  $as_echo_n "(cached) " >&6
3294else
3295  ac_build_alias=$build_alias
3296test "x$ac_build_alias" = x &&
3297  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3298test "x$ac_build_alias" = x &&
3299  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3300ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3301  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3302
3303fi
3304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3305$as_echo "$ac_cv_build" >&6; }
3306case $ac_cv_build in
3307*-*-*) ;;
3308*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3309esac
3310build=$ac_cv_build
3311ac_save_IFS=$IFS; IFS='-'
3312set x $ac_cv_build
3313shift
3314build_cpu=$1
3315build_vendor=$2
3316shift; shift
3317# Remember, the first character of IFS is used to create $*,
3318# except with old shells:
3319build_os=$*
3320IFS=$ac_save_IFS
3321case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3322
3323
3324{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3325$as_echo_n "checking host system type... " >&6; }
3326if ${ac_cv_host+:} false; then :
3327  $as_echo_n "(cached) " >&6
3328else
3329  if test "x$host_alias" = x; then
3330  ac_cv_host=$ac_cv_build
3331else
3332  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3333    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3334fi
3335
3336fi
3337{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3338$as_echo "$ac_cv_host" >&6; }
3339case $ac_cv_host in
3340*-*-*) ;;
3341*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3342esac
3343host=$ac_cv_host
3344ac_save_IFS=$IFS; IFS='-'
3345set x $ac_cv_host
3346shift
3347host_cpu=$1
3348host_vendor=$2
3349shift; shift
3350# Remember, the first character of IFS is used to create $*,
3351# except with old shells:
3352host_os=$*
3353IFS=$ac_save_IFS
3354case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3355
3356
3357MACHINE_TYPE=$host_cpu
3358
3359
3360# Checks for programs.
3361ac_ext=cpp
3362ac_cpp='$CXXCPP $CPPFLAGS'
3363ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3364ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3365ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3366if test -z "$CXX"; then
3367  if test -n "$CCC"; then
3368    CXX=$CCC
3369  else
3370    if test -n "$ac_tool_prefix"; then
3371  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3372  do
3373    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3374set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3375{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3376$as_echo_n "checking for $ac_word... " >&6; }
3377if ${ac_cv_prog_CXX+:} false; then :
3378  $as_echo_n "(cached) " >&6
3379else
3380  if test -n "$CXX"; then
3381  ac_cv_prog_CXX="$CXX" # Let the user override the test.
3382else
3383as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3384for as_dir in $PATH
3385do
3386  IFS=$as_save_IFS
3387  test -z "$as_dir" && as_dir=.
3388    for ac_exec_ext in '' $ac_executable_extensions; do
3389  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3390    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3391    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3392    break 2
3393  fi
3394done
3395  done
3396IFS=$as_save_IFS
3397
3398fi
3399fi
3400CXX=$ac_cv_prog_CXX
3401if test -n "$CXX"; then
3402  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3403$as_echo "$CXX" >&6; }
3404else
3405  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3406$as_echo "no" >&6; }
3407fi
3408
3409
3410    test -n "$CXX" && break
3411  done
3412fi
3413if test -z "$CXX"; then
3414  ac_ct_CXX=$CXX
3415  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3416do
3417  # Extract the first word of "$ac_prog", so it can be a program name with args.
3418set dummy $ac_prog; ac_word=$2
3419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3420$as_echo_n "checking for $ac_word... " >&6; }
3421if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3422  $as_echo_n "(cached) " >&6
3423else
3424  if test -n "$ac_ct_CXX"; then
3425  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3426else
3427as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3428for as_dir in $PATH
3429do
3430  IFS=$as_save_IFS
3431  test -z "$as_dir" && as_dir=.
3432    for ac_exec_ext in '' $ac_executable_extensions; do
3433  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3434    ac_cv_prog_ac_ct_CXX="$ac_prog"
3435    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3436    break 2
3437  fi
3438done
3439  done
3440IFS=$as_save_IFS
3441
3442fi
3443fi
3444ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3445if test -n "$ac_ct_CXX"; then
3446  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3447$as_echo "$ac_ct_CXX" >&6; }
3448else
3449  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3450$as_echo "no" >&6; }
3451fi
3452
3453
3454  test -n "$ac_ct_CXX" && break
3455done
3456
3457  if test "x$ac_ct_CXX" = x; then
3458    CXX="g++"
3459  else
3460    case $cross_compiling:$ac_tool_warned in
3461yes:)
3462{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3463$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3464ac_tool_warned=yes ;;
3465esac
3466    CXX=$ac_ct_CXX
3467  fi
3468fi
3469
3470  fi
3471fi
3472# Provide some information about the compiler.
3473$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3474set X $ac_compile
3475ac_compiler=$2
3476for ac_option in --version -v -V -qversion; do
3477  { { ac_try="$ac_compiler $ac_option >&5"
3478case "(($ac_try" in
3479  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3480  *) ac_try_echo=$ac_try;;
3481esac
3482eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3483$as_echo "$ac_try_echo"; } >&5
3484  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3485  ac_status=$?
3486  if test -s conftest.err; then
3487    sed '10a\
3488... rest of stderr output deleted ...
3489         10q' conftest.err >conftest.er1
3490    cat conftest.er1 >&5
3491  fi
3492  rm -f conftest.er1 conftest.err
3493  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3494  test $ac_status = 0; }
3495done
3496
3497cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3498/* end confdefs.h.  */
3499
3500int
3501main ()
3502{
3503
3504  ;
3505  return 0;
3506}
3507_ACEOF
3508ac_clean_files_save=$ac_clean_files
3509ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3510# Try to create an executable without -o first, disregard a.out.
3511# It will help us diagnose broken compilers, and finding out an intuition
3512# of exeext.
3513{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3514$as_echo_n "checking whether the C++ compiler works... " >&6; }
3515ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3516
3517# The possible output files:
3518ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3519
3520ac_rmfiles=
3521for ac_file in $ac_files
3522do
3523  case $ac_file in
3524    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3525    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3526  esac
3527done
3528rm -f $ac_rmfiles
3529
3530if { { ac_try="$ac_link_default"
3531case "(($ac_try" in
3532  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3533  *) ac_try_echo=$ac_try;;
3534esac
3535eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3536$as_echo "$ac_try_echo"; } >&5
3537  (eval "$ac_link_default") 2>&5
3538  ac_status=$?
3539  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3540  test $ac_status = 0; }; then :
3541  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3542# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3543# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3544# so that the user can short-circuit this test for compilers unknown to
3545# Autoconf.
3546for ac_file in $ac_files ''
3547do
3548  test -f "$ac_file" || continue
3549  case $ac_file in
3550    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3551        ;;
3552    [ab].out )
3553        # We found the default executable, but exeext='' is most
3554        # certainly right.
3555        break;;
3556    *.* )
3557        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3558        then :; else
3559           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3560        fi
3561        # We set ac_cv_exeext here because the later test for it is not
3562        # safe: cross compilers may not add the suffix if given an `-o'
3563        # argument, so we may need to know it at that point already.
3564        # Even if this section looks crufty: it has the advantage of
3565        # actually working.
3566        break;;
3567    * )
3568        break;;
3569  esac
3570done
3571test "$ac_cv_exeext" = no && ac_cv_exeext=
3572
3573else
3574  ac_file=''
3575fi
3576if test -z "$ac_file"; then :
3577  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3578$as_echo "no" >&6; }
3579$as_echo "$as_me: failed program was:" >&5
3580sed 's/^/| /' conftest.$ac_ext >&5
3581
3582{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3583$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3584as_fn_error 77 "C++ compiler cannot create executables
3585See \`config.log' for more details" "$LINENO" 5; }
3586else
3587  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3588$as_echo "yes" >&6; }
3589fi
3590{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3591$as_echo_n "checking for C++ compiler default output file name... " >&6; }
3592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3593$as_echo "$ac_file" >&6; }
3594ac_exeext=$ac_cv_exeext
3595
3596rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3597ac_clean_files=$ac_clean_files_save
3598{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3599$as_echo_n "checking for suffix of executables... " >&6; }
3600if { { ac_try="$ac_link"
3601case "(($ac_try" in
3602  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3603  *) ac_try_echo=$ac_try;;
3604esac
3605eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3606$as_echo "$ac_try_echo"; } >&5
3607  (eval "$ac_link") 2>&5
3608  ac_status=$?
3609  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3610  test $ac_status = 0; }; then :
3611  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3612# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3613# work properly (i.e., refer to `conftest.exe'), while it won't with
3614# `rm'.
3615for ac_file in conftest.exe conftest conftest.*; do
3616  test -f "$ac_file" || continue
3617  case $ac_file in
3618    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3619    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3620          break;;
3621    * ) break;;
3622  esac
3623done
3624else
3625  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3626$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3627as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3628See \`config.log' for more details" "$LINENO" 5; }
3629fi
3630rm -f conftest conftest$ac_cv_exeext
3631{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3632$as_echo "$ac_cv_exeext" >&6; }
3633
3634rm -f conftest.$ac_ext
3635EXEEXT=$ac_cv_exeext
3636ac_exeext=$EXEEXT
3637cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3638/* end confdefs.h.  */
3639#include <stdio.h>
3640int
3641main ()
3642{
3643FILE *f = fopen ("conftest.out", "w");
3644 return ferror (f) || fclose (f) != 0;
3645
3646  ;
3647  return 0;
3648}
3649_ACEOF
3650ac_clean_files="$ac_clean_files conftest.out"
3651# Check that the compiler produces executables we can run.  If not, either
3652# the compiler is broken, or we cross compile.
3653{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3654$as_echo_n "checking whether we are cross compiling... " >&6; }
3655if test "$cross_compiling" != yes; then
3656  { { ac_try="$ac_link"
3657case "(($ac_try" in
3658  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3659  *) ac_try_echo=$ac_try;;
3660esac
3661eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3662$as_echo "$ac_try_echo"; } >&5
3663  (eval "$ac_link") 2>&5
3664  ac_status=$?
3665  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3666  test $ac_status = 0; }
3667  if { ac_try='./conftest$ac_cv_exeext'
3668  { { case "(($ac_try" in
3669  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3670  *) ac_try_echo=$ac_try;;
3671esac
3672eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3673$as_echo "$ac_try_echo"; } >&5
3674  (eval "$ac_try") 2>&5
3675  ac_status=$?
3676  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3677  test $ac_status = 0; }; }; then
3678    cross_compiling=no
3679  else
3680    if test "$cross_compiling" = maybe; then
3681        cross_compiling=yes
3682    else
3683        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3684$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3685as_fn_error $? "cannot run C++ compiled programs.
3686If you meant to cross compile, use \`--host'.
3687See \`config.log' for more details" "$LINENO" 5; }
3688    fi
3689  fi
3690fi
3691{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3692$as_echo "$cross_compiling" >&6; }
3693
3694rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3695ac_clean_files=$ac_clean_files_save
3696{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3697$as_echo_n "checking for suffix of object files... " >&6; }
3698if ${ac_cv_objext+:} false; then :
3699  $as_echo_n "(cached) " >&6
3700else
3701  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3702/* end confdefs.h.  */
3703
3704int
3705main ()
3706{
3707
3708  ;
3709  return 0;
3710}
3711_ACEOF
3712rm -f conftest.o conftest.obj
3713if { { ac_try="$ac_compile"
3714case "(($ac_try" in
3715  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3716  *) ac_try_echo=$ac_try;;
3717esac
3718eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3719$as_echo "$ac_try_echo"; } >&5
3720  (eval "$ac_compile") 2>&5
3721  ac_status=$?
3722  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3723  test $ac_status = 0; }; then :
3724  for ac_file in conftest.o conftest.obj conftest.*; do
3725  test -f "$ac_file" || continue;
3726  case $ac_file in
3727    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3728    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3729       break;;
3730  esac
3731done
3732else
3733  $as_echo "$as_me: failed program was:" >&5
3734sed 's/^/| /' conftest.$ac_ext >&5
3735
3736{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3737$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3738as_fn_error $? "cannot compute suffix of object files: cannot compile
3739See \`config.log' for more details" "$LINENO" 5; }
3740fi
3741rm -f conftest.$ac_cv_objext conftest.$ac_ext
3742fi
3743{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3744$as_echo "$ac_cv_objext" >&6; }
3745OBJEXT=$ac_cv_objext
3746ac_objext=$OBJEXT
3747{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3748$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3749if ${ac_cv_cxx_compiler_gnu+:} false; then :
3750  $as_echo_n "(cached) " >&6
3751else
3752  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3753/* end confdefs.h.  */
3754
3755int
3756main ()
3757{
3758#ifndef __GNUC__
3759       choke me
3760#endif
3761
3762  ;
3763  return 0;
3764}
3765_ACEOF
3766if ac_fn_cxx_try_compile "$LINENO"; then :
3767  ac_compiler_gnu=yes
3768else
3769  ac_compiler_gnu=no
3770fi
3771rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3772ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3773
3774fi
3775{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3776$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3777if test $ac_compiler_gnu = yes; then
3778  GXX=yes
3779else
3780  GXX=
3781fi
3782ac_test_CXXFLAGS=${CXXFLAGS+set}
3783ac_save_CXXFLAGS=$CXXFLAGS
3784{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3785$as_echo_n "checking whether $CXX accepts -g... " >&6; }
3786if ${ac_cv_prog_cxx_g+:} false; then :
3787  $as_echo_n "(cached) " >&6
3788else
3789  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3790   ac_cxx_werror_flag=yes
3791   ac_cv_prog_cxx_g=no
3792   CXXFLAGS="-g"
3793   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3794/* end confdefs.h.  */
3795
3796int
3797main ()
3798{
3799
3800  ;
3801  return 0;
3802}
3803_ACEOF
3804if ac_fn_cxx_try_compile "$LINENO"; then :
3805  ac_cv_prog_cxx_g=yes
3806else
3807  CXXFLAGS=""
3808      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3809/* end confdefs.h.  */
3810
3811int
3812main ()
3813{
3814
3815  ;
3816  return 0;
3817}
3818_ACEOF
3819if ac_fn_cxx_try_compile "$LINENO"; then :
3820
3821else
3822  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3823         CXXFLAGS="-g"
3824         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3825/* end confdefs.h.  */
3826
3827int
3828main ()
3829{
3830
3831  ;
3832  return 0;
3833}
3834_ACEOF
3835if ac_fn_cxx_try_compile "$LINENO"; then :
3836  ac_cv_prog_cxx_g=yes
3837fi
3838rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3839fi
3840rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3841fi
3842rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3843   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3844fi
3845{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3846$as_echo "$ac_cv_prog_cxx_g" >&6; }
3847if test "$ac_test_CXXFLAGS" = set; then
3848  CXXFLAGS=$ac_save_CXXFLAGS
3849elif test $ac_cv_prog_cxx_g = yes; then
3850  if test "$GXX" = yes; then
3851    CXXFLAGS="-g -O2"
3852  else
3853    CXXFLAGS="-g"
3854  fi
3855else
3856  if test "$GXX" = yes; then
3857    CXXFLAGS="-O2"
3858  else
3859    CXXFLAGS=
3860  fi
3861fi
3862ac_ext=c
3863ac_cpp='$CPP $CPPFLAGS'
3864ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3865ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3866ac_compiler_gnu=$ac_cv_c_compiler_gnu
3867DEPDIR="${am__leading_dot}deps"
3868
3869ac_config_commands="$ac_config_commands depfiles"
3870
3871
3872am_make=${MAKE-make}
3873cat > confinc << 'END'
3874am__doit:
3875        @echo this is the am__doit target
3876.PHONY: am__doit
3877END
3878# If we don't find an include directive, just comment out the code.
3879{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3880$as_echo_n "checking for style of include used by $am_make... " >&6; }
3881am__include="#"
3882am__quote=
3883_am_result=none
3884# First try GNU make style include.
3885echo "include confinc" > confmf
3886# Ignore all kinds of additional output from `make'.
3887case `$am_make -s -f confmf 2> /dev/null` in #(
3888*the\ am__doit\ target*)
3889  am__include=include
3890  am__quote=
3891  _am_result=GNU
3892  ;;
3893esac
3894# Now try BSD make style include.
3895if test "$am__include" = "#"; then
3896   echo '.include "confinc"' > confmf
3897   case `$am_make -s -f confmf 2> /dev/null` in #(
3898   *the\ am__doit\ target*)
3899     am__include=.include
3900     am__quote="\""
3901     _am_result=BSD
3902     ;;
3903   esac
3904fi
3905
3906
3907{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3908$as_echo "$_am_result" >&6; }
3909rm -f confinc confmf
3910
3911# Check whether --enable-dependency-tracking was given.
3912if test "${enable_dependency_tracking+set}" = set; then :
3913  enableval=$enable_dependency_tracking;
3914fi
3915
3916if test "x$enable_dependency_tracking" != xno; then
3917  am_depcomp="$ac_aux_dir/depcomp"
3918  AMDEPBACKSLASH='\'
3919  am__nodep='_no'
3920fi
3921 if test "x$enable_dependency_tracking" != xno; then
3922  AMDEP_TRUE=
3923  AMDEP_FALSE='#'
3924else
3925  AMDEP_TRUE='#'
3926  AMDEP_FALSE=
3927fi
3928
3929
3930
3931depcc="$CXX"  am_compiler_list=
3932
3933{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3934$as_echo_n "checking dependency style of $depcc... " >&6; }
3935if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3936  $as_echo_n "(cached) " >&6
3937else
3938  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3939  # We make a subdir and do the tests there.  Otherwise we can end up
3940  # making bogus files that we don't know about and never remove.  For
3941  # instance it was reported that on HP-UX the gcc test will end up
3942  # making a dummy file named `D' -- because `-MD' means `put the output
3943  # in D'.
3944  rm -rf conftest.dir
3945  mkdir conftest.dir
3946  # Copy depcomp to subdir because otherwise we won't find it if we're
3947  # using a relative directory.
3948  cp "$am_depcomp" conftest.dir
3949  cd conftest.dir
3950  # We will build objects and dependencies in a subdirectory because
3951  # it helps to detect inapplicable dependency modes.  For instance
3952  # both Tru64's cc and ICC support -MD to output dependencies as a
3953  # side effect of compilation, but ICC will put the dependencies in
3954  # the current directory while Tru64 will put them in the object
3955  # directory.
3956  mkdir sub
3957
3958  am_cv_CXX_dependencies_compiler_type=none
3959  if test "$am_compiler_list" = ""; then
3960     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3961  fi
3962  am__universal=false
3963  case " $depcc " in #(
3964     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3965     esac
3966
3967  for depmode in $am_compiler_list; do
3968    # Setup a source with many dependencies, because some compilers
3969    # like to wrap large dependency lists on column 80 (with \), and
3970    # we should not choose a depcomp mode which is confused by this.
3971    #
3972    # We need to recreate these files for each test, as the compiler may
3973    # overwrite some of them when testing with obscure command lines.
3974    # This happens at least with the AIX C compiler.
3975    : > sub/conftest.c
3976    for i in 1 2 3 4 5 6; do
3977      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3978      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3979      # Solaris 8's {/usr,}/bin/sh.
3980      touch sub/conftst$i.h
3981    done
3982    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3983
3984    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3985    # mode.  It turns out that the SunPro C++ compiler does not properly
3986    # handle `-M -o', and we need to detect this.  Also, some Intel
3987    # versions had trouble with output in subdirs
3988    am__obj=sub/conftest.${OBJEXT-o}
3989    am__minus_obj="-o $am__obj"
3990    case $depmode in
3991    gcc)
3992      # This depmode causes a compiler race in universal mode.
3993      test "$am__universal" = false || continue
3994      ;;
3995    nosideeffect)
3996      # after this tag, mechanisms are not by side-effect, so they'll
3997      # only be used when explicitly requested
3998      if test "x$enable_dependency_tracking" = xyes; then
3999        continue
4000      else
4001        break
4002      fi
4003      ;;
4004    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4005      # This compiler won't grok `-c -o', but also, the minuso test has
4006      # not run yet.  These depmodes are late enough in the game, and
4007      # so weak that their functioning should not be impacted.
4008      am__obj=conftest.${OBJEXT-o}
4009      am__minus_obj=
4010      ;;
4011    none) break ;;
4012    esac
4013    if depmode=$depmode \
4014       source=sub/conftest.c object=$am__obj \
4015       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4016       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4017         >/dev/null 2>conftest.err &&
4018       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4019       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4020       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4021       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4022      # icc doesn't choke on unknown options, it will just issue warnings
4023      # or remarks (even with -Werror).  So we grep stderr for any message
4024      # that says an option was ignored or not supported.
4025      # When given -MP, icc 7.0 and 7.1 complain thusly:
4026      #   icc: Command line warning: ignoring option '-M'; no argument required
4027      # The diagnosis changed in icc 8.0:
4028      #   icc: Command line remark: option '-MP' not supported
4029      if (grep 'ignoring option' conftest.err ||
4030          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4031        am_cv_CXX_dependencies_compiler_type=$depmode
4032        break
4033      fi
4034    fi
4035  done
4036
4037  cd ..
4038  rm -rf conftest.dir
4039else
4040  am_cv_CXX_dependencies_compiler_type=none
4041fi
4042
4043fi
4044{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4045$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4046CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4047
4048 if
4049  test "x$enable_dependency_tracking" != xno \
4050  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4051  am__fastdepCXX_TRUE=
4052  am__fastdepCXX_FALSE='#'
4053else
4054  am__fastdepCXX_TRUE='#'
4055  am__fastdepCXX_FALSE=
4056fi
4057
4058
4059ac_ext=c
4060ac_cpp='$CPP $CPPFLAGS'
4061ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4062ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4063ac_compiler_gnu=$ac_cv_c_compiler_gnu
4064if test -n "$ac_tool_prefix"; then
4065  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4066set dummy ${ac_tool_prefix}gcc; ac_word=$2
4067{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4068$as_echo_n "checking for $ac_word... " >&6; }
4069if ${ac_cv_prog_CC+:} false; then :
4070  $as_echo_n "(cached) " >&6
4071else
4072  if test -n "$CC"; then
4073  ac_cv_prog_CC="$CC" # Let the user override the test.
4074else
4075as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4076for as_dir in $PATH
4077do
4078  IFS=$as_save_IFS
4079  test -z "$as_dir" && as_dir=.
4080    for ac_exec_ext in '' $ac_executable_extensions; do
4081  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4082    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4083    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4084    break 2
4085  fi
4086done
4087  done
4088IFS=$as_save_IFS
4089
4090fi
4091fi
4092CC=$ac_cv_prog_CC
4093if test -n "$CC"; then
4094  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4095$as_echo "$CC" >&6; }
4096else
4097  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4098$as_echo "no" >&6; }
4099fi
4100
4101
4102fi
4103if test -z "$ac_cv_prog_CC"; then
4104  ac_ct_CC=$CC
4105  # Extract the first word of "gcc", so it can be a program name with args.
4106set dummy gcc; ac_word=$2
4107{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4108$as_echo_n "checking for $ac_word... " >&6; }
4109if ${ac_cv_prog_ac_ct_CC+:} false; then :
4110  $as_echo_n "(cached) " >&6
4111else
4112  if test -n "$ac_ct_CC"; then
4113  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4114else
4115as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4116for as_dir in $PATH
4117do
4118  IFS=$as_save_IFS
4119  test -z "$as_dir" && as_dir=.
4120    for ac_exec_ext in '' $ac_executable_extensions; do
4121  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4122    ac_cv_prog_ac_ct_CC="gcc"
4123    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4124    break 2
4125  fi
4126done
4127  done
4128IFS=$as_save_IFS
4129
4130fi
4131fi
4132ac_ct_CC=$ac_cv_prog_ac_ct_CC
4133if test -n "$ac_ct_CC"; then
4134  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4135$as_echo "$ac_ct_CC" >&6; }
4136else
4137  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4138$as_echo "no" >&6; }
4139fi
4140
4141  if test "x$ac_ct_CC" = x; then
4142    CC=""
4143  else
4144    case $cross_compiling:$ac_tool_warned in
4145yes:)
4146{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4147$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4148ac_tool_warned=yes ;;
4149esac
4150    CC=$ac_ct_CC
4151  fi
4152else
4153  CC="$ac_cv_prog_CC"
4154fi
4155
4156if test -z "$CC"; then
4157          if test -n "$ac_tool_prefix"; then
4158    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4159set dummy ${ac_tool_prefix}cc; ac_word=$2
4160{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4161$as_echo_n "checking for $ac_word... " >&6; }
4162if ${ac_cv_prog_CC+:} false; then :
4163  $as_echo_n "(cached) " >&6
4164else
4165  if test -n "$CC"; then
4166  ac_cv_prog_CC="$CC" # Let the user override the test.
4167else
4168as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4169for as_dir in $PATH
4170do
4171  IFS=$as_save_IFS
4172  test -z "$as_dir" && as_dir=.
4173    for ac_exec_ext in '' $ac_executable_extensions; do
4174  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4175    ac_cv_prog_CC="${ac_tool_prefix}cc"
4176    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4177    break 2
4178  fi
4179done
4180  done
4181IFS=$as_save_IFS
4182
4183fi
4184fi
4185CC=$ac_cv_prog_CC
4186if test -n "$CC"; then
4187  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4188$as_echo "$CC" >&6; }
4189else
4190  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4191$as_echo "no" >&6; }
4192fi
4193
4194
4195  fi
4196fi
4197if test -z "$CC"; then
4198  # Extract the first word of "cc", so it can be a program name with args.
4199set dummy cc; ac_word=$2
4200{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4201$as_echo_n "checking for $ac_word... " >&6; }
4202if ${ac_cv_prog_CC+:} false; then :
4203  $as_echo_n "(cached) " >&6
4204else
4205  if test -n "$CC"; then
4206  ac_cv_prog_CC="$CC" # Let the user override the test.
4207else
4208  ac_prog_rejected=no
4209as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4210for as_dir in $PATH
4211do
4212  IFS=$as_save_IFS
4213  test -z "$as_dir" && as_dir=.
4214    for ac_exec_ext in '' $ac_executable_extensions; do
4215  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4216    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4217       ac_prog_rejected=yes
4218       continue
4219     fi
4220    ac_cv_prog_CC="cc"
4221    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4222    break 2
4223  fi
4224done
4225  done
4226IFS=$as_save_IFS
4227
4228if test $ac_prog_rejected = yes; then
4229  # We found a bogon in the path, so make sure we never use it.
4230  set dummy $ac_cv_prog_CC
4231  shift
4232  if test $# != 0; then
4233    # We chose a different compiler from the bogus one.
4234    # However, it has the same basename, so the bogon will be chosen
4235    # first if we set CC to just the basename; use the full file name.
4236    shift
4237    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4238  fi
4239fi
4240fi
4241fi
4242CC=$ac_cv_prog_CC
4243if test -n "$CC"; then
4244  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4245$as_echo "$CC" >&6; }
4246else
4247  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4248$as_echo "no" >&6; }
4249fi
4250
4251
4252fi
4253if test -z "$CC"; then
4254  if test -n "$ac_tool_prefix"; then
4255  for ac_prog in cl.exe
4256  do
4257    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4258set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4259{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4260$as_echo_n "checking for $ac_word... " >&6; }
4261if ${ac_cv_prog_CC+:} false; then :
4262  $as_echo_n "(cached) " >&6
4263else
4264  if test -n "$CC"; then
4265  ac_cv_prog_CC="$CC" # Let the user override the test.
4266else
4267as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4268for as_dir in $PATH
4269do
4270  IFS=$as_save_IFS
4271  test -z "$as_dir" && as_dir=.
4272    for ac_exec_ext in '' $ac_executable_extensions; do
4273  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4274    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4275    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4276    break 2
4277  fi
4278done
4279  done
4280IFS=$as_save_IFS
4281
4282fi
4283fi
4284CC=$ac_cv_prog_CC
4285if test -n "$CC"; then
4286  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4287$as_echo "$CC" >&6; }
4288else
4289  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4290$as_echo "no" >&6; }
4291fi
4292
4293
4294    test -n "$CC" && break
4295  done
4296fi
4297if test -z "$CC"; then
4298  ac_ct_CC=$CC
4299  for ac_prog in cl.exe
4300do
4301  # Extract the first word of "$ac_prog", so it can be a program name with args.
4302set dummy $ac_prog; ac_word=$2
4303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4304$as_echo_n "checking for $ac_word... " >&6; }
4305if ${ac_cv_prog_ac_ct_CC+:} false; then :
4306  $as_echo_n "(cached) " >&6
4307else
4308  if test -n "$ac_ct_CC"; then
4309  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4310else
4311as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4312for as_dir in $PATH
4313do
4314  IFS=$as_save_IFS
4315  test -z "$as_dir" && as_dir=.
4316    for ac_exec_ext in '' $ac_executable_extensions; do
4317  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4318    ac_cv_prog_ac_ct_CC="$ac_prog"
4319    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4320    break 2
4321  fi
4322done
4323  done
4324IFS=$as_save_IFS
4325
4326fi
4327fi
4328ac_ct_CC=$ac_cv_prog_ac_ct_CC
4329if test -n "$ac_ct_CC"; then
4330  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4331$as_echo "$ac_ct_CC" >&6; }
4332else
4333  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4334$as_echo "no" >&6; }
4335fi
4336
4337
4338  test -n "$ac_ct_CC" && break
4339done
4340
4341  if test "x$ac_ct_CC" = x; then
4342    CC=""
4343  else
4344    case $cross_compiling:$ac_tool_warned in
4345yes:)
4346{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4347$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4348ac_tool_warned=yes ;;
4349esac
4350    CC=$ac_ct_CC
4351  fi
4352fi
4353
4354fi
4355
4356
4357test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4358$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4359as_fn_error $? "no acceptable C compiler found in \$PATH
4360See \`config.log' for more details" "$LINENO" 5; }
4361
4362# Provide some information about the compiler.
4363$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4364set X $ac_compile
4365ac_compiler=$2
4366for ac_option in --version -v -V -qversion; do
4367  { { ac_try="$ac_compiler $ac_option >&5"
4368case "(($ac_try" in
4369  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4370  *) ac_try_echo=$ac_try;;
4371esac
4372eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4373$as_echo "$ac_try_echo"; } >&5
4374  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4375  ac_status=$?
4376  if test -s conftest.err; then
4377    sed '10a\
4378... rest of stderr output deleted ...
4379         10q' conftest.err >conftest.er1
4380    cat conftest.er1 >&5
4381  fi
4382  rm -f conftest.er1 conftest.err
4383  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4384  test $ac_status = 0; }
4385done
4386
4387{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4388$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4389if ${ac_cv_c_compiler_gnu+:} false; then :
4390  $as_echo_n "(cached) " >&6
4391else
4392  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4393/* end confdefs.h.  */
4394
4395int
4396main ()
4397{
4398#ifndef __GNUC__
4399       choke me
4400#endif
4401
4402  ;
4403  return 0;
4404}
4405_ACEOF
4406if ac_fn_c_try_compile "$LINENO"; then :
4407  ac_compiler_gnu=yes
4408else
4409  ac_compiler_gnu=no
4410fi
4411rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4412ac_cv_c_compiler_gnu=$ac_compiler_gnu
4413
4414fi
4415{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4416$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4417if test $ac_compiler_gnu = yes; then
4418  GCC=yes
4419else
4420  GCC=
4421fi
4422ac_test_CFLAGS=${CFLAGS+set}
4423ac_save_CFLAGS=$CFLAGS
4424{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4425$as_echo_n "checking whether $CC accepts -g... " >&6; }
4426if ${ac_cv_prog_cc_g+:} false; then :
4427  $as_echo_n "(cached) " >&6
4428else
4429  ac_save_c_werror_flag=$ac_c_werror_flag
4430   ac_c_werror_flag=yes
4431   ac_cv_prog_cc_g=no
4432   CFLAGS="-g"
4433   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4434/* end confdefs.h.  */
4435
4436int
4437main ()
4438{
4439
4440  ;
4441  return 0;
4442}
4443_ACEOF
4444if ac_fn_c_try_compile "$LINENO"; then :
4445  ac_cv_prog_cc_g=yes
4446else
4447  CFLAGS=""
4448      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4449/* end confdefs.h.  */
4450
4451int
4452main ()
4453{
4454
4455  ;
4456  return 0;
4457}
4458_ACEOF
4459if ac_fn_c_try_compile "$LINENO"; then :
4460
4461else
4462  ac_c_werror_flag=$ac_save_c_werror_flag
4463         CFLAGS="-g"
4464         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4465/* end confdefs.h.  */
4466
4467int
4468main ()
4469{
4470
4471  ;
4472  return 0;
4473}
4474_ACEOF
4475if ac_fn_c_try_compile "$LINENO"; then :
4476  ac_cv_prog_cc_g=yes
4477fi
4478rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4479fi
4480rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4481fi
4482rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4483   ac_c_werror_flag=$ac_save_c_werror_flag
4484fi
4485{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4486$as_echo "$ac_cv_prog_cc_g" >&6; }
4487if test "$ac_test_CFLAGS" = set; then
4488  CFLAGS=$ac_save_CFLAGS
4489elif test $ac_cv_prog_cc_g = yes; then
4490  if test "$GCC" = yes; then
4491    CFLAGS="-g -O2"
4492  else
4493    CFLAGS="-g"
4494  fi
4495else
4496  if test "$GCC" = yes; then
4497    CFLAGS="-O2"
4498  else
4499    CFLAGS=
4500  fi
4501fi
4502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4503$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4504if ${ac_cv_prog_cc_c89+:} false; then :
4505  $as_echo_n "(cached) " >&6
4506else
4507  ac_cv_prog_cc_c89=no
4508ac_save_CC=$CC
4509cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4510/* end confdefs.h.  */
4511#include <stdarg.h>
4512#include <stdio.h>
4513#include <sys/types.h>
4514#include <sys/stat.h>
4515/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4516struct buf { int x; };
4517FILE * (*rcsopen) (struct buf *, struct stat *, int);
4518static char *e (p, i)
4519     char **p;
4520     int i;
4521{
4522  return p[i];
4523}
4524static char *f (char * (*g) (char **, int), char **p, ...)
4525{
4526  char *s;
4527  va_list v;
4528  va_start (v,p);
4529  s = g (p, va_arg (v,int));
4530  va_end (v);
4531  return s;
4532}
4533
4534/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4535   function prototypes and stuff, but not '\xHH' hex character constants.
4536   These don't provoke an error unfortunately, instead are silently treated
4537   as 'x'.  The following induces an error, until -std is added to get
4538   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4539   array size at least.  It's necessary to write '\x00'==0 to get something
4540   that's true only with -std.  */
4541int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4542
4543/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4544   inside strings and character constants.  */
4545#define FOO(x) 'x'
4546int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4547
4548int test (int i, double x);
4549struct s1 {int (*f) (int a);};
4550struct s2 {int (*f) (double a);};
4551int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4552int argc;
4553char **argv;
4554int
4555main ()
4556{
4557return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4558  ;
4559  return 0;
4560}
4561_ACEOF
4562for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4563        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4564do
4565  CC="$ac_save_CC $ac_arg"
4566  if ac_fn_c_try_compile "$LINENO"; then :
4567  ac_cv_prog_cc_c89=$ac_arg
4568fi
4569rm -f core conftest.err conftest.$ac_objext
4570  test "x$ac_cv_prog_cc_c89" != "xno" && break
4571done
4572rm -f conftest.$ac_ext
4573CC=$ac_save_CC
4574
4575fi
4576# AC_CACHE_VAL
4577case "x$ac_cv_prog_cc_c89" in
4578  x)
4579    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4580$as_echo "none needed" >&6; } ;;
4581  xno)
4582    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4583$as_echo "unsupported" >&6; } ;;
4584  *)
4585    CC="$CC $ac_cv_prog_cc_c89"
4586    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4587$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4588esac
4589if test "x$ac_cv_prog_cc_c89" != xno; then :
4590
4591fi
4592
4593ac_ext=c
4594ac_cpp='$CPP $CPPFLAGS'
4595ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4596ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4597ac_compiler_gnu=$ac_cv_c_compiler_gnu
4598
4599depcc="$CC"   am_compiler_list=
4600
4601{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4602$as_echo_n "checking dependency style of $depcc... " >&6; }
4603if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4604  $as_echo_n "(cached) " >&6
4605else
4606  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4607  # We make a subdir and do the tests there.  Otherwise we can end up
4608  # making bogus files that we don't know about and never remove.  For
4609  # instance it was reported that on HP-UX the gcc test will end up
4610  # making a dummy file named `D' -- because `-MD' means `put the output
4611  # in D'.
4612  rm -rf conftest.dir
4613  mkdir conftest.dir
4614  # Copy depcomp to subdir because otherwise we won't find it if we're
4615  # using a relative directory.
4616  cp "$am_depcomp" conftest.dir
4617  cd conftest.dir
4618  # We will build objects and dependencies in a subdirectory because
4619  # it helps to detect inapplicable dependency modes.  For instance
4620  # both Tru64's cc and ICC support -MD to output dependencies as a
4621  # side effect of compilation, but ICC will put the dependencies in
4622  # the current directory while Tru64 will put them in the object
4623  # directory.
4624  mkdir sub
4625
4626  am_cv_CC_dependencies_compiler_type=none
4627  if test "$am_compiler_list" = ""; then
4628     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4629  fi
4630  am__universal=false
4631  case " $depcc " in #(
4632     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4633     esac
4634
4635  for depmode in $am_compiler_list; do
4636    # Setup a source with many dependencies, because some compilers
4637    # like to wrap large dependency lists on column 80 (with \), and
4638    # we should not choose a depcomp mode which is confused by this.
4639    #
4640    # We need to recreate these files for each test, as the compiler may
4641    # overwrite some of them when testing with obscure command lines.
4642    # This happens at least with the AIX C compiler.
4643    : > sub/conftest.c
4644    for i in 1 2 3 4 5 6; do
4645      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4646      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4647      # Solaris 8's {/usr,}/bin/sh.
4648      touch sub/conftst$i.h
4649    done
4650    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4651
4652    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4653    # mode.  It turns out that the SunPro C++ compiler does not properly
4654    # handle `-M -o', and we need to detect this.  Also, some Intel
4655    # versions had trouble with output in subdirs
4656    am__obj=sub/conftest.${OBJEXT-o}
4657    am__minus_obj="-o $am__obj"
4658    case $depmode in
4659    gcc)
4660      # This depmode causes a compiler race in universal mode.
4661      test "$am__universal" = false || continue
4662      ;;
4663    nosideeffect)
4664      # after this tag, mechanisms are not by side-effect, so they'll
4665      # only be used when explicitly requested
4666      if test "x$enable_dependency_tracking" = xyes; then
4667        continue
4668      else
4669        break
4670      fi
4671      ;;
4672    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4673      # This compiler won't grok `-c -o', but also, the minuso test has
4674      # not run yet.  These depmodes are late enough in the game, and
4675      # so weak that their functioning should not be impacted.
4676      am__obj=conftest.${OBJEXT-o}
4677      am__minus_obj=
4678      ;;
4679    none) break ;;
4680    esac
4681    if depmode=$depmode \
4682       source=sub/conftest.c object=$am__obj \
4683       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4684       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4685         >/dev/null 2>conftest.err &&
4686       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4687       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4688       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4689       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4690      # icc doesn't choke on unknown options, it will just issue warnings
4691      # or remarks (even with -Werror).  So we grep stderr for any message
4692      # that says an option was ignored or not supported.
4693      # When given -MP, icc 7.0 and 7.1 complain thusly:
4694      #   icc: Command line warning: ignoring option '-M'; no argument required
4695      # The diagnosis changed in icc 8.0:
4696      #   icc: Command line remark: option '-MP' not supported
4697      if (grep 'ignoring option' conftest.err ||
4698          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4699        am_cv_CC_dependencies_compiler_type=$depmode
4700        break
4701      fi
4702    fi
4703  done
4704
4705  cd ..
4706  rm -rf conftest.dir
4707else
4708  am_cv_CC_dependencies_compiler_type=none
4709fi
4710
4711fi
4712{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4713$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4714CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4715
4716 if
4717  test "x$enable_dependency_tracking" != xno \
4718  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4719  am__fastdepCC_TRUE=
4720  am__fastdepCC_FALSE='#'
4721else
4722  am__fastdepCC_TRUE='#'
4723  am__fastdepCC_FALSE=
4724fi
4725
4726
4727# By default we simply use the C compiler to build assembly code.
4728
4729test "${CCAS+set}" = set || CCAS=$CC
4730test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
4731
4732
4733
4734depcc="$CCAS"   am_compiler_list=
4735
4736{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4737$as_echo_n "checking dependency style of $depcc... " >&6; }
4738if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
4739  $as_echo_n "(cached) " >&6
4740else
4741  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4742  # We make a subdir and do the tests there.  Otherwise we can end up
4743  # making bogus files that we don't know about and never remove.  For
4744  # instance it was reported that on HP-UX the gcc test will end up
4745  # making a dummy file named `D' -- because `-MD' means `put the output
4746  # in D'.
4747  rm -rf conftest.dir
4748  mkdir conftest.dir
4749  # Copy depcomp to subdir because otherwise we won't find it if we're
4750  # using a relative directory.
4751  cp "$am_depcomp" conftest.dir
4752  cd conftest.dir
4753  # We will build objects and dependencies in a subdirectory because
4754  # it helps to detect inapplicable dependency modes.  For instance
4755  # both Tru64's cc and ICC support -MD to output dependencies as a
4756  # side effect of compilation, but ICC will put the dependencies in
4757  # the current directory while Tru64 will put them in the object
4758  # directory.
4759  mkdir sub
4760
4761  am_cv_CCAS_dependencies_compiler_type=none
4762  if test "$am_compiler_list" = ""; then
4763     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4764  fi
4765  am__universal=false
4766
4767
4768  for depmode in $am_compiler_list; do
4769    # Setup a source with many dependencies, because some compilers
4770    # like to wrap large dependency lists on column 80 (with \), and
4771    # we should not choose a depcomp mode which is confused by this.
4772    #
4773    # We need to recreate these files for each test, as the compiler may
4774    # overwrite some of them when testing with obscure command lines.
4775    # This happens at least with the AIX C compiler.
4776    : > sub/conftest.c
4777    for i in 1 2 3 4 5 6; do
4778      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4779      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4780      # Solaris 8's {/usr,}/bin/sh.
4781      touch sub/conftst$i.h
4782    done
4783    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4784
4785    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4786    # mode.  It turns out that the SunPro C++ compiler does not properly
4787    # handle `-M -o', and we need to detect this.  Also, some Intel
4788    # versions had trouble with output in subdirs
4789    am__obj=sub/conftest.${OBJEXT-o}
4790    am__minus_obj="-o $am__obj"
4791    case $depmode in
4792    gcc)
4793      # This depmode causes a compiler race in universal mode.
4794      test "$am__universal" = false || continue
4795      ;;
4796    nosideeffect)
4797      # after this tag, mechanisms are not by side-effect, so they'll
4798      # only be used when explicitly requested
4799      if test "x$enable_dependency_tracking" = xyes; then
4800        continue
4801      else
4802        break
4803      fi
4804      ;;
4805    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4806      # This compiler won't grok `-c -o', but also, the minuso test has
4807      # not run yet.  These depmodes are late enough in the game, and
4808      # so weak that their functioning should not be impacted.
4809      am__obj=conftest.${OBJEXT-o}
4810      am__minus_obj=
4811      ;;
4812    none) break ;;
4813    esac
4814    if depmode=$depmode \
4815       source=sub/conftest.c object=$am__obj \
4816       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4817       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4818         >/dev/null 2>conftest.err &&
4819       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4820       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4821       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4822       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4823      # icc doesn't choke on unknown options, it will just issue warnings
4824      # or remarks (even with -Werror).  So we grep stderr for any message
4825      # that says an option was ignored or not supported.
4826      # When given -MP, icc 7.0 and 7.1 complain thusly:
4827      #   icc: Command line warning: ignoring option '-M'; no argument required
4828      # The diagnosis changed in icc 8.0:
4829      #   icc: Command line remark: option '-MP' not supported
4830      if (grep 'ignoring option' conftest.err ||
4831          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4832        am_cv_CCAS_dependencies_compiler_type=$depmode
4833        break
4834      fi
4835    fi
4836  done
4837
4838  cd ..
4839  rm -rf conftest.dir
4840else
4841  am_cv_CCAS_dependencies_compiler_type=none
4842fi
4843
4844fi
4845{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
4846$as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
4847CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
4848
4849 if
4850  test "x$enable_dependency_tracking" != xno \
4851  && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
4852  am__fastdepCCAS_TRUE=
4853  am__fastdepCCAS_FALSE='#'
4854else
4855  am__fastdepCCAS_TRUE='#'
4856  am__fastdepCCAS_FALSE=
4857fi
4858
4859
4860if test "x$CC" != xcc; then
4861  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4862$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4863else
4864  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4865$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4866fi
4867set dummy $CC; ac_cc=`$as_echo "$2" |
4868                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4869if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4870  $as_echo_n "(cached) " >&6
4871else
4872  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4873/* end confdefs.h.  */
4874
4875int
4876main ()
4877{
4878
4879  ;
4880  return 0;
4881}
4882_ACEOF
4883# Make sure it works both with $CC and with simple cc.
4884# We do the test twice because some compilers refuse to overwrite an
4885# existing .o file with -o, though they will create one.
4886ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4887rm -f conftest2.*
4888if { { case "(($ac_try" in
4889  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4890  *) ac_try_echo=$ac_try;;
4891esac
4892eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4893$as_echo "$ac_try_echo"; } >&5
4894  (eval "$ac_try") 2>&5
4895  ac_status=$?
4896  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4897  test $ac_status = 0; } &&
4898   test -f conftest2.$ac_objext && { { case "(($ac_try" in
4899  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4900  *) ac_try_echo=$ac_try;;
4901esac
4902eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4903$as_echo "$ac_try_echo"; } >&5
4904  (eval "$ac_try") 2>&5
4905  ac_status=$?
4906  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4907  test $ac_status = 0; };
4908then
4909  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4910  if test "x$CC" != xcc; then
4911    # Test first that cc exists at all.
4912    if { ac_try='cc -c conftest.$ac_ext >&5'
4913  { { case "(($ac_try" in
4914  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4915  *) ac_try_echo=$ac_try;;
4916esac
4917eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4918$as_echo "$ac_try_echo"; } >&5
4919  (eval "$ac_try") 2>&5
4920  ac_status=$?
4921  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4922  test $ac_status = 0; }; }; then
4923      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4924      rm -f conftest2.*
4925      if { { case "(($ac_try" in
4926  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4927  *) ac_try_echo=$ac_try;;
4928esac
4929eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4930$as_echo "$ac_try_echo"; } >&5
4931  (eval "$ac_try") 2>&5
4932  ac_status=$?
4933  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4934  test $ac_status = 0; } &&
4935         test -f conftest2.$ac_objext && { { case "(($ac_try" in
4936  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4937  *) ac_try_echo=$ac_try;;
4938esac
4939eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4940$as_echo "$ac_try_echo"; } >&5
4941  (eval "$ac_try") 2>&5
4942  ac_status=$?
4943  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4944  test $ac_status = 0; };
4945      then
4946        # cc works too.
4947        :
4948      else
4949        # cc exists but doesn't like -o.
4950        eval ac_cv_prog_cc_${ac_cc}_c_o=no
4951      fi
4952    fi
4953  fi
4954else
4955  eval ac_cv_prog_cc_${ac_cc}_c_o=no
4956fi
4957rm -f core conftest*
4958
4959fi
4960if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4961  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4962$as_echo "yes" >&6; }
4963else
4964  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4965$as_echo "no" >&6; }
4966
4967$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4968
4969fi
4970
4971# FIXME: we rely on the cache variable name because
4972# there is no other way.
4973set dummy $CC
4974am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4975eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4976if test "$am_t" != yes; then
4977   # Losing compiler, so override with the script.
4978   # FIXME: It is wrong to rewrite CC.
4979   # But if we don't then we get into trouble of one sort or another.
4980   # A longer-term fix would be to have automake use am__CC in this case,
4981   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4982   CC="$am_aux_dir/compile $CC"
4983fi
4984
4985        # deprecated
4986# These are often not installed and people miss seeing the "no", so stop the configure.
4987for ac_prog in 'bison -y' byacc
4988do
4989  # Extract the first word of "$ac_prog", so it can be a program name with args.
4990set dummy $ac_prog; ac_word=$2
4991{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4992$as_echo_n "checking for $ac_word... " >&6; }
4993if ${ac_cv_prog_YACC+:} false; then :
4994  $as_echo_n "(cached) " >&6
4995else
4996  if test -n "$YACC"; then
4997  ac_cv_prog_YACC="$YACC" # Let the user override the test.
4998else
4999as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5000for as_dir in $PATH
5001do
5002  IFS=$as_save_IFS
5003  test -z "$as_dir" && as_dir=.
5004    for ac_exec_ext in '' $ac_executable_extensions; do
5005  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5006    ac_cv_prog_YACC="$ac_prog"
5007    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5008    break 2
5009  fi
5010done
5011  done
5012IFS=$as_save_IFS
5013
5014fi
5015fi
5016YACC=$ac_cv_prog_YACC
5017if test -n "$YACC"; then
5018  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
5019$as_echo "$YACC" >&6; }
5020else
5021  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5022$as_echo "no" >&6; }
5023fi
5024
5025
5026  test -n "$YACC" && break
5027done
5028test -n "$YACC" || YACC="yacc"
5029
5030if test "${YACC}" = "yacc" ; then echo "Error: bison required." ; exit 1 ; fi
5031
5032for ac_prog in flex lex
5033do
5034  # Extract the first word of "$ac_prog", so it can be a program name with args.
5035set dummy $ac_prog; ac_word=$2
5036{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5037$as_echo_n "checking for $ac_word... " >&6; }
5038if ${ac_cv_prog_LEX+:} false; then :
5039  $as_echo_n "(cached) " >&6
5040else
5041  if test -n "$LEX"; then
5042  ac_cv_prog_LEX="$LEX" # Let the user override the test.
5043else
5044as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5045for as_dir in $PATH
5046do
5047  IFS=$as_save_IFS
5048  test -z "$as_dir" && as_dir=.
5049    for ac_exec_ext in '' $ac_executable_extensions; do
5050  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5051    ac_cv_prog_LEX="$ac_prog"
5052    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5053    break 2
5054  fi
5055done
5056  done
5057IFS=$as_save_IFS
5058
5059fi
5060fi
5061LEX=$ac_cv_prog_LEX
5062if test -n "$LEX"; then
5063  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
5064$as_echo "$LEX" >&6; }
5065else
5066  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5067$as_echo "no" >&6; }
5068fi
5069
5070
5071  test -n "$LEX" && break
5072done
5073test -n "$LEX" || LEX=":"
5074
5075if test "x$LEX" != "x:"; then
5076  cat >conftest.l <<_ACEOF
5077%%
5078a { ECHO; }
5079b { REJECT; }
5080c { yymore (); }
5081d { yyless (1); }
5082e { yyless (input () != 0); }
5083f { unput (yytext[0]); }
5084. { BEGIN INITIAL; }
5085%%
5086#ifdef YYTEXT_POINTER
5087extern char *yytext;
5088#endif
5089int
5090main (void)
5091{
5092  return ! yylex () + ! yywrap ();
5093}
5094_ACEOF
5095{ { ac_try="$LEX conftest.l"
5096case "(($ac_try" in
5097  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5098  *) ac_try_echo=$ac_try;;
5099esac
5100eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5101$as_echo "$ac_try_echo"; } >&5
5102  (eval "$LEX conftest.l") 2>&5
5103  ac_status=$?
5104  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5105  test $ac_status = 0; }
5106{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
5107$as_echo_n "checking lex output file root... " >&6; }
5108if ${ac_cv_prog_lex_root+:} false; then :
5109  $as_echo_n "(cached) " >&6
5110else
5111
5112if test -f lex.yy.c; then
5113  ac_cv_prog_lex_root=lex.yy
5114elif test -f lexyy.c; then
5115  ac_cv_prog_lex_root=lexyy
5116else
5117  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
5118fi
5119fi
5120{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
5121$as_echo "$ac_cv_prog_lex_root" >&6; }
5122LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5123
5124if test -z "${LEXLIB+set}"; then
5125  { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
5126$as_echo_n "checking lex library... " >&6; }
5127if ${ac_cv_lib_lex+:} false; then :
5128  $as_echo_n "(cached) " >&6
5129else
5130
5131    ac_save_LIBS=$LIBS
5132    ac_cv_lib_lex='none needed'
5133    for ac_lib in '' -lfl -ll; do
5134      LIBS="$ac_lib $ac_save_LIBS"
5135      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5136/* end confdefs.h.  */
5137`cat $LEX_OUTPUT_ROOT.c`
5138_ACEOF
5139if ac_fn_c_try_link "$LINENO"; then :
5140  ac_cv_lib_lex=$ac_lib
5141fi
5142rm -f core conftest.err conftest.$ac_objext \
5143    conftest$ac_exeext conftest.$ac_ext
5144      test "$ac_cv_lib_lex" != 'none needed' && break
5145    done
5146    LIBS=$ac_save_LIBS
5147
5148fi
5149{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
5150$as_echo "$ac_cv_lib_lex" >&6; }
5151  test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
5152fi
5153
5154
5155{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
5156$as_echo_n "checking whether yytext is a pointer... " >&6; }
5157if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
5158  $as_echo_n "(cached) " >&6
5159else
5160  # POSIX says lex can declare yytext either as a pointer or an array; the
5161# default is implementation-dependent.  Figure out which it is, since
5162# not all implementations provide the %pointer and %array declarations.
5163ac_cv_prog_lex_yytext_pointer=no
5164ac_save_LIBS=$LIBS
5165LIBS="$LEXLIB $ac_save_LIBS"
5166cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5167/* end confdefs.h.  */
5168
5169  #define YYTEXT_POINTER 1
5170`cat $LEX_OUTPUT_ROOT.c`
5171_ACEOF
5172if ac_fn_c_try_link "$LINENO"; then :
5173  ac_cv_prog_lex_yytext_pointer=yes
5174fi
5175rm -f core conftest.err conftest.$ac_objext \
5176    conftest$ac_exeext conftest.$ac_ext
5177LIBS=$ac_save_LIBS
5178
5179fi
5180{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
5181$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
5182if test $ac_cv_prog_lex_yytext_pointer = yes; then
5183
5184$as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
5185
5186fi
5187rm -f conftest.l $LEX_OUTPUT_ROOT.c
5188
5189fi
5190if test "${LEX}" = "lex" ; then echo "Error: flex required." ; exit 1 ; fi
5191
5192{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5193$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5194set x ${MAKE-make}
5195ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5196if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
5197  $as_echo_n "(cached) " >&6
5198else
5199  cat >conftest.make <<\_ACEOF
5200SHELL = /bin/sh
5201all:
5202        @echo '@@@%%%=$(MAKE)=@@@%%%'
5203_ACEOF
5204# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5205case `${MAKE-make} -f conftest.make 2>/dev/null` in
5206  *@@@%%%=?*=@@@%%%*)
5207    eval ac_cv_prog_make_${ac_make}_set=yes;;
5208  *)
5209    eval ac_cv_prog_make_${ac_make}_set=no;;
5210esac
5211rm -f conftest.make
5212fi
5213if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5214  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5215$as_echo "yes" >&6; }
5216  SET_MAKE=
5217else
5218  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5219$as_echo "no" >&6; }
5220  SET_MAKE="MAKE=${MAKE-make}"
5221fi
5222
5223if test -n "$ac_tool_prefix"; then
5224  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5225set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5226{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5227$as_echo_n "checking for $ac_word... " >&6; }
5228if ${ac_cv_prog_RANLIB+:} false; then :
5229  $as_echo_n "(cached) " >&6
5230else
5231  if test -n "$RANLIB"; then
5232  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5233else
5234as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5235for as_dir in $PATH
5236do
5237  IFS=$as_save_IFS
5238  test -z "$as_dir" && as_dir=.
5239    for ac_exec_ext in '' $ac_executable_extensions; do
5240  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5241    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5242    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5243    break 2
5244  fi
5245done
5246  done
5247IFS=$as_save_IFS
5248
5249fi
5250fi
5251RANLIB=$ac_cv_prog_RANLIB
5252if test -n "$RANLIB"; then
5253  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5254$as_echo "$RANLIB" >&6; }
5255else
5256  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5257$as_echo "no" >&6; }
5258fi
5259
5260
5261fi
5262if test -z "$ac_cv_prog_RANLIB"; then
5263  ac_ct_RANLIB=$RANLIB
5264  # Extract the first word of "ranlib", so it can be a program name with args.
5265set dummy ranlib; ac_word=$2
5266{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5267$as_echo_n "checking for $ac_word... " >&6; }
5268if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5269  $as_echo_n "(cached) " >&6
5270else
5271  if test -n "$ac_ct_RANLIB"; then
5272  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5273else
5274as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5275for as_dir in $PATH
5276do
5277  IFS=$as_save_IFS
5278  test -z "$as_dir" && as_dir=.
5279    for ac_exec_ext in '' $ac_executable_extensions; do
5280  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5281    ac_cv_prog_ac_ct_RANLIB="ranlib"
5282    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5283    break 2
5284  fi
5285done
5286  done
5287IFS=$as_save_IFS
5288
5289fi
5290fi
5291ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5292if test -n "$ac_ct_RANLIB"; then
5293  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5294$as_echo "$ac_ct_RANLIB" >&6; }
5295else
5296  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5297$as_echo "no" >&6; }
5298fi
5299
5300  if test "x$ac_ct_RANLIB" = x; then
5301    RANLIB=":"
5302  else
5303    case $cross_compiling:$ac_tool_warned in
5304yes:)
5305{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5306$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5307ac_tool_warned=yes ;;
5308esac
5309    RANLIB=$ac_ct_RANLIB
5310  fi
5311else
5312  RANLIB="$ac_cv_prog_RANLIB"
5313fi
5314
5315
5316# Checks for libraries.
5317
5318# Checks for header files.
5319ac_ext=c
5320ac_cpp='$CPP $CPPFLAGS'
5321ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5322ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5323ac_compiler_gnu=$ac_cv_c_compiler_gnu
5324{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5325$as_echo_n "checking how to run the C preprocessor... " >&6; }
5326# On Suns, sometimes $CPP names a directory.
5327if test -n "$CPP" && test -d "$CPP"; then
5328  CPP=
5329fi
5330if test -z "$CPP"; then
5331  if ${ac_cv_prog_CPP+:} false; then :
5332  $as_echo_n "(cached) " >&6
5333else
5334      # Double quotes because CPP needs to be expanded
5335    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5336    do
5337      ac_preproc_ok=false
5338for ac_c_preproc_warn_flag in '' yes
5339do
5340  # Use a header file that comes with gcc, so configuring glibc
5341  # with a fresh cross-compiler works.
5342  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5343  # <limits.h> exists even on freestanding compilers.
5344  # On the NeXT, cc -E runs the code through the compiler's parser,
5345  # not just through cpp. "Syntax error" is here to catch this case.
5346  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5347/* end confdefs.h.  */
5348#ifdef __STDC__
5349# include <limits.h>
5350#else
5351# include <assert.h>
5352#endif
5353                     Syntax error
5354_ACEOF
5355if ac_fn_c_try_cpp "$LINENO"; then :
5356
5357else
5358  # Broken: fails on valid input.
5359continue
5360fi
5361rm -f conftest.err conftest.i conftest.$ac_ext
5362
5363  # OK, works on sane cases.  Now check whether nonexistent headers
5364  # can be detected and how.
5365  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5366/* end confdefs.h.  */
5367#include <ac_nonexistent.h>
5368_ACEOF
5369if ac_fn_c_try_cpp "$LINENO"; then :
5370  # Broken: success on invalid input.
5371continue
5372else
5373  # Passes both tests.
5374ac_preproc_ok=:
5375break
5376fi
5377rm -f conftest.err conftest.i conftest.$ac_ext
5378
5379done
5380# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5381rm -f conftest.i conftest.err conftest.$ac_ext
5382if $ac_preproc_ok; then :
5383  break
5384fi
5385
5386    done
5387    ac_cv_prog_CPP=$CPP
5388
5389fi
5390  CPP=$ac_cv_prog_CPP
5391else
5392  ac_cv_prog_CPP=$CPP
5393fi
5394{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5395$as_echo "$CPP" >&6; }
5396ac_preproc_ok=false
5397for ac_c_preproc_warn_flag in '' yes
5398do
5399  # Use a header file that comes with gcc, so configuring glibc
5400  # with a fresh cross-compiler works.
5401  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5402  # <limits.h> exists even on freestanding compilers.
5403  # On the NeXT, cc -E runs the code through the compiler's parser,
5404  # not just through cpp. "Syntax error" is here to catch this case.
5405  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5406/* end confdefs.h.  */
5407#ifdef __STDC__
5408# include <limits.h>
5409#else
5410# include <assert.h>
5411#endif
5412                     Syntax error
5413_ACEOF
5414if ac_fn_c_try_cpp "$LINENO"; then :
5415
5416else
5417  # Broken: fails on valid input.
5418continue
5419fi
5420rm -f conftest.err conftest.i conftest.$ac_ext
5421
5422  # OK, works on sane cases.  Now check whether nonexistent headers
5423  # can be detected and how.
5424  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5425/* end confdefs.h.  */
5426#include <ac_nonexistent.h>
5427_ACEOF
5428if ac_fn_c_try_cpp "$LINENO"; then :
5429  # Broken: success on invalid input.
5430continue
5431else
5432  # Passes both tests.
5433ac_preproc_ok=:
5434break
5435fi
5436rm -f conftest.err conftest.i conftest.$ac_ext
5437
5438done
5439# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5440rm -f conftest.i conftest.err conftest.$ac_ext
5441if $ac_preproc_ok; then :
5442
5443else
5444  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5445$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5446as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5447See \`config.log' for more details" "$LINENO" 5; }
5448fi
5449
5450ac_ext=c
5451ac_cpp='$CPP $CPPFLAGS'
5452ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5453ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5454ac_compiler_gnu=$ac_cv_c_compiler_gnu
5455
5456
5457{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5458$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5459if ${ac_cv_path_GREP+:} false; then :
5460  $as_echo_n "(cached) " >&6
5461else
5462  if test -z "$GREP"; then
5463  ac_path_GREP_found=false
5464  # Loop through the user's path and test for each of PROGNAME-LIST
5465  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5466for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5467do
5468  IFS=$as_save_IFS
5469  test -z "$as_dir" && as_dir=.
5470    for ac_prog in grep ggrep; do
5471    for ac_exec_ext in '' $ac_executable_extensions; do
5472      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5473      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5474# Check for GNU ac_path_GREP and select it if it is found.
5475  # Check for GNU $ac_path_GREP
5476case `"$ac_path_GREP" --version 2>&1` in
5477*GNU*)
5478  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5479*)
5480  ac_count=0
5481  $as_echo_n 0123456789 >"conftest.in"
5482  while :
5483  do
5484    cat "conftest.in" "conftest.in" >"conftest.tmp"
5485    mv "conftest.tmp" "conftest.in"
5486    cp "conftest.in" "conftest.nl"
5487    $as_echo 'GREP' >> "conftest.nl"
5488    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5489    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5490    as_fn_arith $ac_count + 1 && ac_count=$as_val
5491    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5492      # Best one so far, save it but keep looking for a better one
5493      ac_cv_path_GREP="$ac_path_GREP"
5494      ac_path_GREP_max=$ac_count
5495    fi
5496    # 10*(2^10) chars as input seems more than enough
5497    test $ac_count -gt 10 && break
5498  done
5499  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5500esac
5501
5502      $ac_path_GREP_found && break 3
5503    done
5504  done
5505  done
5506IFS=$as_save_IFS
5507  if test -z "$ac_cv_path_GREP"; then
5508    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5509  fi
5510else
5511  ac_cv_path_GREP=$GREP
5512fi
5513
5514fi
5515{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5516$as_echo "$ac_cv_path_GREP" >&6; }
5517 GREP="$ac_cv_path_GREP"
5518
5519
5520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5521$as_echo_n "checking for egrep... " >&6; }
5522if ${ac_cv_path_EGREP+:} false; then :
5523  $as_echo_n "(cached) " >&6
5524else
5525  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5526   then ac_cv_path_EGREP="$GREP -E"
5527   else
5528     if test -z "$EGREP"; then
5529  ac_path_EGREP_found=false
5530  # Loop through the user's path and test for each of PROGNAME-LIST
5531  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5532for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5533do
5534  IFS=$as_save_IFS
5535  test -z "$as_dir" && as_dir=.
5536    for ac_prog in egrep; do
5537    for ac_exec_ext in '' $ac_executable_extensions; do
5538      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5539      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5540# Check for GNU ac_path_EGREP and select it if it is found.
5541  # Check for GNU $ac_path_EGREP
5542case `"$ac_path_EGREP" --version 2>&1` in
5543*GNU*)
5544  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5545*)
5546  ac_count=0
5547  $as_echo_n 0123456789 >"conftest.in"
5548  while :
5549  do
5550    cat "conftest.in" "conftest.in" >"conftest.tmp"
5551    mv "conftest.tmp" "conftest.in"
5552    cp "conftest.in" "conftest.nl"
5553    $as_echo 'EGREP' >> "conftest.nl"
5554    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5555    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5556    as_fn_arith $ac_count + 1 && ac_count=$as_val
5557    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5558      # Best one so far, save it but keep looking for a better one
5559      ac_cv_path_EGREP="$ac_path_EGREP"
5560      ac_path_EGREP_max=$ac_count
5561    fi
5562    # 10*(2^10) chars as input seems more than enough
5563    test $ac_count -gt 10 && break
5564  done
5565  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5566esac
5567
5568      $ac_path_EGREP_found && break 3
5569    done
5570  done
5571  done
5572IFS=$as_save_IFS
5573  if test -z "$ac_cv_path_EGREP"; then
5574    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5575  fi
5576else
5577  ac_cv_path_EGREP=$EGREP
5578fi
5579
5580   fi
5581fi
5582{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5583$as_echo "$ac_cv_path_EGREP" >&6; }
5584 EGREP="$ac_cv_path_EGREP"
5585
5586
5587{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5588$as_echo_n "checking for ANSI C header files... " >&6; }
5589if ${ac_cv_header_stdc+:} false; then :
5590  $as_echo_n "(cached) " >&6
5591else
5592  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5593/* end confdefs.h.  */
5594#include <stdlib.h>
5595#include <stdarg.h>
5596#include <string.h>
5597#include <float.h>
5598
5599int
5600main ()
5601{
5602
5603  ;
5604  return 0;
5605}
5606_ACEOF
5607if ac_fn_c_try_compile "$LINENO"; then :
5608  ac_cv_header_stdc=yes
5609else
5610  ac_cv_header_stdc=no
5611fi
5612rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5613
5614if test $ac_cv_header_stdc = yes; then
5615  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5616  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5617/* end confdefs.h.  */
5618#include <string.h>
5619
5620_ACEOF
5621if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5622  $EGREP "memchr" >/dev/null 2>&1; then :
5623
5624else
5625  ac_cv_header_stdc=no
5626fi
5627rm -f conftest*
5628
5629fi
5630
5631if test $ac_cv_header_stdc = yes; then
5632  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5633  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5634/* end confdefs.h.  */
5635#include <stdlib.h>
5636
5637_ACEOF
5638if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5639  $EGREP "free" >/dev/null 2>&1; then :
5640
5641else
5642  ac_cv_header_stdc=no
5643fi
5644rm -f conftest*
5645
5646fi
5647
5648if test $ac_cv_header_stdc = yes; then
5649  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5650  if test "$cross_compiling" = yes; then :
5651  :
5652else
5653  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5654/* end confdefs.h.  */
5655#include <ctype.h>
5656#include <stdlib.h>
5657#if ((' ' & 0x0FF) == 0x020)
5658# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5659# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5660#else
5661# define ISLOWER(c) \
5662                   (('a' <= (c) && (c) <= 'i') \
5663                     || ('j' <= (c) && (c) <= 'r') \
5664                     || ('s' <= (c) && (c) <= 'z'))
5665# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5666#endif
5667
5668#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5669int
5670main ()
5671{
5672  int i;
5673  for (i = 0; i < 256; i++)
5674    if (XOR (islower (i), ISLOWER (i))
5675        || toupper (i) != TOUPPER (i))
5676      return 2;
5677  return 0;
5678}
5679_ACEOF
5680if ac_fn_c_try_run "$LINENO"; then :
5681
5682else
5683  ac_cv_header_stdc=no
5684fi
5685rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5686  conftest.$ac_objext conftest.beam conftest.$ac_ext
5687fi
5688
5689fi
5690fi
5691{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5692$as_echo "$ac_cv_header_stdc" >&6; }
5693if test $ac_cv_header_stdc = yes; then
5694
5695$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5696
5697fi
5698
5699# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5700for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5701                  inttypes.h stdint.h unistd.h
5702do :
5703  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5704ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5705"
5706if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5707  cat >>confdefs.h <<_ACEOF
5708#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5709_ACEOF
5710
5711fi
5712
5713done
5714
5715
5716ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5717if test "x$ac_cv_type_size_t" = xyes; then :
5718
5719else
5720
5721cat >>confdefs.h <<_ACEOF
5722#define size_t unsigned int
5723_ACEOF
5724
5725fi
5726
5727# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5728# for constant arguments.  Useless!
5729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
5730$as_echo_n "checking for working alloca.h... " >&6; }
5731if ${ac_cv_working_alloca_h+:} false; then :
5732  $as_echo_n "(cached) " >&6
5733else
5734  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5735/* end confdefs.h.  */
5736#include <alloca.h>
5737int
5738main ()
5739{
5740char *p = (char *) alloca (2 * sizeof (int));
5741                          if (p) return 0;
5742  ;
5743  return 0;
5744}
5745_ACEOF
5746if ac_fn_c_try_link "$LINENO"; then :
5747  ac_cv_working_alloca_h=yes
5748else
5749  ac_cv_working_alloca_h=no
5750fi
5751rm -f core conftest.err conftest.$ac_objext \
5752    conftest$ac_exeext conftest.$ac_ext
5753fi
5754{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
5755$as_echo "$ac_cv_working_alloca_h" >&6; }
5756if test $ac_cv_working_alloca_h = yes; then
5757
5758$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
5759
5760fi
5761
5762{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
5763$as_echo_n "checking for alloca... " >&6; }
5764if ${ac_cv_func_alloca_works+:} false; then :
5765  $as_echo_n "(cached) " >&6
5766else
5767  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5768/* end confdefs.h.  */
5769#ifdef __GNUC__
5770# define alloca __builtin_alloca
5771#else
5772# ifdef _MSC_VER
5773#  include <malloc.h>
5774#  define alloca _alloca
5775# else
5776#  ifdef HAVE_ALLOCA_H
5777#   include <alloca.h>
5778#  else
5779#   ifdef _AIX
5780 #pragma alloca
5781#   else
5782#    ifndef alloca /* predefined by HP cc +Olibcalls */
5783void *alloca (size_t);
5784#    endif
5785#   endif
5786#  endif
5787# endif
5788#endif
5789
5790int
5791main ()
5792{
5793char *p = (char *) alloca (1);
5794                                    if (p) return 0;
5795  ;
5796  return 0;
5797}
5798_ACEOF
5799if ac_fn_c_try_link "$LINENO"; then :
5800  ac_cv_func_alloca_works=yes
5801else
5802  ac_cv_func_alloca_works=no
5803fi
5804rm -f core conftest.err conftest.$ac_objext \
5805    conftest$ac_exeext conftest.$ac_ext
5806fi
5807{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
5808$as_echo "$ac_cv_func_alloca_works" >&6; }
5809
5810if test $ac_cv_func_alloca_works = yes; then
5811
5812$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
5813
5814else
5815  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5816# that cause trouble.  Some versions do not even contain alloca or
5817# contain a buggy version.  If you still want to use their alloca,
5818# use ar to extract alloca.o from them instead of compiling alloca.c.
5819
5820ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
5821
5822$as_echo "#define C_ALLOCA 1" >>confdefs.h
5823
5824
5825{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
5826$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
5827if ${ac_cv_os_cray+:} false; then :
5828  $as_echo_n "(cached) " >&6
5829else
5830  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5831/* end confdefs.h.  */
5832#if defined CRAY && ! defined CRAY2
5833webecray
5834#else
5835wenotbecray
5836#endif
5837
5838_ACEOF
5839if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5840  $EGREP "webecray" >/dev/null 2>&1; then :
5841  ac_cv_os_cray=yes
5842else
5843  ac_cv_os_cray=no
5844fi
5845rm -f conftest*
5846
5847fi
5848{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
5849$as_echo "$ac_cv_os_cray" >&6; }
5850if test $ac_cv_os_cray = yes; then
5851  for ac_func in _getb67 GETB67 getb67; do
5852    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5853ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5854if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5855
5856cat >>confdefs.h <<_ACEOF
5857#define CRAY_STACKSEG_END $ac_func
5858_ACEOF
5859
5860    break
5861fi
5862
5863  done
5864fi
5865
5866{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
5867$as_echo_n "checking stack direction for C alloca... " >&6; }
5868if ${ac_cv_c_stack_direction+:} false; then :
5869  $as_echo_n "(cached) " >&6
5870else
5871  if test "$cross_compiling" = yes; then :
5872  ac_cv_c_stack_direction=0
5873else
5874  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5875/* end confdefs.h.  */
5876$ac_includes_default
5877int
5878find_stack_direction ()
5879{
5880  static char *addr = 0;
5881  auto char dummy;
5882  if (addr == 0)
5883    {
5884      addr = &dummy;
5885      return find_stack_direction ();
5886    }
5887  else
5888    return (&dummy > addr) ? 1 : -1;
5889}
5890
5891int
5892main ()
5893{
5894  return find_stack_direction () < 0;
5895}
5896_ACEOF
5897if ac_fn_c_try_run "$LINENO"; then :
5898  ac_cv_c_stack_direction=1
5899else
5900  ac_cv_c_stack_direction=-1
5901fi
5902rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5903  conftest.$ac_objext conftest.beam conftest.$ac_ext
5904fi
5905
5906fi
5907{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
5908$as_echo "$ac_cv_c_stack_direction" >&6; }
5909cat >>confdefs.h <<_ACEOF
5910#define STACK_DIRECTION $ac_cv_c_stack_direction
5911_ACEOF
5912
5913
5914fi
5915
5916for ac_header in fenv.h float.h inttypes.h libintl.h limits.h malloc.h stddef.h stdlib.h string.h unistd.h
5917do :
5918  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5919ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5920if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5921  cat >>confdefs.h <<_ACEOF
5922#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5923_ACEOF
5924
5925fi
5926
5927done
5928
5929
5930# Checks for typedefs, structures, and compiler characteristics.
5931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
5932$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
5933if ${ac_cv_header_stdbool_h+:} false; then :
5934  $as_echo_n "(cached) " >&6
5935else
5936  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5937/* end confdefs.h.  */
5938
5939#include <stdbool.h>
5940#ifndef bool
5941 "error: bool is not defined"
5942#endif
5943#ifndef false
5944 "error: false is not defined"
5945#endif
5946#if false
5947 "error: false is not 0"
5948#endif
5949#ifndef true
5950 "error: true is not defined"
5951#endif
5952#if true != 1
5953 "error: true is not 1"
5954#endif
5955#ifndef __bool_true_false_are_defined
5956 "error: __bool_true_false_are_defined is not defined"
5957#endif
5958
5959        struct s { _Bool s: 1; _Bool t; } s;
5960
5961        char a[true == 1 ? 1 : -1];
5962        char b[false == 0 ? 1 : -1];
5963        char c[__bool_true_false_are_defined == 1 ? 1 : -1];
5964        char d[(bool) 0.5 == true ? 1 : -1];
5965        /* See body of main program for 'e'.  */
5966        char f[(_Bool) 0.0 == false ? 1 : -1];
5967        char g[true];
5968        char h[sizeof (_Bool)];
5969        char i[sizeof s.t];
5970        enum { j = false, k = true, l = false * true, m = true * 256 };
5971        /* The following fails for
5972           HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
5973        _Bool n[m];
5974        char o[sizeof n == m * sizeof n[0] ? 1 : -1];
5975        char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
5976        /* Catch a bug in an HP-UX C compiler.  See
5977           http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
5978           http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
5979         */
5980        _Bool q = true;
5981        _Bool *pq = &q;
5982
5983int
5984main ()
5985{
5986
5987        bool e = &s;
5988        *pq |= q;
5989        *pq |= ! q;
5990        /* Refer to every declared value, to avoid compiler optimizations.  */
5991        return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
5992                + !m + !n + !o + !p + !q + !pq);
5993
5994  ;
5995  return 0;
5996}
5997_ACEOF
5998if ac_fn_c_try_compile "$LINENO"; then :
5999  ac_cv_header_stdbool_h=yes
6000else
6001  ac_cv_header_stdbool_h=no
6002fi
6003rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6004fi
6005{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
6006$as_echo "$ac_cv_header_stdbool_h" >&6; }
6007ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
6008if test "x$ac_cv_type__Bool" = xyes; then :
6009
6010cat >>confdefs.h <<_ACEOF
6011#define HAVE__BOOL 1
6012_ACEOF
6013
6014
6015fi
6016
6017if test $ac_cv_header_stdbool_h = yes; then
6018
6019$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
6020
6021fi
6022
6023{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
6024$as_echo_n "checking for inline... " >&6; }
6025if ${ac_cv_c_inline+:} false; then :
6026  $as_echo_n "(cached) " >&6
6027else
6028  ac_cv_c_inline=no
6029for ac_kw in inline __inline__ __inline; do
6030  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6031/* end confdefs.h.  */
6032#ifndef __cplusplus
6033typedef int foo_t;
6034static $ac_kw foo_t static_foo () {return 0; }
6035$ac_kw foo_t foo () {return 0; }
6036#endif
6037
6038_ACEOF
6039if ac_fn_c_try_compile "$LINENO"; then :
6040  ac_cv_c_inline=$ac_kw
6041fi
6042rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6043  test "$ac_cv_c_inline" != no && break
6044done
6045
6046fi
6047{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
6048$as_echo "$ac_cv_c_inline" >&6; }
6049
6050case $ac_cv_c_inline in
6051  inline | yes) ;;
6052  *)
6053    case $ac_cv_c_inline in
6054      no) ac_val=;;
6055      *) ac_val=$ac_cv_c_inline;;
6056    esac
6057    cat >>confdefs.h <<_ACEOF
6058#ifndef __cplusplus
6059#define inline $ac_val
6060#endif
6061_ACEOF
6062    ;;
6063esac
6064
6065ac_fn_c_find_intX_t "$LINENO" "16" "ac_cv_c_int16_t"
6066case $ac_cv_c_int16_t in #(
6067  no|yes) ;; #(
6068  *)
6069
6070cat >>confdefs.h <<_ACEOF
6071#define int16_t $ac_cv_c_int16_t
6072_ACEOF
6073;;
6074esac
6075
6076ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t"
6077case $ac_cv_c_int32_t in #(
6078  no|yes) ;; #(
6079  *)
6080
6081cat >>confdefs.h <<_ACEOF
6082#define int32_t $ac_cv_c_int32_t
6083_ACEOF
6084;;
6085esac
6086
6087ac_fn_c_find_intX_t "$LINENO" "8" "ac_cv_c_int8_t"
6088case $ac_cv_c_int8_t in #(
6089  no|yes) ;; #(
6090  *)
6091
6092cat >>confdefs.h <<_ACEOF
6093#define int8_t $ac_cv_c_int8_t
6094_ACEOF
6095;;
6096esac
6097
6098{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
6099$as_echo_n "checking for C/C++ restrict keyword... " >&6; }
6100if ${ac_cv_c_restrict+:} false; then :
6101  $as_echo_n "(cached) " >&6
6102else
6103  ac_cv_c_restrict=no
6104   # The order here caters to the fact that C++ does not require restrict.
6105   for ac_kw in __restrict __restrict__ _Restrict restrict; do
6106     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6107/* end confdefs.h.  */
6108typedef int * int_ptr;
6109        int foo (int_ptr $ac_kw ip) {
6110        return ip[0];
6111       }
6112int
6113main ()
6114{
6115int s[1];
6116        int * $ac_kw t = s;
6117        t[0] = 0;
6118        return foo(t)
6119  ;
6120  return 0;
6121}
6122_ACEOF
6123if ac_fn_c_try_compile "$LINENO"; then :
6124  ac_cv_c_restrict=$ac_kw
6125fi
6126rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6127     test "$ac_cv_c_restrict" != no && break
6128   done
6129
6130fi
6131{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
6132$as_echo "$ac_cv_c_restrict" >&6; }
6133
6134 case $ac_cv_c_restrict in
6135   restrict) ;;
6136   no) $as_echo "#define restrict /**/" >>confdefs.h
6137 ;;
6138   *)  cat >>confdefs.h <<_ACEOF
6139#define restrict $ac_cv_c_restrict
6140_ACEOF
6141 ;;
6142 esac
6143
6144ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6145if test "x$ac_cv_type_size_t" = xyes; then :
6146
6147else
6148
6149cat >>confdefs.h <<_ACEOF
6150#define size_t unsigned int
6151_ACEOF
6152
6153fi
6154
6155ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
6156case $ac_cv_c_uint16_t in #(
6157  no|yes) ;; #(
6158  *)
6159
6160
6161cat >>confdefs.h <<_ACEOF
6162#define uint16_t $ac_cv_c_uint16_t
6163_ACEOF
6164;;
6165  esac
6166
6167ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
6168case $ac_cv_c_uint32_t in #(
6169  no|yes) ;; #(
6170  *)
6171
6172$as_echo "#define _UINT32_T 1" >>confdefs.h
6173
6174
6175cat >>confdefs.h <<_ACEOF
6176#define uint32_t $ac_cv_c_uint32_t
6177_ACEOF
6178;;
6179  esac
6180
6181ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
6182case $ac_cv_c_uint8_t in #(
6183  no|yes) ;; #(
6184  *)
6185
6186$as_echo "#define _UINT8_T 1" >>confdefs.h
6187
6188
6189cat >>confdefs.h <<_ACEOF
6190#define uint8_t $ac_cv_c_uint8_t
6191_ACEOF
6192;;
6193  esac
6194
6195
6196# Checks for library functions.
6197for ac_func in memset putenv strchr strtol
6198do :
6199  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6200ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6201if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
6202  cat >>confdefs.h <<_ACEOF
6203#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6204_ACEOF
6205
6206fi
6207done
6208
6209
6210ac_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"
6211
6212
6213cat >confcache <<\_ACEOF
6214# This file is a shell script that caches the results of configure
6215# tests run on this system so they can be shared between configure
6216# scripts and configure runs, see configure's option --config-cache.
6217# It is not useful on other systems.  If it contains results you don't
6218# want to keep, you may remove or edit it.
6219#
6220# config.status only pays attention to the cache file if you give it
6221# the --recheck option to rerun configure.
6222#
6223# `ac_cv_env_foo' variables (set or unset) will be overridden when
6224# loading this file, other *unset* `ac_cv_foo' will be assigned the
6225# following values.
6226
6227_ACEOF
6228
6229# The following way of writing the cache mishandles newlines in values,
6230# but we know of no workaround that is simple, portable, and efficient.
6231# So, we kill variables containing newlines.
6232# Ultrix sh set writes to stderr and can't be redirected directly,
6233# and sets the high bit in the cache file unless we assign to the vars.
6234(
6235  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6236    eval ac_val=\$$ac_var
6237    case $ac_val in #(
6238    *${as_nl}*)
6239      case $ac_var in #(
6240      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6241$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6242      esac
6243      case $ac_var in #(
6244      _ | IFS | as_nl) ;; #(
6245      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6246      *) { eval $ac_var=; unset $ac_var;} ;;
6247      esac ;;
6248    esac
6249  done
6250
6251  (set) 2>&1 |
6252    case $as_nl`(ac_space=' '; set) 2>&1` in #(
6253    *${as_nl}ac_space=\ *)
6254      # `set' does not quote correctly, so add quotes: double-quote
6255      # substitution turns \\\\ into \\, and sed turns \\ into \.
6256      sed -n \
6257        "s/'/'\\\\''/g;
6258          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6259      ;; #(
6260    *)
6261      # `set' quotes correctly as required by POSIX, so do not add quotes.
6262      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6263      ;;
6264    esac |
6265    sort
6266) |
6267  sed '
6268     /^ac_cv_env_/b end
6269     t clear
6270     :clear
6271     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6272     t end
6273     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6274     :end' >>confcache
6275if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6276  if test -w "$cache_file"; then
6277    if test "x$cache_file" != "x/dev/null"; then
6278      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6279$as_echo "$as_me: updating cache $cache_file" >&6;}
6280      if test ! -f "$cache_file" || test -h "$cache_file"; then
6281        cat confcache >"$cache_file"
6282      else
6283        case $cache_file in #(
6284        */* | ?:*)
6285          mv -f confcache "$cache_file"$$ &&
6286          mv -f "$cache_file"$$ "$cache_file" ;; #(
6287        *)
6288          mv -f confcache "$cache_file" ;;
6289        esac
6290      fi
6291    fi
6292  else
6293    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6294$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6295  fi
6296fi
6297rm -f confcache
6298
6299test "x$prefix" = xNONE && prefix=$ac_default_prefix
6300# Let make expand exec_prefix.
6301test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6302
6303DEFS=-DHAVE_CONFIG_H
6304
6305ac_libobjs=
6306ac_ltlibobjs=
6307U=
6308for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6309  # 1. Remove the extension, and $U if already installed.
6310  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6311  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6312  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
6313  #    will be set to the directory where LIBOBJS objects are built.
6314  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6315  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6316done
6317LIBOBJS=$ac_libobjs
6318
6319LTLIBOBJS=$ac_ltlibobjs
6320
6321
6322 if test -n "$EXEEXT"; then
6323  am__EXEEXT_TRUE=
6324  am__EXEEXT_FALSE='#'
6325else
6326  am__EXEEXT_TRUE='#'
6327  am__EXEEXT_FALSE=
6328fi
6329
6330if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6331  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
6332Usually this means the macro was only invoked conditionally." "$LINENO" 5
6333fi
6334if test -z "${BUILD_RELEASE_TRUE}" && test -z "${BUILD_RELEASE_FALSE}"; then
6335  as_fn_error $? "conditional \"BUILD_RELEASE\" was never defined.
6336Usually this means the macro was only invoked conditionally." "$LINENO" 5
6337fi
6338if test -z "${BUILD_DEBUG_TRUE}" && test -z "${BUILD_DEBUG_FALSE}"; then
6339  as_fn_error $? "conditional \"BUILD_DEBUG\" was never defined.
6340Usually this means the macro was only invoked conditionally." "$LINENO" 5
6341fi
6342if test -z "${BUILD_NO_LIB_TRUE}" && test -z "${BUILD_NO_LIB_FALSE}"; then
6343  as_fn_error $? "conditional \"BUILD_NO_LIB\" was never defined.
6344Usually this means the macro was only invoked conditionally." "$LINENO" 5
6345fi
6346if test -z "${BUILD_CONCURRENCY_TRUE}" && test -z "${BUILD_CONCURRENCY_FALSE}"; then
6347  as_fn_error $? "conditional \"BUILD_CONCURRENCY\" was never defined.
6348Usually this means the macro was only invoked conditionally." "$LINENO" 5
6349fi
6350if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6351  as_fn_error $? "conditional \"AMDEP\" was never defined.
6352Usually this means the macro was only invoked conditionally." "$LINENO" 5
6353fi
6354if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
6355  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
6356Usually this means the macro was only invoked conditionally." "$LINENO" 5
6357fi
6358if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6359  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6360Usually this means the macro was only invoked conditionally." "$LINENO" 5
6361fi
6362if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
6363  as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
6364Usually this means the macro was only invoked conditionally." "$LINENO" 5
6365fi
6366
6367: "${CONFIG_STATUS=./config.status}"
6368ac_write_fail=0
6369ac_clean_files_save=$ac_clean_files
6370ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6371{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6372$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6373as_write_fail=0
6374cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6375#! $SHELL
6376# Generated by $as_me.
6377# Run this file to recreate the current configuration.
6378# Compiler output produced by configure, useful for debugging
6379# configure, is in config.log if it exists.
6380
6381debug=false
6382ac_cs_recheck=false
6383ac_cs_silent=false
6384
6385SHELL=\${CONFIG_SHELL-$SHELL}
6386export SHELL
6387_ASEOF
6388cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6389## -------------------- ##
6390## M4sh Initialization. ##
6391## -------------------- ##
6392
6393# Be more Bourne compatible
6394DUALCASE=1; export DUALCASE # for MKS sh
6395if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6396  emulate sh
6397  NULLCMD=:
6398  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6399  # is contrary to our usage.  Disable this feature.
6400  alias -g '${1+"$@"}'='"$@"'
6401  setopt NO_GLOB_SUBST
6402else
6403  case `(set -o) 2>/dev/null` in #(
6404  *posix*) :
6405    set -o posix ;; #(
6406  *) :
6407     ;;
6408esac
6409fi
6410
6411
6412as_nl='
6413'
6414export as_nl
6415# Printing a long string crashes Solaris 7 /usr/bin/printf.
6416as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6417as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6418as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6419# Prefer a ksh shell builtin over an external printf program on Solaris,
6420# but without wasting forks for bash or zsh.
6421if test -z "$BASH_VERSION$ZSH_VERSION" \
6422    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6423  as_echo='print -r --'
6424  as_echo_n='print -rn --'
6425elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6426  as_echo='printf %s\n'
6427  as_echo_n='printf %s'
6428else
6429  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6430    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6431    as_echo_n='/usr/ucb/echo -n'
6432  else
6433    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6434    as_echo_n_body='eval
6435      arg=$1;
6436      case $arg in #(
6437      *"$as_nl"*)
6438        expr "X$arg" : "X\\(.*\\)$as_nl";
6439        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6440      esac;
6441      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6442    '
6443    export as_echo_n_body
6444    as_echo_n='sh -c $as_echo_n_body as_echo'
6445  fi
6446  export as_echo_body
6447  as_echo='sh -c $as_echo_body as_echo'
6448fi
6449
6450# The user is always right.
6451if test "${PATH_SEPARATOR+set}" != set; then
6452  PATH_SEPARATOR=:
6453  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6454    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6455      PATH_SEPARATOR=';'
6456  }
6457fi
6458
6459
6460# IFS
6461# We need space, tab and new line, in precisely that order.  Quoting is
6462# there to prevent editors from complaining about space-tab.
6463# (If _AS_PATH_WALK were called with IFS unset, it would disable word
6464# splitting by setting IFS to empty value.)
6465IFS=" ""        $as_nl"
6466
6467# Find who we are.  Look in the path if we contain no directory separator.
6468as_myself=
6469case $0 in #((
6470  *[\\/]* ) as_myself=$0 ;;
6471  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6472for as_dir in $PATH
6473do
6474  IFS=$as_save_IFS
6475  test -z "$as_dir" && as_dir=.
6476    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6477  done
6478IFS=$as_save_IFS
6479
6480     ;;
6481esac
6482# We did not find ourselves, most probably we were run as `sh COMMAND'
6483# in which case we are not to be found in the path.
6484if test "x$as_myself" = x; then
6485  as_myself=$0
6486fi
6487if test ! -f "$as_myself"; then
6488  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6489  exit 1
6490fi
6491
6492# Unset variables that we do not need and which cause bugs (e.g. in
6493# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
6494# suppresses any "Segmentation fault" message there.  '((' could
6495# trigger a bug in pdksh 5.2.14.
6496for as_var in BASH_ENV ENV MAIL MAILPATH
6497do eval test x\${$as_var+set} = xset \
6498  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6499done
6500PS1='$ '
6501PS2='> '
6502PS4='+ '
6503
6504# NLS nuisances.
6505LC_ALL=C
6506export LC_ALL
6507LANGUAGE=C
6508export LANGUAGE
6509
6510# CDPATH.
6511(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6512
6513
6514# as_fn_error STATUS ERROR [LINENO LOG_FD]
6515# ----------------------------------------
6516# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6517# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6518# script with STATUS, using 1 if that was 0.
6519as_fn_error ()
6520{
6521  as_status=$1; test $as_status -eq 0 && as_status=1
6522  if test "$4"; then
6523    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6524    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6525  fi
6526  $as_echo "$as_me: error: $2" >&2
6527  as_fn_exit $as_status
6528} # as_fn_error
6529
6530
6531# as_fn_set_status STATUS
6532# -----------------------
6533# Set $? to STATUS, without forking.
6534as_fn_set_status ()
6535{
6536  return $1
6537} # as_fn_set_status
6538
6539# as_fn_exit STATUS
6540# -----------------
6541# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6542as_fn_exit ()
6543{
6544  set +e
6545  as_fn_set_status $1
6546  exit $1
6547} # as_fn_exit
6548
6549# as_fn_unset VAR
6550# ---------------
6551# Portably unset VAR.
6552as_fn_unset ()
6553{
6554  { eval $1=; unset $1;}
6555}
6556as_unset=as_fn_unset
6557# as_fn_append VAR VALUE
6558# ----------------------
6559# Append the text in VALUE to the end of the definition contained in VAR. Take
6560# advantage of any shell optimizations that allow amortized linear growth over
6561# repeated appends, instead of the typical quadratic growth present in naive
6562# implementations.
6563if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6564  eval 'as_fn_append ()
6565  {
6566    eval $1+=\$2
6567  }'
6568else
6569  as_fn_append ()
6570  {
6571    eval $1=\$$1\$2
6572  }
6573fi # as_fn_append
6574
6575# as_fn_arith ARG...
6576# ------------------
6577# Perform arithmetic evaluation on the ARGs, and store the result in the
6578# global $as_val. Take advantage of shells that can avoid forks. The arguments
6579# must be portable across $(()) and expr.
6580if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6581  eval 'as_fn_arith ()
6582  {
6583    as_val=$(( $* ))
6584  }'
6585else
6586  as_fn_arith ()
6587  {
6588    as_val=`expr "$@" || test $? -eq 1`
6589  }
6590fi # as_fn_arith
6591
6592
6593if expr a : '\(a\)' >/dev/null 2>&1 &&
6594   test "X`expr 00001 : '.*\(...\)'`" = X001; then
6595  as_expr=expr
6596else
6597  as_expr=false
6598fi
6599
6600if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6601  as_basename=basename
6602else
6603  as_basename=false
6604fi
6605
6606if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6607  as_dirname=dirname
6608else
6609  as_dirname=false
6610fi
6611
6612as_me=`$as_basename -- "$0" ||
6613$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6614         X"$0" : 'X\(//\)$' \| \
6615         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6616$as_echo X/"$0" |
6617    sed '/^.*\/\([^/][^/]*\)\/*$/{
6618            s//\1/
6619            q
6620          }
6621          /^X\/\(\/\/\)$/{
6622            s//\1/
6623            q
6624          }
6625          /^X\/\(\/\).*/{
6626            s//\1/
6627            q
6628          }
6629          s/.*/./; q'`
6630
6631# Avoid depending upon Character Ranges.
6632as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6633as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6634as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6635as_cr_digits='0123456789'
6636as_cr_alnum=$as_cr_Letters$as_cr_digits
6637
6638ECHO_C= ECHO_N= ECHO_T=
6639case `echo -n x` in #(((((
6640-n*)
6641  case `echo 'xy\c'` in
6642  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
6643  xy)  ECHO_C='\c';;
6644  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
6645       ECHO_T=' ';;
6646  esac;;
6647*)
6648  ECHO_N='-n';;
6649esac
6650
6651rm -f conf$$ conf$$.exe conf$$.file
6652if test -d conf$$.dir; then
6653  rm -f conf$$.dir/conf$$.file
6654else
6655  rm -f conf$$.dir
6656  mkdir conf$$.dir 2>/dev/null
6657fi
6658if (echo >conf$$.file) 2>/dev/null; then
6659  if ln -s conf$$.file conf$$ 2>/dev/null; then
6660    as_ln_s='ln -s'
6661    # ... but there are two gotchas:
6662    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6663    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6664    # In both cases, we have to default to `cp -p'.
6665    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6666      as_ln_s='cp -p'
6667  elif ln conf$$.file conf$$ 2>/dev/null; then
6668    as_ln_s=ln
6669  else
6670    as_ln_s='cp -p'
6671  fi
6672else
6673  as_ln_s='cp -p'
6674fi
6675rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6676rmdir conf$$.dir 2>/dev/null
6677
6678
6679# as_fn_mkdir_p
6680# -------------
6681# Create "$as_dir" as a directory, including parents if necessary.
6682as_fn_mkdir_p ()
6683{
6684
6685  case $as_dir in #(
6686  -*) as_dir=./$as_dir;;
6687  esac
6688  test -d "$as_dir" || eval $as_mkdir_p || {
6689    as_dirs=
6690    while :; do
6691      case $as_dir in #(
6692      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6693      *) as_qdir=$as_dir;;
6694      esac
6695      as_dirs="'$as_qdir' $as_dirs"
6696      as_dir=`$as_dirname -- "$as_dir" ||
6697$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6698         X"$as_dir" : 'X\(//\)[^/]' \| \
6699         X"$as_dir" : 'X\(//\)$' \| \
6700         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6701$as_echo X"$as_dir" |
6702    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6703            s//\1/
6704            q
6705          }
6706          /^X\(\/\/\)[^/].*/{
6707            s//\1/
6708            q
6709          }
6710          /^X\(\/\/\)$/{
6711            s//\1/
6712            q
6713          }
6714          /^X\(\/\).*/{
6715            s//\1/
6716            q
6717          }
6718          s/.*/./; q'`
6719      test -d "$as_dir" && break
6720    done
6721    test -z "$as_dirs" || eval "mkdir $as_dirs"
6722  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6723
6724
6725} # as_fn_mkdir_p
6726if mkdir -p . 2>/dev/null; then
6727  as_mkdir_p='mkdir -p "$as_dir"'
6728else
6729  test -d ./-p && rmdir ./-p
6730  as_mkdir_p=false
6731fi
6732
6733if test -x / >/dev/null 2>&1; then
6734  as_test_x='test -x'
6735else
6736  if ls -dL / >/dev/null 2>&1; then
6737    as_ls_L_option=L
6738  else
6739    as_ls_L_option=
6740  fi
6741  as_test_x='
6742    eval sh -c '\''
6743      if test -d "$1"; then
6744        test -d "$1/.";
6745      else
6746        case $1 in #(
6747        -*)set "./$1";;
6748        esac;
6749        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
6750        ???[sx]*):;;*)false;;esac;fi
6751    '\'' sh
6752  '
6753fi
6754as_executable_p=$as_test_x
6755
6756# Sed expression to map a string onto a valid CPP name.
6757as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6758
6759# Sed expression to map a string onto a valid variable name.
6760as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6761
6762
6763exec 6>&1
6764## ----------------------------------- ##
6765## Main body of $CONFIG_STATUS script. ##
6766## ----------------------------------- ##
6767_ASEOF
6768test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6769
6770cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6771# Save the log message, to keep $0 and so on meaningful, and to
6772# report actual input values of CONFIG_FILES etc. instead of their
6773# values after options handling.
6774ac_log="
6775This file was extended by cfa-cc $as_me 1.0.0.0, which was
6776generated by GNU Autoconf 2.68.  Invocation command line was
6777
6778  CONFIG_FILES    = $CONFIG_FILES
6779  CONFIG_HEADERS  = $CONFIG_HEADERS
6780  CONFIG_LINKS    = $CONFIG_LINKS
6781  CONFIG_COMMANDS = $CONFIG_COMMANDS
6782  $ $0 $@
6783
6784on `(hostname || uname -n) 2>/dev/null | sed 1q`
6785"
6786
6787_ACEOF
6788
6789case $ac_config_files in *"
6790"*) set x $ac_config_files; shift; ac_config_files=$*;;
6791esac
6792
6793case $ac_config_headers in *"
6794"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6795esac
6796
6797
6798cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6799# Files that config.status was made for.
6800config_files="$ac_config_files"
6801config_headers="$ac_config_headers"
6802config_commands="$ac_config_commands"
6803
6804_ACEOF
6805
6806cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6807ac_cs_usage="\
6808\`$as_me' instantiates files and other configuration actions
6809from templates according to the current configuration.  Unless the files
6810and actions are specified as TAGs, all are instantiated by default.
6811
6812Usage: $0 [OPTION]... [TAG]...
6813
6814  -h, --help       print this help, then exit
6815  -V, --version    print version number and configuration settings, then exit
6816      --config     print configuration, then exit
6817  -q, --quiet, --silent
6818                   do not print progress messages
6819  -d, --debug      don't remove temporary files
6820      --recheck    update $as_me by reconfiguring in the same conditions
6821      --file=FILE[:TEMPLATE]
6822                   instantiate the configuration file FILE
6823      --header=FILE[:TEMPLATE]
6824                   instantiate the configuration header FILE
6825
6826Configuration files:
6827$config_files
6828
6829Configuration headers:
6830$config_headers
6831
6832Configuration commands:
6833$config_commands
6834
6835Report bugs to <cforall@plg.uwaterloo.ca>."
6836
6837_ACEOF
6838cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6839ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6840ac_cs_version="\\
6841cfa-cc config.status 1.0.0.0
6842configured by $0, generated by GNU Autoconf 2.68,
6843  with options \\"\$ac_cs_config\\"
6844
6845Copyright (C) 2010 Free Software Foundation, Inc.
6846This config.status script is free software; the Free Software Foundation
6847gives unlimited permission to copy, distribute and modify it."
6848
6849ac_pwd='$ac_pwd'
6850srcdir='$srcdir'
6851INSTALL='$INSTALL'
6852MKDIR_P='$MKDIR_P'
6853AWK='$AWK'
6854test -n "\$AWK" || AWK=awk
6855_ACEOF
6856
6857cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6858# The default lists apply if the user does not specify any file.
6859ac_need_defaults=:
6860while test $# != 0
6861do
6862  case $1 in
6863  --*=?*)
6864    ac_option=`expr "X$1" : 'X\([^=]*\)='`
6865    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6866    ac_shift=:
6867    ;;
6868  --*=)
6869    ac_option=`expr "X$1" : 'X\([^=]*\)='`
6870    ac_optarg=
6871    ac_shift=:
6872    ;;
6873  *)
6874    ac_option=$1
6875    ac_optarg=$2
6876    ac_shift=shift
6877    ;;
6878  esac
6879
6880  case $ac_option in
6881  # Handling of the options.
6882  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6883    ac_cs_recheck=: ;;
6884  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6885    $as_echo "$ac_cs_version"; exit ;;
6886  --config | --confi | --conf | --con | --co | --c )
6887    $as_echo "$ac_cs_config"; exit ;;
6888  --debug | --debu | --deb | --de | --d | -d )
6889    debug=: ;;
6890  --file | --fil | --fi | --f )
6891    $ac_shift
6892    case $ac_optarg in
6893    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6894    '') as_fn_error $? "missing file argument" ;;
6895    esac
6896    as_fn_append CONFIG_FILES " '$ac_optarg'"
6897    ac_need_defaults=false;;
6898  --header | --heade | --head | --hea )
6899    $ac_shift
6900    case $ac_optarg in
6901    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6902    esac
6903    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6904    ac_need_defaults=false;;
6905  --he | --h)
6906    # Conflict between --help and --header
6907    as_fn_error $? "ambiguous option: \`$1'
6908Try \`$0 --help' for more information.";;
6909  --help | --hel | -h )
6910    $as_echo "$ac_cs_usage"; exit ;;
6911  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6912  | -silent | --silent | --silen | --sile | --sil | --si | --s)
6913    ac_cs_silent=: ;;
6914
6915  # This is an error.
6916  -*) as_fn_error $? "unrecognized option: \`$1'
6917Try \`$0 --help' for more information." ;;
6918
6919  *) as_fn_append ac_config_targets " $1"
6920     ac_need_defaults=false ;;
6921
6922  esac
6923  shift
6924done
6925
6926ac_configure_extra_args=
6927
6928if $ac_cs_silent; then
6929  exec 6>/dev/null
6930  ac_configure_extra_args="$ac_configure_extra_args --silent"
6931fi
6932
6933_ACEOF
6934cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6935if \$ac_cs_recheck; then
6936  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6937  shift
6938  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6939  CONFIG_SHELL='$SHELL'
6940  export CONFIG_SHELL
6941  exec "\$@"
6942fi
6943
6944_ACEOF
6945cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6946exec 5>>config.log
6947{
6948  echo
6949  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6950## Running $as_me. ##
6951_ASBOX
6952  $as_echo "$ac_log"
6953} >&5
6954
6955_ACEOF
6956cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6957#
6958# INIT-COMMANDS
6959#
6960AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6961
6962_ACEOF
6963
6964cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6965
6966# Handling of arguments.
6967for ac_config_target in $ac_config_targets
6968do
6969  case $ac_config_target in
6970    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6971    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6972    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6973    "src/driver/Makefile") CONFIG_FILES="$CONFIG_FILES src/driver/Makefile" ;;
6974    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
6975    "src/benchmark/Makefile") CONFIG_FILES="$CONFIG_FILES src/benchmark/Makefile" ;;
6976    "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
6977    "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;;
6978    "src/prelude/Makefile") CONFIG_FILES="$CONFIG_FILES src/prelude/Makefile" ;;
6979    "src/libcfa/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcfa/Makefile" ;;
6980
6981  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6982  esac
6983done
6984
6985
6986# If the user did not use the arguments to specify the items to instantiate,
6987# then the envvar interface is used.  Set only those that are not.
6988# We use the long form for the default assignment because of an extremely
6989# bizarre bug on SunOS 4.1.3.
6990if $ac_need_defaults; then
6991  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6992  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6993  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6994fi
6995
6996# Have a temporary directory for convenience.  Make it in the build tree
6997# simply because there is no reason against having it here, and in addition,
6998# creating and moving files from /tmp can sometimes cause problems.
6999# Hook for its removal unless debugging.
7000# Note that there is a small window in which the directory will not be cleaned:
7001# after its creation but before its name has been assigned to `$tmp'.
7002$debug ||
7003{
7004  tmp= ac_tmp=
7005  trap 'exit_status=$?
7006  : "${ac_tmp:=$tmp}"
7007  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7008' 0
7009  trap 'as_fn_exit 1' 1 2 13 15
7010}
7011# Create a (secure) tmp directory for tmp files.
7012
7013{
7014  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7015  test -d "$tmp"
7016}  ||
7017{
7018  tmp=./conf$$-$RANDOM
7019  (umask 077 && mkdir "$tmp")
7020} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7021ac_tmp=$tmp
7022
7023# Set up the scripts for CONFIG_FILES section.
7024# No need to generate them if there are no CONFIG_FILES.
7025# This happens for instance with `./config.status config.h'.
7026if test -n "$CONFIG_FILES"; then
7027
7028
7029ac_cr=`echo X | tr X '\015'`
7030# On cygwin, bash can eat \r inside `` if the user requested igncr.
7031# But we know of no other shell where ac_cr would be empty at this
7032# point, so we can use a bashism as a fallback.
7033if test "x$ac_cr" = x; then
7034  eval ac_cr=\$\'\\r\'
7035fi
7036ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7037if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7038  ac_cs_awk_cr='\\r'
7039else
7040  ac_cs_awk_cr=$ac_cr
7041fi
7042
7043echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7044_ACEOF
7045
7046
7047{
7048  echo "cat >conf$$subs.awk <<_ACEOF" &&
7049  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7050  echo "_ACEOF"
7051} >conf$$subs.sh ||
7052  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7053ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7054ac_delim='%!_!# '
7055for ac_last_try in false false false false false :; do
7056  . ./conf$$subs.sh ||
7057    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7058
7059  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7060  if test $ac_delim_n = $ac_delim_num; then
7061    break
7062  elif $ac_last_try; then
7063    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7064  else
7065    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7066  fi
7067done
7068rm -f conf$$subs.sh
7069
7070cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7071cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
7072_ACEOF
7073sed -n '
7074h
7075s/^/S["/; s/!.*/"]=/
7076p
7077g
7078s/^[^!]*!//
7079:repl
7080t repl
7081s/'"$ac_delim"'$//
7082t delim
7083:nl
7084h
7085s/\(.\{148\}\)..*/\1/
7086t more1
7087s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7088p
7089n
7090b repl
7091:more1
7092s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7093p
7094g
7095s/.\{148\}//
7096t nl
7097:delim
7098h
7099s/\(.\{148\}\)..*/\1/
7100t more2
7101s/["\\]/\\&/g; s/^/"/; s/$/"/
7102p
7103b
7104:more2
7105s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7106p
7107g
7108s/.\{148\}//
7109t delim
7110' <conf$$subs.awk | sed '
7111/^[^""]/{
7112  N
7113  s/\n//
7114}
7115' >>$CONFIG_STATUS || ac_write_fail=1
7116rm -f conf$$subs.awk
7117cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7118_ACAWK
7119cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7120  for (key in S) S_is_set[key] = 1
7121  FS = ""
7122
7123}
7124{
7125  line = $ 0
7126  nfields = split(line, field, "@")
7127  substed = 0
7128  len = length(field[1])
7129  for (i = 2; i < nfields; i++) {
7130    key = field[i]
7131    keylen = length(key)
7132    if (S_is_set[key]) {
7133      value = S[key]
7134      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7135      len += length(value) + length(field[++i])
7136      substed = 1
7137    } else
7138      len += 1 + keylen
7139  }
7140
7141  print line
7142}
7143
7144_ACAWK
7145_ACEOF
7146cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7147if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7148  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7149else
7150  cat
7151fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7152  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7153_ACEOF
7154
7155# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7156# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7157# trailing colons and then remove the whole line if VPATH becomes empty
7158# (actually we leave an empty line to preserve line numbers).
7159if test "x$srcdir" = x.; then
7160  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
7161h
7162s///
7163s/^/:/
7164s/[      ]*$/:/
7165s/:\$(srcdir):/:/g
7166s/:\${srcdir}:/:/g
7167s/:@srcdir@:/:/g
7168s/^:*//
7169s/:*$//
7170x
7171s/\(=[   ]*\).*/\1/
7172G
7173s/\n//
7174s/^[^=]*=[       ]*$//
7175}'
7176fi
7177
7178cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7179fi # test -n "$CONFIG_FILES"
7180
7181# Set up the scripts for CONFIG_HEADERS section.
7182# No need to generate them if there are no CONFIG_HEADERS.
7183# This happens for instance with `./config.status Makefile'.
7184if test -n "$CONFIG_HEADERS"; then
7185cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
7186BEGIN {
7187_ACEOF
7188
7189# Transform confdefs.h into an awk script `defines.awk', embedded as
7190# here-document in config.status, that substitutes the proper values into
7191# config.h.in to produce config.h.
7192
7193# Create a delimiter string that does not exist in confdefs.h, to ease
7194# handling of long lines.
7195ac_delim='%!_!# '
7196for ac_last_try in false false :; do
7197  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
7198  if test -z "$ac_tt"; then
7199    break
7200  elif $ac_last_try; then
7201    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
7202  else
7203    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7204  fi
7205done
7206
7207# For the awk script, D is an array of macro values keyed by name,
7208# likewise P contains macro parameters if any.  Preserve backslash
7209# newline sequences.
7210
7211ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7212sed -n '
7213s/.\{148\}/&'"$ac_delim"'/g
7214t rset
7215:rset
7216s/^[     ]*#[    ]*define[       ][      ]*/ /
7217t def
7218d
7219:def
7220s/\\$//
7221t bsnl
7222s/["\\]/\\&/g
7223s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
7224D["\1"]=" \3"/p
7225s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
7226d
7227:bsnl
7228s/["\\]/\\&/g
7229s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
7230D["\1"]=" \3\\\\\\n"\\/p
7231t cont
7232s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
7233t cont
7234d
7235:cont
7236n
7237s/.\{148\}/&'"$ac_delim"'/g
7238t clear
7239:clear
7240s/\\$//
7241t bsnlc
7242s/["\\]/\\&/g; s/^/"/; s/$/"/p
7243d
7244:bsnlc
7245s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
7246b cont
7247' <confdefs.h | sed '
7248s/'"$ac_delim"'/"\\\
7249"/g' >>$CONFIG_STATUS || ac_write_fail=1
7250
7251cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7252  for (key in D) D_is_set[key] = 1
7253  FS = ""
7254}
7255/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7256  line = \$ 0
7257  split(line, arg, " ")
7258  if (arg[1] == "#") {
7259    defundef = arg[2]
7260    mac1 = arg[3]
7261  } else {
7262    defundef = substr(arg[1], 2)
7263    mac1 = arg[2]
7264  }
7265  split(mac1, mac2, "(") #)
7266  macro = mac2[1]
7267  prefix = substr(line, 1, index(line, defundef) - 1)
7268  if (D_is_set[macro]) {
7269    # Preserve the white space surrounding the "#".
7270    print prefix "define", macro P[macro] D[macro]
7271    next
7272  } else {
7273    # Replace #undef with comments.  This is necessary, for example,
7274    # in the case of _POSIX_SOURCE, which is predefined and required
7275    # on some systems where configure will not decide to define it.
7276    if (defundef == "undef") {
7277      print "/*", prefix defundef, macro, "*/"
7278      next
7279    }
7280  }
7281}
7282{ print }
7283_ACAWK
7284_ACEOF
7285cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7286  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
7287fi # test -n "$CONFIG_HEADERS"
7288
7289
7290eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
7291shift
7292for ac_tag
7293do
7294  case $ac_tag in
7295  :[FHLC]) ac_mode=$ac_tag; continue;;
7296  esac
7297  case $ac_mode$ac_tag in
7298  :[FHL]*:*);;
7299  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7300  :[FH]-) ac_tag=-:-;;
7301  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7302  esac
7303  ac_save_IFS=$IFS
7304  IFS=:
7305  set x $ac_tag
7306  IFS=$ac_save_IFS
7307  shift
7308  ac_file=$1
7309  shift
7310
7311  case $ac_mode in
7312  :L) ac_source=$1;;
7313  :[FH])
7314    ac_file_inputs=
7315    for ac_f
7316    do
7317      case $ac_f in
7318      -) ac_f="$ac_tmp/stdin";;
7319      *) # Look for the file first in the build tree, then in the source tree
7320         # (if the path is not absolute).  The absolute path cannot be DOS-style,
7321         # because $ac_f cannot contain `:'.
7322         test -f "$ac_f" ||
7323           case $ac_f in
7324           [\\/$]*) false;;
7325           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7326           esac ||
7327           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7328      esac
7329      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7330      as_fn_append ac_file_inputs " '$ac_f'"
7331    done
7332
7333    # Let's still pretend it is `configure' which instantiates (i.e., don't
7334    # use $as_me), people would be surprised to read:
7335    #    /* config.h.  Generated by config.status.  */
7336    configure_input='Generated from '`
7337          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7338        `' by configure.'
7339    if test x"$ac_file" != x-; then
7340      configure_input="$ac_file.  $configure_input"
7341      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7342$as_echo "$as_me: creating $ac_file" >&6;}
7343    fi
7344    # Neutralize special characters interpreted by sed in replacement strings.
7345    case $configure_input in #(
7346    *\&* | *\|* | *\\* )
7347       ac_sed_conf_input=`$as_echo "$configure_input" |
7348       sed 's/[\\\\&|]/\\\\&/g'`;; #(
7349    *) ac_sed_conf_input=$configure_input;;
7350    esac
7351
7352    case $ac_tag in
7353    *:-:* | *:-) cat >"$ac_tmp/stdin" \
7354      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7355    esac
7356    ;;
7357  esac
7358
7359  ac_dir=`$as_dirname -- "$ac_file" ||
7360$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7361         X"$ac_file" : 'X\(//\)[^/]' \| \
7362         X"$ac_file" : 'X\(//\)$' \| \
7363         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7364$as_echo X"$ac_file" |
7365    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7366            s//\1/
7367            q
7368          }
7369          /^X\(\/\/\)[^/].*/{
7370            s//\1/
7371            q
7372          }
7373          /^X\(\/\/\)$/{
7374            s//\1/
7375            q
7376          }
7377          /^X\(\/\).*/{
7378            s//\1/
7379            q
7380          }
7381          s/.*/./; q'`
7382  as_dir="$ac_dir"; as_fn_mkdir_p
7383  ac_builddir=.
7384
7385case "$ac_dir" in
7386.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7387*)
7388  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7389  # A ".." for each directory in $ac_dir_suffix.
7390  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7391  case $ac_top_builddir_sub in
7392  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7393  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7394  esac ;;
7395esac
7396ac_abs_top_builddir=$ac_pwd
7397ac_abs_builddir=$ac_pwd$ac_dir_suffix
7398# for backward compatibility:
7399ac_top_builddir=$ac_top_build_prefix
7400
7401case $srcdir in
7402  .)  # We are building in place.
7403    ac_srcdir=.
7404    ac_top_srcdir=$ac_top_builddir_sub
7405    ac_abs_top_srcdir=$ac_pwd ;;
7406  [\\/]* | ?:[\\/]* )  # Absolute name.
7407    ac_srcdir=$srcdir$ac_dir_suffix;
7408    ac_top_srcdir=$srcdir
7409    ac_abs_top_srcdir=$srcdir ;;
7410  *) # Relative name.
7411    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7412    ac_top_srcdir=$ac_top_build_prefix$srcdir
7413    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7414esac
7415ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7416
7417
7418  case $ac_mode in
7419  :F)
7420  #
7421  # CONFIG_FILE
7422  #
7423
7424  case $INSTALL in
7425  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7426  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7427  esac
7428  ac_MKDIR_P=$MKDIR_P
7429  case $MKDIR_P in
7430  [\\/$]* | ?:[\\/]* ) ;;
7431  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7432  esac
7433_ACEOF
7434
7435cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7436# If the template does not know about datarootdir, expand it.
7437# FIXME: This hack should be removed a few years after 2.60.
7438ac_datarootdir_hack=; ac_datarootdir_seen=
7439ac_sed_dataroot='
7440/datarootdir/ {
7441  p
7442  q
7443}
7444/@datadir@/p
7445/@docdir@/p
7446/@infodir@/p
7447/@localedir@/p
7448/@mandir@/p'
7449case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7450*datarootdir*) ac_datarootdir_seen=yes;;
7451*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7452  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7453$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7454_ACEOF
7455cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7456  ac_datarootdir_hack='
7457  s&@datadir@&$datadir&g
7458  s&@docdir@&$docdir&g
7459  s&@infodir@&$infodir&g
7460  s&@localedir@&$localedir&g
7461  s&@mandir@&$mandir&g
7462  s&\\\${datarootdir}&$datarootdir&g' ;;
7463esac
7464_ACEOF
7465
7466# Neutralize VPATH when `$srcdir' = `.'.
7467# Shell code in configure.ac might set extrasub.
7468# FIXME: do we really want to maintain this feature?
7469cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7470ac_sed_extra="$ac_vpsub
7471$extrasub
7472_ACEOF
7473cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7474:t
7475/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7476s|@configure_input@|$ac_sed_conf_input|;t t
7477s&@top_builddir@&$ac_top_builddir_sub&;t t
7478s&@top_build_prefix@&$ac_top_build_prefix&;t t
7479s&@srcdir@&$ac_srcdir&;t t
7480s&@abs_srcdir@&$ac_abs_srcdir&;t t
7481s&@top_srcdir@&$ac_top_srcdir&;t t
7482s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7483s&@builddir@&$ac_builddir&;t t
7484s&@abs_builddir@&$ac_abs_builddir&;t t
7485s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7486s&@INSTALL@&$ac_INSTALL&;t t
7487s&@MKDIR_P@&$ac_MKDIR_P&;t t
7488$ac_datarootdir_hack
7489"
7490eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7491  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7492
7493test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7494  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7495  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
7496      "$ac_tmp/out"`; test -z "$ac_out"; } &&
7497  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7498which seems to be undefined.  Please make sure it is defined" >&5
7499$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7500which seems to be undefined.  Please make sure it is defined" >&2;}
7501
7502  rm -f "$ac_tmp/stdin"
7503  case $ac_file in
7504  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7505  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7506  esac \
7507  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7508 ;;
7509  :H)
7510  #
7511  # CONFIG_HEADER
7512  #
7513  if test x"$ac_file" != x-; then
7514    {
7515      $as_echo "/* $configure_input  */" \
7516      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7517    } >"$ac_tmp/config.h" \
7518      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7519    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7520      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7521$as_echo "$as_me: $ac_file is unchanged" >&6;}
7522    else
7523      rm -f "$ac_file"
7524      mv "$ac_tmp/config.h" "$ac_file" \
7525        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7526    fi
7527  else
7528    $as_echo "/* $configure_input  */" \
7529      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7530      || as_fn_error $? "could not create -" "$LINENO" 5
7531  fi
7532# Compute "$ac_file"'s index in $config_headers.
7533_am_arg="$ac_file"
7534_am_stamp_count=1
7535for _am_header in $config_headers :; do
7536  case $_am_header in
7537    $_am_arg | $_am_arg:* )
7538      break ;;
7539    * )
7540      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7541  esac
7542done
7543echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7544$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7545         X"$_am_arg" : 'X\(//\)[^/]' \| \
7546         X"$_am_arg" : 'X\(//\)$' \| \
7547         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7548$as_echo X"$_am_arg" |
7549    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7550            s//\1/
7551            q
7552          }
7553          /^X\(\/\/\)[^/].*/{
7554            s//\1/
7555            q
7556          }
7557          /^X\(\/\/\)$/{
7558            s//\1/
7559            q
7560          }
7561          /^X\(\/\).*/{
7562            s//\1/
7563            q
7564          }
7565          s/.*/./; q'`/stamp-h$_am_stamp_count
7566 ;;
7567
7568  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7569$as_echo "$as_me: executing $ac_file commands" >&6;}
7570 ;;
7571  esac
7572
7573
7574  case $ac_file$ac_mode in
7575    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
7576  # Autoconf 2.62 quotes --file arguments for eval, but not when files
7577  # are listed without --file.  Let's play safe and only enable the eval
7578  # if we detect the quoting.
7579  case $CONFIG_FILES in
7580  *\'*) eval set x "$CONFIG_FILES" ;;
7581  *)   set x $CONFIG_FILES ;;
7582  esac
7583  shift
7584  for mf
7585  do
7586    # Strip MF so we end up with the name of the file.
7587    mf=`echo "$mf" | sed -e 's/:.*$//'`
7588    # Check whether this is an Automake generated Makefile or not.
7589    # We used to match only the files named `Makefile.in', but
7590    # some people rename them; so instead we look at the file content.
7591    # Grep'ing the first line is not enough: some people post-process
7592    # each Makefile.in and add a new line on top of each file to say so.
7593    # Grep'ing the whole file is not good either: AIX grep has a line
7594    # limit of 2048, but all sed's we know have understand at least 4000.
7595    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
7596      dirpart=`$as_dirname -- "$mf" ||
7597$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7598         X"$mf" : 'X\(//\)[^/]' \| \
7599         X"$mf" : 'X\(//\)$' \| \
7600         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7601$as_echo X"$mf" |
7602    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7603            s//\1/
7604            q
7605          }
7606          /^X\(\/\/\)[^/].*/{
7607            s//\1/
7608            q
7609          }
7610          /^X\(\/\/\)$/{
7611            s//\1/
7612            q
7613          }
7614          /^X\(\/\).*/{
7615            s//\1/
7616            q
7617          }
7618          s/.*/./; q'`
7619    else
7620      continue
7621    fi
7622    # Extract the definition of DEPDIR, am__include, and am__quote
7623    # from the Makefile without running `make'.
7624    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7625    test -z "$DEPDIR" && continue
7626    am__include=`sed -n 's/^am__include = //p' < "$mf"`
7627    test -z "am__include" && continue
7628    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7629    # When using ansi2knr, U may be empty or an underscore; expand it
7630    U=`sed -n 's/^U = //p' < "$mf"`
7631    # Find all dependency output files, they are included files with
7632    # $(DEPDIR) in their names.  We invoke sed twice because it is the
7633    # simplest approach to changing $(DEPDIR) to its actual value in the
7634    # expansion.
7635    for file in `sed -n "
7636      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7637         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7638      # Make sure the directory exists.
7639      test -f "$dirpart/$file" && continue
7640      fdir=`$as_dirname -- "$file" ||
7641$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7642         X"$file" : 'X\(//\)[^/]' \| \
7643         X"$file" : 'X\(//\)$' \| \
7644         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7645$as_echo X"$file" |
7646    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7647            s//\1/
7648            q
7649          }
7650          /^X\(\/\/\)[^/].*/{
7651            s//\1/
7652            q
7653          }
7654          /^X\(\/\/\)$/{
7655            s//\1/
7656            q
7657          }
7658          /^X\(\/\).*/{
7659            s//\1/
7660            q
7661          }
7662          s/.*/./; q'`
7663      as_dir=$dirpart/$fdir; as_fn_mkdir_p
7664      # echo "creating $dirpart/$file"
7665      echo '# dummy' > "$dirpart/$file"
7666    done
7667  done
7668}
7669 ;;
7670
7671  esac
7672done # for ac_tag
7673
7674
7675as_fn_exit 0
7676_ACEOF
7677ac_clean_files=$ac_clean_files_save
7678
7679test $ac_write_fail = 0 ||
7680  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7681
7682
7683# configure is writing to config.log, and then calls config.status.
7684# config.status does its own redirection, appending to config.log.
7685# Unfortunately, on DOS this fails, as config.log is still kept open
7686# by configure, so config.status won't be able to write to it; its
7687# output is simply discarded.  So we exec the FD to /dev/null,
7688# effectively closing config.log, so it can be properly (re)opened and
7689# appended to by config.status.  When coming back to configure, we
7690# need to make the FD available again.
7691if test "$no_create" != yes; then
7692  ac_cs_success=:
7693  ac_config_status_args=
7694  test "$silent" = yes &&
7695    ac_config_status_args="$ac_config_status_args --quiet"
7696  exec 5>/dev/null
7697  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7698  exec 5>>config.log
7699  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7700  # would make configure fail if this is the last instruction.
7701  $ac_cs_success || as_fn_exit 1
7702fi
7703if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7704  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7705$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7706fi
7707
7708
7709if test -z "$BUILD_RELEASE_TRUE"; then :
7710  if test -z "$BUILD_DEBUG_TRUE"; then :
7711  { $as_echo "$as_me:${as_lineno-$LINENO}: Building libcfa for target: release & debug" >&5
7712$as_echo "$as_me: Building libcfa for target: release & debug" >&6;}
7713else
7714  { $as_echo "$as_me:${as_lineno-$LINENO}: Building libcfa for target: release" >&5
7715$as_echo "$as_me: Building libcfa for target: release" >&6;}
7716fi
7717else
7718  if test -z "$BUILD_DEBUG_TRUE"; then :
7719  { $as_echo "$as_me:${as_lineno-$LINENO}: Building libcfa for target: debug" >&5
7720$as_echo "$as_me: Building libcfa for target: debug" >&6;}
7721else
7722  { $as_echo "$as_me:${as_lineno-$LINENO}: Running cfa without libcfa" >&5
7723$as_echo "$as_me: Running cfa without libcfa" >&6;}
7724fi
7725fi
7726
7727# Final text
7728{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Cforall configuraton completed. Type \"make -j 8 install\"." >&5
7729$as_echo "Cforall configuraton completed. Type \"make -j 8 install\"." >&6; }
Note: See TracBrowser for help on using the repository browser.