source: configure @ a77e7b5

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 a77e7b5 was a77e7b5, checked in by Peter A. Buhr <pabuhr@…>, 7 years ago

fix configure.ac fourth attempt

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