source: configure@ f855545

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors deferred_resn enum forall-pointer-decay jacob/cs343-translation jenkins-sandbox new-ast new-ast-unique-expr no_list persistent-indexer pthread-emulation qualifiedEnum
Last change on this file since f855545 was 41cca44, checked in by Thierry Delisle <tdelisle@…>, 7 years ago

Added check for libfibre for use in benchmark

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