source: configure @ 7951100

arm-ehjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-expr
Last change on this file since 7951100 was 05f4b85, checked in by Thierry Delisle <tdelisle@…>, 4 years ago

Jenkins benchmark can now skipcompilation on demand and pin programs to core 1

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