source: configure@ 37fe352

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors deferred_resn demangler 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 37fe352 was 37fe352, checked in by Thierry Delisle <tdelisle@…>, 7 years ago

Added proper multi-lib handling, tests still do not work and arm support is broken

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