source: configure @ 55ba733

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

add silent option to configure.ac, i.e., enable V=0/1 for make build

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