source: configure@ d1d17f5

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

redo automake third attempt

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