source: configure @ 25a9b5a

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexerpthread-emulationqualifiedEnum
Last change on this file since 25a9b5a was 25a9b5a, checked in by Thierry Delisle <tdelisle@…>, 7 years ago

Added defines for prelude path in tree

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