source: configure @ 50697b0

aaron-thesisarm-ehcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexerpthread-emulationqualifiedEnum
Last change on this file since 50697b0 was 50697b0, checked in by Thierry Delisle <tdelisle@…>, 4 years ago

Create variable for cfa, cfa-cpp in driver directory

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