source: configure @ 4b1afb6

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since 4b1afb6 was 4b1afb6, checked in by Peter A. Buhr <pabuhr@…>, 7 years ago

configure.ac now is master version number, output file version contains the master version number

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