source: configure @ 4dcaed2

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

Added prelude-dir argument for cfa-cpp

  • Property mode set to 100755
File size: 221.0 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=1;;
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
2525am__api_version='1.15'
2526
2527# Find a good install program.  We prefer a C program (faster),
2528# so one script is as good as another.  But avoid the broken or
2529# incompatible versions:
2530# SysV /etc/install, /usr/sbin/install
2531# SunOS /usr/etc/install
2532# IRIX /sbin/install
2533# AIX /bin/install
2534# AmigaOS /C/install, which installs bootblocks on floppy discs
2535# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2536# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2537# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2538# OS/2's system install, which has a completely different semantic
2539# ./install, which can be erroneously created by make from ./install.sh.
2540# Reject install programs that cannot install multiple files.
2541{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2542$as_echo_n "checking for a BSD-compatible install... " >&6; }
2543if test -z "$INSTALL"; then
2544if ${ac_cv_path_install+:} false; then :
2545  $as_echo_n "(cached) " >&6
2546else
2547  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2548for as_dir in $PATH
2549do
2550  IFS=$as_save_IFS
2551  test -z "$as_dir" && as_dir=.
2552    # Account for people who put trailing slashes in PATH elements.
2553case $as_dir/ in #((
2554  ./ | .// | /[cC]/* | \
2555  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2556  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2557  /usr/ucb/* ) ;;
2558  *)
2559    # OSF1 and SCO ODT 3.0 have their own names for install.
2560    # Don't use installbsd from OSF since it installs stuff as root
2561    # by default.
2562    for ac_prog in ginstall scoinst install; do
2563      for ac_exec_ext in '' $ac_executable_extensions; do
2564        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2565          if test $ac_prog = install &&
2566            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2567            # AIX install.  It has an incompatible calling convention.
2568            :
2569          elif test $ac_prog = install &&
2570            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2571            # program-specific install script used by HP pwplus--don't use.
2572            :
2573          else
2574            rm -rf conftest.one conftest.two conftest.dir
2575            echo one > conftest.one
2576            echo two > conftest.two
2577            mkdir conftest.dir
2578            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2579              test -s conftest.one && test -s conftest.two &&
2580              test -s conftest.dir/conftest.one &&
2581              test -s conftest.dir/conftest.two
2582            then
2583              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2584              break 3
2585            fi
2586          fi
2587        fi
2588      done
2589    done
2590    ;;
2591esac
2592
2593  done
2594IFS=$as_save_IFS
2595
2596rm -rf conftest.one conftest.two conftest.dir
2597
2598fi
2599  if test "${ac_cv_path_install+set}" = set; then
2600    INSTALL=$ac_cv_path_install
2601  else
2602    # As a last resort, use the slow shell script.  Don't cache a
2603    # value for INSTALL within a source directory, because that will
2604    # break other packages using the cache if that directory is
2605    # removed, or if the value is a relative name.
2606    INSTALL=$ac_install_sh
2607  fi
2608fi
2609{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2610$as_echo "$INSTALL" >&6; }
2611
2612# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2613# It thinks the first close brace ends the variable substitution.
2614test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2615
2616test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2617
2618test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2619
2620{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2621$as_echo_n "checking whether build environment is sane... " >&6; }
2622# Reject unsafe characters in $srcdir or the absolute working directory
2623# name.  Accept space and tab only in the latter.
2624am_lf='
2625'
2626case `pwd` in
2627  *[\\\"\#\$\&\'\`$am_lf]*)
2628    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2629esac
2630case $srcdir in
2631  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2632    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2633esac
2634
2635# Do 'set' in a subshell so we don't clobber the current shell's
2636# arguments.  Must try -L first in case configure is actually a
2637# symlink; some systems play weird games with the mod time of symlinks
2638# (eg FreeBSD returns the mod time of the symlink's containing
2639# directory).
2640if (
2641   am_has_slept=no
2642   for am_try in 1 2; do
2643     echo "timestamp, slept: $am_has_slept" > conftest.file
2644     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2645     if test "$*" = "X"; then
2646        # -L didn't work.
2647        set X `ls -t "$srcdir/configure" conftest.file`
2648     fi
2649     if test "$*" != "X $srcdir/configure conftest.file" \
2650        && test "$*" != "X conftest.file $srcdir/configure"; then
2651
2652        # If neither matched, then we have a broken ls.  This can happen
2653        # if, for instance, CONFIG_SHELL is bash and it inherits a
2654        # broken ls alias from the environment.  This has actually
2655        # happened.  Such a system could not be considered "sane".
2656        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2657  alias in your environment" "$LINENO" 5
2658     fi
2659     if test "$2" = conftest.file || test $am_try -eq 2; then
2660       break
2661     fi
2662     # Just in case.
2663     sleep 1
2664     am_has_slept=yes
2665   done
2666   test "$2" = conftest.file
2667   )
2668then
2669   # Ok.
2670   :
2671else
2672   as_fn_error $? "newly created file is older than distributed files!
2673Check your system clock" "$LINENO" 5
2674fi
2675{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2676$as_echo "yes" >&6; }
2677# If we didn't sleep, we still need to ensure time stamps of config.status and
2678# generated files are strictly newer.
2679am_sleep_pid=
2680if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2681  ( sleep 1 ) &
2682  am_sleep_pid=$!
2683fi
2684
2685rm -f conftest.file
2686
2687test "$program_prefix" != NONE &&
2688  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2689# Use a double $ so make ignores it.
2690test "$program_suffix" != NONE &&
2691  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2692# Double any \ or $.
2693# By default was `s,x,x', remove it if useless.
2694ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2695program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2696
2697# Expand $ac_aux_dir to an absolute path.
2698am_aux_dir=`cd "$ac_aux_dir" && pwd`
2699
2700if test x"${MISSING+set}" != xset; then
2701  case $am_aux_dir in
2702  *\ * | *\     *)
2703    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2704  *)
2705    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2706  esac
2707fi
2708# Use eval to expand $SHELL
2709if eval "$MISSING --is-lightweight"; then
2710  am_missing_run="$MISSING "
2711else
2712  am_missing_run=
2713  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2714$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2715fi
2716
2717if test x"${install_sh+set}" != xset; then
2718  case $am_aux_dir in
2719  *\ * | *\     *)
2720    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2721  *)
2722    install_sh="\${SHELL} $am_aux_dir/install-sh"
2723  esac
2724fi
2725
2726# Installed binaries are usually stripped using 'strip' when the user
2727# run "make install-strip".  However 'strip' might not be the right
2728# tool to use in cross-compilation environments, therefore Automake
2729# will honor the 'STRIP' environment variable to overrule this program.
2730if test "$cross_compiling" != no; then
2731  if test -n "$ac_tool_prefix"; then
2732  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2733set dummy ${ac_tool_prefix}strip; ac_word=$2
2734{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2735$as_echo_n "checking for $ac_word... " >&6; }
2736if ${ac_cv_prog_STRIP+:} false; then :
2737  $as_echo_n "(cached) " >&6
2738else
2739  if test -n "$STRIP"; then
2740  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2741else
2742as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2743for as_dir in $PATH
2744do
2745  IFS=$as_save_IFS
2746  test -z "$as_dir" && as_dir=.
2747    for ac_exec_ext in '' $ac_executable_extensions; do
2748  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2749    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2750    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2751    break 2
2752  fi
2753done
2754  done
2755IFS=$as_save_IFS
2756
2757fi
2758fi
2759STRIP=$ac_cv_prog_STRIP
2760if test -n "$STRIP"; then
2761  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2762$as_echo "$STRIP" >&6; }
2763else
2764  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2765$as_echo "no" >&6; }
2766fi
2767
2768
2769fi
2770if test -z "$ac_cv_prog_STRIP"; then
2771  ac_ct_STRIP=$STRIP
2772  # Extract the first word of "strip", so it can be a program name with args.
2773set dummy strip; ac_word=$2
2774{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2775$as_echo_n "checking for $ac_word... " >&6; }
2776if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2777  $as_echo_n "(cached) " >&6
2778else
2779  if test -n "$ac_ct_STRIP"; then
2780  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2781else
2782as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2783for as_dir in $PATH
2784do
2785  IFS=$as_save_IFS
2786  test -z "$as_dir" && as_dir=.
2787    for ac_exec_ext in '' $ac_executable_extensions; do
2788  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2789    ac_cv_prog_ac_ct_STRIP="strip"
2790    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2791    break 2
2792  fi
2793done
2794  done
2795IFS=$as_save_IFS
2796
2797fi
2798fi
2799ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2800if test -n "$ac_ct_STRIP"; then
2801  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2802$as_echo "$ac_ct_STRIP" >&6; }
2803else
2804  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2805$as_echo "no" >&6; }
2806fi
2807
2808  if test "x$ac_ct_STRIP" = x; then
2809    STRIP=":"
2810  else
2811    case $cross_compiling:$ac_tool_warned in
2812yes:)
2813{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2814$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2815ac_tool_warned=yes ;;
2816esac
2817    STRIP=$ac_ct_STRIP
2818  fi
2819else
2820  STRIP="$ac_cv_prog_STRIP"
2821fi
2822
2823fi
2824INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2825
2826{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2827$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2828if test -z "$MKDIR_P"; then
2829  if ${ac_cv_path_mkdir+:} false; then :
2830  $as_echo_n "(cached) " >&6
2831else
2832  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2833for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2834do
2835  IFS=$as_save_IFS
2836  test -z "$as_dir" && as_dir=.
2837    for ac_prog in mkdir gmkdir; do
2838         for ac_exec_ext in '' $ac_executable_extensions; do
2839           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2840           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2841             'mkdir (GNU coreutils) '* | \
2842             'mkdir (coreutils) '* | \
2843             'mkdir (fileutils) '4.1*)
2844               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2845               break 3;;
2846           esac
2847         done
2848       done
2849  done
2850IFS=$as_save_IFS
2851
2852fi
2853
2854  test -d ./--version && rmdir ./--version
2855  if test "${ac_cv_path_mkdir+set}" = set; then
2856    MKDIR_P="$ac_cv_path_mkdir -p"
2857  else
2858    # As a last resort, use the slow shell script.  Don't cache a
2859    # value for MKDIR_P within a source directory, because that will
2860    # break other packages using the cache if that directory is
2861    # removed, or if the value is a relative name.
2862    MKDIR_P="$ac_install_sh -d"
2863  fi
2864fi
2865{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2866$as_echo "$MKDIR_P" >&6; }
2867
2868for ac_prog in gawk mawk nawk awk
2869do
2870  # Extract the first word of "$ac_prog", so it can be a program name with args.
2871set dummy $ac_prog; ac_word=$2
2872{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2873$as_echo_n "checking for $ac_word... " >&6; }
2874if ${ac_cv_prog_AWK+:} false; then :
2875  $as_echo_n "(cached) " >&6
2876else
2877  if test -n "$AWK"; then
2878  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2879else
2880as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2881for as_dir in $PATH
2882do
2883  IFS=$as_save_IFS
2884  test -z "$as_dir" && as_dir=.
2885    for ac_exec_ext in '' $ac_executable_extensions; do
2886  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2887    ac_cv_prog_AWK="$ac_prog"
2888    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2889    break 2
2890  fi
2891done
2892  done
2893IFS=$as_save_IFS
2894
2895fi
2896fi
2897AWK=$ac_cv_prog_AWK
2898if test -n "$AWK"; then
2899  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2900$as_echo "$AWK" >&6; }
2901else
2902  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2903$as_echo "no" >&6; }
2904fi
2905
2906
2907  test -n "$AWK" && break
2908done
2909
2910{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2911$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2912set x ${MAKE-make}
2913ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2914if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2915  $as_echo_n "(cached) " >&6
2916else
2917  cat >conftest.make <<\_ACEOF
2918SHELL = /bin/sh
2919all:
2920        @echo '@@@%%%=$(MAKE)=@@@%%%'
2921_ACEOF
2922# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2923case `${MAKE-make} -f conftest.make 2>/dev/null` in
2924  *@@@%%%=?*=@@@%%%*)
2925    eval ac_cv_prog_make_${ac_make}_set=yes;;
2926  *)
2927    eval ac_cv_prog_make_${ac_make}_set=no;;
2928esac
2929rm -f conftest.make
2930fi
2931if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2932  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2933$as_echo "yes" >&6; }
2934  SET_MAKE=
2935else
2936  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2937$as_echo "no" >&6; }
2938  SET_MAKE="MAKE=${MAKE-make}"
2939fi
2940
2941rm -rf .tst 2>/dev/null
2942mkdir .tst 2>/dev/null
2943if test -d .tst; then
2944  am__leading_dot=.
2945else
2946  am__leading_dot=_
2947fi
2948rmdir .tst 2>/dev/null
2949
2950if test "`cd $srcdir && pwd`" != "`pwd`"; then
2951  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2952  # is not polluted with repeated "-I."
2953  am__isrc=' -I$(srcdir)'
2954  # test to see if srcdir already configured
2955  if test -f $srcdir/config.status; then
2956    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2957  fi
2958fi
2959
2960# test whether we have cygpath
2961if test -z "$CYGPATH_W"; then
2962  if (cygpath --version) >/dev/null 2>/dev/null; then
2963    CYGPATH_W='cygpath -w'
2964  else
2965    CYGPATH_W=echo
2966  fi
2967fi
2968
2969
2970# Define the identity of the package.
2971 PACKAGE='cfa-cc'
2972 VERSION='1.0.0.0'
2973
2974
2975cat >>confdefs.h <<_ACEOF
2976#define PACKAGE "$PACKAGE"
2977_ACEOF
2978
2979
2980cat >>confdefs.h <<_ACEOF
2981#define VERSION "$VERSION"
2982_ACEOF
2983
2984# Some tools Automake needs.
2985
2986ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2987
2988
2989AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2990
2991
2992AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2993
2994
2995AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2996
2997
2998MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2999
3000# For better backward compatibility.  To be removed once Automake 1.9.x
3001# dies out for good.  For more background, see:
3002# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3003# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3004mkdir_p='$(MKDIR_P)'
3005
3006# We need awk for the "check" target (and possibly the TAP driver).  The
3007# system "awk" is bad on some platforms.
3008# Always define AMTAR for backward compatibility.  Yes, it's still used
3009# in the wild :-(  We should find a proper way to deprecate it ...
3010AMTAR='$${TAR-tar}'
3011
3012
3013# We'll loop over all known methods to create a tar archive until one works.
3014_am_tools='gnutar  pax cpio none'
3015
3016am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3017
3018
3019
3020
3021
3022
3023# POSIX will say in a future version that running "rm -f" with no argument
3024# is OK; and we want to be able to make that assumption in our Makefile
3025# recipes.  So use an aggressive probe to check that the usage we want is
3026# actually supported "in the wild" to an acceptable degree.
3027# See automake bug#10828.
3028# To make any issue more visible, cause the running configure to be aborted
3029# by default if the 'rm' program in use doesn't match our expectations; the
3030# user can still override this though.
3031if rm -f && rm -fr && rm -rf; then : OK; else
3032  cat >&2 <<'END'
3033Oops!
3034
3035Your 'rm' program seems unable to run without file operands specified
3036on the command line, even when the '-f' option is present.  This is contrary
3037to the behaviour of most rm programs out there, and not conforming with
3038the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3039
3040Please tell bug-automake@gnu.org about your system, including the value
3041of your $PATH and any error possibly output before this message.  This
3042can help us improve future automake versions.
3043
3044END
3045  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3046    echo 'Configuration will proceed anyway, since you have set the' >&2
3047    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3048    echo >&2
3049  else
3050    cat >&2 <<'END'
3051Aborting the configuration process, to ensure you take notice of the issue.
3052
3053You can download and install GNU coreutils to get an 'rm' implementation
3054that behaves properly: <http://www.gnu.org/software/coreutils/>.
3055
3056If you want to complete the configuration process using your problematic
3057'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3058to "yes", and re-run configure.
3059
3060END
3061    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3062  fi
3063fi
3064
3065
3066# Allow program name tansformation
3067# will fill program_transform_name with appropriate sed regex
3068
3069
3070#==============================================================================
3071#Trasforming cc1 will break compilation
3072if test "${program_transform_name}" = ""; then
3073    as_fn_error $? "Program transform not supported.
3074                Use --with-cfa-name='[Desired name here]' instead" "$LINENO" 5
3075fi
3076
3077#Define the new name of the installed command
3078
3079# Check whether --with-cfa-name was given.
3080if test "${with_cfa_name+set}" = set; then :
3081  withval=$with_cfa_name; cfa_name=$withval
3082else
3083  cfa_name="cfa"
3084fi
3085
3086
3087CFA_NAME=${cfa_name}
3088
3089
3090
3091#==============================================================================
3092# version information
3093
3094rm -f version
3095echo ${PACKAGE_VERSION} > version               # file containing version number for other tools
3096chmod ugo-w version
3097ver_major=`cut -d '.' -f1 version`              # subdivide version number into components at periods
3098ver_minor=`cut -d '.' -f2 version`
3099ver_patch=`cut -d '.' -f3 version`
3100ver_build=`cut -d '.' -f4 version`
3101
3102# AC_SUBST([CONFIG_STATUS_DEPENDENCIES], ['$(top_srcdir)/version'])
3103
3104cat >>confdefs.h <<_ACEOF
3105#define CFA_VERSION_MAJOR ${ver_major}
3106_ACEOF
3107
3108
3109cat >>confdefs.h <<_ACEOF
3110#define CFA_VERSION_MINOR ${ver_minor}
3111_ACEOF
3112
3113
3114cat >>confdefs.h <<_ACEOF
3115#define CFA_VERSION_PATCH ${ver_patch}
3116_ACEOF
3117
3118
3119cat >>confdefs.h <<_ACEOF
3120#define CFA_VERSION_BUILD ${ver_build}
3121_ACEOF
3122
3123
3124cat >>confdefs.h <<_ACEOF
3125#define CFA_VERSION_SHORT "${ver_major}"
3126_ACEOF
3127
3128
3129cat >>confdefs.h <<_ACEOF
3130#define CFA_VERSION "${ver_major}.${ver_minor}"
3131_ACEOF
3132
3133
3134cat >>confdefs.h <<_ACEOF
3135#define CFA_VERSION_LONG "${ver_major}.${ver_minor}.${ver_patch}"
3136_ACEOF
3137
3138
3139cat >>confdefs.h <<_ACEOF
3140#define CFA_VERSION_FULL "${ver_major}.${ver_minor}.${ver_patch}.${ver_build}"
3141_ACEOF
3142
3143
3144#==============================================================================
3145# HACK to be able to use conditionnals inside makefiles
3146DOifskipcompile='ifeq ($(skipcompile),yes)
3147else'
3148
3149
3150
3151DOendif='endif'
3152
3153
3154
3155#==============================================================================
3156# backend compiler implementation
3157
3158# Check whether --with-backend-compiler was given.
3159if test "${with_backend_compiler+set}" = set; then :
3160  withval=$with_backend_compiler; backendcompiler=$withval
3161else
3162  backendcompiler=""
3163fi
3164
3165if test "x$backendcompiler" != "x"; then
3166       BACKEND_CC=${backendcompiler}
3167else
3168       # Extract the first word of "gcc", so it can be a program name with args.
3169set dummy gcc; ac_word=$2
3170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3171$as_echo_n "checking for $ac_word... " >&6; }
3172if ${ac_cv_path_BACKEND_CC+:} false; then :
3173  $as_echo_n "(cached) " >&6
3174else
3175  case $BACKEND_CC in
3176  [\\/]* | ?:[\\/]*)
3177  ac_cv_path_BACKEND_CC="$BACKEND_CC" # Let the user override the test with a path.
3178  ;;
3179  *)
3180  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3181for as_dir in $PATH
3182do
3183  IFS=$as_save_IFS
3184  test -z "$as_dir" && as_dir=.
3185    for ac_exec_ext in '' $ac_executable_extensions; do
3186  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3187    ac_cv_path_BACKEND_CC="$as_dir/$ac_word$ac_exec_ext"
3188    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3189    break 2
3190  fi
3191done
3192  done
3193IFS=$as_save_IFS
3194
3195  ;;
3196esac
3197fi
3198BACKEND_CC=$ac_cv_path_BACKEND_CC
3199if test -n "$BACKEND_CC"; then
3200  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BACKEND_CC" >&5
3201$as_echo "$BACKEND_CC" >&6; }
3202else
3203  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3204$as_echo "no" >&6; }
3205fi
3206
3207       # check gcc installed
3208       if test "x$BACKEND_CC" = "x"; then
3209               as_fn_error $? "some version of gcc is needed. Get it at ftp://ftp.gnu.org" "$LINENO" 5
3210               exit 1
3211       fi
3212fi
3213
3214cat >>confdefs.h <<_ACEOF
3215#define CFA_BACKEND_CC "${BACKEND_CC}"
3216_ACEOF
3217
3218
3219
3220#==============================================================================
3221# Installation paths
3222
3223        if test "x$prefix" = "xNONE"; then
3224                cfa_prefix=${ac_default_prefix}
3225        else
3226                cfa_prefix=${prefix}
3227        fi
3228
3229cat >>confdefs.h <<_ACEOF
3230#define CFA_PREFIX "${cfa_prefix}"
3231_ACEOF
3232
3233        CFA_PREFIX=${cfa_prefix}
3234
3235
3236        if test "$includedir" = '${prefix}/include'; then
3237                cfa_incdir="${cfa_prefix}/include/${cfa_name}"
3238        else
3239                cfa_incdir=${includedir}
3240        fi
3241
3242cat >>confdefs.h <<_ACEOF
3243#define CFA_INCDIR "${cfa_incdir}"
3244_ACEOF
3245
3246        CFA_INCDIR=${cfa_incdir}
3247
3248
3249        if test "$bindir" = '${exec_prefix}/bin'; then
3250                cfa_bindir="${cfa_prefix}/bin"
3251        else
3252                cfa_bindir=${bindir}
3253        fi
3254
3255cat >>confdefs.h <<_ACEOF
3256#define CFA_BINDIR "${cfa_bindir}"
3257_ACEOF
3258
3259        CFA_BINDIR=${cfa_bindir}
3260
3261
3262        if test "$libdir" = '${exec_prefix}/lib'; then
3263                cfa_libdir="${cfa_prefix}/lib/${cfa_name}"
3264        else
3265                cfa_libdir=${libdir}
3266        fi
3267
3268cat >>confdefs.h <<_ACEOF
3269#define CFA_LIBDIR "${cfa_libdir}"
3270_ACEOF
3271
3272        CFA_LIBDIR=${cfa_libdir}
3273
3274
3275
3276#==============================================================================
3277# Create variables for commonly used targets
3278
3279TOP_SRCDIR=$ac_pwd/$ac_confdir/
3280TOP_BUILDDIR=$ac_pwd/
3281
3282
3283cat >>confdefs.h <<_ACEOF
3284#define TOP_SRCDIR "$TOP_SRCDIR"
3285_ACEOF
3286
3287
3288cat >>confdefs.h <<_ACEOF
3289#define TOP_BUILDDIR "$TOP_BUILDDIR"
3290_ACEOF
3291
3292
3293DRIVER_DIR=${TOP_BUILDDIR}driver/
3294CFACC=${DRIVER_DIR}cfa
3295CFACPP=${DRIVER_DIR}cfa-cpp
3296
3297
3298
3299
3300#==============================================================================
3301# Flag variables needed to build in tree
3302LIBCFA_SRC='${TOP_SRCDIR}/libcfa/src'
3303BUILD_IN_TREE_FLAGS="-XCFA -t -B${DRIVER_DIR}"
3304
3305
3306#==============================================================================
3307# handle the list of hosts to build for
3308for var in $ac_configure_args
3309do
3310        #strip quotes surrouding values
3311        case $var in
3312                # skip cross compilation related arguments
3313                \'--host=*) ;; \'host_alias=*) ;; \'--build=*) ;; \'build_alias=*) ;; \'--target=*) ;; \'target_alias=*) ;;
3314
3315                # skip the target hosts
3316                \'--with-target-hosts=*) ;;
3317
3318                # append all other arguments to the sub configure arguments
3319                *) LIBCFA_GENERAL_ARGS="${LIBCFA_GENERAL_ARGS} $var";;
3320        esac
3321done
3322
3323#==============================================================================
3324# handle the list of hosts to build for
3325# Make sure we can run config.sub.
3326$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3327  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3328
3329{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3330$as_echo_n "checking build system type... " >&6; }
3331if ${ac_cv_build+:} false; then :
3332  $as_echo_n "(cached) " >&6
3333else
3334  ac_build_alias=$build_alias
3335test "x$ac_build_alias" = x &&
3336  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3337test "x$ac_build_alias" = x &&
3338  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3339ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3340  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3341
3342fi
3343{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3344$as_echo "$ac_cv_build" >&6; }
3345case $ac_cv_build in
3346*-*-*) ;;
3347*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3348esac
3349build=$ac_cv_build
3350ac_save_IFS=$IFS; IFS='-'
3351set x $ac_cv_build
3352shift
3353build_cpu=$1
3354build_vendor=$2
3355shift; shift
3356# Remember, the first character of IFS is used to create $*,
3357# except with old shells:
3358build_os=$*
3359IFS=$ac_save_IFS
3360case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3361
3362
3363{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3364$as_echo_n "checking host system type... " >&6; }
3365if ${ac_cv_host+:} false; then :
3366  $as_echo_n "(cached) " >&6
3367else
3368  if test "x$host_alias" = x; then
3369  ac_cv_host=$ac_cv_build
3370else
3371  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3372    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3373fi
3374
3375fi
3376{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3377$as_echo "$ac_cv_host" >&6; }
3378case $ac_cv_host in
3379*-*-*) ;;
3380*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3381esac
3382host=$ac_cv_host
3383ac_save_IFS=$IFS; IFS='-'
3384set x $ac_cv_host
3385shift
3386host_cpu=$1
3387host_vendor=$2
3388shift; shift
3389# Remember, the first character of IFS is used to create $*,
3390# except with old shells:
3391host_os=$*
3392IFS=$ac_save_IFS
3393case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3394
3395
3396
3397default_target="${host_cpu}:debug, ${host_cpu}:nodebug"
3398
3399# Check whether --with-target-hosts was given.
3400if test "${with_target_hosts+set}" = set; then :
3401  withval=$with_target_hosts; target_hosts=$withval
3402else
3403  target_hosts=${default_target}
3404fi
3405
3406
3407TARGET_HOSTS=${target_hosts}
3408
3409
3410LIBCFA_PATHS="DRIVER_DIR=${DRIVER_DIR}"
3411
3412for i in $(echo $target_hosts | sed "s/,/ /g")
3413do
3414        # call your procedure/other scripts here below
3415        arch_name=$(echo $i | sed -r "s/:(.*)//g")
3416        lib_config=$(echo $i | sed -r "s/(.*)://g")
3417        if test $lib_config != "nodebug";
3418        then
3419                if test $lib_config != "debug";
3420                then
3421                        if test $lib_config != "nolib";
3422                        then
3423                                >&2 echo "Configuration must be 'debug', 'nodebug' or 'nolib'"
3424                                exit 1
3425                        fi
3426                fi
3427        fi
3428
3429        lib_arch=$($ac_aux_dir/config.sub $arch_name)
3430        if test "$?" != "0"; then
3431                >&2 echo "Unkown architecture " $arch_name;
3432                exit 1;
3433        fi
3434        lib_dir="libcfa-${lib_arch}-${lib_config}"
3435
3436        LIBCFA_TARGET_DIRS="${LIBCFA_TARGET_DIRS} ${lib_dir}"
3437        LIBCFA_TARGET_MAKEFILES="${LIBCFA_TARGET_MAKEFILES} ${lib_dir}/Makefile"
3438
3439        mkdir -p libcfa-${lib_arch}-${lib_config}
3440        echo -n "${LIBCFA_GENERAL_ARGS} " > libcfa-${lib_arch}-${lib_config}/config.data
3441        echo -n "${LIBCFA_PATHS} " >> libcfa-${lib_arch}-${lib_config}/config.data
3442        echo -n "--host=${lib_arch} " >> libcfa-${lib_arch}-${lib_config}/config.data
3443        echo -n "CONFIGURATION=${lib_config}" >> libcfa-${lib_arch}-${lib_config}/config.data
3444done
3445
3446
3447
3448
3449#==============================================================================
3450# CAFLAGS
3451
3452cat >>confdefs.h <<_ACEOF
3453#define CFA_FLAGS "${CFAFLAGS}"
3454_ACEOF
3455
3456CFA_FLAGS=${CFAFLAGS}
3457
3458
3459#==============================================================================
3460# Checks for programs.
3461ac_ext=cpp
3462ac_cpp='$CXXCPP $CPPFLAGS'
3463ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3464ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3465ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3466if test -z "$CXX"; then
3467  if test -n "$CCC"; then
3468    CXX=$CCC
3469  else
3470    if test -n "$ac_tool_prefix"; then
3471  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3472  do
3473    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3474set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3475{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3476$as_echo_n "checking for $ac_word... " >&6; }
3477if ${ac_cv_prog_CXX+:} false; then :
3478  $as_echo_n "(cached) " >&6
3479else
3480  if test -n "$CXX"; then
3481  ac_cv_prog_CXX="$CXX" # Let the user override the test.
3482else
3483as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3484for as_dir in $PATH
3485do
3486  IFS=$as_save_IFS
3487  test -z "$as_dir" && as_dir=.
3488    for ac_exec_ext in '' $ac_executable_extensions; do
3489  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3490    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3491    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3492    break 2
3493  fi
3494done
3495  done
3496IFS=$as_save_IFS
3497
3498fi
3499fi
3500CXX=$ac_cv_prog_CXX
3501if test -n "$CXX"; then
3502  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3503$as_echo "$CXX" >&6; }
3504else
3505  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3506$as_echo "no" >&6; }
3507fi
3508
3509
3510    test -n "$CXX" && break
3511  done
3512fi
3513if test -z "$CXX"; then
3514  ac_ct_CXX=$CXX
3515  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3516do
3517  # Extract the first word of "$ac_prog", so it can be a program name with args.
3518set dummy $ac_prog; ac_word=$2
3519{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3520$as_echo_n "checking for $ac_word... " >&6; }
3521if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3522  $as_echo_n "(cached) " >&6
3523else
3524  if test -n "$ac_ct_CXX"; then
3525  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3526else
3527as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3528for as_dir in $PATH
3529do
3530  IFS=$as_save_IFS
3531  test -z "$as_dir" && as_dir=.
3532    for ac_exec_ext in '' $ac_executable_extensions; do
3533  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3534    ac_cv_prog_ac_ct_CXX="$ac_prog"
3535    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3536    break 2
3537  fi
3538done
3539  done
3540IFS=$as_save_IFS
3541
3542fi
3543fi
3544ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3545if test -n "$ac_ct_CXX"; then
3546  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3547$as_echo "$ac_ct_CXX" >&6; }
3548else
3549  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3550$as_echo "no" >&6; }
3551fi
3552
3553
3554  test -n "$ac_ct_CXX" && break
3555done
3556
3557  if test "x$ac_ct_CXX" = x; then
3558    CXX="g++"
3559  else
3560    case $cross_compiling:$ac_tool_warned in
3561yes:)
3562{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3563$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3564ac_tool_warned=yes ;;
3565esac
3566    CXX=$ac_ct_CXX
3567  fi
3568fi
3569
3570  fi
3571fi
3572# Provide some information about the compiler.
3573$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3574set X $ac_compile
3575ac_compiler=$2
3576for ac_option in --version -v -V -qversion; do
3577  { { ac_try="$ac_compiler $ac_option >&5"
3578case "(($ac_try" in
3579  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3580  *) ac_try_echo=$ac_try;;
3581esac
3582eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3583$as_echo "$ac_try_echo"; } >&5
3584  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3585  ac_status=$?
3586  if test -s conftest.err; then
3587    sed '10a\
3588... rest of stderr output deleted ...
3589         10q' conftest.err >conftest.er1
3590    cat conftest.er1 >&5
3591  fi
3592  rm -f conftest.er1 conftest.err
3593  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3594  test $ac_status = 0; }
3595done
3596
3597cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3598/* end confdefs.h.  */
3599
3600int
3601main ()
3602{
3603
3604  ;
3605  return 0;
3606}
3607_ACEOF
3608ac_clean_files_save=$ac_clean_files
3609ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3610# Try to create an executable without -o first, disregard a.out.
3611# It will help us diagnose broken compilers, and finding out an intuition
3612# of exeext.
3613{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3614$as_echo_n "checking whether the C++ compiler works... " >&6; }
3615ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3616
3617# The possible output files:
3618ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3619
3620ac_rmfiles=
3621for ac_file in $ac_files
3622do
3623  case $ac_file in
3624    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3625    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3626  esac
3627done
3628rm -f $ac_rmfiles
3629
3630if { { ac_try="$ac_link_default"
3631case "(($ac_try" in
3632  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3633  *) ac_try_echo=$ac_try;;
3634esac
3635eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3636$as_echo "$ac_try_echo"; } >&5
3637  (eval "$ac_link_default") 2>&5
3638  ac_status=$?
3639  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3640  test $ac_status = 0; }; then :
3641  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3642# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3643# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3644# so that the user can short-circuit this test for compilers unknown to
3645# Autoconf.
3646for ac_file in $ac_files ''
3647do
3648  test -f "$ac_file" || continue
3649  case $ac_file in
3650    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3651        ;;
3652    [ab].out )
3653        # We found the default executable, but exeext='' is most
3654        # certainly right.
3655        break;;
3656    *.* )
3657        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3658        then :; else
3659           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3660        fi
3661        # We set ac_cv_exeext here because the later test for it is not
3662        # safe: cross compilers may not add the suffix if given an `-o'
3663        # argument, so we may need to know it at that point already.
3664        # Even if this section looks crufty: it has the advantage of
3665        # actually working.
3666        break;;
3667    * )
3668        break;;
3669  esac
3670done
3671test "$ac_cv_exeext" = no && ac_cv_exeext=
3672
3673else
3674  ac_file=''
3675fi
3676if test -z "$ac_file"; then :
3677  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3678$as_echo "no" >&6; }
3679$as_echo "$as_me: failed program was:" >&5
3680sed 's/^/| /' conftest.$ac_ext >&5
3681
3682{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3683$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3684as_fn_error 77 "C++ compiler cannot create executables
3685See \`config.log' for more details" "$LINENO" 5; }
3686else
3687  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3688$as_echo "yes" >&6; }
3689fi
3690{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3691$as_echo_n "checking for C++ compiler default output file name... " >&6; }
3692{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3693$as_echo "$ac_file" >&6; }
3694ac_exeext=$ac_cv_exeext
3695
3696rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3697ac_clean_files=$ac_clean_files_save
3698{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3699$as_echo_n "checking for suffix of executables... " >&6; }
3700if { { ac_try="$ac_link"
3701case "(($ac_try" in
3702  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3703  *) ac_try_echo=$ac_try;;
3704esac
3705eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3706$as_echo "$ac_try_echo"; } >&5
3707  (eval "$ac_link") 2>&5
3708  ac_status=$?
3709  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3710  test $ac_status = 0; }; then :
3711  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3712# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3713# work properly (i.e., refer to `conftest.exe'), while it won't with
3714# `rm'.
3715for ac_file in conftest.exe conftest conftest.*; do
3716  test -f "$ac_file" || continue
3717  case $ac_file in
3718    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3719    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3720          break;;
3721    * ) break;;
3722  esac
3723done
3724else
3725  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3726$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3727as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3728See \`config.log' for more details" "$LINENO" 5; }
3729fi
3730rm -f conftest conftest$ac_cv_exeext
3731{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3732$as_echo "$ac_cv_exeext" >&6; }
3733
3734rm -f conftest.$ac_ext
3735EXEEXT=$ac_cv_exeext
3736ac_exeext=$EXEEXT
3737cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3738/* end confdefs.h.  */
3739#include <stdio.h>
3740int
3741main ()
3742{
3743FILE *f = fopen ("conftest.out", "w");
3744 return ferror (f) || fclose (f) != 0;
3745
3746  ;
3747  return 0;
3748}
3749_ACEOF
3750ac_clean_files="$ac_clean_files conftest.out"
3751# Check that the compiler produces executables we can run.  If not, either
3752# the compiler is broken, or we cross compile.
3753{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3754$as_echo_n "checking whether we are cross compiling... " >&6; }
3755if test "$cross_compiling" != yes; then
3756  { { ac_try="$ac_link"
3757case "(($ac_try" in
3758  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3759  *) ac_try_echo=$ac_try;;
3760esac
3761eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3762$as_echo "$ac_try_echo"; } >&5
3763  (eval "$ac_link") 2>&5
3764  ac_status=$?
3765  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3766  test $ac_status = 0; }
3767  if { ac_try='./conftest$ac_cv_exeext'
3768  { { case "(($ac_try" in
3769  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3770  *) ac_try_echo=$ac_try;;
3771esac
3772eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3773$as_echo "$ac_try_echo"; } >&5
3774  (eval "$ac_try") 2>&5
3775  ac_status=$?
3776  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3777  test $ac_status = 0; }; }; then
3778    cross_compiling=no
3779  else
3780    if test "$cross_compiling" = maybe; then
3781        cross_compiling=yes
3782    else
3783        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3784$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3785as_fn_error $? "cannot run C++ compiled programs.
3786If you meant to cross compile, use \`--host'.
3787See \`config.log' for more details" "$LINENO" 5; }
3788    fi
3789  fi
3790fi
3791{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3792$as_echo "$cross_compiling" >&6; }
3793
3794rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3795ac_clean_files=$ac_clean_files_save
3796{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3797$as_echo_n "checking for suffix of object files... " >&6; }
3798if ${ac_cv_objext+:} false; then :
3799  $as_echo_n "(cached) " >&6
3800else
3801  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3802/* end confdefs.h.  */
3803
3804int
3805main ()
3806{
3807
3808  ;
3809  return 0;
3810}
3811_ACEOF
3812rm -f conftest.o conftest.obj
3813if { { ac_try="$ac_compile"
3814case "(($ac_try" in
3815  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3816  *) ac_try_echo=$ac_try;;
3817esac
3818eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3819$as_echo "$ac_try_echo"; } >&5
3820  (eval "$ac_compile") 2>&5
3821  ac_status=$?
3822  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3823  test $ac_status = 0; }; then :
3824  for ac_file in conftest.o conftest.obj conftest.*; do
3825  test -f "$ac_file" || continue;
3826  case $ac_file in
3827    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3828    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3829       break;;
3830  esac
3831done
3832else
3833  $as_echo "$as_me: failed program was:" >&5
3834sed 's/^/| /' conftest.$ac_ext >&5
3835
3836{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3837$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3838as_fn_error $? "cannot compute suffix of object files: cannot compile
3839See \`config.log' for more details" "$LINENO" 5; }
3840fi
3841rm -f conftest.$ac_cv_objext conftest.$ac_ext
3842fi
3843{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3844$as_echo "$ac_cv_objext" >&6; }
3845OBJEXT=$ac_cv_objext
3846ac_objext=$OBJEXT
3847{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3848$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3849if ${ac_cv_cxx_compiler_gnu+:} false; then :
3850  $as_echo_n "(cached) " >&6
3851else
3852  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3853/* end confdefs.h.  */
3854
3855int
3856main ()
3857{
3858#ifndef __GNUC__
3859       choke me
3860#endif
3861
3862  ;
3863  return 0;
3864}
3865_ACEOF
3866if ac_fn_cxx_try_compile "$LINENO"; then :
3867  ac_compiler_gnu=yes
3868else
3869  ac_compiler_gnu=no
3870fi
3871rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3872ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3873
3874fi
3875{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3876$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3877if test $ac_compiler_gnu = yes; then
3878  GXX=yes
3879else
3880  GXX=
3881fi
3882ac_test_CXXFLAGS=${CXXFLAGS+set}
3883ac_save_CXXFLAGS=$CXXFLAGS
3884{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3885$as_echo_n "checking whether $CXX accepts -g... " >&6; }
3886if ${ac_cv_prog_cxx_g+:} false; then :
3887  $as_echo_n "(cached) " >&6
3888else
3889  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3890   ac_cxx_werror_flag=yes
3891   ac_cv_prog_cxx_g=no
3892   CXXFLAGS="-g"
3893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3894/* end confdefs.h.  */
3895
3896int
3897main ()
3898{
3899
3900  ;
3901  return 0;
3902}
3903_ACEOF
3904if ac_fn_cxx_try_compile "$LINENO"; then :
3905  ac_cv_prog_cxx_g=yes
3906else
3907  CXXFLAGS=""
3908      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3909/* end confdefs.h.  */
3910
3911int
3912main ()
3913{
3914
3915  ;
3916  return 0;
3917}
3918_ACEOF
3919if ac_fn_cxx_try_compile "$LINENO"; then :
3920
3921else
3922  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3923         CXXFLAGS="-g"
3924         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3925/* end confdefs.h.  */
3926
3927int
3928main ()
3929{
3930
3931  ;
3932  return 0;
3933}
3934_ACEOF
3935if ac_fn_cxx_try_compile "$LINENO"; then :
3936  ac_cv_prog_cxx_g=yes
3937fi
3938rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3939fi
3940rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3941fi
3942rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3943   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3944fi
3945{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3946$as_echo "$ac_cv_prog_cxx_g" >&6; }
3947if test "$ac_test_CXXFLAGS" = set; then
3948  CXXFLAGS=$ac_save_CXXFLAGS
3949elif test $ac_cv_prog_cxx_g = yes; then
3950  if test "$GXX" = yes; then
3951    CXXFLAGS="-g -O2"
3952  else
3953    CXXFLAGS="-g"
3954  fi
3955else
3956  if test "$GXX" = yes; then
3957    CXXFLAGS="-O2"
3958  else
3959    CXXFLAGS=
3960  fi
3961fi
3962ac_ext=c
3963ac_cpp='$CPP $CPPFLAGS'
3964ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3965ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3966ac_compiler_gnu=$ac_cv_c_compiler_gnu
3967DEPDIR="${am__leading_dot}deps"
3968
3969ac_config_commands="$ac_config_commands depfiles"
3970
3971
3972am_make=${MAKE-make}
3973cat > confinc << 'END'
3974am__doit:
3975        @echo this is the am__doit target
3976.PHONY: am__doit
3977END
3978# If we don't find an include directive, just comment out the code.
3979{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3980$as_echo_n "checking for style of include used by $am_make... " >&6; }
3981am__include="#"
3982am__quote=
3983_am_result=none
3984# First try GNU make style include.
3985echo "include confinc" > confmf
3986# Ignore all kinds of additional output from 'make'.
3987case `$am_make -s -f confmf 2> /dev/null` in #(
3988*the\ am__doit\ target*)
3989  am__include=include
3990  am__quote=
3991  _am_result=GNU
3992  ;;
3993esac
3994# Now try BSD make style include.
3995if test "$am__include" = "#"; then
3996   echo '.include "confinc"' > confmf
3997   case `$am_make -s -f confmf 2> /dev/null` in #(
3998   *the\ am__doit\ target*)
3999     am__include=.include
4000     am__quote="\""
4001     _am_result=BSD
4002     ;;
4003   esac
4004fi
4005
4006
4007{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4008$as_echo "$_am_result" >&6; }
4009rm -f confinc confmf
4010
4011# Check whether --enable-dependency-tracking was given.
4012if test "${enable_dependency_tracking+set}" = set; then :
4013  enableval=$enable_dependency_tracking;
4014fi
4015
4016if test "x$enable_dependency_tracking" != xno; then
4017  am_depcomp="$ac_aux_dir/depcomp"
4018  AMDEPBACKSLASH='\'
4019  am__nodep='_no'
4020fi
4021 if test "x$enable_dependency_tracking" != xno; then
4022  AMDEP_TRUE=
4023  AMDEP_FALSE='#'
4024else
4025  AMDEP_TRUE='#'
4026  AMDEP_FALSE=
4027fi
4028
4029
4030
4031depcc="$CXX"  am_compiler_list=
4032
4033{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4034$as_echo_n "checking dependency style of $depcc... " >&6; }
4035if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4036  $as_echo_n "(cached) " >&6
4037else
4038  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4039  # We make a subdir and do the tests there.  Otherwise we can end up
4040  # making bogus files that we don't know about and never remove.  For
4041  # instance it was reported that on HP-UX the gcc test will end up
4042  # making a dummy file named 'D' -- because '-MD' means "put the output
4043  # in D".
4044  rm -rf conftest.dir
4045  mkdir conftest.dir
4046  # Copy depcomp to subdir because otherwise we won't find it if we're
4047  # using a relative directory.
4048  cp "$am_depcomp" conftest.dir
4049  cd conftest.dir
4050  # We will build objects and dependencies in a subdirectory because
4051  # it helps to detect inapplicable dependency modes.  For instance
4052  # both Tru64's cc and ICC support -MD to output dependencies as a
4053  # side effect of compilation, but ICC will put the dependencies in
4054  # the current directory while Tru64 will put them in the object
4055  # directory.
4056  mkdir sub
4057
4058  am_cv_CXX_dependencies_compiler_type=none
4059  if test "$am_compiler_list" = ""; then
4060     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4061  fi
4062  am__universal=false
4063  case " $depcc " in #(
4064     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4065     esac
4066
4067  for depmode in $am_compiler_list; do
4068    # Setup a source with many dependencies, because some compilers
4069    # like to wrap large dependency lists on column 80 (with \), and
4070    # we should not choose a depcomp mode which is confused by this.
4071    #
4072    # We need to recreate these files for each test, as the compiler may
4073    # overwrite some of them when testing with obscure command lines.
4074    # This happens at least with the AIX C compiler.
4075    : > sub/conftest.c
4076    for i in 1 2 3 4 5 6; do
4077      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4078      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4079      # Solaris 10 /bin/sh.
4080      echo '/* dummy */' > sub/conftst$i.h
4081    done
4082    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4083
4084    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4085    # mode.  It turns out that the SunPro C++ compiler does not properly
4086    # handle '-M -o', and we need to detect this.  Also, some Intel
4087    # versions had trouble with output in subdirs.
4088    am__obj=sub/conftest.${OBJEXT-o}
4089    am__minus_obj="-o $am__obj"
4090    case $depmode in
4091    gcc)
4092      # This depmode causes a compiler race in universal mode.
4093      test "$am__universal" = false || continue
4094      ;;
4095    nosideeffect)
4096      # After this tag, mechanisms are not by side-effect, so they'll
4097      # only be used when explicitly requested.
4098      if test "x$enable_dependency_tracking" = xyes; then
4099        continue
4100      else
4101        break
4102      fi
4103      ;;
4104    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4105      # This compiler won't grok '-c -o', but also, the minuso test has
4106      # not run yet.  These depmodes are late enough in the game, and
4107      # so weak that their functioning should not be impacted.
4108      am__obj=conftest.${OBJEXT-o}
4109      am__minus_obj=
4110      ;;
4111    none) break ;;
4112    esac
4113    if depmode=$depmode \
4114       source=sub/conftest.c object=$am__obj \
4115       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4116       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4117         >/dev/null 2>conftest.err &&
4118       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4119       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4120       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4121       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4122      # icc doesn't choke on unknown options, it will just issue warnings
4123      # or remarks (even with -Werror).  So we grep stderr for any message
4124      # that says an option was ignored or not supported.
4125      # When given -MP, icc 7.0 and 7.1 complain thusly:
4126      #   icc: Command line warning: ignoring option '-M'; no argument required
4127      # The diagnosis changed in icc 8.0:
4128      #   icc: Command line remark: option '-MP' not supported
4129      if (grep 'ignoring option' conftest.err ||
4130          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4131        am_cv_CXX_dependencies_compiler_type=$depmode
4132        break
4133      fi
4134    fi
4135  done
4136
4137  cd ..
4138  rm -rf conftest.dir
4139else
4140  am_cv_CXX_dependencies_compiler_type=none
4141fi
4142
4143fi
4144{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4145$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4146CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4147
4148 if
4149  test "x$enable_dependency_tracking" != xno \
4150  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4151  am__fastdepCXX_TRUE=
4152  am__fastdepCXX_FALSE='#'
4153else
4154  am__fastdepCXX_TRUE='#'
4155  am__fastdepCXX_FALSE=
4156fi
4157
4158
4159ac_ext=c
4160ac_cpp='$CPP $CPPFLAGS'
4161ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4162ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4163ac_compiler_gnu=$ac_cv_c_compiler_gnu
4164if test -n "$ac_tool_prefix"; then
4165  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4166set dummy ${ac_tool_prefix}gcc; ac_word=$2
4167{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4168$as_echo_n "checking for $ac_word... " >&6; }
4169if ${ac_cv_prog_CC+:} false; then :
4170  $as_echo_n "(cached) " >&6
4171else
4172  if test -n "$CC"; then
4173  ac_cv_prog_CC="$CC" # Let the user override the test.
4174else
4175as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4176for as_dir in $PATH
4177do
4178  IFS=$as_save_IFS
4179  test -z "$as_dir" && as_dir=.
4180    for ac_exec_ext in '' $ac_executable_extensions; do
4181  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4182    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4183    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4184    break 2
4185  fi
4186done
4187  done
4188IFS=$as_save_IFS
4189
4190fi
4191fi
4192CC=$ac_cv_prog_CC
4193if test -n "$CC"; then
4194  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4195$as_echo "$CC" >&6; }
4196else
4197  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4198$as_echo "no" >&6; }
4199fi
4200
4201
4202fi
4203if test -z "$ac_cv_prog_CC"; then
4204  ac_ct_CC=$CC
4205  # Extract the first word of "gcc", so it can be a program name with args.
4206set dummy gcc; ac_word=$2
4207{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4208$as_echo_n "checking for $ac_word... " >&6; }
4209if ${ac_cv_prog_ac_ct_CC+:} false; then :
4210  $as_echo_n "(cached) " >&6
4211else
4212  if test -n "$ac_ct_CC"; then
4213  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4214else
4215as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4216for as_dir in $PATH
4217do
4218  IFS=$as_save_IFS
4219  test -z "$as_dir" && as_dir=.
4220    for ac_exec_ext in '' $ac_executable_extensions; do
4221  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4222    ac_cv_prog_ac_ct_CC="gcc"
4223    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4224    break 2
4225  fi
4226done
4227  done
4228IFS=$as_save_IFS
4229
4230fi
4231fi
4232ac_ct_CC=$ac_cv_prog_ac_ct_CC
4233if test -n "$ac_ct_CC"; then
4234  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4235$as_echo "$ac_ct_CC" >&6; }
4236else
4237  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4238$as_echo "no" >&6; }
4239fi
4240
4241  if test "x$ac_ct_CC" = x; then
4242    CC=""
4243  else
4244    case $cross_compiling:$ac_tool_warned in
4245yes:)
4246{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4247$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4248ac_tool_warned=yes ;;
4249esac
4250    CC=$ac_ct_CC
4251  fi
4252else
4253  CC="$ac_cv_prog_CC"
4254fi
4255
4256if test -z "$CC"; then
4257          if test -n "$ac_tool_prefix"; then
4258    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4259set dummy ${ac_tool_prefix}cc; ac_word=$2
4260{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4261$as_echo_n "checking for $ac_word... " >&6; }
4262if ${ac_cv_prog_CC+:} false; then :
4263  $as_echo_n "(cached) " >&6
4264else
4265  if test -n "$CC"; then
4266  ac_cv_prog_CC="$CC" # Let the user override the test.
4267else
4268as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4269for as_dir in $PATH
4270do
4271  IFS=$as_save_IFS
4272  test -z "$as_dir" && as_dir=.
4273    for ac_exec_ext in '' $ac_executable_extensions; do
4274  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4275    ac_cv_prog_CC="${ac_tool_prefix}cc"
4276    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4277    break 2
4278  fi
4279done
4280  done
4281IFS=$as_save_IFS
4282
4283fi
4284fi
4285CC=$ac_cv_prog_CC
4286if test -n "$CC"; then
4287  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4288$as_echo "$CC" >&6; }
4289else
4290  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4291$as_echo "no" >&6; }
4292fi
4293
4294
4295  fi
4296fi
4297if test -z "$CC"; then
4298  # Extract the first word of "cc", so it can be a program name with args.
4299set dummy cc; ac_word=$2
4300{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4301$as_echo_n "checking for $ac_word... " >&6; }
4302if ${ac_cv_prog_CC+:} false; then :
4303  $as_echo_n "(cached) " >&6
4304else
4305  if test -n "$CC"; then
4306  ac_cv_prog_CC="$CC" # Let the user override the test.
4307else
4308  ac_prog_rejected=no
4309as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4310for as_dir in $PATH
4311do
4312  IFS=$as_save_IFS
4313  test -z "$as_dir" && as_dir=.
4314    for ac_exec_ext in '' $ac_executable_extensions; do
4315  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4316    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4317       ac_prog_rejected=yes
4318       continue
4319     fi
4320    ac_cv_prog_CC="cc"
4321    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4322    break 2
4323  fi
4324done
4325  done
4326IFS=$as_save_IFS
4327
4328if test $ac_prog_rejected = yes; then
4329  # We found a bogon in the path, so make sure we never use it.
4330  set dummy $ac_cv_prog_CC
4331  shift
4332  if test $# != 0; then
4333    # We chose a different compiler from the bogus one.
4334    # However, it has the same basename, so the bogon will be chosen
4335    # first if we set CC to just the basename; use the full file name.
4336    shift
4337    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4338  fi
4339fi
4340fi
4341fi
4342CC=$ac_cv_prog_CC
4343if test -n "$CC"; then
4344  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4345$as_echo "$CC" >&6; }
4346else
4347  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4348$as_echo "no" >&6; }
4349fi
4350
4351
4352fi
4353if test -z "$CC"; then
4354  if test -n "$ac_tool_prefix"; then
4355  for ac_prog in cl.exe
4356  do
4357    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4358set dummy $ac_tool_prefix$ac_prog; 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
4367as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4368for as_dir in $PATH
4369do
4370  IFS=$as_save_IFS
4371  test -z "$as_dir" && as_dir=.
4372    for ac_exec_ext in '' $ac_executable_extensions; do
4373  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4374    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4375    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4376    break 2
4377  fi
4378done
4379  done
4380IFS=$as_save_IFS
4381
4382fi
4383fi
4384CC=$ac_cv_prog_CC
4385if test -n "$CC"; then
4386  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4387$as_echo "$CC" >&6; }
4388else
4389  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4390$as_echo "no" >&6; }
4391fi
4392
4393
4394    test -n "$CC" && break
4395  done
4396fi
4397if test -z "$CC"; then
4398  ac_ct_CC=$CC
4399  for ac_prog in cl.exe
4400do
4401  # Extract the first word of "$ac_prog", so it can be a program name with args.
4402set dummy $ac_prog; ac_word=$2
4403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4404$as_echo_n "checking for $ac_word... " >&6; }
4405if ${ac_cv_prog_ac_ct_CC+:} false; then :
4406  $as_echo_n "(cached) " >&6
4407else
4408  if test -n "$ac_ct_CC"; then
4409  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4410else
4411as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4412for as_dir in $PATH
4413do
4414  IFS=$as_save_IFS
4415  test -z "$as_dir" && as_dir=.
4416    for ac_exec_ext in '' $ac_executable_extensions; do
4417  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4418    ac_cv_prog_ac_ct_CC="$ac_prog"
4419    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4420    break 2
4421  fi
4422done
4423  done
4424IFS=$as_save_IFS
4425
4426fi
4427fi
4428ac_ct_CC=$ac_cv_prog_ac_ct_CC
4429if test -n "$ac_ct_CC"; then
4430  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4431$as_echo "$ac_ct_CC" >&6; }
4432else
4433  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4434$as_echo "no" >&6; }
4435fi
4436
4437
4438  test -n "$ac_ct_CC" && break
4439done
4440
4441  if test "x$ac_ct_CC" = x; then
4442    CC=""
4443  else
4444    case $cross_compiling:$ac_tool_warned in
4445yes:)
4446{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4447$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4448ac_tool_warned=yes ;;
4449esac
4450    CC=$ac_ct_CC
4451  fi
4452fi
4453
4454fi
4455
4456
4457test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4458$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4459as_fn_error $? "no acceptable C compiler found in \$PATH
4460See \`config.log' for more details" "$LINENO" 5; }
4461
4462# Provide some information about the compiler.
4463$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4464set X $ac_compile
4465ac_compiler=$2
4466for ac_option in --version -v -V -qversion; do
4467  { { ac_try="$ac_compiler $ac_option >&5"
4468case "(($ac_try" in
4469  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4470  *) ac_try_echo=$ac_try;;
4471esac
4472eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4473$as_echo "$ac_try_echo"; } >&5
4474  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4475  ac_status=$?
4476  if test -s conftest.err; then
4477    sed '10a\
4478... rest of stderr output deleted ...
4479         10q' conftest.err >conftest.er1
4480    cat conftest.er1 >&5
4481  fi
4482  rm -f conftest.er1 conftest.err
4483  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4484  test $ac_status = 0; }
4485done
4486
4487{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4488$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4489if ${ac_cv_c_compiler_gnu+:} false; then :
4490  $as_echo_n "(cached) " >&6
4491else
4492  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4493/* end confdefs.h.  */
4494
4495int
4496main ()
4497{
4498#ifndef __GNUC__
4499       choke me
4500#endif
4501
4502  ;
4503  return 0;
4504}
4505_ACEOF
4506if ac_fn_c_try_compile "$LINENO"; then :
4507  ac_compiler_gnu=yes
4508else
4509  ac_compiler_gnu=no
4510fi
4511rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4512ac_cv_c_compiler_gnu=$ac_compiler_gnu
4513
4514fi
4515{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4516$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4517if test $ac_compiler_gnu = yes; then
4518  GCC=yes
4519else
4520  GCC=
4521fi
4522ac_test_CFLAGS=${CFLAGS+set}
4523ac_save_CFLAGS=$CFLAGS
4524{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4525$as_echo_n "checking whether $CC accepts -g... " >&6; }
4526if ${ac_cv_prog_cc_g+:} false; then :
4527  $as_echo_n "(cached) " >&6
4528else
4529  ac_save_c_werror_flag=$ac_c_werror_flag
4530   ac_c_werror_flag=yes
4531   ac_cv_prog_cc_g=no
4532   CFLAGS="-g"
4533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4534/* end confdefs.h.  */
4535
4536int
4537main ()
4538{
4539
4540  ;
4541  return 0;
4542}
4543_ACEOF
4544if ac_fn_c_try_compile "$LINENO"; then :
4545  ac_cv_prog_cc_g=yes
4546else
4547  CFLAGS=""
4548      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4549/* end confdefs.h.  */
4550
4551int
4552main ()
4553{
4554
4555  ;
4556  return 0;
4557}
4558_ACEOF
4559if ac_fn_c_try_compile "$LINENO"; then :
4560
4561else
4562  ac_c_werror_flag=$ac_save_c_werror_flag
4563         CFLAGS="-g"
4564         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4565/* end confdefs.h.  */
4566
4567int
4568main ()
4569{
4570
4571  ;
4572  return 0;
4573}
4574_ACEOF
4575if ac_fn_c_try_compile "$LINENO"; then :
4576  ac_cv_prog_cc_g=yes
4577fi
4578rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4579fi
4580rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4581fi
4582rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4583   ac_c_werror_flag=$ac_save_c_werror_flag
4584fi
4585{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4586$as_echo "$ac_cv_prog_cc_g" >&6; }
4587if test "$ac_test_CFLAGS" = set; then
4588  CFLAGS=$ac_save_CFLAGS
4589elif test $ac_cv_prog_cc_g = yes; then
4590  if test "$GCC" = yes; then
4591    CFLAGS="-g -O2"
4592  else
4593    CFLAGS="-g"
4594  fi
4595else
4596  if test "$GCC" = yes; then
4597    CFLAGS="-O2"
4598  else
4599    CFLAGS=
4600  fi
4601fi
4602{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4603$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4604if ${ac_cv_prog_cc_c89+:} false; then :
4605  $as_echo_n "(cached) " >&6
4606else
4607  ac_cv_prog_cc_c89=no
4608ac_save_CC=$CC
4609cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4610/* end confdefs.h.  */
4611#include <stdarg.h>
4612#include <stdio.h>
4613struct stat;
4614/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4615struct buf { int x; };
4616FILE * (*rcsopen) (struct buf *, struct stat *, int);
4617static char *e (p, i)
4618     char **p;
4619     int i;
4620{
4621  return p[i];
4622}
4623static char *f (char * (*g) (char **, int), char **p, ...)
4624{
4625  char *s;
4626  va_list v;
4627  va_start (v,p);
4628  s = g (p, va_arg (v,int));
4629  va_end (v);
4630  return s;
4631}
4632
4633/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4634   function prototypes and stuff, but not '\xHH' hex character constants.
4635   These don't provoke an error unfortunately, instead are silently treated
4636   as 'x'.  The following induces an error, until -std is added to get
4637   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4638   array size at least.  It's necessary to write '\x00'==0 to get something
4639   that's true only with -std.  */
4640int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4641
4642/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4643   inside strings and character constants.  */
4644#define FOO(x) 'x'
4645int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4646
4647int test (int i, double x);
4648struct s1 {int (*f) (int a);};
4649struct s2 {int (*f) (double a);};
4650int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4651int argc;
4652char **argv;
4653int
4654main ()
4655{
4656return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4657  ;
4658  return 0;
4659}
4660_ACEOF
4661for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4662        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4663do
4664  CC="$ac_save_CC $ac_arg"
4665  if ac_fn_c_try_compile "$LINENO"; then :
4666  ac_cv_prog_cc_c89=$ac_arg
4667fi
4668rm -f core conftest.err conftest.$ac_objext
4669  test "x$ac_cv_prog_cc_c89" != "xno" && break
4670done
4671rm -f conftest.$ac_ext
4672CC=$ac_save_CC
4673
4674fi
4675# AC_CACHE_VAL
4676case "x$ac_cv_prog_cc_c89" in
4677  x)
4678    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4679$as_echo "none needed" >&6; } ;;
4680  xno)
4681    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4682$as_echo "unsupported" >&6; } ;;
4683  *)
4684    CC="$CC $ac_cv_prog_cc_c89"
4685    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4686$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4687esac
4688if test "x$ac_cv_prog_cc_c89" != xno; then :
4689
4690fi
4691
4692ac_ext=c
4693ac_cpp='$CPP $CPPFLAGS'
4694ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4695ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4696ac_compiler_gnu=$ac_cv_c_compiler_gnu
4697
4698ac_ext=c
4699ac_cpp='$CPP $CPPFLAGS'
4700ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4701ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4702ac_compiler_gnu=$ac_cv_c_compiler_gnu
4703{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4704$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4705if ${am_cv_prog_cc_c_o+:} false; then :
4706  $as_echo_n "(cached) " >&6
4707else
4708  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4709/* end confdefs.h.  */
4710
4711int
4712main ()
4713{
4714
4715  ;
4716  return 0;
4717}
4718_ACEOF
4719  # Make sure it works both with $CC and with simple cc.
4720  # Following AC_PROG_CC_C_O, we do the test twice because some
4721  # compilers refuse to overwrite an existing .o file with -o,
4722  # though they will create one.
4723  am_cv_prog_cc_c_o=yes
4724  for am_i in 1 2; do
4725    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4726   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4727   ac_status=$?
4728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4729   (exit $ac_status); } \
4730         && test -f conftest2.$ac_objext; then
4731      : OK
4732    else
4733      am_cv_prog_cc_c_o=no
4734      break
4735    fi
4736  done
4737  rm -f core conftest*
4738  unset am_i
4739fi
4740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4741$as_echo "$am_cv_prog_cc_c_o" >&6; }
4742if test "$am_cv_prog_cc_c_o" != yes; then
4743   # Losing compiler, so override with the script.
4744   # FIXME: It is wrong to rewrite CC.
4745   # But if we don't then we get into trouble of one sort or another.
4746   # A longer-term fix would be to have automake use am__CC in this case,
4747   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4748   CC="$am_aux_dir/compile $CC"
4749fi
4750ac_ext=c
4751ac_cpp='$CPP $CPPFLAGS'
4752ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4753ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4754ac_compiler_gnu=$ac_cv_c_compiler_gnu
4755
4756
4757depcc="$CC"   am_compiler_list=
4758
4759{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4760$as_echo_n "checking dependency style of $depcc... " >&6; }
4761if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4762  $as_echo_n "(cached) " >&6
4763else
4764  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4765  # We make a subdir and do the tests there.  Otherwise we can end up
4766  # making bogus files that we don't know about and never remove.  For
4767  # instance it was reported that on HP-UX the gcc test will end up
4768  # making a dummy file named 'D' -- because '-MD' means "put the output
4769  # in D".
4770  rm -rf conftest.dir
4771  mkdir conftest.dir
4772  # Copy depcomp to subdir because otherwise we won't find it if we're
4773  # using a relative directory.
4774  cp "$am_depcomp" conftest.dir
4775  cd conftest.dir
4776  # We will build objects and dependencies in a subdirectory because
4777  # it helps to detect inapplicable dependency modes.  For instance
4778  # both Tru64's cc and ICC support -MD to output dependencies as a
4779  # side effect of compilation, but ICC will put the dependencies in
4780  # the current directory while Tru64 will put them in the object
4781  # directory.
4782  mkdir sub
4783
4784  am_cv_CC_dependencies_compiler_type=none
4785  if test "$am_compiler_list" = ""; then
4786     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4787  fi
4788  am__universal=false
4789  case " $depcc " in #(
4790     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4791     esac
4792
4793  for depmode in $am_compiler_list; do
4794    # Setup a source with many dependencies, because some compilers
4795    # like to wrap large dependency lists on column 80 (with \), and
4796    # we should not choose a depcomp mode which is confused by this.
4797    #
4798    # We need to recreate these files for each test, as the compiler may
4799    # overwrite some of them when testing with obscure command lines.
4800    # This happens at least with the AIX C compiler.
4801    : > sub/conftest.c
4802    for i in 1 2 3 4 5 6; do
4803      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4804      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4805      # Solaris 10 /bin/sh.
4806      echo '/* dummy */' > sub/conftst$i.h
4807    done
4808    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4809
4810    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4811    # mode.  It turns out that the SunPro C++ compiler does not properly
4812    # handle '-M -o', and we need to detect this.  Also, some Intel
4813    # versions had trouble with output in subdirs.
4814    am__obj=sub/conftest.${OBJEXT-o}
4815    am__minus_obj="-o $am__obj"
4816    case $depmode in
4817    gcc)
4818      # This depmode causes a compiler race in universal mode.
4819      test "$am__universal" = false || continue
4820      ;;
4821    nosideeffect)
4822      # After this tag, mechanisms are not by side-effect, so they'll
4823      # only be used when explicitly requested.
4824      if test "x$enable_dependency_tracking" = xyes; then
4825        continue
4826      else
4827        break
4828      fi
4829      ;;
4830    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4831      # This compiler won't grok '-c -o', but also, the minuso test has
4832      # not run yet.  These depmodes are late enough in the game, and
4833      # so weak that their functioning should not be impacted.
4834      am__obj=conftest.${OBJEXT-o}
4835      am__minus_obj=
4836      ;;
4837    none) break ;;
4838    esac
4839    if depmode=$depmode \
4840       source=sub/conftest.c object=$am__obj \
4841       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4842       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4843         >/dev/null 2>conftest.err &&
4844       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4845       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4846       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4847       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4848      # icc doesn't choke on unknown options, it will just issue warnings
4849      # or remarks (even with -Werror).  So we grep stderr for any message
4850      # that says an option was ignored or not supported.
4851      # When given -MP, icc 7.0 and 7.1 complain thusly:
4852      #   icc: Command line warning: ignoring option '-M'; no argument required
4853      # The diagnosis changed in icc 8.0:
4854      #   icc: Command line remark: option '-MP' not supported
4855      if (grep 'ignoring option' conftest.err ||
4856          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4857        am_cv_CC_dependencies_compiler_type=$depmode
4858        break
4859      fi
4860    fi
4861  done
4862
4863  cd ..
4864  rm -rf conftest.dir
4865else
4866  am_cv_CC_dependencies_compiler_type=none
4867fi
4868
4869fi
4870{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4871$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4872CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4873
4874 if
4875  test "x$enable_dependency_tracking" != xno \
4876  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4877  am__fastdepCC_TRUE=
4878  am__fastdepCC_FALSE='#'
4879else
4880  am__fastdepCC_TRUE='#'
4881  am__fastdepCC_FALSE=
4882fi
4883
4884
4885# By default we simply use the C compiler to build assembly code.
4886
4887test "${CCAS+set}" = set || CCAS=$CC
4888test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
4889
4890
4891
4892depcc="$CCAS"   am_compiler_list=
4893
4894{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4895$as_echo_n "checking dependency style of $depcc... " >&6; }
4896if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
4897  $as_echo_n "(cached) " >&6
4898else
4899  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4900  # We make a subdir and do the tests there.  Otherwise we can end up
4901  # making bogus files that we don't know about and never remove.  For
4902  # instance it was reported that on HP-UX the gcc test will end up
4903  # making a dummy file named 'D' -- because '-MD' means "put the output
4904  # in D".
4905  rm -rf conftest.dir
4906  mkdir conftest.dir
4907  # Copy depcomp to subdir because otherwise we won't find it if we're
4908  # using a relative directory.
4909  cp "$am_depcomp" conftest.dir
4910  cd conftest.dir
4911  # We will build objects and dependencies in a subdirectory because
4912  # it helps to detect inapplicable dependency modes.  For instance
4913  # both Tru64's cc and ICC support -MD to output dependencies as a
4914  # side effect of compilation, but ICC will put the dependencies in
4915  # the current directory while Tru64 will put them in the object
4916  # directory.
4917  mkdir sub
4918
4919  am_cv_CCAS_dependencies_compiler_type=none
4920  if test "$am_compiler_list" = ""; then
4921     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4922  fi
4923  am__universal=false
4924
4925
4926  for depmode in $am_compiler_list; do
4927    # Setup a source with many dependencies, because some compilers
4928    # like to wrap large dependency lists on column 80 (with \), and
4929    # we should not choose a depcomp mode which is confused by this.
4930    #
4931    # We need to recreate these files for each test, as the compiler may
4932    # overwrite some of them when testing with obscure command lines.
4933    # This happens at least with the AIX C compiler.
4934    : > sub/conftest.c
4935    for i in 1 2 3 4 5 6; do
4936      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4937      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4938      # Solaris 10 /bin/sh.
4939      echo '/* dummy */' > sub/conftst$i.h
4940    done
4941    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4942
4943    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4944    # mode.  It turns out that the SunPro C++ compiler does not properly
4945    # handle '-M -o', and we need to detect this.  Also, some Intel
4946    # versions had trouble with output in subdirs.
4947    am__obj=sub/conftest.${OBJEXT-o}
4948    am__minus_obj="-o $am__obj"
4949    case $depmode in
4950    gcc)
4951      # This depmode causes a compiler race in universal mode.
4952      test "$am__universal" = false || continue
4953      ;;
4954    nosideeffect)
4955      # After this tag, mechanisms are not by side-effect, so they'll
4956      # only be used when explicitly requested.
4957      if test "x$enable_dependency_tracking" = xyes; then
4958        continue
4959      else
4960        break
4961      fi
4962      ;;
4963    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4964      # This compiler won't grok '-c -o', but also, the minuso test has
4965      # not run yet.  These depmodes are late enough in the game, and
4966      # so weak that their functioning should not be impacted.
4967      am__obj=conftest.${OBJEXT-o}
4968      am__minus_obj=
4969      ;;
4970    none) break ;;
4971    esac
4972    if depmode=$depmode \
4973       source=sub/conftest.c object=$am__obj \
4974       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4975       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4976         >/dev/null 2>conftest.err &&
4977       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4978       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4979       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4980       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4981      # icc doesn't choke on unknown options, it will just issue warnings
4982      # or remarks (even with -Werror).  So we grep stderr for any message
4983      # that says an option was ignored or not supported.
4984      # When given -MP, icc 7.0 and 7.1 complain thusly:
4985      #   icc: Command line warning: ignoring option '-M'; no argument required
4986      # The diagnosis changed in icc 8.0:
4987      #   icc: Command line remark: option '-MP' not supported
4988      if (grep 'ignoring option' conftest.err ||
4989          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4990        am_cv_CCAS_dependencies_compiler_type=$depmode
4991        break
4992      fi
4993    fi
4994  done
4995
4996  cd ..
4997  rm -rf conftest.dir
4998else
4999  am_cv_CCAS_dependencies_compiler_type=none
5000fi
5001
5002fi
5003{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
5004$as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
5005CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
5006
5007 if
5008  test "x$enable_dependency_tracking" != xno \
5009  && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
5010  am__fastdepCCAS_TRUE=
5011  am__fastdepCCAS_FALSE='#'
5012else
5013  am__fastdepCCAS_TRUE='#'
5014  am__fastdepCCAS_FALSE=
5015fi
5016
5017
5018        # deprecated
5019# These are often not installed and people miss seeing the "no", so stop the configure.
5020for ac_prog in 'bison -y' byacc
5021do
5022  # Extract the first word of "$ac_prog", so it can be a program name with args.
5023set dummy $ac_prog; ac_word=$2
5024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5025$as_echo_n "checking for $ac_word... " >&6; }
5026if ${ac_cv_prog_YACC+:} false; then :
5027  $as_echo_n "(cached) " >&6
5028else
5029  if test -n "$YACC"; then
5030  ac_cv_prog_YACC="$YACC" # Let the user override the test.
5031else
5032as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5033for as_dir in $PATH
5034do
5035  IFS=$as_save_IFS
5036  test -z "$as_dir" && as_dir=.
5037    for ac_exec_ext in '' $ac_executable_extensions; do
5038  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5039    ac_cv_prog_YACC="$ac_prog"
5040    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5041    break 2
5042  fi
5043done
5044  done
5045IFS=$as_save_IFS
5046
5047fi
5048fi
5049YACC=$ac_cv_prog_YACC
5050if test -n "$YACC"; then
5051  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
5052$as_echo "$YACC" >&6; }
5053else
5054  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5055$as_echo "no" >&6; }
5056fi
5057
5058
5059  test -n "$YACC" && break
5060done
5061test -n "$YACC" || YACC="yacc"
5062
5063if test "${YACC}" = "yacc" ; then echo "Error: bison required." ; exit 1 ; fi
5064
5065for ac_prog in flex lex
5066do
5067  # Extract the first word of "$ac_prog", so it can be a program name with args.
5068set dummy $ac_prog; ac_word=$2
5069{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5070$as_echo_n "checking for $ac_word... " >&6; }
5071if ${ac_cv_prog_LEX+:} false; then :
5072  $as_echo_n "(cached) " >&6
5073else
5074  if test -n "$LEX"; then
5075  ac_cv_prog_LEX="$LEX" # Let the user override the test.
5076else
5077as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5078for as_dir in $PATH
5079do
5080  IFS=$as_save_IFS
5081  test -z "$as_dir" && as_dir=.
5082    for ac_exec_ext in '' $ac_executable_extensions; do
5083  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5084    ac_cv_prog_LEX="$ac_prog"
5085    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5086    break 2
5087  fi
5088done
5089  done
5090IFS=$as_save_IFS
5091
5092fi
5093fi
5094LEX=$ac_cv_prog_LEX
5095if test -n "$LEX"; then
5096  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
5097$as_echo "$LEX" >&6; }
5098else
5099  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5100$as_echo "no" >&6; }
5101fi
5102
5103
5104  test -n "$LEX" && break
5105done
5106test -n "$LEX" || LEX=":"
5107
5108if test "x$LEX" != "x:"; then
5109  cat >conftest.l <<_ACEOF
5110%%
5111a { ECHO; }
5112b { REJECT; }
5113c { yymore (); }
5114d { yyless (1); }
5115e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
5116    yyless ((input () != 0)); }
5117f { unput (yytext[0]); }
5118. { BEGIN INITIAL; }
5119%%
5120#ifdef YYTEXT_POINTER
5121extern char *yytext;
5122#endif
5123int
5124main (void)
5125{
5126  return ! yylex () + ! yywrap ();
5127}
5128_ACEOF
5129{ { ac_try="$LEX conftest.l"
5130case "(($ac_try" in
5131  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5132  *) ac_try_echo=$ac_try;;
5133esac
5134eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5135$as_echo "$ac_try_echo"; } >&5
5136  (eval "$LEX conftest.l") 2>&5
5137  ac_status=$?
5138  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5139  test $ac_status = 0; }
5140{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
5141$as_echo_n "checking lex output file root... " >&6; }
5142if ${ac_cv_prog_lex_root+:} false; then :
5143  $as_echo_n "(cached) " >&6
5144else
5145
5146if test -f lex.yy.c; then
5147  ac_cv_prog_lex_root=lex.yy
5148elif test -f lexyy.c; then
5149  ac_cv_prog_lex_root=lexyy
5150else
5151  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
5152fi
5153fi
5154{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
5155$as_echo "$ac_cv_prog_lex_root" >&6; }
5156LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5157
5158if test -z "${LEXLIB+set}"; then
5159  { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
5160$as_echo_n "checking lex library... " >&6; }
5161if ${ac_cv_lib_lex+:} false; then :
5162  $as_echo_n "(cached) " >&6
5163else
5164
5165    ac_save_LIBS=$LIBS
5166    ac_cv_lib_lex='none needed'
5167    for ac_lib in '' -lfl -ll; do
5168      LIBS="$ac_lib $ac_save_LIBS"
5169      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5170/* end confdefs.h.  */
5171`cat $LEX_OUTPUT_ROOT.c`
5172_ACEOF
5173if ac_fn_c_try_link "$LINENO"; then :
5174  ac_cv_lib_lex=$ac_lib
5175fi
5176rm -f core conftest.err conftest.$ac_objext \
5177    conftest$ac_exeext conftest.$ac_ext
5178      test "$ac_cv_lib_lex" != 'none needed' && break
5179    done
5180    LIBS=$ac_save_LIBS
5181
5182fi
5183{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
5184$as_echo "$ac_cv_lib_lex" >&6; }
5185  test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
5186fi
5187
5188
5189{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
5190$as_echo_n "checking whether yytext is a pointer... " >&6; }
5191if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
5192  $as_echo_n "(cached) " >&6
5193else
5194  # POSIX says lex can declare yytext either as a pointer or an array; the
5195# default is implementation-dependent.  Figure out which it is, since
5196# not all implementations provide the %pointer and %array declarations.
5197ac_cv_prog_lex_yytext_pointer=no
5198ac_save_LIBS=$LIBS
5199LIBS="$LEXLIB $ac_save_LIBS"
5200cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5201/* end confdefs.h.  */
5202
5203  #define YYTEXT_POINTER 1
5204`cat $LEX_OUTPUT_ROOT.c`
5205_ACEOF
5206if ac_fn_c_try_link "$LINENO"; then :
5207  ac_cv_prog_lex_yytext_pointer=yes
5208fi
5209rm -f core conftest.err conftest.$ac_objext \
5210    conftest$ac_exeext conftest.$ac_ext
5211LIBS=$ac_save_LIBS
5212
5213fi
5214{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
5215$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
5216if test $ac_cv_prog_lex_yytext_pointer = yes; then
5217
5218$as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
5219
5220fi
5221rm -f conftest.l $LEX_OUTPUT_ROOT.c
5222
5223fi
5224if test "${LEX}" = "lex" ; then echo "Error: flex required." ; exit 1 ; fi
5225
5226{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5227$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5228set x ${MAKE-make}
5229ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5230if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
5231  $as_echo_n "(cached) " >&6
5232else
5233  cat >conftest.make <<\_ACEOF
5234SHELL = /bin/sh
5235all:
5236        @echo '@@@%%%=$(MAKE)=@@@%%%'
5237_ACEOF
5238# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5239case `${MAKE-make} -f conftest.make 2>/dev/null` in
5240  *@@@%%%=?*=@@@%%%*)
5241    eval ac_cv_prog_make_${ac_make}_set=yes;;
5242  *)
5243    eval ac_cv_prog_make_${ac_make}_set=no;;
5244esac
5245rm -f conftest.make
5246fi
5247if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5248  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5249$as_echo "yes" >&6; }
5250  SET_MAKE=
5251else
5252  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5253$as_echo "no" >&6; }
5254  SET_MAKE="MAKE=${MAKE-make}"
5255fi
5256
5257if test -n "$ac_tool_prefix"; then
5258  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5259set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5260{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5261$as_echo_n "checking for $ac_word... " >&6; }
5262if ${ac_cv_prog_RANLIB+:} false; then :
5263  $as_echo_n "(cached) " >&6
5264else
5265  if test -n "$RANLIB"; then
5266  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5267else
5268as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5269for as_dir in $PATH
5270do
5271  IFS=$as_save_IFS
5272  test -z "$as_dir" && as_dir=.
5273    for ac_exec_ext in '' $ac_executable_extensions; do
5274  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5275    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5276    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5277    break 2
5278  fi
5279done
5280  done
5281IFS=$as_save_IFS
5282
5283fi
5284fi
5285RANLIB=$ac_cv_prog_RANLIB
5286if test -n "$RANLIB"; then
5287  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5288$as_echo "$RANLIB" >&6; }
5289else
5290  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5291$as_echo "no" >&6; }
5292fi
5293
5294
5295fi
5296if test -z "$ac_cv_prog_RANLIB"; then
5297  ac_ct_RANLIB=$RANLIB
5298  # Extract the first word of "ranlib", so it can be a program name with args.
5299set dummy ranlib; ac_word=$2
5300{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5301$as_echo_n "checking for $ac_word... " >&6; }
5302if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5303  $as_echo_n "(cached) " >&6
5304else
5305  if test -n "$ac_ct_RANLIB"; then
5306  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5307else
5308as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5309for as_dir in $PATH
5310do
5311  IFS=$as_save_IFS
5312  test -z "$as_dir" && as_dir=.
5313    for ac_exec_ext in '' $ac_executable_extensions; do
5314  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5315    ac_cv_prog_ac_ct_RANLIB="ranlib"
5316    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5317    break 2
5318  fi
5319done
5320  done
5321IFS=$as_save_IFS
5322
5323fi
5324fi
5325ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5326if test -n "$ac_ct_RANLIB"; then
5327  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5328$as_echo "$ac_ct_RANLIB" >&6; }
5329else
5330  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5331$as_echo "no" >&6; }
5332fi
5333
5334  if test "x$ac_ct_RANLIB" = x; then
5335    RANLIB=":"
5336  else
5337    case $cross_compiling:$ac_tool_warned in
5338yes:)
5339{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5340$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5341ac_tool_warned=yes ;;
5342esac
5343    RANLIB=$ac_ct_RANLIB
5344  fi
5345else
5346  RANLIB="$ac_cv_prog_RANLIB"
5347fi
5348
5349
5350# Checks for libraries.
5351
5352# Checks for header files.
5353ac_ext=c
5354ac_cpp='$CPP $CPPFLAGS'
5355ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5356ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5357ac_compiler_gnu=$ac_cv_c_compiler_gnu
5358{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5359$as_echo_n "checking how to run the C preprocessor... " >&6; }
5360# On Suns, sometimes $CPP names a directory.
5361if test -n "$CPP" && test -d "$CPP"; then
5362  CPP=
5363fi
5364if test -z "$CPP"; then
5365  if ${ac_cv_prog_CPP+:} false; then :
5366  $as_echo_n "(cached) " >&6
5367else
5368      # Double quotes because CPP needs to be expanded
5369    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5370    do
5371      ac_preproc_ok=false
5372for ac_c_preproc_warn_flag in '' yes
5373do
5374  # Use a header file that comes with gcc, so configuring glibc
5375  # with a fresh cross-compiler works.
5376  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5377  # <limits.h> exists even on freestanding compilers.
5378  # On the NeXT, cc -E runs the code through the compiler's parser,
5379  # not just through cpp. "Syntax error" is here to catch this case.
5380  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5381/* end confdefs.h.  */
5382#ifdef __STDC__
5383# include <limits.h>
5384#else
5385# include <assert.h>
5386#endif
5387                     Syntax error
5388_ACEOF
5389if ac_fn_c_try_cpp "$LINENO"; then :
5390
5391else
5392  # Broken: fails on valid input.
5393continue
5394fi
5395rm -f conftest.err conftest.i conftest.$ac_ext
5396
5397  # OK, works on sane cases.  Now check whether nonexistent headers
5398  # can be detected and how.
5399  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5400/* end confdefs.h.  */
5401#include <ac_nonexistent.h>
5402_ACEOF
5403if ac_fn_c_try_cpp "$LINENO"; then :
5404  # Broken: success on invalid input.
5405continue
5406else
5407  # Passes both tests.
5408ac_preproc_ok=:
5409break
5410fi
5411rm -f conftest.err conftest.i conftest.$ac_ext
5412
5413done
5414# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5415rm -f conftest.i conftest.err conftest.$ac_ext
5416if $ac_preproc_ok; then :
5417  break
5418fi
5419
5420    done
5421    ac_cv_prog_CPP=$CPP
5422
5423fi
5424  CPP=$ac_cv_prog_CPP
5425else
5426  ac_cv_prog_CPP=$CPP
5427fi
5428{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5429$as_echo "$CPP" >&6; }
5430ac_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
5477else
5478  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5479$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5480as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5481See \`config.log' for more details" "$LINENO" 5; }
5482fi
5483
5484ac_ext=c
5485ac_cpp='$CPP $CPPFLAGS'
5486ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5487ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5488ac_compiler_gnu=$ac_cv_c_compiler_gnu
5489
5490
5491{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5492$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5493if ${ac_cv_path_GREP+:} false; then :
5494  $as_echo_n "(cached) " >&6
5495else
5496  if test -z "$GREP"; then
5497  ac_path_GREP_found=false
5498  # Loop through the user's path and test for each of PROGNAME-LIST
5499  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5500for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5501do
5502  IFS=$as_save_IFS
5503  test -z "$as_dir" && as_dir=.
5504    for ac_prog in grep ggrep; do
5505    for ac_exec_ext in '' $ac_executable_extensions; do
5506      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5507      as_fn_executable_p "$ac_path_GREP" || continue
5508# Check for GNU ac_path_GREP and select it if it is found.
5509  # Check for GNU $ac_path_GREP
5510case `"$ac_path_GREP" --version 2>&1` in
5511*GNU*)
5512  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5513*)
5514  ac_count=0
5515  $as_echo_n 0123456789 >"conftest.in"
5516  while :
5517  do
5518    cat "conftest.in" "conftest.in" >"conftest.tmp"
5519    mv "conftest.tmp" "conftest.in"
5520    cp "conftest.in" "conftest.nl"
5521    $as_echo 'GREP' >> "conftest.nl"
5522    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5523    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5524    as_fn_arith $ac_count + 1 && ac_count=$as_val
5525    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5526      # Best one so far, save it but keep looking for a better one
5527      ac_cv_path_GREP="$ac_path_GREP"
5528      ac_path_GREP_max=$ac_count
5529    fi
5530    # 10*(2^10) chars as input seems more than enough
5531    test $ac_count -gt 10 && break
5532  done
5533  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5534esac
5535
5536      $ac_path_GREP_found && break 3
5537    done
5538  done
5539  done
5540IFS=$as_save_IFS
5541  if test -z "$ac_cv_path_GREP"; then
5542    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5543  fi
5544else
5545  ac_cv_path_GREP=$GREP
5546fi
5547
5548fi
5549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5550$as_echo "$ac_cv_path_GREP" >&6; }
5551 GREP="$ac_cv_path_GREP"
5552
5553
5554{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5555$as_echo_n "checking for egrep... " >&6; }
5556if ${ac_cv_path_EGREP+:} false; then :
5557  $as_echo_n "(cached) " >&6
5558else
5559  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5560   then ac_cv_path_EGREP="$GREP -E"
5561   else
5562     if test -z "$EGREP"; then
5563  ac_path_EGREP_found=false
5564  # Loop through the user's path and test for each of PROGNAME-LIST
5565  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5566for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5567do
5568  IFS=$as_save_IFS
5569  test -z "$as_dir" && as_dir=.
5570    for ac_prog in egrep; do
5571    for ac_exec_ext in '' $ac_executable_extensions; do
5572      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5573      as_fn_executable_p "$ac_path_EGREP" || continue
5574# Check for GNU ac_path_EGREP and select it if it is found.
5575  # Check for GNU $ac_path_EGREP
5576case `"$ac_path_EGREP" --version 2>&1` in
5577*GNU*)
5578  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5579*)
5580  ac_count=0
5581  $as_echo_n 0123456789 >"conftest.in"
5582  while :
5583  do
5584    cat "conftest.in" "conftest.in" >"conftest.tmp"
5585    mv "conftest.tmp" "conftest.in"
5586    cp "conftest.in" "conftest.nl"
5587    $as_echo 'EGREP' >> "conftest.nl"
5588    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5589    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5590    as_fn_arith $ac_count + 1 && ac_count=$as_val
5591    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5592      # Best one so far, save it but keep looking for a better one
5593      ac_cv_path_EGREP="$ac_path_EGREP"
5594      ac_path_EGREP_max=$ac_count
5595    fi
5596    # 10*(2^10) chars as input seems more than enough
5597    test $ac_count -gt 10 && break
5598  done
5599  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5600esac
5601
5602      $ac_path_EGREP_found && break 3
5603    done
5604  done
5605  done
5606IFS=$as_save_IFS
5607  if test -z "$ac_cv_path_EGREP"; then
5608    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5609  fi
5610else
5611  ac_cv_path_EGREP=$EGREP
5612fi
5613
5614   fi
5615fi
5616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5617$as_echo "$ac_cv_path_EGREP" >&6; }
5618 EGREP="$ac_cv_path_EGREP"
5619
5620
5621{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5622$as_echo_n "checking for ANSI C header files... " >&6; }
5623if ${ac_cv_header_stdc+:} false; then :
5624  $as_echo_n "(cached) " >&6
5625else
5626  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5627/* end confdefs.h.  */
5628#include <stdlib.h>
5629#include <stdarg.h>
5630#include <string.h>
5631#include <float.h>
5632
5633int
5634main ()
5635{
5636
5637  ;
5638  return 0;
5639}
5640_ACEOF
5641if ac_fn_c_try_compile "$LINENO"; then :
5642  ac_cv_header_stdc=yes
5643else
5644  ac_cv_header_stdc=no
5645fi
5646rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5647
5648if test $ac_cv_header_stdc = yes; then
5649  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5650  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5651/* end confdefs.h.  */
5652#include <string.h>
5653
5654_ACEOF
5655if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5656  $EGREP "memchr" >/dev/null 2>&1; then :
5657
5658else
5659  ac_cv_header_stdc=no
5660fi
5661rm -f conftest*
5662
5663fi
5664
5665if test $ac_cv_header_stdc = yes; then
5666  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5667  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5668/* end confdefs.h.  */
5669#include <stdlib.h>
5670
5671_ACEOF
5672if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5673  $EGREP "free" >/dev/null 2>&1; then :
5674
5675else
5676  ac_cv_header_stdc=no
5677fi
5678rm -f conftest*
5679
5680fi
5681
5682if test $ac_cv_header_stdc = yes; then
5683  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5684  if test "$cross_compiling" = yes; then :
5685  :
5686else
5687  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5688/* end confdefs.h.  */
5689#include <ctype.h>
5690#include <stdlib.h>
5691#if ((' ' & 0x0FF) == 0x020)
5692# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5693# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5694#else
5695# define ISLOWER(c) \
5696                   (('a' <= (c) && (c) <= 'i') \
5697                     || ('j' <= (c) && (c) <= 'r') \
5698                     || ('s' <= (c) && (c) <= 'z'))
5699# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5700#endif
5701
5702#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5703int
5704main ()
5705{
5706  int i;
5707  for (i = 0; i < 256; i++)
5708    if (XOR (islower (i), ISLOWER (i))
5709        || toupper (i) != TOUPPER (i))
5710      return 2;
5711  return 0;
5712}
5713_ACEOF
5714if ac_fn_c_try_run "$LINENO"; then :
5715
5716else
5717  ac_cv_header_stdc=no
5718fi
5719rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5720  conftest.$ac_objext conftest.beam conftest.$ac_ext
5721fi
5722
5723fi
5724fi
5725{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5726$as_echo "$ac_cv_header_stdc" >&6; }
5727if test $ac_cv_header_stdc = yes; then
5728
5729$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5730
5731fi
5732
5733# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5734for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5735                  inttypes.h stdint.h unistd.h
5736do :
5737  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5738ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5739"
5740if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5741  cat >>confdefs.h <<_ACEOF
5742#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5743_ACEOF
5744
5745fi
5746
5747done
5748
5749
5750ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5751if test "x$ac_cv_type_size_t" = xyes; then :
5752
5753else
5754
5755cat >>confdefs.h <<_ACEOF
5756#define size_t unsigned int
5757_ACEOF
5758
5759fi
5760
5761# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5762# for constant arguments.  Useless!
5763{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
5764$as_echo_n "checking for working alloca.h... " >&6; }
5765if ${ac_cv_working_alloca_h+:} false; then :
5766  $as_echo_n "(cached) " >&6
5767else
5768  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5769/* end confdefs.h.  */
5770#include <alloca.h>
5771int
5772main ()
5773{
5774char *p = (char *) alloca (2 * sizeof (int));
5775                          if (p) return 0;
5776  ;
5777  return 0;
5778}
5779_ACEOF
5780if ac_fn_c_try_link "$LINENO"; then :
5781  ac_cv_working_alloca_h=yes
5782else
5783  ac_cv_working_alloca_h=no
5784fi
5785rm -f core conftest.err conftest.$ac_objext \
5786    conftest$ac_exeext conftest.$ac_ext
5787fi
5788{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
5789$as_echo "$ac_cv_working_alloca_h" >&6; }
5790if test $ac_cv_working_alloca_h = yes; then
5791
5792$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
5793
5794fi
5795
5796{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
5797$as_echo_n "checking for alloca... " >&6; }
5798if ${ac_cv_func_alloca_works+:} false; then :
5799  $as_echo_n "(cached) " >&6
5800else
5801  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5802/* end confdefs.h.  */
5803#ifdef __GNUC__
5804# define alloca __builtin_alloca
5805#else
5806# ifdef _MSC_VER
5807#  include <malloc.h>
5808#  define alloca _alloca
5809# else
5810#  ifdef HAVE_ALLOCA_H
5811#   include <alloca.h>
5812#  else
5813#   ifdef _AIX
5814 #pragma alloca
5815#   else
5816#    ifndef alloca /* predefined by HP cc +Olibcalls */
5817void *alloca (size_t);
5818#    endif
5819#   endif
5820#  endif
5821# endif
5822#endif
5823
5824int
5825main ()
5826{
5827char *p = (char *) alloca (1);
5828                                    if (p) return 0;
5829  ;
5830  return 0;
5831}
5832_ACEOF
5833if ac_fn_c_try_link "$LINENO"; then :
5834  ac_cv_func_alloca_works=yes
5835else
5836  ac_cv_func_alloca_works=no
5837fi
5838rm -f core conftest.err conftest.$ac_objext \
5839    conftest$ac_exeext conftest.$ac_ext
5840fi
5841{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
5842$as_echo "$ac_cv_func_alloca_works" >&6; }
5843
5844if test $ac_cv_func_alloca_works = yes; then
5845
5846$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
5847
5848else
5849  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5850# that cause trouble.  Some versions do not even contain alloca or
5851# contain a buggy version.  If you still want to use their alloca,
5852# use ar to extract alloca.o from them instead of compiling alloca.c.
5853
5854ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
5855
5856$as_echo "#define C_ALLOCA 1" >>confdefs.h
5857
5858
5859{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
5860$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
5861if ${ac_cv_os_cray+:} false; then :
5862  $as_echo_n "(cached) " >&6
5863else
5864  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5865/* end confdefs.h.  */
5866#if defined CRAY && ! defined CRAY2
5867webecray
5868#else
5869wenotbecray
5870#endif
5871
5872_ACEOF
5873if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5874  $EGREP "webecray" >/dev/null 2>&1; then :
5875  ac_cv_os_cray=yes
5876else
5877  ac_cv_os_cray=no
5878fi
5879rm -f conftest*
5880
5881fi
5882{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
5883$as_echo "$ac_cv_os_cray" >&6; }
5884if test $ac_cv_os_cray = yes; then
5885  for ac_func in _getb67 GETB67 getb67; do
5886    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5887ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5888if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5889
5890cat >>confdefs.h <<_ACEOF
5891#define CRAY_STACKSEG_END $ac_func
5892_ACEOF
5893
5894    break
5895fi
5896
5897  done
5898fi
5899
5900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
5901$as_echo_n "checking stack direction for C alloca... " >&6; }
5902if ${ac_cv_c_stack_direction+:} false; then :
5903  $as_echo_n "(cached) " >&6
5904else
5905  if test "$cross_compiling" = yes; then :
5906  ac_cv_c_stack_direction=0
5907else
5908  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5909/* end confdefs.h.  */
5910$ac_includes_default
5911int
5912find_stack_direction (int *addr, int depth)
5913{
5914  int dir, dummy = 0;
5915  if (! addr)
5916    addr = &dummy;
5917  *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
5918  dir = depth ? find_stack_direction (addr, depth - 1) : 0;
5919  return dir + dummy;
5920}
5921
5922int
5923main (int argc, char **argv)
5924{
5925  return find_stack_direction (0, argc + !argv + 20) < 0;
5926}
5927_ACEOF
5928if ac_fn_c_try_run "$LINENO"; then :
5929  ac_cv_c_stack_direction=1
5930else
5931  ac_cv_c_stack_direction=-1
5932fi
5933rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5934  conftest.$ac_objext conftest.beam conftest.$ac_ext
5935fi
5936
5937fi
5938{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
5939$as_echo "$ac_cv_c_stack_direction" >&6; }
5940cat >>confdefs.h <<_ACEOF
5941#define STACK_DIRECTION $ac_cv_c_stack_direction
5942_ACEOF
5943
5944
5945fi
5946
5947for ac_header in fenv.h float.h inttypes.h libintl.h limits.h malloc.h stddef.h stdlib.h string.h unistd.h
5948do :
5949  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5950ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5951if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5952  cat >>confdefs.h <<_ACEOF
5953#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5954_ACEOF
5955
5956fi
5957
5958done
5959
5960
5961# Checks for typedefs, structures, and compiler characteristics.
5962{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
5963$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
5964if ${ac_cv_header_stdbool_h+:} false; then :
5965  $as_echo_n "(cached) " >&6
5966else
5967  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5968/* end confdefs.h.  */
5969
5970             #include <stdbool.h>
5971             #ifndef bool
5972              "error: bool is not defined"
5973             #endif
5974             #ifndef false
5975              "error: false is not defined"
5976             #endif
5977             #if false
5978              "error: false is not 0"
5979             #endif
5980             #ifndef true
5981              "error: true is not defined"
5982             #endif
5983             #if true != 1
5984              "error: true is not 1"
5985             #endif
5986             #ifndef __bool_true_false_are_defined
5987              "error: __bool_true_false_are_defined is not defined"
5988             #endif
5989
5990             struct s { _Bool s: 1; _Bool t; } s;
5991
5992             char a[true == 1 ? 1 : -1];
5993             char b[false == 0 ? 1 : -1];
5994             char c[__bool_true_false_are_defined == 1 ? 1 : -1];
5995             char d[(bool) 0.5 == true ? 1 : -1];
5996             /* See body of main program for 'e'.  */
5997             char f[(_Bool) 0.0 == false ? 1 : -1];
5998             char g[true];
5999             char h[sizeof (_Bool)];
6000             char i[sizeof s.t];
6001             enum { j = false, k = true, l = false * true, m = true * 256 };
6002             /* The following fails for
6003                HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
6004             _Bool n[m];
6005             char o[sizeof n == m * sizeof n[0] ? 1 : -1];
6006             char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
6007             /* Catch a bug in an HP-UX C compiler.  See
6008                http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
6009                http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
6010              */
6011             _Bool q = true;
6012             _Bool *pq = &q;
6013
6014int
6015main ()
6016{
6017
6018             bool e = &s;
6019             *pq |= q;
6020             *pq |= ! q;
6021             /* Refer to every declared value, to avoid compiler optimizations.  */
6022             return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
6023                     + !m + !n + !o + !p + !q + !pq);
6024
6025  ;
6026  return 0;
6027}
6028_ACEOF
6029if ac_fn_c_try_compile "$LINENO"; then :
6030  ac_cv_header_stdbool_h=yes
6031else
6032  ac_cv_header_stdbool_h=no
6033fi
6034rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6035fi
6036{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
6037$as_echo "$ac_cv_header_stdbool_h" >&6; }
6038   ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
6039if test "x$ac_cv_type__Bool" = xyes; then :
6040
6041cat >>confdefs.h <<_ACEOF
6042#define HAVE__BOOL 1
6043_ACEOF
6044
6045
6046fi
6047
6048
6049if test $ac_cv_header_stdbool_h = yes; then
6050
6051$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
6052
6053fi
6054
6055{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
6056$as_echo_n "checking for inline... " >&6; }
6057if ${ac_cv_c_inline+:} false; then :
6058  $as_echo_n "(cached) " >&6
6059else
6060  ac_cv_c_inline=no
6061for ac_kw in inline __inline__ __inline; do
6062  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6063/* end confdefs.h.  */
6064#ifndef __cplusplus
6065typedef int foo_t;
6066static $ac_kw foo_t static_foo () {return 0; }
6067$ac_kw foo_t foo () {return 0; }
6068#endif
6069
6070_ACEOF
6071if ac_fn_c_try_compile "$LINENO"; then :
6072  ac_cv_c_inline=$ac_kw
6073fi
6074rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6075  test "$ac_cv_c_inline" != no && break
6076done
6077
6078fi
6079{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
6080$as_echo "$ac_cv_c_inline" >&6; }
6081
6082case $ac_cv_c_inline in
6083  inline | yes) ;;
6084  *)
6085    case $ac_cv_c_inline in
6086      no) ac_val=;;
6087      *) ac_val=$ac_cv_c_inline;;
6088    esac
6089    cat >>confdefs.h <<_ACEOF
6090#ifndef __cplusplus
6091#define inline $ac_val
6092#endif
6093_ACEOF
6094    ;;
6095esac
6096
6097ac_fn_c_find_intX_t "$LINENO" "16" "ac_cv_c_int16_t"
6098case $ac_cv_c_int16_t in #(
6099  no|yes) ;; #(
6100  *)
6101
6102cat >>confdefs.h <<_ACEOF
6103#define int16_t $ac_cv_c_int16_t
6104_ACEOF
6105;;
6106esac
6107
6108ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t"
6109case $ac_cv_c_int32_t in #(
6110  no|yes) ;; #(
6111  *)
6112
6113cat >>confdefs.h <<_ACEOF
6114#define int32_t $ac_cv_c_int32_t
6115_ACEOF
6116;;
6117esac
6118
6119ac_fn_c_find_intX_t "$LINENO" "8" "ac_cv_c_int8_t"
6120case $ac_cv_c_int8_t in #(
6121  no|yes) ;; #(
6122  *)
6123
6124cat >>confdefs.h <<_ACEOF
6125#define int8_t $ac_cv_c_int8_t
6126_ACEOF
6127;;
6128esac
6129
6130{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
6131$as_echo_n "checking for C/C++ restrict keyword... " >&6; }
6132if ${ac_cv_c_restrict+:} false; then :
6133  $as_echo_n "(cached) " >&6
6134else
6135  ac_cv_c_restrict=no
6136   # The order here caters to the fact that C++ does not require restrict.
6137   for ac_kw in __restrict __restrict__ _Restrict restrict; do
6138     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6139/* end confdefs.h.  */
6140typedef int * int_ptr;
6141        int foo (int_ptr $ac_kw ip) {
6142        return ip[0];
6143       }
6144int
6145main ()
6146{
6147int s[1];
6148        int * $ac_kw t = s;
6149        t[0] = 0;
6150        return foo(t)
6151  ;
6152  return 0;
6153}
6154_ACEOF
6155if ac_fn_c_try_compile "$LINENO"; then :
6156  ac_cv_c_restrict=$ac_kw
6157fi
6158rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6159     test "$ac_cv_c_restrict" != no && break
6160   done
6161
6162fi
6163{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
6164$as_echo "$ac_cv_c_restrict" >&6; }
6165
6166 case $ac_cv_c_restrict in
6167   restrict) ;;
6168   no) $as_echo "#define restrict /**/" >>confdefs.h
6169 ;;
6170   *)  cat >>confdefs.h <<_ACEOF
6171#define restrict $ac_cv_c_restrict
6172_ACEOF
6173 ;;
6174 esac
6175
6176ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6177if test "x$ac_cv_type_size_t" = xyes; then :
6178
6179else
6180
6181cat >>confdefs.h <<_ACEOF
6182#define size_t unsigned int
6183_ACEOF
6184
6185fi
6186
6187ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
6188case $ac_cv_c_uint16_t in #(
6189  no|yes) ;; #(
6190  *)
6191
6192
6193cat >>confdefs.h <<_ACEOF
6194#define uint16_t $ac_cv_c_uint16_t
6195_ACEOF
6196;;
6197  esac
6198
6199ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
6200case $ac_cv_c_uint32_t in #(
6201  no|yes) ;; #(
6202  *)
6203
6204$as_echo "#define _UINT32_T 1" >>confdefs.h
6205
6206
6207cat >>confdefs.h <<_ACEOF
6208#define uint32_t $ac_cv_c_uint32_t
6209_ACEOF
6210;;
6211  esac
6212
6213ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
6214case $ac_cv_c_uint8_t in #(
6215  no|yes) ;; #(
6216  *)
6217
6218$as_echo "#define _UINT8_T 1" >>confdefs.h
6219
6220
6221cat >>confdefs.h <<_ACEOF
6222#define uint8_t $ac_cv_c_uint8_t
6223_ACEOF
6224;;
6225  esac
6226
6227
6228# Checks for library functions.
6229for ac_func in memset putenv strchr strtol
6230do :
6231  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6232ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6233if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
6234  cat >>confdefs.h <<_ACEOF
6235#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6236_ACEOF
6237
6238fi
6239done
6240
6241
6242#==============================================================================
6243ac_config_files="$ac_config_files Makefile driver/Makefile src/Makefile benchmark/Makefile tests/Makefile tests/preempt_longrun/Makefile tools/Makefile tools/prettyprinter/Makefile"
6244
6245
6246ac_config_links="$ac_config_links tests/test.py:tests/test.py"
6247
6248
6249ac_config_files="$ac_config_files tests/config.py"
6250
6251cat >confcache <<\_ACEOF
6252# This file is a shell script that caches the results of configure
6253# tests run on this system so they can be shared between configure
6254# scripts and configure runs, see configure's option --config-cache.
6255# It is not useful on other systems.  If it contains results you don't
6256# want to keep, you may remove or edit it.
6257#
6258# config.status only pays attention to the cache file if you give it
6259# the --recheck option to rerun configure.
6260#
6261# `ac_cv_env_foo' variables (set or unset) will be overridden when
6262# loading this file, other *unset* `ac_cv_foo' will be assigned the
6263# following values.
6264
6265_ACEOF
6266
6267# The following way of writing the cache mishandles newlines in values,
6268# but we know of no workaround that is simple, portable, and efficient.
6269# So, we kill variables containing newlines.
6270# Ultrix sh set writes to stderr and can't be redirected directly,
6271# and sets the high bit in the cache file unless we assign to the vars.
6272(
6273  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6274    eval ac_val=\$$ac_var
6275    case $ac_val in #(
6276    *${as_nl}*)
6277      case $ac_var in #(
6278      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6279$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6280      esac
6281      case $ac_var in #(
6282      _ | IFS | as_nl) ;; #(
6283      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6284      *) { eval $ac_var=; unset $ac_var;} ;;
6285      esac ;;
6286    esac
6287  done
6288
6289  (set) 2>&1 |
6290    case $as_nl`(ac_space=' '; set) 2>&1` in #(
6291    *${as_nl}ac_space=\ *)
6292      # `set' does not quote correctly, so add quotes: double-quote
6293      # substitution turns \\\\ into \\, and sed turns \\ into \.
6294      sed -n \
6295        "s/'/'\\\\''/g;
6296          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6297      ;; #(
6298    *)
6299      # `set' quotes correctly as required by POSIX, so do not add quotes.
6300      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6301      ;;
6302    esac |
6303    sort
6304) |
6305  sed '
6306     /^ac_cv_env_/b end
6307     t clear
6308     :clear
6309     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6310     t end
6311     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6312     :end' >>confcache
6313if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6314  if test -w "$cache_file"; then
6315    if test "x$cache_file" != "x/dev/null"; then
6316      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6317$as_echo "$as_me: updating cache $cache_file" >&6;}
6318      if test ! -f "$cache_file" || test -h "$cache_file"; then
6319        cat confcache >"$cache_file"
6320      else
6321        case $cache_file in #(
6322        */* | ?:*)
6323          mv -f confcache "$cache_file"$$ &&
6324          mv -f "$cache_file"$$ "$cache_file" ;; #(
6325        *)
6326          mv -f confcache "$cache_file" ;;
6327        esac
6328      fi
6329    fi
6330  else
6331    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6332$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6333  fi
6334fi
6335rm -f confcache
6336
6337test "x$prefix" = xNONE && prefix=$ac_default_prefix
6338# Let make expand exec_prefix.
6339test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6340
6341DEFS=-DHAVE_CONFIG_H
6342
6343ac_libobjs=
6344ac_ltlibobjs=
6345U=
6346for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6347  # 1. Remove the extension, and $U if already installed.
6348  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6349  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6350  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
6351  #    will be set to the directory where LIBOBJS objects are built.
6352  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6353  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6354done
6355LIBOBJS=$ac_libobjs
6356
6357LTLIBOBJS=$ac_ltlibobjs
6358
6359
6360{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
6361$as_echo_n "checking that generated files are newer than configure... " >&6; }
6362   if test -n "$am_sleep_pid"; then
6363     # Hide warnings about reused PIDs.
6364     wait $am_sleep_pid 2>/dev/null
6365   fi
6366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
6367$as_echo "done" >&6; }
6368 if test -n "$EXEEXT"; then
6369  am__EXEEXT_TRUE=
6370  am__EXEEXT_FALSE='#'
6371else
6372  am__EXEEXT_TRUE='#'
6373  am__EXEEXT_FALSE=
6374fi
6375
6376if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6377  as_fn_error $? "conditional \"AMDEP\" was never defined.
6378Usually this means the macro was only invoked conditionally." "$LINENO" 5
6379fi
6380if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
6381  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
6382Usually this means the macro was only invoked conditionally." "$LINENO" 5
6383fi
6384if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6385  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6386Usually this means the macro was only invoked conditionally." "$LINENO" 5
6387fi
6388if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
6389  as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
6390Usually this means the macro was only invoked conditionally." "$LINENO" 5
6391fi
6392
6393: "${CONFIG_STATUS=./config.status}"
6394ac_write_fail=0
6395ac_clean_files_save=$ac_clean_files
6396ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6397{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6398$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6399as_write_fail=0
6400cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6401#! $SHELL
6402# Generated by $as_me.
6403# Run this file to recreate the current configuration.
6404# Compiler output produced by configure, useful for debugging
6405# configure, is in config.log if it exists.
6406
6407debug=false
6408ac_cs_recheck=false
6409ac_cs_silent=false
6410
6411SHELL=\${CONFIG_SHELL-$SHELL}
6412export SHELL
6413_ASEOF
6414cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6415## -------------------- ##
6416## M4sh Initialization. ##
6417## -------------------- ##
6418
6419# Be more Bourne compatible
6420DUALCASE=1; export DUALCASE # for MKS sh
6421if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6422  emulate sh
6423  NULLCMD=:
6424  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6425  # is contrary to our usage.  Disable this feature.
6426  alias -g '${1+"$@"}'='"$@"'
6427  setopt NO_GLOB_SUBST
6428else
6429  case `(set -o) 2>/dev/null` in #(
6430  *posix*) :
6431    set -o posix ;; #(
6432  *) :
6433     ;;
6434esac
6435fi
6436
6437
6438as_nl='
6439'
6440export as_nl
6441# Printing a long string crashes Solaris 7 /usr/bin/printf.
6442as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6443as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6444as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6445# Prefer a ksh shell builtin over an external printf program on Solaris,
6446# but without wasting forks for bash or zsh.
6447if test -z "$BASH_VERSION$ZSH_VERSION" \
6448    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6449  as_echo='print -r --'
6450  as_echo_n='print -rn --'
6451elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6452  as_echo='printf %s\n'
6453  as_echo_n='printf %s'
6454else
6455  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6456    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6457    as_echo_n='/usr/ucb/echo -n'
6458  else
6459    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6460    as_echo_n_body='eval
6461      arg=$1;
6462      case $arg in #(
6463      *"$as_nl"*)
6464        expr "X$arg" : "X\\(.*\\)$as_nl";
6465        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6466      esac;
6467      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6468    '
6469    export as_echo_n_body
6470    as_echo_n='sh -c $as_echo_n_body as_echo'
6471  fi
6472  export as_echo_body
6473  as_echo='sh -c $as_echo_body as_echo'
6474fi
6475
6476# The user is always right.
6477if test "${PATH_SEPARATOR+set}" != set; then
6478  PATH_SEPARATOR=:
6479  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6480    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6481      PATH_SEPARATOR=';'
6482  }
6483fi
6484
6485
6486# IFS
6487# We need space, tab and new line, in precisely that order.  Quoting is
6488# there to prevent editors from complaining about space-tab.
6489# (If _AS_PATH_WALK were called with IFS unset, it would disable word
6490# splitting by setting IFS to empty value.)
6491IFS=" ""        $as_nl"
6492
6493# Find who we are.  Look in the path if we contain no directory separator.
6494as_myself=
6495case $0 in #((
6496  *[\\/]* ) as_myself=$0 ;;
6497  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6498for as_dir in $PATH
6499do
6500  IFS=$as_save_IFS
6501  test -z "$as_dir" && as_dir=.
6502    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6503  done
6504IFS=$as_save_IFS
6505
6506     ;;
6507esac
6508# We did not find ourselves, most probably we were run as `sh COMMAND'
6509# in which case we are not to be found in the path.
6510if test "x$as_myself" = x; then
6511  as_myself=$0
6512fi
6513if test ! -f "$as_myself"; then
6514  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6515  exit 1
6516fi
6517
6518# Unset variables that we do not need and which cause bugs (e.g. in
6519# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
6520# suppresses any "Segmentation fault" message there.  '((' could
6521# trigger a bug in pdksh 5.2.14.
6522for as_var in BASH_ENV ENV MAIL MAILPATH
6523do eval test x\${$as_var+set} = xset \
6524  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6525done
6526PS1='$ '
6527PS2='> '
6528PS4='+ '
6529
6530# NLS nuisances.
6531LC_ALL=C
6532export LC_ALL
6533LANGUAGE=C
6534export LANGUAGE
6535
6536# CDPATH.
6537(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6538
6539
6540# as_fn_error STATUS ERROR [LINENO LOG_FD]
6541# ----------------------------------------
6542# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6543# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6544# script with STATUS, using 1 if that was 0.
6545as_fn_error ()
6546{
6547  as_status=$1; test $as_status -eq 0 && as_status=1
6548  if test "$4"; then
6549    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6550    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6551  fi
6552  $as_echo "$as_me: error: $2" >&2
6553  as_fn_exit $as_status
6554} # as_fn_error
6555
6556
6557# as_fn_set_status STATUS
6558# -----------------------
6559# Set $? to STATUS, without forking.
6560as_fn_set_status ()
6561{
6562  return $1
6563} # as_fn_set_status
6564
6565# as_fn_exit STATUS
6566# -----------------
6567# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6568as_fn_exit ()
6569{
6570  set +e
6571  as_fn_set_status $1
6572  exit $1
6573} # as_fn_exit
6574
6575# as_fn_unset VAR
6576# ---------------
6577# Portably unset VAR.
6578as_fn_unset ()
6579{
6580  { eval $1=; unset $1;}
6581}
6582as_unset=as_fn_unset
6583# as_fn_append VAR VALUE
6584# ----------------------
6585# Append the text in VALUE to the end of the definition contained in VAR. Take
6586# advantage of any shell optimizations that allow amortized linear growth over
6587# repeated appends, instead of the typical quadratic growth present in naive
6588# implementations.
6589if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6590  eval 'as_fn_append ()
6591  {
6592    eval $1+=\$2
6593  }'
6594else
6595  as_fn_append ()
6596  {
6597    eval $1=\$$1\$2
6598  }
6599fi # as_fn_append
6600
6601# as_fn_arith ARG...
6602# ------------------
6603# Perform arithmetic evaluation on the ARGs, and store the result in the
6604# global $as_val. Take advantage of shells that can avoid forks. The arguments
6605# must be portable across $(()) and expr.
6606if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6607  eval 'as_fn_arith ()
6608  {
6609    as_val=$(( $* ))
6610  }'
6611else
6612  as_fn_arith ()
6613  {
6614    as_val=`expr "$@" || test $? -eq 1`
6615  }
6616fi # as_fn_arith
6617
6618
6619if expr a : '\(a\)' >/dev/null 2>&1 &&
6620   test "X`expr 00001 : '.*\(...\)'`" = X001; then
6621  as_expr=expr
6622else
6623  as_expr=false
6624fi
6625
6626if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6627  as_basename=basename
6628else
6629  as_basename=false
6630fi
6631
6632if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6633  as_dirname=dirname
6634else
6635  as_dirname=false
6636fi
6637
6638as_me=`$as_basename -- "$0" ||
6639$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6640         X"$0" : 'X\(//\)$' \| \
6641         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6642$as_echo X/"$0" |
6643    sed '/^.*\/\([^/][^/]*\)\/*$/{
6644            s//\1/
6645            q
6646          }
6647          /^X\/\(\/\/\)$/{
6648            s//\1/
6649            q
6650          }
6651          /^X\/\(\/\).*/{
6652            s//\1/
6653            q
6654          }
6655          s/.*/./; q'`
6656
6657# Avoid depending upon Character Ranges.
6658as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6659as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6660as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6661as_cr_digits='0123456789'
6662as_cr_alnum=$as_cr_Letters$as_cr_digits
6663
6664ECHO_C= ECHO_N= ECHO_T=
6665case `echo -n x` in #(((((
6666-n*)
6667  case `echo 'xy\c'` in
6668  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
6669  xy)  ECHO_C='\c';;
6670  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
6671       ECHO_T=' ';;
6672  esac;;
6673*)
6674  ECHO_N='-n';;
6675esac
6676
6677rm -f conf$$ conf$$.exe conf$$.file
6678if test -d conf$$.dir; then
6679  rm -f conf$$.dir/conf$$.file
6680else
6681  rm -f conf$$.dir
6682  mkdir conf$$.dir 2>/dev/null
6683fi
6684if (echo >conf$$.file) 2>/dev/null; then
6685  if ln -s conf$$.file conf$$ 2>/dev/null; then
6686    as_ln_s='ln -s'
6687    # ... but there are two gotchas:
6688    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6689    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6690    # In both cases, we have to default to `cp -pR'.
6691    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6692      as_ln_s='cp -pR'
6693  elif ln conf$$.file conf$$ 2>/dev/null; then
6694    as_ln_s=ln
6695  else
6696    as_ln_s='cp -pR'
6697  fi
6698else
6699  as_ln_s='cp -pR'
6700fi
6701rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6702rmdir conf$$.dir 2>/dev/null
6703
6704
6705# as_fn_mkdir_p
6706# -------------
6707# Create "$as_dir" as a directory, including parents if necessary.
6708as_fn_mkdir_p ()
6709{
6710
6711  case $as_dir in #(
6712  -*) as_dir=./$as_dir;;
6713  esac
6714  test -d "$as_dir" || eval $as_mkdir_p || {
6715    as_dirs=
6716    while :; do
6717      case $as_dir in #(
6718      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6719      *) as_qdir=$as_dir;;
6720      esac
6721      as_dirs="'$as_qdir' $as_dirs"
6722      as_dir=`$as_dirname -- "$as_dir" ||
6723$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6724         X"$as_dir" : 'X\(//\)[^/]' \| \
6725         X"$as_dir" : 'X\(//\)$' \| \
6726         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6727$as_echo X"$as_dir" |
6728    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6729            s//\1/
6730            q
6731          }
6732          /^X\(\/\/\)[^/].*/{
6733            s//\1/
6734            q
6735          }
6736          /^X\(\/\/\)$/{
6737            s//\1/
6738            q
6739          }
6740          /^X\(\/\).*/{
6741            s//\1/
6742            q
6743          }
6744          s/.*/./; q'`
6745      test -d "$as_dir" && break
6746    done
6747    test -z "$as_dirs" || eval "mkdir $as_dirs"
6748  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6749
6750
6751} # as_fn_mkdir_p
6752if mkdir -p . 2>/dev/null; then
6753  as_mkdir_p='mkdir -p "$as_dir"'
6754else
6755  test -d ./-p && rmdir ./-p
6756  as_mkdir_p=false
6757fi
6758
6759
6760# as_fn_executable_p FILE
6761# -----------------------
6762# Test if FILE is an executable regular file.
6763as_fn_executable_p ()
6764{
6765  test -f "$1" && test -x "$1"
6766} # as_fn_executable_p
6767as_test_x='test -x'
6768as_executable_p=as_fn_executable_p
6769
6770# Sed expression to map a string onto a valid CPP name.
6771as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6772
6773# Sed expression to map a string onto a valid variable name.
6774as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6775
6776
6777exec 6>&1
6778## ----------------------------------- ##
6779## Main body of $CONFIG_STATUS script. ##
6780## ----------------------------------- ##
6781_ASEOF
6782test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6783
6784cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6785# Save the log message, to keep $0 and so on meaningful, and to
6786# report actual input values of CONFIG_FILES etc. instead of their
6787# values after options handling.
6788ac_log="
6789This file was extended by cfa-cc $as_me 1.0.0.0, which was
6790generated by GNU Autoconf 2.69.  Invocation command line was
6791
6792  CONFIG_FILES    = $CONFIG_FILES
6793  CONFIG_HEADERS  = $CONFIG_HEADERS
6794  CONFIG_LINKS    = $CONFIG_LINKS
6795  CONFIG_COMMANDS = $CONFIG_COMMANDS
6796  $ $0 $@
6797
6798on `(hostname || uname -n) 2>/dev/null | sed 1q`
6799"
6800
6801_ACEOF
6802
6803case $ac_config_files in *"
6804"*) set x $ac_config_files; shift; ac_config_files=$*;;
6805esac
6806
6807case $ac_config_headers in *"
6808"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6809esac
6810
6811
6812cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6813# Files that config.status was made for.
6814config_files="$ac_config_files"
6815config_headers="$ac_config_headers"
6816config_links="$ac_config_links"
6817config_commands="$ac_config_commands"
6818
6819_ACEOF
6820
6821cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6822ac_cs_usage="\
6823\`$as_me' instantiates files and other configuration actions
6824from templates according to the current configuration.  Unless the files
6825and actions are specified as TAGs, all are instantiated by default.
6826
6827Usage: $0 [OPTION]... [TAG]...
6828
6829  -h, --help       print this help, then exit
6830  -V, --version    print version number and configuration settings, then exit
6831      --config     print configuration, then exit
6832  -q, --quiet, --silent
6833                   do not print progress messages
6834  -d, --debug      don't remove temporary files
6835      --recheck    update $as_me by reconfiguring in the same conditions
6836      --file=FILE[:TEMPLATE]
6837                   instantiate the configuration file FILE
6838      --header=FILE[:TEMPLATE]
6839                   instantiate the configuration header FILE
6840
6841Configuration files:
6842$config_files
6843
6844Configuration headers:
6845$config_headers
6846
6847Configuration links:
6848$config_links
6849
6850Configuration commands:
6851$config_commands
6852
6853Report bugs to <cforall@plg.uwaterloo.ca>."
6854
6855_ACEOF
6856cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6857ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6858ac_cs_version="\\
6859cfa-cc config.status 1.0.0.0
6860configured by $0, generated by GNU Autoconf 2.69,
6861  with options \\"\$ac_cs_config\\"
6862
6863Copyright (C) 2012 Free Software Foundation, Inc.
6864This config.status script is free software; the Free Software Foundation
6865gives unlimited permission to copy, distribute and modify it."
6866
6867ac_pwd='$ac_pwd'
6868srcdir='$srcdir'
6869INSTALL='$INSTALL'
6870MKDIR_P='$MKDIR_P'
6871AWK='$AWK'
6872test -n "\$AWK" || AWK=awk
6873_ACEOF
6874
6875cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6876# The default lists apply if the user does not specify any file.
6877ac_need_defaults=:
6878while test $# != 0
6879do
6880  case $1 in
6881  --*=?*)
6882    ac_option=`expr "X$1" : 'X\([^=]*\)='`
6883    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6884    ac_shift=:
6885    ;;
6886  --*=)
6887    ac_option=`expr "X$1" : 'X\([^=]*\)='`
6888    ac_optarg=
6889    ac_shift=:
6890    ;;
6891  *)
6892    ac_option=$1
6893    ac_optarg=$2
6894    ac_shift=shift
6895    ;;
6896  esac
6897
6898  case $ac_option in
6899  # Handling of the options.
6900  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6901    ac_cs_recheck=: ;;
6902  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6903    $as_echo "$ac_cs_version"; exit ;;
6904  --config | --confi | --conf | --con | --co | --c )
6905    $as_echo "$ac_cs_config"; exit ;;
6906  --debug | --debu | --deb | --de | --d | -d )
6907    debug=: ;;
6908  --file | --fil | --fi | --f )
6909    $ac_shift
6910    case $ac_optarg in
6911    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6912    '') as_fn_error $? "missing file argument" ;;
6913    esac
6914    as_fn_append CONFIG_FILES " '$ac_optarg'"
6915    ac_need_defaults=false;;
6916  --header | --heade | --head | --hea )
6917    $ac_shift
6918    case $ac_optarg in
6919    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6920    esac
6921    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6922    ac_need_defaults=false;;
6923  --he | --h)
6924    # Conflict between --help and --header
6925    as_fn_error $? "ambiguous option: \`$1'
6926Try \`$0 --help' for more information.";;
6927  --help | --hel | -h )
6928    $as_echo "$ac_cs_usage"; exit ;;
6929  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6930  | -silent | --silent | --silen | --sile | --sil | --si | --s)
6931    ac_cs_silent=: ;;
6932
6933  # This is an error.
6934  -*) as_fn_error $? "unrecognized option: \`$1'
6935Try \`$0 --help' for more information." ;;
6936
6937  *) as_fn_append ac_config_targets " $1"
6938     ac_need_defaults=false ;;
6939
6940  esac
6941  shift
6942done
6943
6944ac_configure_extra_args=
6945
6946if $ac_cs_silent; then
6947  exec 6>/dev/null
6948  ac_configure_extra_args="$ac_configure_extra_args --silent"
6949fi
6950
6951_ACEOF
6952cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6953if \$ac_cs_recheck; then
6954  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6955  shift
6956  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6957  CONFIG_SHELL='$SHELL'
6958  export CONFIG_SHELL
6959  exec "\$@"
6960fi
6961
6962_ACEOF
6963cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6964exec 5>>config.log
6965{
6966  echo
6967  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6968## Running $as_me. ##
6969_ASBOX
6970  $as_echo "$ac_log"
6971} >&5
6972
6973_ACEOF
6974cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6975#
6976# INIT-COMMANDS
6977#
6978AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6979
6980_ACEOF
6981
6982cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6983
6984# Handling of arguments.
6985for ac_config_target in $ac_config_targets
6986do
6987  case $ac_config_target in
6988    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:src/config.h.in" ;;
6989    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6990    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6991    "driver/Makefile") CONFIG_FILES="$CONFIG_FILES driver/Makefile" ;;
6992    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
6993    "benchmark/Makefile") CONFIG_FILES="$CONFIG_FILES benchmark/Makefile" ;;
6994    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
6995    "tests/preempt_longrun/Makefile") CONFIG_FILES="$CONFIG_FILES tests/preempt_longrun/Makefile" ;;
6996    "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
6997    "tools/prettyprinter/Makefile") CONFIG_FILES="$CONFIG_FILES tools/prettyprinter/Makefile" ;;
6998    "tests/test.py") CONFIG_LINKS="$CONFIG_LINKS tests/test.py:tests/test.py" ;;
6999    "tests/config.py") CONFIG_FILES="$CONFIG_FILES tests/config.py" ;;
7000
7001  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7002  esac
7003done
7004
7005
7006# If the user did not use the arguments to specify the items to instantiate,
7007# then the envvar interface is used.  Set only those that are not.
7008# We use the long form for the default assignment because of an extremely
7009# bizarre bug on SunOS 4.1.3.
7010if $ac_need_defaults; then
7011  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7012  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7013  test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
7014  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7015fi
7016
7017# Have a temporary directory for convenience.  Make it in the build tree
7018# simply because there is no reason against having it here, and in addition,
7019# creating and moving files from /tmp can sometimes cause problems.
7020# Hook for its removal unless debugging.
7021# Note that there is a small window in which the directory will not be cleaned:
7022# after its creation but before its name has been assigned to `$tmp'.
7023$debug ||
7024{
7025  tmp= ac_tmp=
7026  trap 'exit_status=$?
7027  : "${ac_tmp:=$tmp}"
7028  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7029' 0
7030  trap 'as_fn_exit 1' 1 2 13 15
7031}
7032# Create a (secure) tmp directory for tmp files.
7033
7034{
7035  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7036  test -d "$tmp"
7037}  ||
7038{
7039  tmp=./conf$$-$RANDOM
7040  (umask 077 && mkdir "$tmp")
7041} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7042ac_tmp=$tmp
7043
7044# Set up the scripts for CONFIG_FILES section.
7045# No need to generate them if there are no CONFIG_FILES.
7046# This happens for instance with `./config.status config.h'.
7047if test -n "$CONFIG_FILES"; then
7048
7049
7050ac_cr=`echo X | tr X '\015'`
7051# On cygwin, bash can eat \r inside `` if the user requested igncr.
7052# But we know of no other shell where ac_cr would be empty at this
7053# point, so we can use a bashism as a fallback.
7054if test "x$ac_cr" = x; then
7055  eval ac_cr=\$\'\\r\'
7056fi
7057ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7058if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7059  ac_cs_awk_cr='\\r'
7060else
7061  ac_cs_awk_cr=$ac_cr
7062fi
7063
7064echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7065_ACEOF
7066
7067
7068{
7069  echo "cat >conf$$subs.awk <<_ACEOF" &&
7070  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7071  echo "_ACEOF"
7072} >conf$$subs.sh ||
7073  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7074ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7075ac_delim='%!_!# '
7076for ac_last_try in false false false false false :; do
7077  . ./conf$$subs.sh ||
7078    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7079
7080  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7081  if test $ac_delim_n = $ac_delim_num; then
7082    break
7083  elif $ac_last_try; then
7084    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7085  else
7086    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7087  fi
7088done
7089rm -f conf$$subs.sh
7090
7091cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7092cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
7093_ACEOF
7094sed -n '
7095h
7096s/^/S["/; s/!.*/"]=/
7097p
7098g
7099s/^[^!]*!//
7100:repl
7101t repl
7102s/'"$ac_delim"'$//
7103t delim
7104:nl
7105h
7106s/\(.\{148\}\)..*/\1/
7107t more1
7108s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7109p
7110n
7111b repl
7112:more1
7113s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7114p
7115g
7116s/.\{148\}//
7117t nl
7118:delim
7119h
7120s/\(.\{148\}\)..*/\1/
7121t more2
7122s/["\\]/\\&/g; s/^/"/; s/$/"/
7123p
7124b
7125:more2
7126s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7127p
7128g
7129s/.\{148\}//
7130t delim
7131' <conf$$subs.awk | sed '
7132/^[^""]/{
7133  N
7134  s/\n//
7135}
7136' >>$CONFIG_STATUS || ac_write_fail=1
7137rm -f conf$$subs.awk
7138cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7139_ACAWK
7140cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7141  for (key in S) S_is_set[key] = 1
7142  FS = ""
7143
7144}
7145{
7146  line = $ 0
7147  nfields = split(line, field, "@")
7148  substed = 0
7149  len = length(field[1])
7150  for (i = 2; i < nfields; i++) {
7151    key = field[i]
7152    keylen = length(key)
7153    if (S_is_set[key]) {
7154      value = S[key]
7155      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7156      len += length(value) + length(field[++i])
7157      substed = 1
7158    } else
7159      len += 1 + keylen
7160  }
7161
7162  print line
7163}
7164
7165_ACAWK
7166_ACEOF
7167cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7168if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7169  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7170else
7171  cat
7172fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7173  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7174_ACEOF
7175
7176# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7177# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7178# trailing colons and then remove the whole line if VPATH becomes empty
7179# (actually we leave an empty line to preserve line numbers).
7180if test "x$srcdir" = x.; then
7181  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
7182h
7183s///
7184s/^/:/
7185s/[      ]*$/:/
7186s/:\$(srcdir):/:/g
7187s/:\${srcdir}:/:/g
7188s/:@srcdir@:/:/g
7189s/^:*//
7190s/:*$//
7191x
7192s/\(=[   ]*\).*/\1/
7193G
7194s/\n//
7195s/^[^=]*=[       ]*$//
7196}'
7197fi
7198
7199cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7200fi # test -n "$CONFIG_FILES"
7201
7202# Set up the scripts for CONFIG_HEADERS section.
7203# No need to generate them if there are no CONFIG_HEADERS.
7204# This happens for instance with `./config.status Makefile'.
7205if test -n "$CONFIG_HEADERS"; then
7206cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
7207BEGIN {
7208_ACEOF
7209
7210# Transform confdefs.h into an awk script `defines.awk', embedded as
7211# here-document in config.status, that substitutes the proper values into
7212# config.h.in to produce config.h.
7213
7214# Create a delimiter string that does not exist in confdefs.h, to ease
7215# handling of long lines.
7216ac_delim='%!_!# '
7217for ac_last_try in false false :; do
7218  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
7219  if test -z "$ac_tt"; then
7220    break
7221  elif $ac_last_try; then
7222    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
7223  else
7224    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7225  fi
7226done
7227
7228# For the awk script, D is an array of macro values keyed by name,
7229# likewise P contains macro parameters if any.  Preserve backslash
7230# newline sequences.
7231
7232ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7233sed -n '
7234s/.\{148\}/&'"$ac_delim"'/g
7235t rset
7236:rset
7237s/^[     ]*#[    ]*define[       ][      ]*/ /
7238t def
7239d
7240:def
7241s/\\$//
7242t bsnl
7243s/["\\]/\\&/g
7244s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
7245D["\1"]=" \3"/p
7246s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
7247d
7248:bsnl
7249s/["\\]/\\&/g
7250s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
7251D["\1"]=" \3\\\\\\n"\\/p
7252t cont
7253s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
7254t cont
7255d
7256:cont
7257n
7258s/.\{148\}/&'"$ac_delim"'/g
7259t clear
7260:clear
7261s/\\$//
7262t bsnlc
7263s/["\\]/\\&/g; s/^/"/; s/$/"/p
7264d
7265:bsnlc
7266s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
7267b cont
7268' <confdefs.h | sed '
7269s/'"$ac_delim"'/"\\\
7270"/g' >>$CONFIG_STATUS || ac_write_fail=1
7271
7272cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7273  for (key in D) D_is_set[key] = 1
7274  FS = ""
7275}
7276/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7277  line = \$ 0
7278  split(line, arg, " ")
7279  if (arg[1] == "#") {
7280    defundef = arg[2]
7281    mac1 = arg[3]
7282  } else {
7283    defundef = substr(arg[1], 2)
7284    mac1 = arg[2]
7285  }
7286  split(mac1, mac2, "(") #)
7287  macro = mac2[1]
7288  prefix = substr(line, 1, index(line, defundef) - 1)
7289  if (D_is_set[macro]) {
7290    # Preserve the white space surrounding the "#".
7291    print prefix "define", macro P[macro] D[macro]
7292    next
7293  } else {
7294    # Replace #undef with comments.  This is necessary, for example,
7295    # in the case of _POSIX_SOURCE, which is predefined and required
7296    # on some systems where configure will not decide to define it.
7297    if (defundef == "undef") {
7298      print "/*", prefix defundef, macro, "*/"
7299      next
7300    }
7301  }
7302}
7303{ print }
7304_ACAWK
7305_ACEOF
7306cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7307  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
7308fi # test -n "$CONFIG_HEADERS"
7309
7310
7311eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS  :L $CONFIG_LINKS  :C $CONFIG_COMMANDS"
7312shift
7313for ac_tag
7314do
7315  case $ac_tag in
7316  :[FHLC]) ac_mode=$ac_tag; continue;;
7317  esac
7318  case $ac_mode$ac_tag in
7319  :[FHL]*:*);;
7320  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7321  :[FH]-) ac_tag=-:-;;
7322  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7323  esac
7324  ac_save_IFS=$IFS
7325  IFS=:
7326  set x $ac_tag
7327  IFS=$ac_save_IFS
7328  shift
7329  ac_file=$1
7330  shift
7331
7332  case $ac_mode in
7333  :L) ac_source=$1;;
7334  :[FH])
7335    ac_file_inputs=
7336    for ac_f
7337    do
7338      case $ac_f in
7339      -) ac_f="$ac_tmp/stdin";;
7340      *) # Look for the file first in the build tree, then in the source tree
7341         # (if the path is not absolute).  The absolute path cannot be DOS-style,
7342         # because $ac_f cannot contain `:'.
7343         test -f "$ac_f" ||
7344           case $ac_f in
7345           [\\/$]*) false;;
7346           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7347           esac ||
7348           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7349      esac
7350      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7351      as_fn_append ac_file_inputs " '$ac_f'"
7352    done
7353
7354    # Let's still pretend it is `configure' which instantiates (i.e., don't
7355    # use $as_me), people would be surprised to read:
7356    #    /* config.h.  Generated by config.status.  */
7357    configure_input='Generated from '`
7358          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7359        `' by configure.'
7360    if test x"$ac_file" != x-; then
7361      configure_input="$ac_file.  $configure_input"
7362      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7363$as_echo "$as_me: creating $ac_file" >&6;}
7364    fi
7365    # Neutralize special characters interpreted by sed in replacement strings.
7366    case $configure_input in #(
7367    *\&* | *\|* | *\\* )
7368       ac_sed_conf_input=`$as_echo "$configure_input" |
7369       sed 's/[\\\\&|]/\\\\&/g'`;; #(
7370    *) ac_sed_conf_input=$configure_input;;
7371    esac
7372
7373    case $ac_tag in
7374    *:-:* | *:-) cat >"$ac_tmp/stdin" \
7375      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7376    esac
7377    ;;
7378  esac
7379
7380  ac_dir=`$as_dirname -- "$ac_file" ||
7381$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7382         X"$ac_file" : 'X\(//\)[^/]' \| \
7383         X"$ac_file" : 'X\(//\)$' \| \
7384         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7385$as_echo X"$ac_file" |
7386    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7387            s//\1/
7388            q
7389          }
7390          /^X\(\/\/\)[^/].*/{
7391            s//\1/
7392            q
7393          }
7394          /^X\(\/\/\)$/{
7395            s//\1/
7396            q
7397          }
7398          /^X\(\/\).*/{
7399            s//\1/
7400            q
7401          }
7402          s/.*/./; q'`
7403  as_dir="$ac_dir"; as_fn_mkdir_p
7404  ac_builddir=.
7405
7406case "$ac_dir" in
7407.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7408*)
7409  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7410  # A ".." for each directory in $ac_dir_suffix.
7411  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7412  case $ac_top_builddir_sub in
7413  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7414  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7415  esac ;;
7416esac
7417ac_abs_top_builddir=$ac_pwd
7418ac_abs_builddir=$ac_pwd$ac_dir_suffix
7419# for backward compatibility:
7420ac_top_builddir=$ac_top_build_prefix
7421
7422case $srcdir in
7423  .)  # We are building in place.
7424    ac_srcdir=.
7425    ac_top_srcdir=$ac_top_builddir_sub
7426    ac_abs_top_srcdir=$ac_pwd ;;
7427  [\\/]* | ?:[\\/]* )  # Absolute name.
7428    ac_srcdir=$srcdir$ac_dir_suffix;
7429    ac_top_srcdir=$srcdir
7430    ac_abs_top_srcdir=$srcdir ;;
7431  *) # Relative name.
7432    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7433    ac_top_srcdir=$ac_top_build_prefix$srcdir
7434    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7435esac
7436ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7437
7438
7439  case $ac_mode in
7440  :F)
7441  #
7442  # CONFIG_FILE
7443  #
7444
7445  case $INSTALL in
7446  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7447  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7448  esac
7449  ac_MKDIR_P=$MKDIR_P
7450  case $MKDIR_P in
7451  [\\/$]* | ?:[\\/]* ) ;;
7452  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7453  esac
7454_ACEOF
7455
7456cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7457# If the template does not know about datarootdir, expand it.
7458# FIXME: This hack should be removed a few years after 2.60.
7459ac_datarootdir_hack=; ac_datarootdir_seen=
7460ac_sed_dataroot='
7461/datarootdir/ {
7462  p
7463  q
7464}
7465/@datadir@/p
7466/@docdir@/p
7467/@infodir@/p
7468/@localedir@/p
7469/@mandir@/p'
7470case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7471*datarootdir*) ac_datarootdir_seen=yes;;
7472*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7473  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7474$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7475_ACEOF
7476cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7477  ac_datarootdir_hack='
7478  s&@datadir@&$datadir&g
7479  s&@docdir@&$docdir&g
7480  s&@infodir@&$infodir&g
7481  s&@localedir@&$localedir&g
7482  s&@mandir@&$mandir&g
7483  s&\\\${datarootdir}&$datarootdir&g' ;;
7484esac
7485_ACEOF
7486
7487# Neutralize VPATH when `$srcdir' = `.'.
7488# Shell code in configure.ac might set extrasub.
7489# FIXME: do we really want to maintain this feature?
7490cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7491ac_sed_extra="$ac_vpsub
7492$extrasub
7493_ACEOF
7494cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7495:t
7496/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7497s|@configure_input@|$ac_sed_conf_input|;t t
7498s&@top_builddir@&$ac_top_builddir_sub&;t t
7499s&@top_build_prefix@&$ac_top_build_prefix&;t t
7500s&@srcdir@&$ac_srcdir&;t t
7501s&@abs_srcdir@&$ac_abs_srcdir&;t t
7502s&@top_srcdir@&$ac_top_srcdir&;t t
7503s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7504s&@builddir@&$ac_builddir&;t t
7505s&@abs_builddir@&$ac_abs_builddir&;t t
7506s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7507s&@INSTALL@&$ac_INSTALL&;t t
7508s&@MKDIR_P@&$ac_MKDIR_P&;t t
7509$ac_datarootdir_hack
7510"
7511eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7512  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7513
7514test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7515  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7516  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
7517      "$ac_tmp/out"`; test -z "$ac_out"; } &&
7518  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7519which seems to be undefined.  Please make sure it is defined" >&5
7520$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7521which seems to be undefined.  Please make sure it is defined" >&2;}
7522
7523  rm -f "$ac_tmp/stdin"
7524  case $ac_file in
7525  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7526  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7527  esac \
7528  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7529 ;;
7530  :H)
7531  #
7532  # CONFIG_HEADER
7533  #
7534  if test x"$ac_file" != x-; then
7535    {
7536      $as_echo "/* $configure_input  */" \
7537      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7538    } >"$ac_tmp/config.h" \
7539      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7540    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7541      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7542$as_echo "$as_me: $ac_file is unchanged" >&6;}
7543    else
7544      rm -f "$ac_file"
7545      mv "$ac_tmp/config.h" "$ac_file" \
7546        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7547    fi
7548  else
7549    $as_echo "/* $configure_input  */" \
7550      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7551      || as_fn_error $? "could not create -" "$LINENO" 5
7552  fi
7553# Compute "$ac_file"'s index in $config_headers.
7554_am_arg="$ac_file"
7555_am_stamp_count=1
7556for _am_header in $config_headers :; do
7557  case $_am_header in
7558    $_am_arg | $_am_arg:* )
7559      break ;;
7560    * )
7561      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7562  esac
7563done
7564echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7565$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7566         X"$_am_arg" : 'X\(//\)[^/]' \| \
7567         X"$_am_arg" : 'X\(//\)$' \| \
7568         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7569$as_echo X"$_am_arg" |
7570    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7571            s//\1/
7572            q
7573          }
7574          /^X\(\/\/\)[^/].*/{
7575            s//\1/
7576            q
7577          }
7578          /^X\(\/\/\)$/{
7579            s//\1/
7580            q
7581          }
7582          /^X\(\/\).*/{
7583            s//\1/
7584            q
7585          }
7586          s/.*/./; q'`/stamp-h$_am_stamp_count
7587 ;;
7588  :L)
7589  #
7590  # CONFIG_LINK
7591  #
7592
7593  if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
7594    :
7595  else
7596    # Prefer the file from the source tree if names are identical.
7597    if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
7598      ac_source=$srcdir/$ac_source
7599    fi
7600
7601    { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
7602$as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
7603
7604    if test ! -r "$ac_source"; then
7605      as_fn_error $? "$ac_source: file not found" "$LINENO" 5
7606    fi
7607    rm -f "$ac_file"
7608
7609    # Try a relative symlink, then a hard link, then a copy.
7610    case $ac_source in
7611    [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
7612        *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
7613    esac
7614    ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
7615      ln "$ac_source" "$ac_file" 2>/dev/null ||
7616      cp -p "$ac_source" "$ac_file" ||
7617      as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
7618  fi
7619 ;;
7620  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7621$as_echo "$as_me: executing $ac_file commands" >&6;}
7622 ;;
7623  esac
7624
7625
7626  case $ac_file$ac_mode in
7627    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
7628  # Older Autoconf quotes --file arguments for eval, but not when files
7629  # are listed without --file.  Let's play safe and only enable the eval
7630  # if we detect the quoting.
7631  case $CONFIG_FILES in
7632  *\'*) eval set x "$CONFIG_FILES" ;;
7633  *)   set x $CONFIG_FILES ;;
7634  esac
7635  shift
7636  for mf
7637  do
7638    # Strip MF so we end up with the name of the file.
7639    mf=`echo "$mf" | sed -e 's/:.*$//'`
7640    # Check whether this is an Automake generated Makefile or not.
7641    # We used to match only the files named 'Makefile.in', but
7642    # some people rename them; so instead we look at the file content.
7643    # Grep'ing the first line is not enough: some people post-process
7644    # each Makefile.in and add a new line on top of each file to say so.
7645    # Grep'ing the whole file is not good either: AIX grep has a line
7646    # limit of 2048, but all sed's we know have understand at least 4000.
7647    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
7648      dirpart=`$as_dirname -- "$mf" ||
7649$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7650         X"$mf" : 'X\(//\)[^/]' \| \
7651         X"$mf" : 'X\(//\)$' \| \
7652         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7653$as_echo X"$mf" |
7654    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7655            s//\1/
7656            q
7657          }
7658          /^X\(\/\/\)[^/].*/{
7659            s//\1/
7660            q
7661          }
7662          /^X\(\/\/\)$/{
7663            s//\1/
7664            q
7665          }
7666          /^X\(\/\).*/{
7667            s//\1/
7668            q
7669          }
7670          s/.*/./; q'`
7671    else
7672      continue
7673    fi
7674    # Extract the definition of DEPDIR, am__include, and am__quote
7675    # from the Makefile without running 'make'.
7676    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7677    test -z "$DEPDIR" && continue
7678    am__include=`sed -n 's/^am__include = //p' < "$mf"`
7679    test -z "$am__include" && continue
7680    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7681    # Find all dependency output files, they are included files with
7682    # $(DEPDIR) in their names.  We invoke sed twice because it is the
7683    # simplest approach to changing $(DEPDIR) to its actual value in the
7684    # expansion.
7685    for file in `sed -n "
7686      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7687         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
7688      # Make sure the directory exists.
7689      test -f "$dirpart/$file" && continue
7690      fdir=`$as_dirname -- "$file" ||
7691$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7692         X"$file" : 'X\(//\)[^/]' \| \
7693         X"$file" : 'X\(//\)$' \| \
7694         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7695$as_echo X"$file" |
7696    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7697            s//\1/
7698            q
7699          }
7700          /^X\(\/\/\)[^/].*/{
7701            s//\1/
7702            q
7703          }
7704          /^X\(\/\/\)$/{
7705            s//\1/
7706            q
7707          }
7708          /^X\(\/\).*/{
7709            s//\1/
7710            q
7711          }
7712          s/.*/./; q'`
7713      as_dir=$dirpart/$fdir; as_fn_mkdir_p
7714      # echo "creating $dirpart/$file"
7715      echo '# dummy' > "$dirpart/$file"
7716    done
7717  done
7718}
7719 ;;
7720
7721  esac
7722done # for ac_tag
7723
7724
7725as_fn_exit 0
7726_ACEOF
7727ac_clean_files=$ac_clean_files_save
7728
7729test $ac_write_fail = 0 ||
7730  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7731
7732
7733# configure is writing to config.log, and then calls config.status.
7734# config.status does its own redirection, appending to config.log.
7735# Unfortunately, on DOS this fails, as config.log is still kept open
7736# by configure, so config.status won't be able to write to it; its
7737# output is simply discarded.  So we exec the FD to /dev/null,
7738# effectively closing config.log, so it can be properly (re)opened and
7739# appended to by config.status.  When coming back to configure, we
7740# need to make the FD available again.
7741if test "$no_create" != yes; then
7742  ac_cs_success=:
7743  ac_config_status_args=
7744  test "$silent" = yes &&
7745    ac_config_status_args="$ac_config_status_args --quiet"
7746  exec 5>/dev/null
7747  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7748  exec 5>>config.log
7749  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7750  # would make configure fail if this is the last instruction.
7751  $ac_cs_success || as_fn_exit 1
7752fi
7753if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7754  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7755$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7756fi
7757
7758
7759# Final text
7760{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Cforall configuraton completed. Type \"make -j 8 install\"." >&5
7761$as_echo "Cforall configuraton completed. Type \"make -j 8 install\"." >&6; }
Note: See TracBrowser for help on using the repository browser.