source: configure@ 5cb5f842

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 5cb5f842 was 00cc023, checked in by Peter A. Buhr <pabuhr@…>, 10 years ago

redo automake first attempt

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