source: configure @ 90cfc16

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

Fixed shared library version number

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