source: configure @ 0c1b566

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexerpthread-emulationqualifiedEnum
Last change on this file since 0c1b566 was 0c1b566, checked in by Thierry Delisle <tdelisle@…>, 6 years ago

Fixed missing foreign options and tentative fix for TOP directories defines

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