source: configure@ 599b386

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 599b386 was 9def87a, checked in by Thierry Delisle <tdelisle@…>, 9 years ago

Added macros to select build target in configure

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