source: configure @ 687165a

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

file version is made read-only

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