source: configure@ fea3faa

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 new-env no_list persistent-indexer pthread-emulation qualifiedEnum resolv-new with_gc
Last change on this file since fea3faa was cc3e4d0, checked in by Thierry Delisle <tdelisle@…>, 8 years ago

Added longrunning tests for preemption

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