source: configure@ 0788b739

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 0788b739 was ac93b228, checked in by Thierry Delisle <tdelisle@…>, 9 years ago

added benchmark folder and appropriate makefile

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