source: configure @ 575a6e5

aaron-thesisarm-ehcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexerpthread-emulationqualifiedEnum
Last change on this file since 575a6e5 was 575a6e5, checked in by Thierry Delisle <tdelisle@…>, 4 years ago

Cross compilation appears to be working

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