source: configure @ e4745d7a

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since e4745d7a was e4745d7a, checked in by Thierry Delisle <tdelisle@…>, 8 years ago

Properly fixed the build for i386/x86_64 including regular C file invoke.c and appropriate assembly CtxSwitch?-[CPU].S

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