source: configure @ 6e991d6

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

compile CFA with C++11, further update refrat with lstlisting macros, support varags, enumeration initialization, add implicit separators to output streams, update example programs that print

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