Relax VIEW_CONVERT_EXPR - CONVERT_EXPR combination
[official-gcc.git] / libada / configure
blob78b924518fced8bdf787e1d79a1e6288789f7bb3
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
148 esac
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
164 else
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev/null; then :
174 as_have_required=yes
175 else
176 as_have_required=no
178 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
180 else
181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
182 as_found=false
183 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
185 IFS=$as_save_IFS
186 test -z "$as_dir" && as_dir=.
187 as_found=:
188 case $as_dir in #(
190 for as_base in sh bash ksh sh5; do
191 # Try only shells that exist, to save several forks.
192 as_shell=$as_dir/$as_base
193 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
195 CONFIG_SHELL=$as_shell as_have_required=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
197 break 2
200 done;;
201 esac
202 as_found=false
203 done
204 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
206 CONFIG_SHELL=$SHELL as_have_required=yes
207 fi; }
208 IFS=$as_save_IFS
211 if test "x$CONFIG_SHELL" != x; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
215 BASH_ENV=/dev/null
216 ENV=/dev/null
217 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
218 export CONFIG_SHELL
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x$as_have_required = xno; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x${ZSH_VERSION+set} = xset ; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
228 else
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
234 exit 1
238 SHELL=${CONFIG_SHELL-/bin/sh}
239 export SHELL
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE= GREP_OPTIONS=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
247 # as_fn_unset VAR
248 # ---------------
249 # Portably unset VAR.
250 as_fn_unset ()
252 { eval $1=; unset $1;}
254 as_unset=as_fn_unset
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
259 as_fn_set_status ()
261 return $1
262 } # as_fn_set_status
264 # as_fn_exit STATUS
265 # -----------------
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
267 as_fn_exit ()
269 set +e
270 as_fn_set_status $1
271 exit $1
272 } # as_fn_exit
274 # as_fn_mkdir_p
275 # -------------
276 # Create "$as_dir" as a directory, including parents if necessary.
277 as_fn_mkdir_p ()
280 case $as_dir in #(
281 -*) as_dir=./$as_dir;;
282 esac
283 test -d "$as_dir" || eval $as_mkdir_p || {
284 as_dirs=
285 while :; do
286 case $as_dir in #(
287 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
288 *) as_qdir=$as_dir;;
289 esac
290 as_dirs="'$as_qdir' $as_dirs"
291 as_dir=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
298 s//\1/
301 /^X\(\/\/\)[^/].*/{
302 s//\1/
305 /^X\(\/\/\)$/{
306 s//\1/
309 /^X\(\/\).*/{
310 s//\1/
313 s/.*/./; q'`
314 test -d "$as_dir" && break
315 done
316 test -z "$as_dirs" || eval "mkdir $as_dirs"
317 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
320 } # as_fn_mkdir_p
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
326 # implementations.
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
328 eval 'as_fn_append ()
330 eval $1+=\$2
332 else
333 as_fn_append ()
335 eval $1=\$$1\$2
337 fi # as_fn_append
339 # as_fn_arith ARG...
340 # ------------------
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
345 eval 'as_fn_arith ()
347 as_val=$(( $* ))
349 else
350 as_fn_arith ()
352 as_val=`expr "$@" || test $? -eq 1`
354 fi # as_fn_arith
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
362 as_fn_error ()
364 as_status=$?; test $as_status -eq 0 && as_status=1
365 if test "$3"; then
366 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit $as_status
371 } # as_fn_error
373 if expr a : '\(a\)' >/dev/null 2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001; then
375 as_expr=expr
376 else
377 as_expr=false
380 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
381 as_basename=basename
382 else
383 as_basename=false
386 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
387 as_dirname=dirname
388 else
389 as_dirname=false
392 as_me=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
396 $as_echo X/"$0" |
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
398 s//\1/
401 /^X\/\(\/\/\)$/{
402 s//\1/
405 /^X\/\(\/\).*/{
406 s//\1/
409 s/.*/./; q'`
411 # Avoid depending upon Character Ranges.
412 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits='0123456789'
416 as_cr_alnum=$as_cr_Letters$as_cr_digits
419 as_lineno_1=$LINENO as_lineno_1a=$LINENO
420 as_lineno_2=$LINENO as_lineno_2a=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
424 sed -n '
426 /[$]LINENO/=
427 ' <$as_myself |
428 sed '
429 s/[$]LINENO.*/&-/
430 t lineno
432 :lineno
434 :loop
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
436 t loop
437 s/-\n.*//
438 ' >$as_me.lineno &&
439 chmod +x "$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
445 . "./$as_me.lineno"
446 # Exit status is that of the last command.
447 exit
450 ECHO_C= ECHO_N= ECHO_T=
451 case `echo -n x` in #(((((
452 -n*)
453 case `echo 'xy\c'` in
454 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
455 xy) ECHO_C='\c';;
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
457 ECHO_T=' ';;
458 esac;;
460 ECHO_N='-n';;
461 esac
463 rm -f conf$$ conf$$.exe conf$$.file
464 if test -d conf$$.dir; then
465 rm -f conf$$.dir/conf$$.file
466 else
467 rm -f conf$$.dir
468 mkdir conf$$.dir 2>/dev/null
470 if (echo >conf$$.file) 2>/dev/null; then
471 if ln -s conf$$.file conf$$ 2>/dev/null; then
472 as_ln_s='ln -s'
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
478 as_ln_s='cp -p'
479 elif ln conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s=ln
481 else
482 as_ln_s='cp -p'
484 else
485 as_ln_s='cp -p'
487 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
488 rmdir conf$$.dir 2>/dev/null
490 if mkdir -p . 2>/dev/null; then
491 as_mkdir_p='mkdir -p "$as_dir"'
492 else
493 test -d ./-p && rmdir ./-p
494 as_mkdir_p=false
497 if test -x / >/dev/null 2>&1; then
498 as_test_x='test -x'
499 else
500 if ls -dL / >/dev/null 2>&1; then
501 as_ls_L_option=L
502 else
503 as_ls_L_option=
505 as_test_x='
506 eval sh -c '\''
507 if test -d "$1"; then
508 test -d "$1/.";
509 else
510 case $1 in #(
511 -*)set "./$1";;
512 esac;
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
515 '\'' sh
518 as_executable_p=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 exec 7<&0 </dev/null 6>&1
529 # Name of the host.
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
535 # Initializations.
537 ac_default_prefix=/usr/local
538 ac_clean_files=
539 ac_config_libobj_dir=.
540 LIBOBJS=
541 cross_compiling=no
542 subdirs=
543 MFLAGS=
544 MAKEFLAGS=
546 # Identity of this package.
547 PACKAGE_NAME=
548 PACKAGE_TARNAME=
549 PACKAGE_VERSION=
550 PACKAGE_STRING=
551 PACKAGE_BUGREPORT=
552 PACKAGE_URL=
554 ac_unique_file="Makefile.in"
555 # Factoring default headers for most tests.
556 ac_includes_default="\
557 #include <stdio.h>
558 #ifdef HAVE_SYS_TYPES_H
559 # include <sys/types.h>
560 #endif
561 #ifdef HAVE_SYS_STAT_H
562 # include <sys/stat.h>
563 #endif
564 #ifdef STDC_HEADERS
565 # include <stdlib.h>
566 # include <stddef.h>
567 #else
568 # ifdef HAVE_STDLIB_H
569 # include <stdlib.h>
570 # endif
571 #endif
572 #ifdef HAVE_STRING_H
573 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
574 # include <memory.h>
575 # endif
576 # include <string.h>
577 #endif
578 #ifdef HAVE_STRINGS_H
579 # include <strings.h>
580 #endif
581 #ifdef HAVE_INTTYPES_H
582 # include <inttypes.h>
583 #endif
584 #ifdef HAVE_STDINT_H
585 # include <stdint.h>
586 #endif
587 #ifdef HAVE_UNISTD_H
588 # include <unistd.h>
589 #endif"
591 ac_subst_vars='LTLIBOBJS
592 LIBOBJS
593 get_gcc_base_ver
594 have_capability
595 EGREP
596 GREP
598 have_getipinfo
599 default_gnatlib_target
600 LN_S
602 PICFLAG
603 enable_shared
604 OBJEXT
605 EXEEXT
606 ac_ct_CC
607 CPPFLAGS
608 LDFLAGS
609 CFLAGS
611 toolexeclibdir
612 toolexecdir
613 multi_basedir
614 MAINT
615 target_subdir
616 host_subdir
617 build_subdir
618 build_libsubdir
619 target_noncanonical
620 target_os
621 target_vendor
622 target_cpu
623 target
624 host_os
625 host_vendor
626 host_cpu
627 host
628 build_os
629 build_vendor
630 build_cpu
631 build
632 target_alias
633 host_alias
634 build_alias
635 LIBS
636 ECHO_T
637 ECHO_N
638 ECHO_C
639 DEFS
640 mandir
641 localedir
642 libdir
643 psdir
644 pdfdir
645 dvidir
646 htmldir
647 infodir
648 docdir
649 oldincludedir
650 includedir
651 localstatedir
652 sharedstatedir
653 sysconfdir
654 datadir
655 datarootdir
656 libexecdir
657 sbindir
658 bindir
659 program_transform_name
660 prefix
661 exec_prefix
662 PACKAGE_URL
663 PACKAGE_BUGREPORT
664 PACKAGE_STRING
665 PACKAGE_VERSION
666 PACKAGE_TARNAME
667 PACKAGE_NAME
668 PATH_SEPARATOR
669 SHELL'
670 ac_subst_files=''
671 ac_user_opts='
672 enable_option_checking
673 with_build_libsubdir
674 enable_maintainer_mode
675 enable_multilib
676 enable_shared
677 with_system_libunwind
678 with_gcc_major_version_only
680 ac_precious_vars='build_alias
681 host_alias
682 target_alias
684 CPPFLAGS'
687 # Initialize some variables set by options.
688 ac_init_help=
689 ac_init_version=false
690 ac_unrecognized_opts=
691 ac_unrecognized_sep=
692 # The variables have the same names as the options, with
693 # dashes changed to underlines.
694 cache_file=/dev/null
695 exec_prefix=NONE
696 no_create=
697 no_recursion=
698 prefix=NONE
699 program_prefix=NONE
700 program_suffix=NONE
701 program_transform_name=s,x,x,
702 silent=
703 site=
704 srcdir=
705 verbose=
706 x_includes=NONE
707 x_libraries=NONE
709 # Installation directory options.
710 # These are left unexpanded so users can "make install exec_prefix=/foo"
711 # and all the variables that are supposed to be based on exec_prefix
712 # by default will actually change.
713 # Use braces instead of parens because sh, perl, etc. also accept them.
714 # (The list follows the same order as the GNU Coding Standards.)
715 bindir='${exec_prefix}/bin'
716 sbindir='${exec_prefix}/sbin'
717 libexecdir='${exec_prefix}/libexec'
718 datarootdir='${prefix}/share'
719 datadir='${datarootdir}'
720 sysconfdir='${prefix}/etc'
721 sharedstatedir='${prefix}/com'
722 localstatedir='${prefix}/var'
723 includedir='${prefix}/include'
724 oldincludedir='/usr/include'
725 docdir='${datarootdir}/doc/${PACKAGE}'
726 infodir='${datarootdir}/info'
727 htmldir='${docdir}'
728 dvidir='${docdir}'
729 pdfdir='${docdir}'
730 psdir='${docdir}'
731 libdir='${exec_prefix}/lib'
732 localedir='${datarootdir}/locale'
733 mandir='${datarootdir}/man'
735 ac_prev=
736 ac_dashdash=
737 for ac_option
739 # If the previous option needs an argument, assign it.
740 if test -n "$ac_prev"; then
741 eval $ac_prev=\$ac_option
742 ac_prev=
743 continue
746 case $ac_option in
747 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
748 *) ac_optarg=yes ;;
749 esac
751 # Accept the important Cygnus configure options, so we can diagnose typos.
753 case $ac_dashdash$ac_option in
755 ac_dashdash=yes ;;
757 -bindir | --bindir | --bindi | --bind | --bin | --bi)
758 ac_prev=bindir ;;
759 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
760 bindir=$ac_optarg ;;
762 -build | --build | --buil | --bui | --bu)
763 ac_prev=build_alias ;;
764 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
765 build_alias=$ac_optarg ;;
767 -cache-file | --cache-file | --cache-fil | --cache-fi \
768 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
769 ac_prev=cache_file ;;
770 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
771 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
772 cache_file=$ac_optarg ;;
774 --config-cache | -C)
775 cache_file=config.cache ;;
777 -datadir | --datadir | --datadi | --datad)
778 ac_prev=datadir ;;
779 -datadir=* | --datadir=* | --datadi=* | --datad=*)
780 datadir=$ac_optarg ;;
782 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
783 | --dataroo | --dataro | --datar)
784 ac_prev=datarootdir ;;
785 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
786 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
787 datarootdir=$ac_optarg ;;
789 -disable-* | --disable-*)
790 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
791 # Reject names that are not valid shell variable names.
792 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
793 as_fn_error "invalid feature name: $ac_useropt"
794 ac_useropt_orig=$ac_useropt
795 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
796 case $ac_user_opts in
798 "enable_$ac_useropt"
799 "*) ;;
800 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
801 ac_unrecognized_sep=', ';;
802 esac
803 eval enable_$ac_useropt=no ;;
805 -docdir | --docdir | --docdi | --doc | --do)
806 ac_prev=docdir ;;
807 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
808 docdir=$ac_optarg ;;
810 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
811 ac_prev=dvidir ;;
812 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
813 dvidir=$ac_optarg ;;
815 -enable-* | --enable-*)
816 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
817 # Reject names that are not valid shell variable names.
818 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
819 as_fn_error "invalid feature name: $ac_useropt"
820 ac_useropt_orig=$ac_useropt
821 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
822 case $ac_user_opts in
824 "enable_$ac_useropt"
825 "*) ;;
826 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
827 ac_unrecognized_sep=', ';;
828 esac
829 eval enable_$ac_useropt=\$ac_optarg ;;
831 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
832 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
833 | --exec | --exe | --ex)
834 ac_prev=exec_prefix ;;
835 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
836 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
837 | --exec=* | --exe=* | --ex=*)
838 exec_prefix=$ac_optarg ;;
840 -gas | --gas | --ga | --g)
841 # Obsolete; use --with-gas.
842 with_gas=yes ;;
844 -help | --help | --hel | --he | -h)
845 ac_init_help=long ;;
846 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
847 ac_init_help=recursive ;;
848 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
849 ac_init_help=short ;;
851 -host | --host | --hos | --ho)
852 ac_prev=host_alias ;;
853 -host=* | --host=* | --hos=* | --ho=*)
854 host_alias=$ac_optarg ;;
856 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
857 ac_prev=htmldir ;;
858 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
859 | --ht=*)
860 htmldir=$ac_optarg ;;
862 -includedir | --includedir | --includedi | --included | --include \
863 | --includ | --inclu | --incl | --inc)
864 ac_prev=includedir ;;
865 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
866 | --includ=* | --inclu=* | --incl=* | --inc=*)
867 includedir=$ac_optarg ;;
869 -infodir | --infodir | --infodi | --infod | --info | --inf)
870 ac_prev=infodir ;;
871 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
872 infodir=$ac_optarg ;;
874 -libdir | --libdir | --libdi | --libd)
875 ac_prev=libdir ;;
876 -libdir=* | --libdir=* | --libdi=* | --libd=*)
877 libdir=$ac_optarg ;;
879 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
880 | --libexe | --libex | --libe)
881 ac_prev=libexecdir ;;
882 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
883 | --libexe=* | --libex=* | --libe=*)
884 libexecdir=$ac_optarg ;;
886 -localedir | --localedir | --localedi | --localed | --locale)
887 ac_prev=localedir ;;
888 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
889 localedir=$ac_optarg ;;
891 -localstatedir | --localstatedir | --localstatedi | --localstated \
892 | --localstate | --localstat | --localsta | --localst | --locals)
893 ac_prev=localstatedir ;;
894 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
895 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
896 localstatedir=$ac_optarg ;;
898 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
899 ac_prev=mandir ;;
900 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
901 mandir=$ac_optarg ;;
903 -nfp | --nfp | --nf)
904 # Obsolete; use --without-fp.
905 with_fp=no ;;
907 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
908 | --no-cr | --no-c | -n)
909 no_create=yes ;;
911 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
912 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
913 no_recursion=yes ;;
915 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
916 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
917 | --oldin | --oldi | --old | --ol | --o)
918 ac_prev=oldincludedir ;;
919 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
920 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
921 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
922 oldincludedir=$ac_optarg ;;
924 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
925 ac_prev=prefix ;;
926 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
927 prefix=$ac_optarg ;;
929 -program-prefix | --program-prefix | --program-prefi | --program-pref \
930 | --program-pre | --program-pr | --program-p)
931 ac_prev=program_prefix ;;
932 -program-prefix=* | --program-prefix=* | --program-prefi=* \
933 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
934 program_prefix=$ac_optarg ;;
936 -program-suffix | --program-suffix | --program-suffi | --program-suff \
937 | --program-suf | --program-su | --program-s)
938 ac_prev=program_suffix ;;
939 -program-suffix=* | --program-suffix=* | --program-suffi=* \
940 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
941 program_suffix=$ac_optarg ;;
943 -program-transform-name | --program-transform-name \
944 | --program-transform-nam | --program-transform-na \
945 | --program-transform-n | --program-transform- \
946 | --program-transform | --program-transfor \
947 | --program-transfo | --program-transf \
948 | --program-trans | --program-tran \
949 | --progr-tra | --program-tr | --program-t)
950 ac_prev=program_transform_name ;;
951 -program-transform-name=* | --program-transform-name=* \
952 | --program-transform-nam=* | --program-transform-na=* \
953 | --program-transform-n=* | --program-transform-=* \
954 | --program-transform=* | --program-transfor=* \
955 | --program-transfo=* | --program-transf=* \
956 | --program-trans=* | --program-tran=* \
957 | --progr-tra=* | --program-tr=* | --program-t=*)
958 program_transform_name=$ac_optarg ;;
960 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
961 ac_prev=pdfdir ;;
962 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
963 pdfdir=$ac_optarg ;;
965 -psdir | --psdir | --psdi | --psd | --ps)
966 ac_prev=psdir ;;
967 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
968 psdir=$ac_optarg ;;
970 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
971 | -silent | --silent | --silen | --sile | --sil)
972 silent=yes ;;
974 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
975 ac_prev=sbindir ;;
976 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
977 | --sbi=* | --sb=*)
978 sbindir=$ac_optarg ;;
980 -sharedstatedir | --sharedstatedir | --sharedstatedi \
981 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
982 | --sharedst | --shareds | --shared | --share | --shar \
983 | --sha | --sh)
984 ac_prev=sharedstatedir ;;
985 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
986 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
987 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
988 | --sha=* | --sh=*)
989 sharedstatedir=$ac_optarg ;;
991 -site | --site | --sit)
992 ac_prev=site ;;
993 -site=* | --site=* | --sit=*)
994 site=$ac_optarg ;;
996 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
997 ac_prev=srcdir ;;
998 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
999 srcdir=$ac_optarg ;;
1001 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1002 | --syscon | --sysco | --sysc | --sys | --sy)
1003 ac_prev=sysconfdir ;;
1004 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1005 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1006 sysconfdir=$ac_optarg ;;
1008 -target | --target | --targe | --targ | --tar | --ta | --t)
1009 ac_prev=target_alias ;;
1010 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1011 target_alias=$ac_optarg ;;
1013 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1014 verbose=yes ;;
1016 -version | --version | --versio | --versi | --vers | -V)
1017 ac_init_version=: ;;
1019 -with-* | --with-*)
1020 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1021 # Reject names that are not valid shell variable names.
1022 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1023 as_fn_error "invalid package name: $ac_useropt"
1024 ac_useropt_orig=$ac_useropt
1025 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1026 case $ac_user_opts in
1028 "with_$ac_useropt"
1029 "*) ;;
1030 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1031 ac_unrecognized_sep=', ';;
1032 esac
1033 eval with_$ac_useropt=\$ac_optarg ;;
1035 -without-* | --without-*)
1036 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1037 # Reject names that are not valid shell variable names.
1038 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1039 as_fn_error "invalid package name: $ac_useropt"
1040 ac_useropt_orig=$ac_useropt
1041 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1042 case $ac_user_opts in
1044 "with_$ac_useropt"
1045 "*) ;;
1046 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1047 ac_unrecognized_sep=', ';;
1048 esac
1049 eval with_$ac_useropt=no ;;
1051 --x)
1052 # Obsolete; use --with-x.
1053 with_x=yes ;;
1055 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1056 | --x-incl | --x-inc | --x-in | --x-i)
1057 ac_prev=x_includes ;;
1058 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1059 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1060 x_includes=$ac_optarg ;;
1062 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1063 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1064 ac_prev=x_libraries ;;
1065 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1066 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1067 x_libraries=$ac_optarg ;;
1069 -*) as_fn_error "unrecognized option: \`$ac_option'
1070 Try \`$0 --help' for more information."
1073 *=*)
1074 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1075 # Reject names that are not valid shell variable names.
1076 case $ac_envvar in #(
1077 '' | [0-9]* | *[!_$as_cr_alnum]* )
1078 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1079 esac
1080 eval $ac_envvar=\$ac_optarg
1081 export $ac_envvar ;;
1084 # FIXME: should be removed in autoconf 3.0.
1085 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1086 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1087 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1088 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1091 esac
1092 done
1094 if test -n "$ac_prev"; then
1095 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1096 as_fn_error "missing argument to $ac_option"
1099 if test -n "$ac_unrecognized_opts"; then
1100 case $enable_option_checking in
1101 no) ;;
1102 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1103 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1104 esac
1107 # Check all directory arguments for consistency.
1108 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1109 datadir sysconfdir sharedstatedir localstatedir includedir \
1110 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1111 libdir localedir mandir
1113 eval ac_val=\$$ac_var
1114 # Remove trailing slashes.
1115 case $ac_val in
1116 */ )
1117 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1118 eval $ac_var=\$ac_val;;
1119 esac
1120 # Be sure to have absolute directory names.
1121 case $ac_val in
1122 [\\/$]* | ?:[\\/]* ) continue;;
1123 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1124 esac
1125 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1126 done
1128 # There might be people who depend on the old broken behavior: `$host'
1129 # used to hold the argument of --host etc.
1130 # FIXME: To remove some day.
1131 build=$build_alias
1132 host=$host_alias
1133 target=$target_alias
1135 # FIXME: To remove some day.
1136 if test "x$host_alias" != x; then
1137 if test "x$build_alias" = x; then
1138 cross_compiling=maybe
1139 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1140 If a cross compiler is detected then cross compile mode will be used." >&2
1141 elif test "x$build_alias" != "x$host_alias"; then
1142 cross_compiling=yes
1146 ac_tool_prefix=
1147 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1149 test "$silent" = yes && exec 6>/dev/null
1152 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1153 ac_ls_di=`ls -di .` &&
1154 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1155 as_fn_error "working directory cannot be determined"
1156 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1157 as_fn_error "pwd does not report name of working directory"
1160 # Find the source files, if location was not specified.
1161 if test -z "$srcdir"; then
1162 ac_srcdir_defaulted=yes
1163 # Try the directory containing this script, then the parent directory.
1164 ac_confdir=`$as_dirname -- "$as_myself" ||
1165 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1166 X"$as_myself" : 'X\(//\)[^/]' \| \
1167 X"$as_myself" : 'X\(//\)$' \| \
1168 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1169 $as_echo X"$as_myself" |
1170 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1171 s//\1/
1174 /^X\(\/\/\)[^/].*/{
1175 s//\1/
1178 /^X\(\/\/\)$/{
1179 s//\1/
1182 /^X\(\/\).*/{
1183 s//\1/
1186 s/.*/./; q'`
1187 srcdir=$ac_confdir
1188 if test ! -r "$srcdir/$ac_unique_file"; then
1189 srcdir=..
1191 else
1192 ac_srcdir_defaulted=no
1194 if test ! -r "$srcdir/$ac_unique_file"; then
1195 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1196 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1198 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1199 ac_abs_confdir=`(
1200 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1201 pwd)`
1202 # When building in place, set srcdir=.
1203 if test "$ac_abs_confdir" = "$ac_pwd"; then
1204 srcdir=.
1206 # Remove unnecessary trailing slashes from srcdir.
1207 # Double slashes in file names in object file debugging info
1208 # mess up M-x gdb in Emacs.
1209 case $srcdir in
1210 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1211 esac
1212 for ac_var in $ac_precious_vars; do
1213 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1214 eval ac_env_${ac_var}_value=\$${ac_var}
1215 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1216 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1217 done
1220 # Report the --help message.
1222 if test "$ac_init_help" = "long"; then
1223 # Omit some internal or obsolete options to make the list less imposing.
1224 # This message is too long to be a string in the A/UX 3.1 sh.
1225 cat <<_ACEOF
1226 \`configure' configures this package to adapt to many kinds of systems.
1228 Usage: $0 [OPTION]... [VAR=VALUE]...
1230 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1231 VAR=VALUE. See below for descriptions of some of the useful variables.
1233 Defaults for the options are specified in brackets.
1235 Configuration:
1236 -h, --help display this help and exit
1237 --help=short display options specific to this package
1238 --help=recursive display the short help of all the included packages
1239 -V, --version display version information and exit
1240 -q, --quiet, --silent do not print \`checking...' messages
1241 --cache-file=FILE cache test results in FILE [disabled]
1242 -C, --config-cache alias for \`--cache-file=config.cache'
1243 -n, --no-create do not create output files
1244 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1246 Installation directories:
1247 --prefix=PREFIX install architecture-independent files in PREFIX
1248 [$ac_default_prefix]
1249 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1250 [PREFIX]
1252 By default, \`make install' will install all the files in
1253 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1254 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1255 for instance \`--prefix=\$HOME'.
1257 For better control, use the options below.
1259 Fine tuning of the installation directories:
1260 --bindir=DIR user executables [EPREFIX/bin]
1261 --sbindir=DIR system admin executables [EPREFIX/sbin]
1262 --libexecdir=DIR program executables [EPREFIX/libexec]
1263 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1264 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1265 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1266 --libdir=DIR object code libraries [EPREFIX/lib]
1267 --includedir=DIR C header files [PREFIX/include]
1268 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1269 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1270 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1271 --infodir=DIR info documentation [DATAROOTDIR/info]
1272 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1273 --mandir=DIR man documentation [DATAROOTDIR/man]
1274 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1275 --htmldir=DIR html documentation [DOCDIR]
1276 --dvidir=DIR dvi documentation [DOCDIR]
1277 --pdfdir=DIR pdf documentation [DOCDIR]
1278 --psdir=DIR ps documentation [DOCDIR]
1279 _ACEOF
1281 cat <<\_ACEOF
1283 System types:
1284 --build=BUILD configure for building on BUILD [guessed]
1285 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1286 --target=TARGET configure for building compilers for TARGET [HOST]
1287 _ACEOF
1290 if test -n "$ac_init_help"; then
1292 cat <<\_ACEOF
1294 Optional Features:
1295 --disable-option-checking ignore unrecognized --enable/--with options
1296 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1297 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1298 --enable-maintainer-mode
1299 enable make rules and dependencies not useful (and
1300 sometimes confusing) to the casual installer
1301 --enable-multilib build many library versions (default)
1302 --disable-shared don't provide a shared libgnat
1304 Optional Packages:
1305 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1306 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1307 --with-build-libsubdir=DIR Directory where to find libraries for build system
1308 --with-system-libunwind use installed libunwind
1309 --with-gcc-major-version-only
1310 use only GCC major number in filesystem paths
1312 Some influential environment variables:
1313 CC C compiler command
1314 CFLAGS C compiler flags
1315 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1316 nonstandard directory <lib dir>
1317 LIBS libraries to pass to the linker, e.g. -l<library>
1318 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1319 you have headers in a nonstandard directory <include dir>
1320 CPP C preprocessor
1322 Use these variables to override the choices made by `configure' or to help
1323 it to find libraries and programs with nonstandard names/locations.
1325 Report bugs to the package provider.
1326 _ACEOF
1327 ac_status=$?
1330 if test "$ac_init_help" = "recursive"; then
1331 # If there are subdirs, report their specific --help.
1332 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1333 test -d "$ac_dir" ||
1334 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1335 continue
1336 ac_builddir=.
1338 case "$ac_dir" in
1339 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1341 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1342 # A ".." for each directory in $ac_dir_suffix.
1343 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1344 case $ac_top_builddir_sub in
1345 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1346 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1347 esac ;;
1348 esac
1349 ac_abs_top_builddir=$ac_pwd
1350 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1351 # for backward compatibility:
1352 ac_top_builddir=$ac_top_build_prefix
1354 case $srcdir in
1355 .) # We are building in place.
1356 ac_srcdir=.
1357 ac_top_srcdir=$ac_top_builddir_sub
1358 ac_abs_top_srcdir=$ac_pwd ;;
1359 [\\/]* | ?:[\\/]* ) # Absolute name.
1360 ac_srcdir=$srcdir$ac_dir_suffix;
1361 ac_top_srcdir=$srcdir
1362 ac_abs_top_srcdir=$srcdir ;;
1363 *) # Relative name.
1364 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1365 ac_top_srcdir=$ac_top_build_prefix$srcdir
1366 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1367 esac
1368 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1370 cd "$ac_dir" || { ac_status=$?; continue; }
1371 # Check for guested configure.
1372 if test -f "$ac_srcdir/configure.gnu"; then
1373 echo &&
1374 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1375 elif test -f "$ac_srcdir/configure"; then
1376 echo &&
1377 $SHELL "$ac_srcdir/configure" --help=recursive
1378 else
1379 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1380 fi || ac_status=$?
1381 cd "$ac_pwd" || { ac_status=$?; break; }
1382 done
1385 test -n "$ac_init_help" && exit $ac_status
1386 if $ac_init_version; then
1387 cat <<\_ACEOF
1388 configure
1389 generated by GNU Autoconf 2.64
1391 Copyright (C) 2009 Free Software Foundation, Inc.
1392 This configure script is free software; the Free Software Foundation
1393 gives unlimited permission to copy, distribute and modify it.
1394 _ACEOF
1395 exit
1398 ## ------------------------ ##
1399 ## Autoconf initialization. ##
1400 ## ------------------------ ##
1402 # ac_fn_c_try_compile LINENO
1403 # --------------------------
1404 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1405 ac_fn_c_try_compile ()
1407 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1408 rm -f conftest.$ac_objext
1409 if { { ac_try="$ac_compile"
1410 case "(($ac_try" in
1411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1412 *) ac_try_echo=$ac_try;;
1413 esac
1414 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1415 $as_echo "$ac_try_echo"; } >&5
1416 (eval "$ac_compile") 2>conftest.err
1417 ac_status=$?
1418 if test -s conftest.err; then
1419 grep -v '^ *+' conftest.err >conftest.er1
1420 cat conftest.er1 >&5
1421 mv -f conftest.er1 conftest.err
1423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1424 test $ac_status = 0; } && {
1425 test -z "$ac_c_werror_flag" ||
1426 test ! -s conftest.err
1427 } && test -s conftest.$ac_objext; then :
1428 ac_retval=0
1429 else
1430 $as_echo "$as_me: failed program was:" >&5
1431 sed 's/^/| /' conftest.$ac_ext >&5
1433 ac_retval=1
1435 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1436 return $ac_retval
1438 } # ac_fn_c_try_compile
1440 # ac_fn_c_try_cpp LINENO
1441 # ----------------------
1442 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1443 ac_fn_c_try_cpp ()
1445 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1446 if { { ac_try="$ac_cpp conftest.$ac_ext"
1447 case "(($ac_try" in
1448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1449 *) ac_try_echo=$ac_try;;
1450 esac
1451 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1452 $as_echo "$ac_try_echo"; } >&5
1453 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1454 ac_status=$?
1455 if test -s conftest.err; then
1456 grep -v '^ *+' conftest.err >conftest.er1
1457 cat conftest.er1 >&5
1458 mv -f conftest.er1 conftest.err
1460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1461 test $ac_status = 0; } >/dev/null && {
1462 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1463 test ! -s conftest.err
1464 }; then :
1465 ac_retval=0
1466 else
1467 $as_echo "$as_me: failed program was:" >&5
1468 sed 's/^/| /' conftest.$ac_ext >&5
1470 ac_retval=1
1472 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1473 return $ac_retval
1475 } # ac_fn_c_try_cpp
1477 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1478 # -------------------------------------------------------
1479 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1480 # the include files in INCLUDES and setting the cache variable VAR
1481 # accordingly.
1482 ac_fn_c_check_header_mongrel ()
1484 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1485 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1487 $as_echo_n "checking for $2... " >&6; }
1488 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1489 $as_echo_n "(cached) " >&6
1491 eval ac_res=\$$3
1492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1493 $as_echo "$ac_res" >&6; }
1494 else
1495 # Is the header compilable?
1496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1497 $as_echo_n "checking $2 usability... " >&6; }
1498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1499 /* end confdefs.h. */
1501 #include <$2>
1502 _ACEOF
1503 if ac_fn_c_try_compile "$LINENO"; then :
1504 ac_header_compiler=yes
1505 else
1506 ac_header_compiler=no
1508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1510 $as_echo "$ac_header_compiler" >&6; }
1512 # Is the header present?
1513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1514 $as_echo_n "checking $2 presence... " >&6; }
1515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1516 /* end confdefs.h. */
1517 #include <$2>
1518 _ACEOF
1519 if ac_fn_c_try_cpp "$LINENO"; then :
1520 ac_header_preproc=yes
1521 else
1522 ac_header_preproc=no
1524 rm -f conftest.err conftest.$ac_ext
1525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1526 $as_echo "$ac_header_preproc" >&6; }
1528 # So? What about this header?
1529 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1530 yes:no: )
1531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1532 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1534 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1536 no:yes:* )
1537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1538 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1540 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1542 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1544 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1546 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1548 esac
1549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1550 $as_echo_n "checking for $2... " >&6; }
1551 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1552 $as_echo_n "(cached) " >&6
1553 else
1554 eval "$3=\$ac_header_compiler"
1556 eval ac_res=\$$3
1557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1558 $as_echo "$ac_res" >&6; }
1560 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1562 } # ac_fn_c_check_header_mongrel
1564 # ac_fn_c_try_run LINENO
1565 # ----------------------
1566 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1567 # that executables *can* be run.
1568 ac_fn_c_try_run ()
1570 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1571 if { { ac_try="$ac_link"
1572 case "(($ac_try" in
1573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1574 *) ac_try_echo=$ac_try;;
1575 esac
1576 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1577 $as_echo "$ac_try_echo"; } >&5
1578 (eval "$ac_link") 2>&5
1579 ac_status=$?
1580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1581 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1582 { { case "(($ac_try" in
1583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1584 *) ac_try_echo=$ac_try;;
1585 esac
1586 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1587 $as_echo "$ac_try_echo"; } >&5
1588 (eval "$ac_try") 2>&5
1589 ac_status=$?
1590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1591 test $ac_status = 0; }; }; then :
1592 ac_retval=0
1593 else
1594 $as_echo "$as_me: program exited with status $ac_status" >&5
1595 $as_echo "$as_me: failed program was:" >&5
1596 sed 's/^/| /' conftest.$ac_ext >&5
1598 ac_retval=$ac_status
1600 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1601 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1602 return $ac_retval
1604 } # ac_fn_c_try_run
1606 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1607 # -------------------------------------------------------
1608 # Tests whether HEADER exists and can be compiled using the include files in
1609 # INCLUDES, setting the cache variable VAR accordingly.
1610 ac_fn_c_check_header_compile ()
1612 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1614 $as_echo_n "checking for $2... " >&6; }
1615 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1616 $as_echo_n "(cached) " >&6
1617 else
1618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1619 /* end confdefs.h. */
1621 #include <$2>
1622 _ACEOF
1623 if ac_fn_c_try_compile "$LINENO"; then :
1624 eval "$3=yes"
1625 else
1626 eval "$3=no"
1628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1630 eval ac_res=\$$3
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1632 $as_echo "$ac_res" >&6; }
1633 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1635 } # ac_fn_c_check_header_compile
1636 cat >config.log <<_ACEOF
1637 This file contains any messages produced by compilers while
1638 running configure, to aid debugging if configure makes a mistake.
1640 It was created by $as_me, which was
1641 generated by GNU Autoconf 2.64. Invocation command line was
1643 $ $0 $@
1645 _ACEOF
1646 exec 5>>config.log
1648 cat <<_ASUNAME
1649 ## --------- ##
1650 ## Platform. ##
1651 ## --------- ##
1653 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1654 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1655 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1656 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1657 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1659 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1660 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1662 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1663 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1664 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1665 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1666 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1667 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1668 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1670 _ASUNAME
1672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1673 for as_dir in $PATH
1675 IFS=$as_save_IFS
1676 test -z "$as_dir" && as_dir=.
1677 $as_echo "PATH: $as_dir"
1678 done
1679 IFS=$as_save_IFS
1681 } >&5
1683 cat >&5 <<_ACEOF
1686 ## ----------- ##
1687 ## Core tests. ##
1688 ## ----------- ##
1690 _ACEOF
1693 # Keep a trace of the command line.
1694 # Strip out --no-create and --no-recursion so they do not pile up.
1695 # Strip out --silent because we don't want to record it for future runs.
1696 # Also quote any args containing shell meta-characters.
1697 # Make two passes to allow for proper duplicate-argument suppression.
1698 ac_configure_args=
1699 ac_configure_args0=
1700 ac_configure_args1=
1701 ac_must_keep_next=false
1702 for ac_pass in 1 2
1704 for ac_arg
1706 case $ac_arg in
1707 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1708 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1709 | -silent | --silent | --silen | --sile | --sil)
1710 continue ;;
1711 *\'*)
1712 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1713 esac
1714 case $ac_pass in
1715 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1717 as_fn_append ac_configure_args1 " '$ac_arg'"
1718 if test $ac_must_keep_next = true; then
1719 ac_must_keep_next=false # Got value, back to normal.
1720 else
1721 case $ac_arg in
1722 *=* | --config-cache | -C | -disable-* | --disable-* \
1723 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1724 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1725 | -with-* | --with-* | -without-* | --without-* | --x)
1726 case "$ac_configure_args0 " in
1727 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1728 esac
1730 -* ) ac_must_keep_next=true ;;
1731 esac
1733 as_fn_append ac_configure_args " '$ac_arg'"
1735 esac
1736 done
1737 done
1738 { ac_configure_args0=; unset ac_configure_args0;}
1739 { ac_configure_args1=; unset ac_configure_args1;}
1741 # When interrupted or exit'd, cleanup temporary files, and complete
1742 # config.log. We remove comments because anyway the quotes in there
1743 # would cause problems or look ugly.
1744 # WARNING: Use '\'' to represent an apostrophe within the trap.
1745 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1746 trap 'exit_status=$?
1747 # Save into config.log some information that might help in debugging.
1749 echo
1751 cat <<\_ASBOX
1752 ## ---------------- ##
1753 ## Cache variables. ##
1754 ## ---------------- ##
1755 _ASBOX
1756 echo
1757 # The following way of writing the cache mishandles newlines in values,
1759 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1760 eval ac_val=\$$ac_var
1761 case $ac_val in #(
1762 *${as_nl}*)
1763 case $ac_var in #(
1764 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1765 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1766 esac
1767 case $ac_var in #(
1768 _ | IFS | as_nl) ;; #(
1769 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1770 *) { eval $ac_var=; unset $ac_var;} ;;
1771 esac ;;
1772 esac
1773 done
1774 (set) 2>&1 |
1775 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1776 *${as_nl}ac_space=\ *)
1777 sed -n \
1778 "s/'\''/'\''\\\\'\'''\''/g;
1779 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1780 ;; #(
1782 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1784 esac |
1785 sort
1787 echo
1789 cat <<\_ASBOX
1790 ## ----------------- ##
1791 ## Output variables. ##
1792 ## ----------------- ##
1793 _ASBOX
1794 echo
1795 for ac_var in $ac_subst_vars
1797 eval ac_val=\$$ac_var
1798 case $ac_val in
1799 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1800 esac
1801 $as_echo "$ac_var='\''$ac_val'\''"
1802 done | sort
1803 echo
1805 if test -n "$ac_subst_files"; then
1806 cat <<\_ASBOX
1807 ## ------------------- ##
1808 ## File substitutions. ##
1809 ## ------------------- ##
1810 _ASBOX
1811 echo
1812 for ac_var in $ac_subst_files
1814 eval ac_val=\$$ac_var
1815 case $ac_val in
1816 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1817 esac
1818 $as_echo "$ac_var='\''$ac_val'\''"
1819 done | sort
1820 echo
1823 if test -s confdefs.h; then
1824 cat <<\_ASBOX
1825 ## ----------- ##
1826 ## confdefs.h. ##
1827 ## ----------- ##
1828 _ASBOX
1829 echo
1830 cat confdefs.h
1831 echo
1833 test "$ac_signal" != 0 &&
1834 $as_echo "$as_me: caught signal $ac_signal"
1835 $as_echo "$as_me: exit $exit_status"
1836 } >&5
1837 rm -f core *.core core.conftest.* &&
1838 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1839 exit $exit_status
1841 for ac_signal in 1 2 13 15; do
1842 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1843 done
1844 ac_signal=0
1846 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1847 rm -f -r conftest* confdefs.h
1849 $as_echo "/* confdefs.h */" > confdefs.h
1851 # Predefined preprocessor variables.
1853 cat >>confdefs.h <<_ACEOF
1854 #define PACKAGE_NAME "$PACKAGE_NAME"
1855 _ACEOF
1857 cat >>confdefs.h <<_ACEOF
1858 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1859 _ACEOF
1861 cat >>confdefs.h <<_ACEOF
1862 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1863 _ACEOF
1865 cat >>confdefs.h <<_ACEOF
1866 #define PACKAGE_STRING "$PACKAGE_STRING"
1867 _ACEOF
1869 cat >>confdefs.h <<_ACEOF
1870 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1871 _ACEOF
1873 cat >>confdefs.h <<_ACEOF
1874 #define PACKAGE_URL "$PACKAGE_URL"
1875 _ACEOF
1878 # Let the site file select an alternate cache file if it wants to.
1879 # Prefer an explicitly selected file to automatically selected ones.
1880 ac_site_file1=NONE
1881 ac_site_file2=NONE
1882 if test -n "$CONFIG_SITE"; then
1883 ac_site_file1=$CONFIG_SITE
1884 elif test "x$prefix" != xNONE; then
1885 ac_site_file1=$prefix/share/config.site
1886 ac_site_file2=$prefix/etc/config.site
1887 else
1888 ac_site_file1=$ac_default_prefix/share/config.site
1889 ac_site_file2=$ac_default_prefix/etc/config.site
1891 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1893 test "x$ac_site_file" = xNONE && continue
1894 if test -r "$ac_site_file"; then
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1896 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1897 sed 's/^/| /' "$ac_site_file" >&5
1898 . "$ac_site_file"
1900 done
1902 if test -r "$cache_file"; then
1903 # Some versions of bash will fail to source /dev/null (special
1904 # files actually), so we avoid doing that.
1905 if test -f "$cache_file"; then
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1907 $as_echo "$as_me: loading cache $cache_file" >&6;}
1908 case $cache_file in
1909 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1910 *) . "./$cache_file";;
1911 esac
1913 else
1914 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1915 $as_echo "$as_me: creating cache $cache_file" >&6;}
1916 >$cache_file
1919 # Check that the precious variables saved in the cache have kept the same
1920 # value.
1921 ac_cache_corrupted=false
1922 for ac_var in $ac_precious_vars; do
1923 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1924 eval ac_new_set=\$ac_env_${ac_var}_set
1925 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1926 eval ac_new_val=\$ac_env_${ac_var}_value
1927 case $ac_old_set,$ac_new_set in
1928 set,)
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1930 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1931 ac_cache_corrupted=: ;;
1932 ,set)
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1934 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1935 ac_cache_corrupted=: ;;
1936 ,);;
1938 if test "x$ac_old_val" != "x$ac_new_val"; then
1939 # differences in whitespace do not lead to failure.
1940 ac_old_val_w=`echo x $ac_old_val`
1941 ac_new_val_w=`echo x $ac_new_val`
1942 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1944 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1945 ac_cache_corrupted=:
1946 else
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1948 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1949 eval $ac_var=\$ac_old_val
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1952 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1953 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1954 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1955 fi;;
1956 esac
1957 # Pass precious variables to config.status.
1958 if test "$ac_new_set" = set; then
1959 case $ac_new_val in
1960 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1961 *) ac_arg=$ac_var=$ac_new_val ;;
1962 esac
1963 case " $ac_configure_args " in
1964 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1965 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1966 esac
1968 done
1969 if $ac_cache_corrupted; then
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1971 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1973 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1974 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1976 ## -------------------- ##
1977 ## Main body of script. ##
1978 ## -------------------- ##
1980 ac_ext=c
1981 ac_cpp='$CPP $CPPFLAGS'
1982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1994 # Determine the host, build, and target systems
1995 ac_aux_dir=
1996 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1997 for ac_t in install-sh install.sh shtool; do
1998 if test -f "$ac_dir/$ac_t"; then
1999 ac_aux_dir=$ac_dir
2000 ac_install_sh="$ac_aux_dir/$ac_t -c"
2001 break 2
2003 done
2004 done
2005 if test -z "$ac_aux_dir"; then
2006 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2009 # These three variables are undocumented and unsupported,
2010 # and are intended to be withdrawn in a future Autoconf release.
2011 # They can cause serious problems if a builder's source tree is in a directory
2012 # whose full name contains unusual characters.
2013 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2014 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2015 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2018 # Make sure we can run config.sub.
2019 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2020 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2023 $as_echo_n "checking build system type... " >&6; }
2024 if test "${ac_cv_build+set}" = set; then :
2025 $as_echo_n "(cached) " >&6
2026 else
2027 ac_build_alias=$build_alias
2028 test "x$ac_build_alias" = x &&
2029 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2030 test "x$ac_build_alias" = x &&
2031 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2032 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2033 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2037 $as_echo "$ac_cv_build" >&6; }
2038 case $ac_cv_build in
2039 *-*-*) ;;
2040 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2041 esac
2042 build=$ac_cv_build
2043 ac_save_IFS=$IFS; IFS='-'
2044 set x $ac_cv_build
2045 shift
2046 build_cpu=$1
2047 build_vendor=$2
2048 shift; shift
2049 # Remember, the first character of IFS is used to create $*,
2050 # except with old shells:
2051 build_os=$*
2052 IFS=$ac_save_IFS
2053 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2057 $as_echo_n "checking host system type... " >&6; }
2058 if test "${ac_cv_host+set}" = set; then :
2059 $as_echo_n "(cached) " >&6
2060 else
2061 if test "x$host_alias" = x; then
2062 ac_cv_host=$ac_cv_build
2063 else
2064 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2065 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2070 $as_echo "$ac_cv_host" >&6; }
2071 case $ac_cv_host in
2072 *-*-*) ;;
2073 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2074 esac
2075 host=$ac_cv_host
2076 ac_save_IFS=$IFS; IFS='-'
2077 set x $ac_cv_host
2078 shift
2079 host_cpu=$1
2080 host_vendor=$2
2081 shift; shift
2082 # Remember, the first character of IFS is used to create $*,
2083 # except with old shells:
2084 host_os=$*
2085 IFS=$ac_save_IFS
2086 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2090 $as_echo_n "checking target system type... " >&6; }
2091 if test "${ac_cv_target+set}" = set; then :
2092 $as_echo_n "(cached) " >&6
2093 else
2094 if test "x$target_alias" = x; then
2095 ac_cv_target=$ac_cv_host
2096 else
2097 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2098 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2103 $as_echo "$ac_cv_target" >&6; }
2104 case $ac_cv_target in
2105 *-*-*) ;;
2106 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2107 esac
2108 target=$ac_cv_target
2109 ac_save_IFS=$IFS; IFS='-'
2110 set x $ac_cv_target
2111 shift
2112 target_cpu=$1
2113 target_vendor=$2
2114 shift; shift
2115 # Remember, the first character of IFS is used to create $*,
2116 # except with old shells:
2117 target_os=$*
2118 IFS=$ac_save_IFS
2119 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2122 # The aliases save the names the user supplied, while $host etc.
2123 # will get canonicalized.
2124 test -n "$target_alias" &&
2125 test "$program_prefix$program_suffix$program_transform_name" = \
2126 NONENONEs,x,x, &&
2127 program_prefix=${target_alias}-
2128 target_alias=${target_alias-$host_alias}
2130 # Determine the noncanonical target name, for directory use.
2131 case ${build_alias} in
2132 "") build_noncanonical=${build} ;;
2133 *) build_noncanonical=${build_alias} ;;
2134 esac
2136 case ${host_alias} in
2137 "") host_noncanonical=${build_noncanonical} ;;
2138 *) host_noncanonical=${host_alias} ;;
2139 esac
2141 case ${target_alias} in
2142 "") target_noncanonical=${host_noncanonical} ;;
2143 *) target_noncanonical=${target_alias} ;;
2144 esac
2149 # Determine the target- and build-specific subdirectories
2151 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2152 # have matching libraries, they should use host libraries: Makefile.tpl
2153 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2154 # However, they still use the build modules, because the corresponding
2155 # host modules (e.g. bison) are only built for the host when bootstrap
2156 # finishes. So:
2157 # - build_subdir is where we find build modules, and never changes.
2158 # - build_libsubdir is where we find build libraries, and can be overridden.
2160 # Prefix 'build-' so this never conflicts with target_subdir.
2161 build_subdir="build-${build_noncanonical}"
2163 # Check whether --with-build-libsubdir was given.
2164 if test "${with_build_libsubdir+set}" = set; then :
2165 withval=$with_build_libsubdir; build_libsubdir="$withval"
2166 else
2167 build_libsubdir="$build_subdir"
2170 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2171 if ( test $srcdir = . && test -d gcc ) \
2172 || test -d $srcdir/../host-${host_noncanonical}; then
2173 host_subdir="host-${host_noncanonical}"
2174 else
2175 host_subdir=.
2177 # No prefix.
2178 target_subdir=${target_noncanonical}
2181 # Command-line options.
2182 # Very limited version of AC_MAINTAINER_MODE.
2183 # Check whether --enable-maintainer-mode was given.
2184 if test "${enable_maintainer_mode+set}" = set; then :
2185 enableval=$enable_maintainer_mode; case ${enable_maintainer_mode} in
2186 yes) MAINT='' ;;
2187 no) MAINT='#' ;;
2188 *) as_fn_error "--enable-maintainer-mode must be yes or no" "$LINENO" 5 ;;
2189 esac
2190 maintainer_mode=${enableval}
2191 else
2192 MAINT='#'
2196 # Default to --enable-multilib
2197 # Check whether --enable-multilib was given.
2198 if test "${enable_multilib+set}" = set; then :
2199 enableval=$enable_multilib; case "$enableval" in
2200 yes) multilib=yes ;;
2201 no) multilib=no ;;
2202 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2203 esac
2204 else
2205 multilib=yes
2209 # We may get other options which we leave undocumented:
2210 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2211 # See config-ml.in if you want the gory details.
2213 if test "$srcdir" = "."; then
2214 if test "$with_target_subdir" != "."; then
2215 multi_basedir="$srcdir/$with_multisrctop../.."
2216 else
2217 multi_basedir="$srcdir/$with_multisrctop.."
2219 else
2220 multi_basedir="$srcdir/.."
2224 # Even if the default multilib is not a cross compilation,
2225 # it may be that some of the other multilibs are.
2226 if test $cross_compiling = no && test $multilib = yes \
2227 && test "x${with_multisubdir}" != x ; then
2228 cross_compiling=maybe
2231 ac_config_commands="$ac_config_commands default-1"
2233 # Calculate toolexeclibdir
2234 # Also toolexecdir, though it's only used in toolexeclibdir
2235 case ${enable_version_specific_runtime_libs} in
2236 yes)
2237 # Need the gcc compiler version to know where to install libraries
2238 # and header files if --enable-version-specific-runtime-libs option
2239 # is selected.
2240 toolexecdir='$(libdir)/gcc/$(target_alias)'
2241 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2244 if test -n "$with_cross_host" &&
2245 test x"$with_cross_host" != x"no"; then
2246 # Install a library built with a cross compiler in tooldir, not libdir.
2247 toolexecdir='$(exec_prefix)/$(target_alias)'
2248 toolexeclibdir='$(toolexecdir)/lib'
2249 else
2250 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
2251 toolexeclibdir='$(libdir)'
2253 multi_os_directory=`$CC -print-multi-os-directory`
2254 case $multi_os_directory in
2255 .) ;; # Avoid trailing /.
2256 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
2257 esac
2259 esac
2262 #TODO: toolexeclibdir is currently disregarded
2264 # Check the compiler.
2265 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2266 # We must force CC to /not/ be precious variables; otherwise
2267 # the wrong, non-multilib-adjusted value will be used in multilibs.
2268 # As a side effect, we have to subst CFLAGS ourselves.
2272 ac_ext=c
2273 ac_cpp='$CPP $CPPFLAGS'
2274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2277 if test -n "$ac_tool_prefix"; then
2278 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2279 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2281 $as_echo_n "checking for $ac_word... " >&6; }
2282 if test "${ac_cv_prog_CC+set}" = set; then :
2283 $as_echo_n "(cached) " >&6
2284 else
2285 if test -n "$CC"; then
2286 ac_cv_prog_CC="$CC" # Let the user override the test.
2287 else
2288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2289 for as_dir in $PATH
2291 IFS=$as_save_IFS
2292 test -z "$as_dir" && as_dir=.
2293 for ac_exec_ext in '' $ac_executable_extensions; do
2294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2295 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2297 break 2
2299 done
2300 done
2301 IFS=$as_save_IFS
2305 CC=$ac_cv_prog_CC
2306 if test -n "$CC"; then
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2308 $as_echo "$CC" >&6; }
2309 else
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2311 $as_echo "no" >&6; }
2316 if test -z "$ac_cv_prog_CC"; then
2317 ac_ct_CC=$CC
2318 # Extract the first word of "gcc", so it can be a program name with args.
2319 set dummy gcc; ac_word=$2
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2321 $as_echo_n "checking for $ac_word... " >&6; }
2322 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2323 $as_echo_n "(cached) " >&6
2324 else
2325 if test -n "$ac_ct_CC"; then
2326 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2327 else
2328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2329 for as_dir in $PATH
2331 IFS=$as_save_IFS
2332 test -z "$as_dir" && as_dir=.
2333 for ac_exec_ext in '' $ac_executable_extensions; do
2334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2335 ac_cv_prog_ac_ct_CC="gcc"
2336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2337 break 2
2339 done
2340 done
2341 IFS=$as_save_IFS
2345 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2346 if test -n "$ac_ct_CC"; then
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2348 $as_echo "$ac_ct_CC" >&6; }
2349 else
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2351 $as_echo "no" >&6; }
2354 if test "x$ac_ct_CC" = x; then
2355 CC=""
2356 else
2357 case $cross_compiling:$ac_tool_warned in
2358 yes:)
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2360 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2361 ac_tool_warned=yes ;;
2362 esac
2363 CC=$ac_ct_CC
2365 else
2366 CC="$ac_cv_prog_CC"
2369 if test -z "$CC"; then
2370 if test -n "$ac_tool_prefix"; then
2371 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2372 set dummy ${ac_tool_prefix}cc; ac_word=$2
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2374 $as_echo_n "checking for $ac_word... " >&6; }
2375 if test "${ac_cv_prog_CC+set}" = set; then :
2376 $as_echo_n "(cached) " >&6
2377 else
2378 if test -n "$CC"; then
2379 ac_cv_prog_CC="$CC" # Let the user override the test.
2380 else
2381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2382 for as_dir in $PATH
2384 IFS=$as_save_IFS
2385 test -z "$as_dir" && as_dir=.
2386 for ac_exec_ext in '' $ac_executable_extensions; do
2387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2388 ac_cv_prog_CC="${ac_tool_prefix}cc"
2389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2390 break 2
2392 done
2393 done
2394 IFS=$as_save_IFS
2398 CC=$ac_cv_prog_CC
2399 if test -n "$CC"; then
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2401 $as_echo "$CC" >&6; }
2402 else
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2404 $as_echo "no" >&6; }
2410 if test -z "$CC"; then
2411 # Extract the first word of "cc", so it can be a program name with args.
2412 set dummy cc; ac_word=$2
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2414 $as_echo_n "checking for $ac_word... " >&6; }
2415 if test "${ac_cv_prog_CC+set}" = set; then :
2416 $as_echo_n "(cached) " >&6
2417 else
2418 if test -n "$CC"; then
2419 ac_cv_prog_CC="$CC" # Let the user override the test.
2420 else
2421 ac_prog_rejected=no
2422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2423 for as_dir in $PATH
2425 IFS=$as_save_IFS
2426 test -z "$as_dir" && as_dir=.
2427 for ac_exec_ext in '' $ac_executable_extensions; do
2428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2429 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2430 ac_prog_rejected=yes
2431 continue
2433 ac_cv_prog_CC="cc"
2434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2435 break 2
2437 done
2438 done
2439 IFS=$as_save_IFS
2441 if test $ac_prog_rejected = yes; then
2442 # We found a bogon in the path, so make sure we never use it.
2443 set dummy $ac_cv_prog_CC
2444 shift
2445 if test $# != 0; then
2446 # We chose a different compiler from the bogus one.
2447 # However, it has the same basename, so the bogon will be chosen
2448 # first if we set CC to just the basename; use the full file name.
2449 shift
2450 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2455 CC=$ac_cv_prog_CC
2456 if test -n "$CC"; then
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2458 $as_echo "$CC" >&6; }
2459 else
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2461 $as_echo "no" >&6; }
2466 if test -z "$CC"; then
2467 if test -n "$ac_tool_prefix"; then
2468 for ac_prog in cl.exe
2470 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2471 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2473 $as_echo_n "checking for $ac_word... " >&6; }
2474 if test "${ac_cv_prog_CC+set}" = set; then :
2475 $as_echo_n "(cached) " >&6
2476 else
2477 if test -n "$CC"; then
2478 ac_cv_prog_CC="$CC" # Let the user override the test.
2479 else
2480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2481 for as_dir in $PATH
2483 IFS=$as_save_IFS
2484 test -z "$as_dir" && as_dir=.
2485 for ac_exec_ext in '' $ac_executable_extensions; do
2486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2487 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2489 break 2
2491 done
2492 done
2493 IFS=$as_save_IFS
2497 CC=$ac_cv_prog_CC
2498 if test -n "$CC"; then
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2500 $as_echo "$CC" >&6; }
2501 else
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2503 $as_echo "no" >&6; }
2507 test -n "$CC" && break
2508 done
2510 if test -z "$CC"; then
2511 ac_ct_CC=$CC
2512 for ac_prog in cl.exe
2514 # Extract the first word of "$ac_prog", so it can be a program name with args.
2515 set dummy $ac_prog; ac_word=$2
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2517 $as_echo_n "checking for $ac_word... " >&6; }
2518 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2519 $as_echo_n "(cached) " >&6
2520 else
2521 if test -n "$ac_ct_CC"; then
2522 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2523 else
2524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2525 for as_dir in $PATH
2527 IFS=$as_save_IFS
2528 test -z "$as_dir" && as_dir=.
2529 for ac_exec_ext in '' $ac_executable_extensions; do
2530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2531 ac_cv_prog_ac_ct_CC="$ac_prog"
2532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2533 break 2
2535 done
2536 done
2537 IFS=$as_save_IFS
2541 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2542 if test -n "$ac_ct_CC"; then
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2544 $as_echo "$ac_ct_CC" >&6; }
2545 else
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2547 $as_echo "no" >&6; }
2551 test -n "$ac_ct_CC" && break
2552 done
2554 if test "x$ac_ct_CC" = x; then
2555 CC=""
2556 else
2557 case $cross_compiling:$ac_tool_warned in
2558 yes:)
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2560 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2561 ac_tool_warned=yes ;;
2562 esac
2563 CC=$ac_ct_CC
2570 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2571 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2572 as_fn_error "no acceptable C compiler found in \$PATH
2573 See \`config.log' for more details." "$LINENO" 5; }
2575 # Provide some information about the compiler.
2576 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2577 set X $ac_compile
2578 ac_compiler=$2
2579 for ac_option in --version -v -V -qversion; do
2580 { { ac_try="$ac_compiler $ac_option >&5"
2581 case "(($ac_try" in
2582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2583 *) ac_try_echo=$ac_try;;
2584 esac
2585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2586 $as_echo "$ac_try_echo"; } >&5
2587 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2588 ac_status=$?
2589 if test -s conftest.err; then
2590 sed '10a\
2591 ... rest of stderr output deleted ...
2592 10q' conftest.err >conftest.er1
2593 cat conftest.er1 >&5
2594 rm -f conftest.er1 conftest.err
2596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2597 test $ac_status = 0; }
2598 done
2600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2601 /* end confdefs.h. */
2604 main ()
2608 return 0;
2610 _ACEOF
2611 ac_clean_files_save=$ac_clean_files
2612 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2613 # Try to create an executable without -o first, disregard a.out.
2614 # It will help us diagnose broken compilers, and finding out an intuition
2615 # of exeext.
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2617 $as_echo_n "checking for C compiler default output file name... " >&6; }
2618 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2620 # The possible output files:
2621 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2623 ac_rmfiles=
2624 for ac_file in $ac_files
2626 case $ac_file in
2627 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2628 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2629 esac
2630 done
2631 rm -f $ac_rmfiles
2633 if { { ac_try="$ac_link_default"
2634 case "(($ac_try" in
2635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2636 *) ac_try_echo=$ac_try;;
2637 esac
2638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2639 $as_echo "$ac_try_echo"; } >&5
2640 (eval "$ac_link_default") 2>&5
2641 ac_status=$?
2642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2643 test $ac_status = 0; }; then :
2644 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2645 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2646 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2647 # so that the user can short-circuit this test for compilers unknown to
2648 # Autoconf.
2649 for ac_file in $ac_files ''
2651 test -f "$ac_file" || continue
2652 case $ac_file in
2653 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2655 [ab].out )
2656 # We found the default executable, but exeext='' is most
2657 # certainly right.
2658 break;;
2659 *.* )
2660 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2661 then :; else
2662 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2664 # We set ac_cv_exeext here because the later test for it is not
2665 # safe: cross compilers may not add the suffix if given an `-o'
2666 # argument, so we may need to know it at that point already.
2667 # Even if this section looks crufty: it has the advantage of
2668 # actually working.
2669 break;;
2671 break;;
2672 esac
2673 done
2674 test "$ac_cv_exeext" = no && ac_cv_exeext=
2676 else
2677 ac_file=''
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2680 $as_echo "$ac_file" >&6; }
2681 if test -z "$ac_file"; then :
2682 $as_echo "$as_me: failed program was:" >&5
2683 sed 's/^/| /' conftest.$ac_ext >&5
2685 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2686 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2687 { as_fn_set_status 77
2688 as_fn_error "C compiler cannot create executables
2689 See \`config.log' for more details." "$LINENO" 5; }; }
2691 ac_exeext=$ac_cv_exeext
2693 # Check that the compiler produces executables we can run. If not, either
2694 # the compiler is broken, or we cross compile.
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2696 $as_echo_n "checking whether the C compiler works... " >&6; }
2697 # If not cross compiling, check that we can run a simple program.
2698 if test "$cross_compiling" != yes; then
2699 if { ac_try='./$ac_file'
2700 { { case "(($ac_try" in
2701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2702 *) ac_try_echo=$ac_try;;
2703 esac
2704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2705 $as_echo "$ac_try_echo"; } >&5
2706 (eval "$ac_try") 2>&5
2707 ac_status=$?
2708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2709 test $ac_status = 0; }; }; then
2710 cross_compiling=no
2711 else
2712 if test "$cross_compiling" = maybe; then
2713 cross_compiling=yes
2714 else
2715 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2716 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2717 as_fn_error "cannot run C compiled programs.
2718 If you meant to cross compile, use \`--host'.
2719 See \`config.log' for more details." "$LINENO" 5; }
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2724 $as_echo "yes" >&6; }
2726 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2727 ac_clean_files=$ac_clean_files_save
2728 # Check that the compiler produces executables we can run. If not, either
2729 # the compiler is broken, or we cross compile.
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2731 $as_echo_n "checking whether we are cross compiling... " >&6; }
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2733 $as_echo "$cross_compiling" >&6; }
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2736 $as_echo_n "checking for suffix of executables... " >&6; }
2737 if { { ac_try="$ac_link"
2738 case "(($ac_try" in
2739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2740 *) ac_try_echo=$ac_try;;
2741 esac
2742 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2743 $as_echo "$ac_try_echo"; } >&5
2744 (eval "$ac_link") 2>&5
2745 ac_status=$?
2746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2747 test $ac_status = 0; }; then :
2748 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2749 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2750 # work properly (i.e., refer to `conftest.exe'), while it won't with
2751 # `rm'.
2752 for ac_file in conftest.exe conftest conftest.*; do
2753 test -f "$ac_file" || continue
2754 case $ac_file in
2755 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2756 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2757 break;;
2758 * ) break;;
2759 esac
2760 done
2761 else
2762 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2763 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2764 as_fn_error "cannot compute suffix of executables: cannot compile and link
2765 See \`config.log' for more details." "$LINENO" 5; }
2767 rm -f conftest$ac_cv_exeext
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2769 $as_echo "$ac_cv_exeext" >&6; }
2771 rm -f conftest.$ac_ext
2772 EXEEXT=$ac_cv_exeext
2773 ac_exeext=$EXEEXT
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2775 $as_echo_n "checking for suffix of object files... " >&6; }
2776 if test "${ac_cv_objext+set}" = set; then :
2777 $as_echo_n "(cached) " >&6
2778 else
2779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2780 /* end confdefs.h. */
2783 main ()
2787 return 0;
2789 _ACEOF
2790 rm -f conftest.o conftest.obj
2791 if { { ac_try="$ac_compile"
2792 case "(($ac_try" in
2793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2794 *) ac_try_echo=$ac_try;;
2795 esac
2796 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2797 $as_echo "$ac_try_echo"; } >&5
2798 (eval "$ac_compile") 2>&5
2799 ac_status=$?
2800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2801 test $ac_status = 0; }; then :
2802 for ac_file in conftest.o conftest.obj conftest.*; do
2803 test -f "$ac_file" || continue;
2804 case $ac_file in
2805 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2806 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2807 break;;
2808 esac
2809 done
2810 else
2811 $as_echo "$as_me: failed program was:" >&5
2812 sed 's/^/| /' conftest.$ac_ext >&5
2814 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2815 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2816 as_fn_error "cannot compute suffix of object files: cannot compile
2817 See \`config.log' for more details." "$LINENO" 5; }
2819 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2822 $as_echo "$ac_cv_objext" >&6; }
2823 OBJEXT=$ac_cv_objext
2824 ac_objext=$OBJEXT
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2826 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2827 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2828 $as_echo_n "(cached) " >&6
2829 else
2830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2831 /* end confdefs.h. */
2834 main ()
2836 #ifndef __GNUC__
2837 choke me
2838 #endif
2841 return 0;
2843 _ACEOF
2844 if ac_fn_c_try_compile "$LINENO"; then :
2845 ac_compiler_gnu=yes
2846 else
2847 ac_compiler_gnu=no
2849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2850 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2854 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2855 if test $ac_compiler_gnu = yes; then
2856 GCC=yes
2857 else
2858 GCC=
2860 ac_test_CFLAGS=${CFLAGS+set}
2861 ac_save_CFLAGS=$CFLAGS
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2863 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2864 if test "${ac_cv_prog_cc_g+set}" = set; then :
2865 $as_echo_n "(cached) " >&6
2866 else
2867 ac_save_c_werror_flag=$ac_c_werror_flag
2868 ac_c_werror_flag=yes
2869 ac_cv_prog_cc_g=no
2870 CFLAGS="-g"
2871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2872 /* end confdefs.h. */
2875 main ()
2879 return 0;
2881 _ACEOF
2882 if ac_fn_c_try_compile "$LINENO"; then :
2883 ac_cv_prog_cc_g=yes
2884 else
2885 CFLAGS=""
2886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2887 /* end confdefs.h. */
2890 main ()
2894 return 0;
2896 _ACEOF
2897 if ac_fn_c_try_compile "$LINENO"; then :
2899 else
2900 ac_c_werror_flag=$ac_save_c_werror_flag
2901 CFLAGS="-g"
2902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2903 /* end confdefs.h. */
2906 main ()
2910 return 0;
2912 _ACEOF
2913 if ac_fn_c_try_compile "$LINENO"; then :
2914 ac_cv_prog_cc_g=yes
2916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2921 ac_c_werror_flag=$ac_save_c_werror_flag
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2924 $as_echo "$ac_cv_prog_cc_g" >&6; }
2925 if test "$ac_test_CFLAGS" = set; then
2926 CFLAGS=$ac_save_CFLAGS
2927 elif test $ac_cv_prog_cc_g = yes; then
2928 if test "$GCC" = yes; then
2929 CFLAGS="-g -O2"
2930 else
2931 CFLAGS="-g"
2933 else
2934 if test "$GCC" = yes; then
2935 CFLAGS="-O2"
2936 else
2937 CFLAGS=
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2941 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2942 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2943 $as_echo_n "(cached) " >&6
2944 else
2945 ac_cv_prog_cc_c89=no
2946 ac_save_CC=$CC
2947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2948 /* end confdefs.h. */
2949 #include <stdarg.h>
2950 #include <stdio.h>
2951 #include <sys/types.h>
2952 #include <sys/stat.h>
2953 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2954 struct buf { int x; };
2955 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2956 static char *e (p, i)
2957 char **p;
2958 int i;
2960 return p[i];
2962 static char *f (char * (*g) (char **, int), char **p, ...)
2964 char *s;
2965 va_list v;
2966 va_start (v,p);
2967 s = g (p, va_arg (v,int));
2968 va_end (v);
2969 return s;
2972 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2973 function prototypes and stuff, but not '\xHH' hex character constants.
2974 These don't provoke an error unfortunately, instead are silently treated
2975 as 'x'. The following induces an error, until -std is added to get
2976 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2977 array size at least. It's necessary to write '\x00'==0 to get something
2978 that's true only with -std. */
2979 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2981 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2982 inside strings and character constants. */
2983 #define FOO(x) 'x'
2984 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2986 int test (int i, double x);
2987 struct s1 {int (*f) (int a);};
2988 struct s2 {int (*f) (double a);};
2989 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2990 int argc;
2991 char **argv;
2993 main ()
2995 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2997 return 0;
2999 _ACEOF
3000 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3001 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3003 CC="$ac_save_CC $ac_arg"
3004 if ac_fn_c_try_compile "$LINENO"; then :
3005 ac_cv_prog_cc_c89=$ac_arg
3007 rm -f core conftest.err conftest.$ac_objext
3008 test "x$ac_cv_prog_cc_c89" != "xno" && break
3009 done
3010 rm -f conftest.$ac_ext
3011 CC=$ac_save_CC
3014 # AC_CACHE_VAL
3015 case "x$ac_cv_prog_cc_c89" in
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3018 $as_echo "none needed" >&6; } ;;
3019 xno)
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3021 $as_echo "unsupported" >&6; } ;;
3023 CC="$CC $ac_cv_prog_cc_c89"
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3025 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3026 esac
3027 if test "x$ac_cv_prog_cc_c89" != xno; then :
3031 ac_ext=c
3032 ac_cpp='$CPP $CPPFLAGS'
3033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3041 # Check whether --enable-shared was given.
3042 if test "${enable_shared+set}" = set; then :
3043 enableval=$enable_shared;
3044 case $enable_shared in
3045 yes | no) ;;
3047 enable_shared=no
3048 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3049 for pkg in $enableval; do
3050 case $pkg in
3051 ada | libada)
3052 enable_shared=yes ;;
3053 esac
3054 done
3055 IFS="$ac_save_ifs"
3057 esac
3059 else
3060 enable_shared=yes
3069 case "${host}" in
3070 # PIC is the default on some targets or must not be used.
3071 *-*-darwin*)
3072 # For darwin, common symbols are not allowed in MH_DYLIB files
3073 case "${CFLAGS}" in
3074 # If we are using a compiler supporting mdynamic-no-pic
3075 # and the option has been tested as safe to add, then cancel
3076 # it here, since the code generated is incompatible with shared
3077 # libs.
3078 *-mdynamic-no-pic*) PICFLAG='-fno-common -mno-dynamic-no-pic' ;;
3079 *) PICFLAG=-fno-common ;;
3080 esac
3082 alpha*-dec-osf5*)
3083 # PIC is the default.
3085 hppa*64*-*-hpux*)
3086 # PIC is the default for 64-bit PA HP-UX.
3088 i[34567]86-*-cygwin* | x86_64-*-cygwin*)
3090 i[34567]86-*-mingw* | x86_64-*-mingw*)
3092 i[34567]86-*-interix[3-9]*)
3093 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
3094 # Instead, we relocate shared libraries at runtime.
3096 i[34567]86-*-nto-qnx*)
3097 # QNX uses GNU C++, but need to define -shared option too, otherwise
3098 # it will coredump.
3099 PICFLAG='-fPIC -shared'
3101 i[34567]86-pc-msdosdjgpp*)
3102 # DJGPP does not support shared libraries at all.
3104 ia64*-*-hpux*)
3105 # On IA64 HP-UX, PIC is the default but the pic flag
3106 # sets the default TLS model and affects inlining.
3107 PICFLAG=-fPIC
3109 mips-sgi-irix6*)
3110 # PIC is the default.
3112 rs6000-ibm-aix* | powerpc-ibm-aix*)
3113 # All AIX code is PIC.
3116 # Some targets support both -fPIC and -fpic, but prefer the latter.
3117 # FIXME: Why?
3118 i[34567]86-*-* | x86_64-*-*)
3119 PICFLAG=-fpic
3121 # FIXME: Override -fPIC default in libgcc only?
3122 sh-*-linux* | sh[2346lbe]*-*-linux*)
3123 PICFLAG=-fpic
3125 # FIXME: Simplify to sh*-*-netbsd*?
3126 sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
3127 sh64-*-netbsd* | sh64l*-*-netbsd*)
3128 PICFLAG=-fpic
3130 # Default to -fPIC unless specified otherwise.
3132 PICFLAG=-fPIC
3134 esac
3136 # If the user explicitly uses -fpic/-fPIC, keep that.
3137 case "${CFLAGS}" in
3138 *-fpic*)
3139 PICFLAG=-fpic
3141 *-fPIC*)
3142 PICFLAG=-fPIC
3144 esac
3148 # These must be passed down, or are needed by gcc/libgcc.mvars
3149 for ac_prog in gawk mawk nawk awk
3151 # Extract the first word of "$ac_prog", so it can be a program name with args.
3152 set dummy $ac_prog; ac_word=$2
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3154 $as_echo_n "checking for $ac_word... " >&6; }
3155 if test "${ac_cv_prog_AWK+set}" = set; then :
3156 $as_echo_n "(cached) " >&6
3157 else
3158 if test -n "$AWK"; then
3159 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3160 else
3161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3162 for as_dir in $PATH
3164 IFS=$as_save_IFS
3165 test -z "$as_dir" && as_dir=.
3166 for ac_exec_ext in '' $ac_executable_extensions; do
3167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3168 ac_cv_prog_AWK="$ac_prog"
3169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3170 break 2
3172 done
3173 done
3174 IFS=$as_save_IFS
3178 AWK=$ac_cv_prog_AWK
3179 if test -n "$AWK"; then
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3181 $as_echo "$AWK" >&6; }
3182 else
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3184 $as_echo "no" >&6; }
3188 test -n "$AWK" && break
3189 done
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3192 $as_echo_n "checking whether ln -s works... " >&6; }
3193 LN_S=$as_ln_s
3194 if test "$LN_S" = "ln -s"; then
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3196 $as_echo "yes" >&6; }
3197 else
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3199 $as_echo "no, using $LN_S" >&6; }
3203 # Determine what to build for 'gnatlib'
3204 if test $build = $target \
3205 && test ${enable_shared} = yes ; then
3206 # Note that build=target is almost certainly the wrong test; FIXME
3207 default_gnatlib_target="gnatlib-shared"
3208 else
3209 default_gnatlib_target="gnatlib-plain"
3213 # Check for _Unwind_GetIPInfo
3216 # Check whether --with-system-libunwind was given.
3217 if test "${with_system_libunwind+set}" = set; then :
3218 withval=$with_system_libunwind;
3221 # If system-libunwind was not specifically set, pick a default setting.
3222 if test x$with_system_libunwind = x; then
3223 case ${target} in
3224 ia64-*-hpux*) with_system_libunwind=yes ;;
3225 *) with_system_libunwind=no ;;
3226 esac
3228 # Based on system-libunwind and target, do we have ipinfo?
3229 if test x$with_system_libunwind = xyes; then
3230 case ${target} in
3231 ia64-*-*) have_unwind_getipinfo=no ;;
3232 *) have_unwind_getipinfo=yes ;;
3233 esac
3234 else
3235 # Darwin before version 9 does not have _Unwind_GetIPInfo.
3237 case ${target} in
3238 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
3239 *) have_unwind_getipinfo=yes ;;
3240 esac
3244 if test x$have_unwind_getipinfo = xyes; then
3246 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
3250 have_getipinfo=
3251 if test x$have_unwind_getipinfo = xyes; then
3252 have_getipinfo=-DHAVE_GETIPINFO
3256 # Check for <sys/capability.h>
3258 ac_ext=c
3259 ac_cpp='$CPP $CPPFLAGS'
3260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3264 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3265 # On Suns, sometimes $CPP names a directory.
3266 if test -n "$CPP" && test -d "$CPP"; then
3267 CPP=
3269 if test -z "$CPP"; then
3270 if test "${ac_cv_prog_CPP+set}" = set; then :
3271 $as_echo_n "(cached) " >&6
3272 else
3273 # Double quotes because CPP needs to be expanded
3274 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3276 ac_preproc_ok=false
3277 for ac_c_preproc_warn_flag in '' yes
3279 # Use a header file that comes with gcc, so configuring glibc
3280 # with a fresh cross-compiler works.
3281 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3282 # <limits.h> exists even on freestanding compilers.
3283 # On the NeXT, cc -E runs the code through the compiler's parser,
3284 # not just through cpp. "Syntax error" is here to catch this case.
3285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3286 /* end confdefs.h. */
3287 #ifdef __STDC__
3288 # include <limits.h>
3289 #else
3290 # include <assert.h>
3291 #endif
3292 Syntax error
3293 _ACEOF
3294 if ac_fn_c_try_cpp "$LINENO"; then :
3296 else
3297 # Broken: fails on valid input.
3298 continue
3300 rm -f conftest.err conftest.$ac_ext
3302 # OK, works on sane cases. Now check whether nonexistent headers
3303 # can be detected and how.
3304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3305 /* end confdefs.h. */
3306 #include <ac_nonexistent.h>
3307 _ACEOF
3308 if ac_fn_c_try_cpp "$LINENO"; then :
3309 # Broken: success on invalid input.
3310 continue
3311 else
3312 # Passes both tests.
3313 ac_preproc_ok=:
3314 break
3316 rm -f conftest.err conftest.$ac_ext
3318 done
3319 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3320 rm -f conftest.err conftest.$ac_ext
3321 if $ac_preproc_ok; then :
3322 break
3325 done
3326 ac_cv_prog_CPP=$CPP
3329 CPP=$ac_cv_prog_CPP
3330 else
3331 ac_cv_prog_CPP=$CPP
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3334 $as_echo "$CPP" >&6; }
3335 ac_preproc_ok=false
3336 for ac_c_preproc_warn_flag in '' yes
3338 # Use a header file that comes with gcc, so configuring glibc
3339 # with a fresh cross-compiler works.
3340 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3341 # <limits.h> exists even on freestanding compilers.
3342 # On the NeXT, cc -E runs the code through the compiler's parser,
3343 # not just through cpp. "Syntax error" is here to catch this case.
3344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3345 /* end confdefs.h. */
3346 #ifdef __STDC__
3347 # include <limits.h>
3348 #else
3349 # include <assert.h>
3350 #endif
3351 Syntax error
3352 _ACEOF
3353 if ac_fn_c_try_cpp "$LINENO"; then :
3355 else
3356 # Broken: fails on valid input.
3357 continue
3359 rm -f conftest.err conftest.$ac_ext
3361 # OK, works on sane cases. Now check whether nonexistent headers
3362 # can be detected and how.
3363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3364 /* end confdefs.h. */
3365 #include <ac_nonexistent.h>
3366 _ACEOF
3367 if ac_fn_c_try_cpp "$LINENO"; then :
3368 # Broken: success on invalid input.
3369 continue
3370 else
3371 # Passes both tests.
3372 ac_preproc_ok=:
3373 break
3375 rm -f conftest.err conftest.$ac_ext
3377 done
3378 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3379 rm -f conftest.err conftest.$ac_ext
3380 if $ac_preproc_ok; then :
3382 else
3383 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3384 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3385 as_fn_error "C preprocessor \"$CPP\" fails sanity check
3386 See \`config.log' for more details." "$LINENO" 5; }
3389 ac_ext=c
3390 ac_cpp='$CPP $CPPFLAGS'
3391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3397 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3398 if test "${ac_cv_path_GREP+set}" = set; then :
3399 $as_echo_n "(cached) " >&6
3400 else
3401 if test -z "$GREP"; then
3402 ac_path_GREP_found=false
3403 # Loop through the user's path and test for each of PROGNAME-LIST
3404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3405 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3407 IFS=$as_save_IFS
3408 test -z "$as_dir" && as_dir=.
3409 for ac_prog in grep ggrep; do
3410 for ac_exec_ext in '' $ac_executable_extensions; do
3411 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3412 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3413 # Check for GNU ac_path_GREP and select it if it is found.
3414 # Check for GNU $ac_path_GREP
3415 case `"$ac_path_GREP" --version 2>&1` in
3416 *GNU*)
3417 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3419 ac_count=0
3420 $as_echo_n 0123456789 >"conftest.in"
3421 while :
3423 cat "conftest.in" "conftest.in" >"conftest.tmp"
3424 mv "conftest.tmp" "conftest.in"
3425 cp "conftest.in" "conftest.nl"
3426 $as_echo 'GREP' >> "conftest.nl"
3427 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3428 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3429 as_fn_arith $ac_count + 1 && ac_count=$as_val
3430 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3431 # Best one so far, save it but keep looking for a better one
3432 ac_cv_path_GREP="$ac_path_GREP"
3433 ac_path_GREP_max=$ac_count
3435 # 10*(2^10) chars as input seems more than enough
3436 test $ac_count -gt 10 && break
3437 done
3438 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3439 esac
3441 $ac_path_GREP_found && break 3
3442 done
3443 done
3444 done
3445 IFS=$as_save_IFS
3446 if test -z "$ac_cv_path_GREP"; then
3447 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3449 else
3450 ac_cv_path_GREP=$GREP
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3455 $as_echo "$ac_cv_path_GREP" >&6; }
3456 GREP="$ac_cv_path_GREP"
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3460 $as_echo_n "checking for egrep... " >&6; }
3461 if test "${ac_cv_path_EGREP+set}" = set; then :
3462 $as_echo_n "(cached) " >&6
3463 else
3464 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3465 then ac_cv_path_EGREP="$GREP -E"
3466 else
3467 if test -z "$EGREP"; then
3468 ac_path_EGREP_found=false
3469 # Loop through the user's path and test for each of PROGNAME-LIST
3470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3471 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3473 IFS=$as_save_IFS
3474 test -z "$as_dir" && as_dir=.
3475 for ac_prog in egrep; do
3476 for ac_exec_ext in '' $ac_executable_extensions; do
3477 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3478 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3479 # Check for GNU ac_path_EGREP and select it if it is found.
3480 # Check for GNU $ac_path_EGREP
3481 case `"$ac_path_EGREP" --version 2>&1` in
3482 *GNU*)
3483 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3485 ac_count=0
3486 $as_echo_n 0123456789 >"conftest.in"
3487 while :
3489 cat "conftest.in" "conftest.in" >"conftest.tmp"
3490 mv "conftest.tmp" "conftest.in"
3491 cp "conftest.in" "conftest.nl"
3492 $as_echo 'EGREP' >> "conftest.nl"
3493 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3494 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3495 as_fn_arith $ac_count + 1 && ac_count=$as_val
3496 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3497 # Best one so far, save it but keep looking for a better one
3498 ac_cv_path_EGREP="$ac_path_EGREP"
3499 ac_path_EGREP_max=$ac_count
3501 # 10*(2^10) chars as input seems more than enough
3502 test $ac_count -gt 10 && break
3503 done
3504 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3505 esac
3507 $ac_path_EGREP_found && break 3
3508 done
3509 done
3510 done
3511 IFS=$as_save_IFS
3512 if test -z "$ac_cv_path_EGREP"; then
3513 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3515 else
3516 ac_cv_path_EGREP=$EGREP
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3522 $as_echo "$ac_cv_path_EGREP" >&6; }
3523 EGREP="$ac_cv_path_EGREP"
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3527 $as_echo_n "checking for ANSI C header files... " >&6; }
3528 if test "${ac_cv_header_stdc+set}" = set; then :
3529 $as_echo_n "(cached) " >&6
3530 else
3531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3532 /* end confdefs.h. */
3533 #include <stdlib.h>
3534 #include <stdarg.h>
3535 #include <string.h>
3536 #include <float.h>
3539 main ()
3543 return 0;
3545 _ACEOF
3546 if ac_fn_c_try_compile "$LINENO"; then :
3547 ac_cv_header_stdc=yes
3548 else
3549 ac_cv_header_stdc=no
3551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3553 if test $ac_cv_header_stdc = yes; then
3554 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3556 /* end confdefs.h. */
3557 #include <string.h>
3559 _ACEOF
3560 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3561 $EGREP "memchr" >/dev/null 2>&1; then :
3563 else
3564 ac_cv_header_stdc=no
3566 rm -f conftest*
3570 if test $ac_cv_header_stdc = yes; then
3571 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3573 /* end confdefs.h. */
3574 #include <stdlib.h>
3576 _ACEOF
3577 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3578 $EGREP "free" >/dev/null 2>&1; then :
3580 else
3581 ac_cv_header_stdc=no
3583 rm -f conftest*
3587 if test $ac_cv_header_stdc = yes; then
3588 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3589 if test "$cross_compiling" = yes; then :
3591 else
3592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3593 /* end confdefs.h. */
3594 #include <ctype.h>
3595 #include <stdlib.h>
3596 #if ((' ' & 0x0FF) == 0x020)
3597 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3598 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3599 #else
3600 # define ISLOWER(c) \
3601 (('a' <= (c) && (c) <= 'i') \
3602 || ('j' <= (c) && (c) <= 'r') \
3603 || ('s' <= (c) && (c) <= 'z'))
3604 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3605 #endif
3607 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3609 main ()
3611 int i;
3612 for (i = 0; i < 256; i++)
3613 if (XOR (islower (i), ISLOWER (i))
3614 || toupper (i) != TOUPPER (i))
3615 return 2;
3616 return 0;
3618 _ACEOF
3619 if ac_fn_c_try_run "$LINENO"; then :
3621 else
3622 ac_cv_header_stdc=no
3624 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3625 conftest.$ac_objext conftest.beam conftest.$ac_ext
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3631 $as_echo "$ac_cv_header_stdc" >&6; }
3632 if test $ac_cv_header_stdc = yes; then
3634 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3638 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3639 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3640 inttypes.h stdint.h unistd.h
3641 do :
3642 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3643 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3645 eval as_val=\$$as_ac_Header
3646 if test "x$as_val" = x""yes; then :
3647 cat >>confdefs.h <<_ACEOF
3648 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3649 _ACEOF
3653 done
3656 ac_fn_c_check_header_mongrel "$LINENO" "sys/capability.h" "ac_cv_header_sys_capability_h" "$ac_includes_default"
3657 if test "x$ac_cv_header_sys_capability_h" = x""yes; then :
3658 have_capability=-DHAVE_CAPABILITY
3659 else
3660 have_capability=
3666 # Determine what GCC version number to use in filesystem paths.
3668 get_gcc_base_ver="cat"
3670 # Check whether --with-gcc-major-version-only was given.
3671 if test "${with_gcc_major_version_only+set}" = set; then :
3672 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
3673 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
3681 # Output: create a Makefile.
3682 ac_config_files="$ac_config_files Makefile"
3685 cat >confcache <<\_ACEOF
3686 # This file is a shell script that caches the results of configure
3687 # tests run on this system so they can be shared between configure
3688 # scripts and configure runs, see configure's option --config-cache.
3689 # It is not useful on other systems. If it contains results you don't
3690 # want to keep, you may remove or edit it.
3692 # config.status only pays attention to the cache file if you give it
3693 # the --recheck option to rerun configure.
3695 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3696 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3697 # following values.
3699 _ACEOF
3701 # The following way of writing the cache mishandles newlines in values,
3702 # but we know of no workaround that is simple, portable, and efficient.
3703 # So, we kill variables containing newlines.
3704 # Ultrix sh set writes to stderr and can't be redirected directly,
3705 # and sets the high bit in the cache file unless we assign to the vars.
3707 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3708 eval ac_val=\$$ac_var
3709 case $ac_val in #(
3710 *${as_nl}*)
3711 case $ac_var in #(
3712 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3713 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3714 esac
3715 case $ac_var in #(
3716 _ | IFS | as_nl) ;; #(
3717 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3718 *) { eval $ac_var=; unset $ac_var;} ;;
3719 esac ;;
3720 esac
3721 done
3723 (set) 2>&1 |
3724 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3725 *${as_nl}ac_space=\ *)
3726 # `set' does not quote correctly, so add quotes: double-quote
3727 # substitution turns \\\\ into \\, and sed turns \\ into \.
3728 sed -n \
3729 "s/'/'\\\\''/g;
3730 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3731 ;; #(
3733 # `set' quotes correctly as required by POSIX, so do not add quotes.
3734 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3736 esac |
3737 sort
3739 sed '
3740 /^ac_cv_env_/b end
3741 t clear
3742 :clear
3743 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3744 t end
3745 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3746 :end' >>confcache
3747 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3748 if test -w "$cache_file"; then
3749 test "x$cache_file" != "x/dev/null" &&
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3751 $as_echo "$as_me: updating cache $cache_file" >&6;}
3752 cat confcache >$cache_file
3753 else
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3755 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3758 rm -f confcache
3760 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3761 # Let make expand exec_prefix.
3762 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3764 # Transform confdefs.h into DEFS.
3765 # Protect against shell expansion while executing Makefile rules.
3766 # Protect against Makefile macro expansion.
3768 # If the first sed substitution is executed (which looks for macros that
3769 # take arguments), then branch to the quote section. Otherwise,
3770 # look for a macro that doesn't take arguments.
3771 ac_script='
3772 :mline
3773 /\\$/{
3775 s,\\\n,,
3776 b mline
3778 t clear
3779 :clear
3780 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3781 t quote
3782 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3783 t quote
3784 b any
3785 :quote
3786 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3787 s/\[/\\&/g
3788 s/\]/\\&/g
3789 s/\$/$$/g
3791 :any
3794 s/^\n//
3795 s/\n/ /g
3799 DEFS=`sed -n "$ac_script" confdefs.h`
3802 ac_libobjs=
3803 ac_ltlibobjs=
3804 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3805 # 1. Remove the extension, and $U if already installed.
3806 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3807 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3808 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3809 # will be set to the directory where LIBOBJS objects are built.
3810 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3811 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3812 done
3813 LIBOBJS=$ac_libobjs
3815 LTLIBOBJS=$ac_ltlibobjs
3819 : ${CONFIG_STATUS=./config.status}
3820 ac_write_fail=0
3821 ac_clean_files_save=$ac_clean_files
3822 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3824 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3825 as_write_fail=0
3826 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3827 #! $SHELL
3828 # Generated by $as_me.
3829 # Run this file to recreate the current configuration.
3830 # Compiler output produced by configure, useful for debugging
3831 # configure, is in config.log if it exists.
3833 debug=false
3834 ac_cs_recheck=false
3835 ac_cs_silent=false
3837 SHELL=\${CONFIG_SHELL-$SHELL}
3838 export SHELL
3839 _ASEOF
3840 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3841 ## -------------------- ##
3842 ## M4sh Initialization. ##
3843 ## -------------------- ##
3845 # Be more Bourne compatible
3846 DUALCASE=1; export DUALCASE # for MKS sh
3847 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3848 emulate sh
3849 NULLCMD=:
3850 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3851 # is contrary to our usage. Disable this feature.
3852 alias -g '${1+"$@"}'='"$@"'
3853 setopt NO_GLOB_SUBST
3854 else
3855 case `(set -o) 2>/dev/null` in #(
3856 *posix*) :
3857 set -o posix ;; #(
3858 *) :
3860 esac
3864 as_nl='
3866 export as_nl
3867 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3868 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3869 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3870 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3871 # Prefer a ksh shell builtin over an external printf program on Solaris,
3872 # but without wasting forks for bash or zsh.
3873 if test -z "$BASH_VERSION$ZSH_VERSION" \
3874 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3875 as_echo='print -r --'
3876 as_echo_n='print -rn --'
3877 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3878 as_echo='printf %s\n'
3879 as_echo_n='printf %s'
3880 else
3881 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3882 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3883 as_echo_n='/usr/ucb/echo -n'
3884 else
3885 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3886 as_echo_n_body='eval
3887 arg=$1;
3888 case $arg in #(
3889 *"$as_nl"*)
3890 expr "X$arg" : "X\\(.*\\)$as_nl";
3891 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3892 esac;
3893 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3895 export as_echo_n_body
3896 as_echo_n='sh -c $as_echo_n_body as_echo'
3898 export as_echo_body
3899 as_echo='sh -c $as_echo_body as_echo'
3902 # The user is always right.
3903 if test "${PATH_SEPARATOR+set}" != set; then
3904 PATH_SEPARATOR=:
3905 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3906 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3907 PATH_SEPARATOR=';'
3912 # IFS
3913 # We need space, tab and new line, in precisely that order. Quoting is
3914 # there to prevent editors from complaining about space-tab.
3915 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3916 # splitting by setting IFS to empty value.)
3917 IFS=" "" $as_nl"
3919 # Find who we are. Look in the path if we contain no directory separator.
3920 case $0 in #((
3921 *[\\/]* ) as_myself=$0 ;;
3922 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3923 for as_dir in $PATH
3925 IFS=$as_save_IFS
3926 test -z "$as_dir" && as_dir=.
3927 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3928 done
3929 IFS=$as_save_IFS
3932 esac
3933 # We did not find ourselves, most probably we were run as `sh COMMAND'
3934 # in which case we are not to be found in the path.
3935 if test "x$as_myself" = x; then
3936 as_myself=$0
3938 if test ! -f "$as_myself"; then
3939 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3940 exit 1
3943 # Unset variables that we do not need and which cause bugs (e.g. in
3944 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3945 # suppresses any "Segmentation fault" message there. '((' could
3946 # trigger a bug in pdksh 5.2.14.
3947 for as_var in BASH_ENV ENV MAIL MAILPATH
3948 do eval test x\${$as_var+set} = xset \
3949 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3950 done
3951 PS1='$ '
3952 PS2='> '
3953 PS4='+ '
3955 # NLS nuisances.
3956 LC_ALL=C
3957 export LC_ALL
3958 LANGUAGE=C
3959 export LANGUAGE
3961 # CDPATH.
3962 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3965 # as_fn_error ERROR [LINENO LOG_FD]
3966 # ---------------------------------
3967 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3968 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3969 # script with status $?, using 1 if that was 0.
3970 as_fn_error ()
3972 as_status=$?; test $as_status -eq 0 && as_status=1
3973 if test "$3"; then
3974 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3975 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
3977 $as_echo "$as_me: error: $1" >&2
3978 as_fn_exit $as_status
3979 } # as_fn_error
3982 # as_fn_set_status STATUS
3983 # -----------------------
3984 # Set $? to STATUS, without forking.
3985 as_fn_set_status ()
3987 return $1
3988 } # as_fn_set_status
3990 # as_fn_exit STATUS
3991 # -----------------
3992 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3993 as_fn_exit ()
3995 set +e
3996 as_fn_set_status $1
3997 exit $1
3998 } # as_fn_exit
4000 # as_fn_unset VAR
4001 # ---------------
4002 # Portably unset VAR.
4003 as_fn_unset ()
4005 { eval $1=; unset $1;}
4007 as_unset=as_fn_unset
4008 # as_fn_append VAR VALUE
4009 # ----------------------
4010 # Append the text in VALUE to the end of the definition contained in VAR. Take
4011 # advantage of any shell optimizations that allow amortized linear growth over
4012 # repeated appends, instead of the typical quadratic growth present in naive
4013 # implementations.
4014 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4015 eval 'as_fn_append ()
4017 eval $1+=\$2
4019 else
4020 as_fn_append ()
4022 eval $1=\$$1\$2
4024 fi # as_fn_append
4026 # as_fn_arith ARG...
4027 # ------------------
4028 # Perform arithmetic evaluation on the ARGs, and store the result in the
4029 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4030 # must be portable across $(()) and expr.
4031 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4032 eval 'as_fn_arith ()
4034 as_val=$(( $* ))
4036 else
4037 as_fn_arith ()
4039 as_val=`expr "$@" || test $? -eq 1`
4041 fi # as_fn_arith
4044 if expr a : '\(a\)' >/dev/null 2>&1 &&
4045 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4046 as_expr=expr
4047 else
4048 as_expr=false
4051 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4052 as_basename=basename
4053 else
4054 as_basename=false
4057 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4058 as_dirname=dirname
4059 else
4060 as_dirname=false
4063 as_me=`$as_basename -- "$0" ||
4064 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4065 X"$0" : 'X\(//\)$' \| \
4066 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4067 $as_echo X/"$0" |
4068 sed '/^.*\/\([^/][^/]*\)\/*$/{
4069 s//\1/
4072 /^X\/\(\/\/\)$/{
4073 s//\1/
4076 /^X\/\(\/\).*/{
4077 s//\1/
4080 s/.*/./; q'`
4082 # Avoid depending upon Character Ranges.
4083 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4084 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4085 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4086 as_cr_digits='0123456789'
4087 as_cr_alnum=$as_cr_Letters$as_cr_digits
4089 ECHO_C= ECHO_N= ECHO_T=
4090 case `echo -n x` in #(((((
4091 -n*)
4092 case `echo 'xy\c'` in
4093 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4094 xy) ECHO_C='\c';;
4095 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4096 ECHO_T=' ';;
4097 esac;;
4099 ECHO_N='-n';;
4100 esac
4102 rm -f conf$$ conf$$.exe conf$$.file
4103 if test -d conf$$.dir; then
4104 rm -f conf$$.dir/conf$$.file
4105 else
4106 rm -f conf$$.dir
4107 mkdir conf$$.dir 2>/dev/null
4109 if (echo >conf$$.file) 2>/dev/null; then
4110 if ln -s conf$$.file conf$$ 2>/dev/null; then
4111 as_ln_s='ln -s'
4112 # ... but there are two gotchas:
4113 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4114 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4115 # In both cases, we have to default to `cp -p'.
4116 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4117 as_ln_s='cp -p'
4118 elif ln conf$$.file conf$$ 2>/dev/null; then
4119 as_ln_s=ln
4120 else
4121 as_ln_s='cp -p'
4123 else
4124 as_ln_s='cp -p'
4126 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4127 rmdir conf$$.dir 2>/dev/null
4130 # as_fn_mkdir_p
4131 # -------------
4132 # Create "$as_dir" as a directory, including parents if necessary.
4133 as_fn_mkdir_p ()
4136 case $as_dir in #(
4137 -*) as_dir=./$as_dir;;
4138 esac
4139 test -d "$as_dir" || eval $as_mkdir_p || {
4140 as_dirs=
4141 while :; do
4142 case $as_dir in #(
4143 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4144 *) as_qdir=$as_dir;;
4145 esac
4146 as_dirs="'$as_qdir' $as_dirs"
4147 as_dir=`$as_dirname -- "$as_dir" ||
4148 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4149 X"$as_dir" : 'X\(//\)[^/]' \| \
4150 X"$as_dir" : 'X\(//\)$' \| \
4151 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4152 $as_echo X"$as_dir" |
4153 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4154 s//\1/
4157 /^X\(\/\/\)[^/].*/{
4158 s//\1/
4161 /^X\(\/\/\)$/{
4162 s//\1/
4165 /^X\(\/\).*/{
4166 s//\1/
4169 s/.*/./; q'`
4170 test -d "$as_dir" && break
4171 done
4172 test -z "$as_dirs" || eval "mkdir $as_dirs"
4173 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
4176 } # as_fn_mkdir_p
4177 if mkdir -p . 2>/dev/null; then
4178 as_mkdir_p='mkdir -p "$as_dir"'
4179 else
4180 test -d ./-p && rmdir ./-p
4181 as_mkdir_p=false
4184 if test -x / >/dev/null 2>&1; then
4185 as_test_x='test -x'
4186 else
4187 if ls -dL / >/dev/null 2>&1; then
4188 as_ls_L_option=L
4189 else
4190 as_ls_L_option=
4192 as_test_x='
4193 eval sh -c '\''
4194 if test -d "$1"; then
4195 test -d "$1/.";
4196 else
4197 case $1 in #(
4198 -*)set "./$1";;
4199 esac;
4200 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4201 ???[sx]*):;;*)false;;esac;fi
4202 '\'' sh
4205 as_executable_p=$as_test_x
4207 # Sed expression to map a string onto a valid CPP name.
4208 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4210 # Sed expression to map a string onto a valid variable name.
4211 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4214 exec 6>&1
4215 ## ----------------------------------- ##
4216 ## Main body of $CONFIG_STATUS script. ##
4217 ## ----------------------------------- ##
4218 _ASEOF
4219 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4221 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4222 # Save the log message, to keep $0 and so on meaningful, and to
4223 # report actual input values of CONFIG_FILES etc. instead of their
4224 # values after options handling.
4225 ac_log="
4226 This file was extended by $as_me, which was
4227 generated by GNU Autoconf 2.64. Invocation command line was
4229 CONFIG_FILES = $CONFIG_FILES
4230 CONFIG_HEADERS = $CONFIG_HEADERS
4231 CONFIG_LINKS = $CONFIG_LINKS
4232 CONFIG_COMMANDS = $CONFIG_COMMANDS
4233 $ $0 $@
4235 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4238 _ACEOF
4240 case $ac_config_files in *"
4241 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4242 esac
4246 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4247 # Files that config.status was made for.
4248 config_files="$ac_config_files"
4249 config_commands="$ac_config_commands"
4251 _ACEOF
4253 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4254 ac_cs_usage="\
4255 \`$as_me' instantiates files and other configuration actions
4256 from templates according to the current configuration. Unless the files
4257 and actions are specified as TAGs, all are instantiated by default.
4259 Usage: $0 [OPTION]... [TAG]...
4261 -h, --help print this help, then exit
4262 -V, --version print version number and configuration settings, then exit
4263 -q, --quiet, --silent
4264 do not print progress messages
4265 -d, --debug don't remove temporary files
4266 --recheck update $as_me by reconfiguring in the same conditions
4267 --file=FILE[:TEMPLATE]
4268 instantiate the configuration file FILE
4270 Configuration files:
4271 $config_files
4273 Configuration commands:
4274 $config_commands
4276 Report bugs to the package provider."
4278 _ACEOF
4279 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4280 ac_cs_version="\\
4281 config.status
4282 configured by $0, generated by GNU Autoconf 2.64,
4283 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4285 Copyright (C) 2009 Free Software Foundation, Inc.
4286 This config.status script is free software; the Free Software Foundation
4287 gives unlimited permission to copy, distribute and modify it."
4289 ac_pwd='$ac_pwd'
4290 srcdir='$srcdir'
4291 AWK='$AWK'
4292 test -n "\$AWK" || AWK=awk
4293 _ACEOF
4295 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4296 # The default lists apply if the user does not specify any file.
4297 ac_need_defaults=:
4298 while test $# != 0
4300 case $1 in
4301 --*=*)
4302 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4303 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4304 ac_shift=:
4307 ac_option=$1
4308 ac_optarg=$2
4309 ac_shift=shift
4311 esac
4313 case $ac_option in
4314 # Handling of the options.
4315 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4316 ac_cs_recheck=: ;;
4317 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4318 $as_echo "$ac_cs_version"; exit ;;
4319 --debug | --debu | --deb | --de | --d | -d )
4320 debug=: ;;
4321 --file | --fil | --fi | --f )
4322 $ac_shift
4323 case $ac_optarg in
4324 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4325 esac
4326 as_fn_append CONFIG_FILES " '$ac_optarg'"
4327 ac_need_defaults=false;;
4328 --he | --h | --help | --hel | -h )
4329 $as_echo "$ac_cs_usage"; exit ;;
4330 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4331 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4332 ac_cs_silent=: ;;
4334 # This is an error.
4335 -*) as_fn_error "unrecognized option: \`$1'
4336 Try \`$0 --help' for more information." ;;
4338 *) as_fn_append ac_config_targets " $1"
4339 ac_need_defaults=false ;;
4341 esac
4342 shift
4343 done
4345 ac_configure_extra_args=
4347 if $ac_cs_silent; then
4348 exec 6>/dev/null
4349 ac_configure_extra_args="$ac_configure_extra_args --silent"
4352 _ACEOF
4353 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4354 if \$ac_cs_recheck; then
4355 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4356 shift
4357 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4358 CONFIG_SHELL='$SHELL'
4359 export CONFIG_SHELL
4360 exec "\$@"
4363 _ACEOF
4364 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4365 exec 5>>config.log
4367 echo
4368 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4369 ## Running $as_me. ##
4370 _ASBOX
4371 $as_echo "$ac_log"
4372 } >&5
4374 _ACEOF
4375 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4377 # INIT-COMMANDS
4380 srcdir="$srcdir"
4381 host="$host"
4382 target="$target"
4383 with_multisubdir="$with_multisubdir"
4384 with_multisrctop="$with_multisrctop"
4385 with_target_subdir="$with_target_subdir"
4386 ac_configure_args="${multilib_arg} ${ac_configure_args}"
4387 multi_basedir="$multi_basedir"
4388 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
4389 CC="$CC"
4390 CXX="$CXX"
4391 GFORTRAN="$GFORTRAN"
4393 _ACEOF
4395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4397 # Handling of arguments.
4398 for ac_config_target in $ac_config_targets
4400 case $ac_config_target in
4401 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
4402 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4404 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4405 esac
4406 done
4409 # If the user did not use the arguments to specify the items to instantiate,
4410 # then the envvar interface is used. Set only those that are not.
4411 # We use the long form for the default assignment because of an extremely
4412 # bizarre bug on SunOS 4.1.3.
4413 if $ac_need_defaults; then
4414 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4415 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4418 # Have a temporary directory for convenience. Make it in the build tree
4419 # simply because there is no reason against having it here, and in addition,
4420 # creating and moving files from /tmp can sometimes cause problems.
4421 # Hook for its removal unless debugging.
4422 # Note that there is a small window in which the directory will not be cleaned:
4423 # after its creation but before its name has been assigned to `$tmp'.
4424 $debug ||
4426 tmp=
4427 trap 'exit_status=$?
4428 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4430 trap 'as_fn_exit 1' 1 2 13 15
4432 # Create a (secure) tmp directory for tmp files.
4435 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4436 test -n "$tmp" && test -d "$tmp"
4437 } ||
4439 tmp=./conf$$-$RANDOM
4440 (umask 077 && mkdir "$tmp")
4441 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
4443 # Set up the scripts for CONFIG_FILES section.
4444 # No need to generate them if there are no CONFIG_FILES.
4445 # This happens for instance with `./config.status config.h'.
4446 if test -n "$CONFIG_FILES"; then
4449 ac_cr=`echo X | tr X '\015'`
4450 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4451 # But we know of no other shell where ac_cr would be empty at this
4452 # point, so we can use a bashism as a fallback.
4453 if test "x$ac_cr" = x; then
4454 eval ac_cr=\$\'\\r\'
4456 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4457 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4458 ac_cs_awk_cr='\r'
4459 else
4460 ac_cs_awk_cr=$ac_cr
4463 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4464 _ACEOF
4468 echo "cat >conf$$subs.awk <<_ACEOF" &&
4469 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4470 echo "_ACEOF"
4471 } >conf$$subs.sh ||
4472 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4473 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4474 ac_delim='%!_!# '
4475 for ac_last_try in false false false false false :; do
4476 . ./conf$$subs.sh ||
4477 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4479 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4480 if test $ac_delim_n = $ac_delim_num; then
4481 break
4482 elif $ac_last_try; then
4483 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4484 else
4485 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4487 done
4488 rm -f conf$$subs.sh
4490 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4491 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4492 _ACEOF
4493 sed -n '
4495 s/^/S["/; s/!.*/"]=/
4498 s/^[^!]*!//
4499 :repl
4500 t repl
4501 s/'"$ac_delim"'$//
4502 t delim
4505 s/\(.\{148\}\).*/\1/
4506 t more1
4507 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4510 b repl
4511 :more1
4512 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4515 s/.\{148\}//
4516 t nl
4517 :delim
4519 s/\(.\{148\}\).*/\1/
4520 t more2
4521 s/["\\]/\\&/g; s/^/"/; s/$/"/
4524 :more2
4525 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4528 s/.\{148\}//
4529 t delim
4530 ' <conf$$subs.awk | sed '
4531 /^[^""]/{
4533 s/\n//
4535 ' >>$CONFIG_STATUS || ac_write_fail=1
4536 rm -f conf$$subs.awk
4537 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4538 _ACAWK
4539 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4540 for (key in S) S_is_set[key] = 1
4541 FS = "\a"
4545 line = $ 0
4546 nfields = split(line, field, "@")
4547 substed = 0
4548 len = length(field[1])
4549 for (i = 2; i < nfields; i++) {
4550 key = field[i]
4551 keylen = length(key)
4552 if (S_is_set[key]) {
4553 value = S[key]
4554 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4555 len += length(value) + length(field[++i])
4556 substed = 1
4557 } else
4558 len += 1 + keylen
4561 print line
4564 _ACAWK
4565 _ACEOF
4566 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4567 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4568 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4569 else
4571 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4572 || as_fn_error "could not setup config files machinery" "$LINENO" 5
4573 _ACEOF
4575 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4576 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4577 # trailing colons and then remove the whole line if VPATH becomes empty
4578 # (actually we leave an empty line to preserve line numbers).
4579 if test "x$srcdir" = x.; then
4580 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4581 s/:*\$(srcdir):*/:/
4582 s/:*\${srcdir}:*/:/
4583 s/:*@srcdir@:*/:/
4584 s/^\([^=]*=[ ]*\):*/\1/
4585 s/:*$//
4586 s/^[^=]*=[ ]*$//
4590 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4591 fi # test -n "$CONFIG_FILES"
4594 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
4595 shift
4596 for ac_tag
4598 case $ac_tag in
4599 :[FHLC]) ac_mode=$ac_tag; continue;;
4600 esac
4601 case $ac_mode$ac_tag in
4602 :[FHL]*:*);;
4603 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
4604 :[FH]-) ac_tag=-:-;;
4605 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4606 esac
4607 ac_save_IFS=$IFS
4608 IFS=:
4609 set x $ac_tag
4610 IFS=$ac_save_IFS
4611 shift
4612 ac_file=$1
4613 shift
4615 case $ac_mode in
4616 :L) ac_source=$1;;
4617 :[FH])
4618 ac_file_inputs=
4619 for ac_f
4621 case $ac_f in
4622 -) ac_f="$tmp/stdin";;
4623 *) # Look for the file first in the build tree, then in the source tree
4624 # (if the path is not absolute). The absolute path cannot be DOS-style,
4625 # because $ac_f cannot contain `:'.
4626 test -f "$ac_f" ||
4627 case $ac_f in
4628 [\\/$]*) false;;
4629 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4630 esac ||
4631 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4632 esac
4633 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4634 as_fn_append ac_file_inputs " '$ac_f'"
4635 done
4637 # Let's still pretend it is `configure' which instantiates (i.e., don't
4638 # use $as_me), people would be surprised to read:
4639 # /* config.h. Generated by config.status. */
4640 configure_input='Generated from '`
4641 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4642 `' by configure.'
4643 if test x"$ac_file" != x-; then
4644 configure_input="$ac_file. $configure_input"
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4646 $as_echo "$as_me: creating $ac_file" >&6;}
4648 # Neutralize special characters interpreted by sed in replacement strings.
4649 case $configure_input in #(
4650 *\&* | *\|* | *\\* )
4651 ac_sed_conf_input=`$as_echo "$configure_input" |
4652 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4653 *) ac_sed_conf_input=$configure_input;;
4654 esac
4656 case $ac_tag in
4657 *:-:* | *:-) cat >"$tmp/stdin" \
4658 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
4659 esac
4661 esac
4663 ac_dir=`$as_dirname -- "$ac_file" ||
4664 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4665 X"$ac_file" : 'X\(//\)[^/]' \| \
4666 X"$ac_file" : 'X\(//\)$' \| \
4667 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4668 $as_echo X"$ac_file" |
4669 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4670 s//\1/
4673 /^X\(\/\/\)[^/].*/{
4674 s//\1/
4677 /^X\(\/\/\)$/{
4678 s//\1/
4681 /^X\(\/\).*/{
4682 s//\1/
4685 s/.*/./; q'`
4686 as_dir="$ac_dir"; as_fn_mkdir_p
4687 ac_builddir=.
4689 case "$ac_dir" in
4690 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4692 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4693 # A ".." for each directory in $ac_dir_suffix.
4694 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4695 case $ac_top_builddir_sub in
4696 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4697 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4698 esac ;;
4699 esac
4700 ac_abs_top_builddir=$ac_pwd
4701 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4702 # for backward compatibility:
4703 ac_top_builddir=$ac_top_build_prefix
4705 case $srcdir in
4706 .) # We are building in place.
4707 ac_srcdir=.
4708 ac_top_srcdir=$ac_top_builddir_sub
4709 ac_abs_top_srcdir=$ac_pwd ;;
4710 [\\/]* | ?:[\\/]* ) # Absolute name.
4711 ac_srcdir=$srcdir$ac_dir_suffix;
4712 ac_top_srcdir=$srcdir
4713 ac_abs_top_srcdir=$srcdir ;;
4714 *) # Relative name.
4715 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4716 ac_top_srcdir=$ac_top_build_prefix$srcdir
4717 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4718 esac
4719 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4722 case $ac_mode in
4725 # CONFIG_FILE
4728 _ACEOF
4730 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4731 # If the template does not know about datarootdir, expand it.
4732 # FIXME: This hack should be removed a few years after 2.60.
4733 ac_datarootdir_hack=; ac_datarootdir_seen=
4734 ac_sed_dataroot='
4735 /datarootdir/ {
4739 /@datadir@/p
4740 /@docdir@/p
4741 /@infodir@/p
4742 /@localedir@/p
4743 /@mandir@/p'
4744 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4745 *datarootdir*) ac_datarootdir_seen=yes;;
4746 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4748 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4749 _ACEOF
4750 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4751 ac_datarootdir_hack='
4752 s&@datadir@&$datadir&g
4753 s&@docdir@&$docdir&g
4754 s&@infodir@&$infodir&g
4755 s&@localedir@&$localedir&g
4756 s&@mandir@&$mandir&g
4757 s&\\\${datarootdir}&$datarootdir&g' ;;
4758 esac
4759 _ACEOF
4761 # Neutralize VPATH when `$srcdir' = `.'.
4762 # Shell code in configure.ac might set extrasub.
4763 # FIXME: do we really want to maintain this feature?
4764 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4765 ac_sed_extra="$ac_vpsub
4766 $extrasub
4767 _ACEOF
4768 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4770 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4771 s|@configure_input@|$ac_sed_conf_input|;t t
4772 s&@top_builddir@&$ac_top_builddir_sub&;t t
4773 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4774 s&@srcdir@&$ac_srcdir&;t t
4775 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4776 s&@top_srcdir@&$ac_top_srcdir&;t t
4777 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4778 s&@builddir@&$ac_builddir&;t t
4779 s&@abs_builddir@&$ac_abs_builddir&;t t
4780 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4781 $ac_datarootdir_hack
4783 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4784 || as_fn_error "could not create $ac_file" "$LINENO" 5
4786 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4787 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4788 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4790 which seems to be undefined. Please make sure it is defined." >&5
4791 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4792 which seems to be undefined. Please make sure it is defined." >&2;}
4794 rm -f "$tmp/stdin"
4795 case $ac_file in
4796 -) cat "$tmp/out" && rm -f "$tmp/out";;
4797 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4798 esac \
4799 || as_fn_error "could not create $ac_file" "$LINENO" 5
4803 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
4804 $as_echo "$as_me: executing $ac_file commands" >&6;}
4806 esac
4809 case $ac_file$ac_mode in
4810 "default-1":C)
4811 # Only add multilib support code if we just rebuilt the top-level
4812 # Makefile.
4813 case " $CONFIG_FILES " in
4814 *" Makefile "*)
4815 ac_file=Makefile . ${multi_basedir}/config-ml.in
4817 esac ;;
4819 esac
4820 done # for ac_tag
4823 as_fn_exit 0
4824 _ACEOF
4825 ac_clean_files=$ac_clean_files_save
4827 test $ac_write_fail = 0 ||
4828 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
4831 # configure is writing to config.log, and then calls config.status.
4832 # config.status does its own redirection, appending to config.log.
4833 # Unfortunately, on DOS this fails, as config.log is still kept open
4834 # by configure, so config.status won't be able to write to it; its
4835 # output is simply discarded. So we exec the FD to /dev/null,
4836 # effectively closing config.log, so it can be properly (re)opened and
4837 # appended to by config.status. When coming back to configure, we
4838 # need to make the FD available again.
4839 if test "$no_create" != yes; then
4840 ac_cs_success=:
4841 ac_config_status_args=
4842 test "$silent" = yes &&
4843 ac_config_status_args="$ac_config_status_args --quiet"
4844 exec 5>/dev/null
4845 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4846 exec 5>>config.log
4847 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4848 # would make configure fail if this is the last instruction.
4849 $ac_cs_success || as_fn_exit $?
4851 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4853 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}