source: configure@ 5d6ce1f

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

fix configure.ac

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