source: configure @ d5f1cfc

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since d5f1cfc was e24f13a, checked in by Peter A. Buhr <pabuhr@…>, 8 years ago

modify makefile to allow different compilers, use constructor cast in iostream

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