source: configure@ 1db2c5be

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

configure changes commit

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