source: configure @ 534e4e4

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

Some clean-up before tackling finding directories

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