source: configure @ 796cea3

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

Added proper argument to rename cfa

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