source: configure @ df47e2f

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

Added partial support for renaming cfa through autoconf (using --program-transform-name)

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