source: configure@ 46cbfe1

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors ctor deferred_resn demangler enum forall-pointer-decay gc_noraii jacob/cs343-translation jenkins-sandbox memory new-ast new-ast-unique-expr new-env no_list persistent-indexer pthread-emulation qualifiedEnum resolv-new string with_gc
Last change on this file since 46cbfe1 was be5aa1b, checked in by Rob Schluntz <rschlunt@…>, 10 years ago

error if continue statement targets a location that is not an enclosing loop, better error messages for branch statements with labels, formatting, refactoring

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