source: configure @ a61fea9a

aaron-thesisarm-ehcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newstringwith_gc
Last change on this file since a61fea9a was a61fea9a, checked in by Peter A. Buhr <pabuhr@…>, 7 years ago

enable AM_MAINTAINER_MODE, add operator ?{}, formatting

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