source: libcfa/configure@ 2ea0a8a

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 2ea0a8a was 575a6e5, checked in by Thierry Delisle <tdelisle@…>, 7 years ago

Cross compilation appears to be working

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