source: configure @ bf71cfd

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

Moved up many directories in source

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