source: libcfa/configure@ c59712e

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

Parent make now seems to properly call libcfa

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