source: configure @ 47a8d17

aaron-thesisarm-ehcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since 47a8d17 was 47a8d17, checked in by Thierry Delisle <tdelisle@…>, 6 years ago

cfa version is now based on file of the same name

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