source: configure @ 30f9072

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since 30f9072 was 44f44617, checked in by Thierry Delisle <tdelisle@…>, 7 years ago

Fix build for 16.04

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