source: configure@ 1b29996

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 1b29996 was ec129c4, checked in by Peter A. Buhr <pabuhr@…>, 9 years ago

add additional #defines for CFA version numbers

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