source: configure @ 56de5932

aaron-thesisarm-ehcleanup-dtorsdeferred_resndemanglerjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexer
Last change on this file since 56de5932 was 56de5932, checked in by Thierry Delisle <tdelisle@…>, 3 years ago

configure now creates a symlink in the test folder when building outside of the tree

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