source: configure @ fa463f1

aaron-thesisarm-ehcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationresolv-newwith_gc
Last change on this file since fa463f1 was 6e4b913, checked in by Peter A. Buhr <pabuhr@…>, 6 years ago

allow 32-bit compilation of cfa-cpp, and 32-bit compilation of CFA programs (including CFA libraries)

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