source: configure @ 6aa5ec0f

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

fix automake eighth attempt

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