source: configure@ c59712e

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors deferred_resn demangler enum forall-pointer-decay jacob/cs343-translation jenkins-sandbox new-ast new-ast-unique-expr no_list persistent-indexer pthread-emulation qualifiedEnum
Last change on this file since c59712e was c59712e, checked in by Thierry Delisle <tdelisle@…>, 7 years ago

Parent make now seems to properly call libcfa

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