2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software 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 :
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+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
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
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
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'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
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.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
199 if (eval "$as_required") 2>/dev
/null
; then :
204 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
209 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
212 test -z "$as_dir" && as_dir
=.
216 for as_base
in sh bash ksh sh5
; do
217 # Try only shells that exist, to save several forks.
218 as_shell
=$as_dir/$as_base
219 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
220 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
221 CONFIG_SHELL
=$as_shell as_have_required
=yes
222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
230 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
232 CONFIG_SHELL
=$SHELL as_have_required
=yes
237 if test "x$CONFIG_SHELL" != x
; then :
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
245 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
247 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 if test x
$as_have_required = xno
; then :
260 $as_echo "$0: This script requires a shell more modern than all"
261 $as_echo "$0: the shells that I found on your system."
262 if test x
${ZSH_VERSION+set} = xset
; then
263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267 $0: including any error possibly output before this
268 $0: message. Then install a modern shell, or manually run
269 $0: the script under such a shell if you do have one."
275 SHELL
=${CONFIG_SHELL-/bin/sh}
277 # Unset more variables known to interfere with behavior of common tools.
278 CLICOLOR_FORCE
= GREP_OPTIONS
=
279 unset CLICOLOR_FORCE GREP_OPTIONS
281 ## --------------------- ##
282 ## M4sh Shell Functions. ##
283 ## --------------------- ##
286 # Portably unset VAR.
289 { eval $1=; unset $1;}
293 # as_fn_set_status STATUS
294 # -----------------------
295 # Set $? to STATUS, without forking.
303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 # Create "$as_dir" as a directory, including parents if necessary.
318 -*) as_dir
=.
/$as_dir;;
320 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
324 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
327 as_dirs
="'$as_qdir' $as_dirs"
328 as_dir
=`$as_dirname -- "$as_dir" ||
329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330 X"$as_dir" : 'X\(//\)[^/]' \| \
331 X"$as_dir" : 'X\(//\)$' \| \
332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333 $as_echo X"$as_dir" |
334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
351 test -d "$as_dir" && break
353 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
354 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
359 # as_fn_executable_p FILE
360 # -----------------------
361 # Test if FILE is an executable regular file.
362 as_fn_executable_p
()
364 test -f "$1" && test -x "$1"
365 } # as_fn_executable_p
366 # as_fn_append VAR VALUE
367 # ----------------------
368 # Append the text in VALUE to the end of the definition contained in VAR. Take
369 # advantage of any shell optimizations that allow amortized linear growth over
370 # repeated appends, instead of the typical quadratic growth present in naive
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
373 eval 'as_fn_append ()
386 # Perform arithmetic evaluation on the ARGs, and store the result in the
387 # global $as_val. Take advantage of shells that can avoid forks. The arguments
388 # must be portable across $(()) and expr.
389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
397 as_val
=`expr "$@" || test $? -eq 1`
402 # as_fn_error STATUS ERROR [LINENO LOG_FD]
403 # ----------------------------------------
404 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406 # script with STATUS, using 1 if that was 0.
409 as_status
=$1; test $as_status -eq 0 && as_status
=1
411 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414 $as_echo "$as_me: error: $2" >&2
415 as_fn_exit
$as_status
418 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
419 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
425 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
431 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
437 as_me
=`$as_basename -- "$0" ||
438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439 X"$0" : 'X\(//\)$' \| \
440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
442 sed '/^.*\/\([^/][^/]*\)\/*$/{
456 # Avoid depending upon Character Ranges.
457 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
458 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
460 as_cr_digits
='0123456789'
461 as_cr_alnum
=$as_cr_Letters$as_cr_digits
464 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
465 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
484 chmod +x
"$as_me.lineno" ||
485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488 # already done that, so ensure we don't try to do so again and fall
489 # in an infinite loop. This has already happened in practice.
490 _as_can_reexec
=no
; export _as_can_reexec
491 # Don't try to exec as it changes $[0], causing all sort of problems
492 # (the dirname of $[0] is not the place where we might find the
493 # original and so on. Autoconf is especially sensitive to this).
495 # Exit status is that of the last command.
499 ECHO_C
= ECHO_N
= ECHO_T
=
500 case `echo -n x` in #(((((
502 case `echo 'xy\c'` in
503 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
512 rm -f conf$$ conf$$.exe conf$$.
file
513 if test -d conf$$.dir
; then
514 rm -f conf$$.dir
/conf$$.
file
517 mkdir conf$$.dir
2>/dev
/null
519 if (echo >conf$$.
file) 2>/dev
/null
; then
520 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -pR'.
526 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
528 elif ln conf$$.
file conf$$
2>/dev
/null
; then
536 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
537 rmdir conf$$.dir
2>/dev
/null
539 if mkdir
-p .
2>/dev
/null
; then
540 as_mkdir_p
='mkdir -p "$as_dir"'
542 test -d .
/-p && rmdir .
/-p
547 as_executable_p
=as_fn_executable_p
549 # Sed expression to map a string onto a valid CPP name.
550 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552 # Sed expression to map a string onto a valid variable name.
553 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
556 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
560 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
561 # so uname gets run too.
562 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
567 ac_default_prefix
=/usr
/local
569 ac_config_libobj_dir
=.
576 # Identity of this package.
584 ac_unique_file
="../mmakefile"
585 ac_subst_vars
='LTLIBOBJS
587 aros_nowarnflags_int_in_bool_context
588 aros_warnflags_int_in_bool_context
589 aros_nowarnflags_class_memaccess
590 aros_warnflags_class_memaccess
591 aros_nowarnflags_missing_prototypes
592 aros_warnflags_missing_prototypes
593 aros_nowarnflags_implicit_fallthrough
594 aros_warnflags_implicit_fallthrough
595 aros_nowarnflags_missing_field_initializers
596 aros_warnflags_missing_field_initializers
597 aros_nowarnflags_shift_negative_value
598 aros_warnflags_shift_negative_value
599 aros_nowarnflags_stringop_truncation
600 aros_warnflags_stringop_truncation
601 aros_nowarnflags_format_truncation
602 aros_warnflags_format_truncation
603 aros_nowarnflags_stringop_overflow
604 aros_warnflags_stringop_overflow
605 aros_nowarnflags_format_overflow
606 aros_warnflags_format_overflow
607 aros_nowarnflags_empty_body
608 aros_warnflags_empty_body
609 aros_nowarnflags_tautological_compare
610 aros_warnflags_tautological_compare
611 aros_nowarnflags_lto_type_mismatch
612 aros_warnflags_lto_type_mismatch
613 aros_nowarnflags_format_zero_length
614 aros_warnflags_format_zero_length
615 aros_nowarnflags_return_type
616 aros_warnflags_return_type
617 aros_nowarnflags_sizeof_pointer_memaccess
618 aros_warnflags_sizeof_pointer_memaccess
619 aros_nowarnflags_volatile_register_var
620 aros_warnflags_volatile_register_var
621 aros_nowarnflags_narrowing
622 aros_warnflags_narrowing
623 aros_nowarnflags_conversion_null
624 aros_warnflags_conversion_null
625 aros_nowarnflags_missing_braces
626 aros_warnflags_missing_braces
627 aros_nowarnflags_unused_local_typedefs
628 aros_warnflags_unused_local_typedefs
629 aros_nowarnflags_overflow
630 aros_warnflags_overflow
631 aros_nowarnflags_attributes
632 aros_warnflags_attributes
633 aros_nowarnflags_sign_compare
634 aros_warnflags_sign_compare
635 aros_nowarnflags_deprecated_declarations
636 aros_warnflags_deprecated_declarations
637 aros_nowarnflags_frame_address
638 aros_warnflags_frame_address
639 aros_nowarnflags_shift_overflow
640 aros_warnflags_shift_overflow
641 aros_nowarnflags_pointer_sign
642 aros_warnflags_pointer_sign
643 aros_nowarnflags_logical_not_parentheses
644 aros_warnflags_logical_not_parentheses
645 aros_nowarnflags_bool_compare
646 aros_warnflags_bool_compare
647 aros_nowarnflags_incompatible_pointer_types
648 aros_warnflags_incompatible_pointer_types
649 aros_nowarnflags_comment
650 aros_warnflags_comment
651 aros_nowarnflags_write_strings
652 aros_warnflags_write_strings
653 aros_nowarnflags_unused_const_variable
654 aros_warnflags_unused_const_variable
655 aros_nowarnflags_pointer_to_int_cast
656 aros_warnflags_pointer_to_int_cast
657 aros_nowarnflags_int_to_pointer_cast
658 aros_warnflags_int_to_pointer_cast
659 aros_nowarnflags_int_conversion
660 aros_warnflags_int_conversion
661 aros_nowarnflags_discarded_array_qualifiers
662 aros_warnflags_discarded_array_qualifiers
663 aros_nowarnflags_unknown_pragmas
664 aros_warnflags_unknown_pragmas
665 aros_nowarnflags_sequence_point
666 aros_warnflags_sequence_point
667 aros_nowarnflags_discarded_qualifiers
668 aros_warnflags_discarded_qualifiers
669 aros_nowarnflags_switch
670 aros_warnflags_switch
673 aros_nowarnflags_aggressive_loop_optimizations
674 aros_warnflags_aggressive_loop_optimizations
675 aros_nowarnflags_implicit_int
676 aros_warnflags_implicit_int
677 aros_nowarnflags_format_contains_nul
678 aros_warnflags_format_contains_nul
679 aros_nowarnflags_endif_labels
680 aros_warnflags_endif_labels
681 aros_nowarnflags_char_subscripts
682 aros_warnflags_char_subscripts
683 aros_nowarnflags_parentheses
684 aros_warnflags_parentheses
685 aros_nowarnflags_format
686 aros_warnflags_format
687 aros_nowarnflags_implicit_function_declaration
688 aros_warnflags_implicit_function_declaration
689 aros_nowarnflags_maybe_uninitialized
690 aros_warnflags_maybe_uninitialized
691 aros_nowarnflags_uninitialized
692 aros_warnflags_uninitialized
693 aros_nowarnflags_unused_parameter
694 aros_warnflags_unused_parameter
695 aros_nowarnflags_unused_function
696 aros_warnflags_unused_function
697 aros_nowarnflags_unused_variable
698 aros_warnflags_unused_variable
699 aros_nowarnflags_unused_value
700 aros_warnflags_unused_value
701 aros_nowarnflags_unused_label
702 aros_warnflags_unused_label
703 aros_nowarnflags_unused
704 aros_warnflags_unused
705 aros_nowarnflags_nonnull_compare
706 aros_warnflags_nonnull_compare
707 aros_nowarnflags_misleading_indentation
708 aros_warnflags_misleading_indentation
709 aros_nowarnflags_format_security
710 aros_warnflags_format_security
711 aros_nowarnflags_strict_overflow
712 aros_warnflags_strict_overflow
713 aros_nowarnflags_strict_prototypes
714 aros_warnflags_strict_prototypes
715 aros_nowarnflags_enum_compare
716 aros_warnflags_enum_compare
717 aros_nowarnflags_array_bounds
718 aros_warnflags_array_bounds
719 aros_nowarnflags_strict_aliasing
720 aros_warnflags_strict_aliasing
721 aros_nowarnflags_unused_but_set_variable
722 aros_warnflags_unused_but_set_variable
723 aros_nowarnflags_unknown_warning_option
724 aros_warnflags_unknown_warning_option
725 aros_nowarnflags_unused_command_line_argument
726 aros_warnflags_unused_command_line_argument
727 aros_nowarnflags_restrict
728 aros_warnflags_restrict
730 aros_nowarnflags_error
732 aros_cflags_no_red_zone
733 aros_cflags_iquote_end
735 aros_cflags_isystem_end
737 aros_cflags_no_builtin_vsnprintf
738 aros_cflags_no_builtin_floor
739 aros_cflags_no_builtin
740 aros_cflags_noalignednew
741 aros_cflags_alignednew
742 aros_cflags_notestcoverage
743 aros_cflags_testcoverage
744 aros_cflags_noprofilearcs
745 aros_cflags_profilearcs
750 aros_cflags_noinlinesmallfunctions
751 aros_cflags_inlinesmallfunctions
752 aros_cflags_nostrictaliasing
753 aros_cflags_strictaliasing
754 aros_cflags_unroll_loops
755 aros_cflags_peel_loops
756 aros_cflags_loop_strip_mine
757 aros_cflags_loop_interchange
758 aros_cflags_loop_block
759 aros_cflags_whole_program
762 aros_cflags_fast_math
765 aros_cflags_nopermissive
766 aros_cflags_permissive
767 aros_cflags_noexceptions
768 aros_cflags_exceptions
804 program_transform_name
817 enable_option_checking
820 ac_precious_vars
='build_alias
830 # Initialize some variables set by options.
832 ac_init_version
=false
833 ac_unrecognized_opts
=
835 # The variables have the same names as the options, with
836 # dashes changed to underlines.
844 program_transform_name
=s
,x
,x
,
852 # Installation directory options.
853 # These are left unexpanded so users can "make install exec_prefix=/foo"
854 # and all the variables that are supposed to be based on exec_prefix
855 # by default will actually change.
856 # Use braces instead of parens because sh, perl, etc. also accept them.
857 # (The list follows the same order as the GNU Coding Standards.)
858 bindir
='${exec_prefix}/bin'
859 sbindir
='${exec_prefix}/sbin'
860 libexecdir
='${exec_prefix}/libexec'
861 datarootdir
='${prefix}/share'
862 datadir
='${datarootdir}'
863 sysconfdir
='${prefix}/etc'
864 sharedstatedir
='${prefix}/com'
865 localstatedir
='${prefix}/var'
866 runstatedir
='${localstatedir}/run'
867 includedir
='${prefix}/include'
868 oldincludedir
='/usr/include'
869 docdir
='${datarootdir}/doc/${PACKAGE}'
870 infodir
='${datarootdir}/info'
875 libdir
='${exec_prefix}/lib'
876 localedir
='${datarootdir}/locale'
877 mandir
='${datarootdir}/man'
883 # If the previous option needs an argument, assign it.
884 if test -n "$ac_prev"; then
885 eval $ac_prev=\
$ac_option
891 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
896 # Accept the important Cygnus configure options, so we can diagnose typos.
898 case $ac_dashdash$ac_option in
902 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
904 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
907 -build |
--build |
--buil |
--bui |
--bu)
908 ac_prev
=build_alias
;;
909 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
910 build_alias
=$ac_optarg ;;
912 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
913 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
914 ac_prev
=cache_file
;;
915 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
916 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
917 cache_file
=$ac_optarg ;;
920 cache_file
=config.cache
;;
922 -datadir |
--datadir |
--datadi |
--datad)
924 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
925 datadir
=$ac_optarg ;;
927 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
928 |
--dataroo |
--dataro |
--datar)
929 ac_prev
=datarootdir
;;
930 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
931 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
932 datarootdir
=$ac_optarg ;;
934 -disable-* |
--disable-*)
935 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
936 # Reject names that are not valid shell variable names.
937 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
938 as_fn_error $?
"invalid feature name: $ac_useropt"
939 ac_useropt_orig
=$ac_useropt
940 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
941 case $ac_user_opts in
945 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
946 ac_unrecognized_sep
=', ';;
948 eval enable_
$ac_useropt=no
;;
950 -docdir |
--docdir |
--docdi |
--doc |
--do)
952 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
955 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
957 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
960 -enable-* |
--enable-*)
961 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
962 # Reject names that are not valid shell variable names.
963 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
964 as_fn_error $?
"invalid feature name: $ac_useropt"
965 ac_useropt_orig
=$ac_useropt
966 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
967 case $ac_user_opts in
971 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
972 ac_unrecognized_sep
=', ';;
974 eval enable_
$ac_useropt=\
$ac_optarg ;;
976 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
977 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
978 |
--exec |
--exe |
--ex)
979 ac_prev
=exec_prefix
;;
980 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
981 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
982 |
--exec=* |
--exe=* |
--ex=*)
983 exec_prefix
=$ac_optarg ;;
985 -gas |
--gas |
--ga |
--g)
986 # Obsolete; use --with-gas.
989 -help |
--help |
--hel |
--he |
-h)
991 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
992 ac_init_help
=recursive
;;
993 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
994 ac_init_help
=short
;;
996 -host |
--host |
--hos |
--ho)
997 ac_prev
=host_alias
;;
998 -host=* |
--host=* |
--hos=* |
--ho=*)
999 host_alias
=$ac_optarg ;;
1001 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1003 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1005 htmldir
=$ac_optarg ;;
1007 -includedir |
--includedir |
--includedi |
--included |
--include \
1008 |
--includ |
--inclu |
--incl |
--inc)
1009 ac_prev
=includedir
;;
1010 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1011 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1012 includedir
=$ac_optarg ;;
1014 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1016 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1017 infodir
=$ac_optarg ;;
1019 -libdir |
--libdir |
--libdi |
--libd)
1021 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1022 libdir
=$ac_optarg ;;
1024 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1025 |
--libexe |
--libex |
--libe)
1026 ac_prev
=libexecdir
;;
1027 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1028 |
--libexe=* |
--libex=* |
--libe=*)
1029 libexecdir
=$ac_optarg ;;
1031 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1032 ac_prev
=localedir
;;
1033 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1034 localedir
=$ac_optarg ;;
1036 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1037 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1038 ac_prev
=localstatedir
;;
1039 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1040 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1041 localstatedir
=$ac_optarg ;;
1043 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1045 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1046 mandir
=$ac_optarg ;;
1048 -nfp |
--nfp |
--nf)
1049 # Obsolete; use --without-fp.
1052 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1053 |
--no-cr |
--no-c |
-n)
1056 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1057 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1060 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1061 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1062 |
--oldin |
--oldi |
--old |
--ol |
--o)
1063 ac_prev
=oldincludedir
;;
1064 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1065 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1066 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1067 oldincludedir
=$ac_optarg ;;
1069 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1071 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1072 prefix
=$ac_optarg ;;
1074 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1075 |
--program-pre |
--program-pr |
--program-p)
1076 ac_prev
=program_prefix
;;
1077 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1078 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1079 program_prefix
=$ac_optarg ;;
1081 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1082 |
--program-suf |
--program-su |
--program-s)
1083 ac_prev
=program_suffix
;;
1084 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1085 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1086 program_suffix
=$ac_optarg ;;
1088 -program-transform-name |
--program-transform-name \
1089 |
--program-transform-nam |
--program-transform-na \
1090 |
--program-transform-n |
--program-transform- \
1091 |
--program-transform |
--program-transfor \
1092 |
--program-transfo |
--program-transf \
1093 |
--program-trans |
--program-tran \
1094 |
--progr-tra |
--program-tr |
--program-t)
1095 ac_prev
=program_transform_name
;;
1096 -program-transform-name=* |
--program-transform-name=* \
1097 |
--program-transform-nam=* |
--program-transform-na=* \
1098 |
--program-transform-n=* |
--program-transform-=* \
1099 |
--program-transform=* |
--program-transfor=* \
1100 |
--program-transfo=* |
--program-transf=* \
1101 |
--program-trans=* |
--program-tran=* \
1102 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1103 program_transform_name
=$ac_optarg ;;
1105 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1107 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1108 pdfdir
=$ac_optarg ;;
1110 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1112 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1115 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1116 |
-silent |
--silent |
--silen |
--sile |
--sil)
1119 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1120 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1121 |
--run |
--ru |
--r)
1122 ac_prev
=runstatedir
;;
1123 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1124 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1125 |
--run=* |
--ru=* |
--r=*)
1126 runstatedir
=$ac_optarg ;;
1128 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1130 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1132 sbindir
=$ac_optarg ;;
1134 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1135 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1136 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1138 ac_prev
=sharedstatedir
;;
1139 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1140 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1141 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1143 sharedstatedir
=$ac_optarg ;;
1145 -site |
--site |
--sit)
1147 -site=* |
--site=* |
--sit=*)
1150 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1152 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1153 srcdir
=$ac_optarg ;;
1155 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1156 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1157 ac_prev
=sysconfdir
;;
1158 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1159 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1160 sysconfdir
=$ac_optarg ;;
1162 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1163 ac_prev
=target_alias
;;
1164 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1165 target_alias
=$ac_optarg ;;
1167 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1170 -version |
--version |
--versio |
--versi |
--vers |
-V)
1171 ac_init_version
=: ;;
1174 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1175 # Reject names that are not valid shell variable names.
1176 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1177 as_fn_error $?
"invalid package name: $ac_useropt"
1178 ac_useropt_orig
=$ac_useropt
1179 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1180 case $ac_user_opts in
1184 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1185 ac_unrecognized_sep
=', ';;
1187 eval with_
$ac_useropt=\
$ac_optarg ;;
1189 -without-* |
--without-*)
1190 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1191 # Reject names that are not valid shell variable names.
1192 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1193 as_fn_error $?
"invalid package name: $ac_useropt"
1194 ac_useropt_orig
=$ac_useropt
1195 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1196 case $ac_user_opts in
1200 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1201 ac_unrecognized_sep
=', ';;
1203 eval with_
$ac_useropt=no
;;
1206 # Obsolete; use --with-x.
1209 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1210 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1211 ac_prev
=x_includes
;;
1212 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1213 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1214 x_includes
=$ac_optarg ;;
1216 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1217 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1218 ac_prev
=x_libraries
;;
1219 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1220 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1221 x_libraries
=$ac_optarg ;;
1223 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1224 Try \`$0 --help' for more information"
1228 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1229 # Reject names that are not valid shell variable names.
1230 case $ac_envvar in #(
1231 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1232 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1234 eval $ac_envvar=\
$ac_optarg
1235 export $ac_envvar ;;
1238 # FIXME: should be removed in autoconf 3.0.
1239 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1240 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1241 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1242 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1248 if test -n "$ac_prev"; then
1249 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1250 as_fn_error $?
"missing argument to $ac_option"
1253 if test -n "$ac_unrecognized_opts"; then
1254 case $enable_option_checking in
1256 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1257 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1261 # Check all directory arguments for consistency.
1262 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1263 datadir sysconfdir sharedstatedir localstatedir includedir \
1264 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1265 libdir localedir mandir runstatedir
1267 eval ac_val
=\$
$ac_var
1268 # Remove trailing slashes.
1271 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1272 eval $ac_var=\
$ac_val;;
1274 # Be sure to have absolute directory names.
1276 [\\/$
]* | ?
:[\\/]* ) continue;;
1277 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1279 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1282 # There might be people who depend on the old broken behavior: `$host'
1283 # used to hold the argument of --host etc.
1284 # FIXME: To remove some day.
1287 target
=$target_alias
1289 # FIXME: To remove some day.
1290 if test "x$host_alias" != x
; then
1291 if test "x$build_alias" = x
; then
1292 cross_compiling
=maybe
1293 elif test "x$build_alias" != "x$host_alias"; then
1299 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1301 test "$silent" = yes && exec 6>/dev
/null
1304 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1305 ac_ls_di
=`ls -di .` &&
1306 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1307 as_fn_error $?
"working directory cannot be determined"
1308 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1309 as_fn_error $?
"pwd does not report name of working directory"
1312 # Find the source files, if location was not specified.
1313 if test -z "$srcdir"; then
1314 ac_srcdir_defaulted
=yes
1315 # Try the directory containing this script, then the parent directory.
1316 ac_confdir
=`$as_dirname -- "$as_myself" ||
1317 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1318 X"$as_myself" : 'X\(//\)[^/]' \| \
1319 X"$as_myself" : 'X\(//\)$' \| \
1320 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1321 $as_echo X"$as_myself" |
1322 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1340 if test ! -r "$srcdir/$ac_unique_file"; then
1344 ac_srcdir_defaulted
=no
1346 if test ! -r "$srcdir/$ac_unique_file"; then
1347 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1348 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1350 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1352 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1354 # When building in place, set srcdir=.
1355 if test "$ac_abs_confdir" = "$ac_pwd"; then
1358 # Remove unnecessary trailing slashes from srcdir.
1359 # Double slashes in file names in object file debugging info
1360 # mess up M-x gdb in Emacs.
1362 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1364 for ac_var
in $ac_precious_vars; do
1365 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1366 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1367 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1368 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1372 # Report the --help message.
1374 if test "$ac_init_help" = "long"; then
1375 # Omit some internal or obsolete options to make the list less imposing.
1376 # This message is too long to be a string in the A/UX 3.1 sh.
1378 \`configure' configures this package to adapt to many kinds of systems.
1380 Usage: $0 [OPTION]... [VAR=VALUE]...
1382 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1383 VAR=VALUE. See below for descriptions of some of the useful variables.
1385 Defaults for the options are specified in brackets.
1388 -h, --help display this help and exit
1389 --help=short display options specific to this package
1390 --help=recursive display the short help of all the included packages
1391 -V, --version display version information and exit
1392 -q, --quiet, --silent do not print \`checking ...' messages
1393 --cache-file=FILE cache test results in FILE [disabled]
1394 -C, --config-cache alias for \`--cache-file=config.cache'
1395 -n, --no-create do not create output files
1396 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1398 Installation directories:
1399 --prefix=PREFIX install architecture-independent files in PREFIX
1400 [$ac_default_prefix]
1401 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1404 By default, \`make install' will install all the files in
1405 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1406 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1407 for instance \`--prefix=\$HOME'.
1409 For better control, use the options below.
1411 Fine tuning of the installation directories:
1412 --bindir=DIR user executables [EPREFIX/bin]
1413 --sbindir=DIR system admin executables [EPREFIX/sbin]
1414 --libexecdir=DIR program executables [EPREFIX/libexec]
1415 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1416 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1417 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1418 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1419 --libdir=DIR object code libraries [EPREFIX/lib]
1420 --includedir=DIR C header files [PREFIX/include]
1421 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1422 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1423 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1424 --infodir=DIR info documentation [DATAROOTDIR/info]
1425 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1426 --mandir=DIR man documentation [DATAROOTDIR/man]
1427 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1428 --htmldir=DIR html documentation [DOCDIR]
1429 --dvidir=DIR dvi documentation [DOCDIR]
1430 --pdfdir=DIR pdf documentation [DOCDIR]
1431 --psdir=DIR ps documentation [DOCDIR]
1438 if test -n "$ac_init_help"; then
1443 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1444 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1445 --with-config-dir=VERSION
1446 Location of generated target config files
1448 Some influential environment variables
:
1449 CC C compiler
command
1450 CFLAGS C compiler flags
1451 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1452 nonstandard directory
<lib dir
>
1453 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1454 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1455 you have headers
in a nonstandard directory
<include dir
>
1457 Use these variables to override the choices made by
`configure' or to help
1458 it to find libraries and programs with nonstandard names/locations.
1460 Report bugs to the package provider.
1465 if test "$ac_init_help" = "recursive"; then
1466 # If there are subdirs, report their specific --help.
1467 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1468 test -d "$ac_dir" ||
1469 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1474 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1476 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1477 # A ".." for each directory in $ac_dir_suffix.
1478 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1479 case $ac_top_builddir_sub in
1480 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1481 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1484 ac_abs_top_builddir=$ac_pwd
1485 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1486 # for backward compatibility:
1487 ac_top_builddir=$ac_top_build_prefix
1490 .) # We are building in place.
1492 ac_top_srcdir=$ac_top_builddir_sub
1493 ac_abs_top_srcdir=$ac_pwd ;;
1494 [\\/]* | ?:[\\/]* ) # Absolute name.
1495 ac_srcdir=$srcdir$ac_dir_suffix;
1496 ac_top_srcdir=$srcdir
1497 ac_abs_top_srcdir=$srcdir ;;
1499 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1500 ac_top_srcdir=$ac_top_build_prefix$srcdir
1501 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1503 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1505 cd "$ac_dir" || { ac_status=$?; continue; }
1506 # Check for guested configure.
1507 if test -f "$ac_srcdir/configure.gnu"; then
1509 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1510 elif test -f "$ac_srcdir/configure"; then
1512 $SHELL "$ac_srcdir/configure" --help=recursive
1514 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1516 cd "$ac_pwd" || { ac_status=$?; break; }
1520 test -n "$ac_init_help" && exit $ac_status
1521 if $ac_init_version; then
1524 generated by GNU Autoconf 2.69
1526 Copyright (C) 2012 Free Software Foundation, Inc.
1527 This configure script is free software; the Free Software Foundation
1528 gives unlimited permission to copy, distribute and modify it.
1533 ## ------------------------ ##
1534 ## Autoconf initialization. ##
1535 ## ------------------------ ##
1537 # ac_fn_c_try_compile LINENO
1538 # --------------------------
1539 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1540 ac_fn_c_try_compile ()
1542 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1543 rm -f conftest.$ac_objext
1544 if { { ac_try="$ac_compile"
1546 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1547 *) ac_try_echo
=$ac_try;;
1549 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1550 $as_echo "$ac_try_echo"; } >&5
1551 (eval "$ac_compile") 2>conftest.err
1553 if test -s conftest.err
; then
1554 grep -v '^ *+' conftest.err
>conftest.er1
1555 cat conftest.er1
>&5
1556 mv -f conftest.er1 conftest.err
1558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1559 test $ac_status = 0; } && {
1560 test -z "$ac_c_werror_flag" ||
1561 test ! -s conftest.err
1562 } && test -s conftest.
$ac_objext; then :
1565 $as_echo "$as_me: failed program was:" >&5
1566 sed 's/^/| /' conftest.
$ac_ext >&5
1570 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1571 as_fn_set_status
$ac_retval
1573 } # ac_fn_c_try_compile
1574 cat >config.log
<<_ACEOF
1575 This file contains any messages produced by compilers while
1576 running configure, to aid debugging if configure makes a mistake.
1578 It was created by $as_me, which was
1579 generated by GNU Autoconf 2.69. Invocation command line was
1591 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1592 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1593 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1594 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1595 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1597 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1598 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1600 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1601 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1602 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1603 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1604 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1605 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1606 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1614 test -z "$as_dir" && as_dir
=.
1615 $as_echo "PATH: $as_dir"
1631 # Keep a trace of the command line.
1632 # Strip out --no-create and --no-recursion so they do not pile up.
1633 # Strip out --silent because we don't want to record it for future runs.
1634 # Also quote any args containing shell meta-characters.
1635 # Make two passes to allow for proper duplicate-argument suppression.
1639 ac_must_keep_next
=false
1645 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1646 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1647 |
-silent |
--silent |
--silen |
--sile |
--sil)
1650 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1653 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1655 as_fn_append ac_configure_args1
" '$ac_arg'"
1656 if test $ac_must_keep_next = true
; then
1657 ac_must_keep_next
=false
# Got value, back to normal.
1660 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1661 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1662 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1663 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1664 case "$ac_configure_args0 " in
1665 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1668 -* ) ac_must_keep_next
=true
;;
1671 as_fn_append ac_configure_args
" '$ac_arg'"
1676 { ac_configure_args0
=; unset ac_configure_args0
;}
1677 { ac_configure_args1
=; unset ac_configure_args1
;}
1679 # When interrupted or exit'd, cleanup temporary files, and complete
1680 # config.log. We remove comments because anyway the quotes in there
1681 # would cause problems or look ugly.
1682 # WARNING: Use '\'' to represent an apostrophe within the trap.
1683 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1684 trap 'exit_status=$?
1685 # Save into config.log some information that might help in debugging.
1689 $as_echo "## ---------------- ##
1690 ## Cache variables. ##
1691 ## ---------------- ##"
1693 # The following way of writing the cache mishandles newlines in values,
1695 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1696 eval ac_val=\$$ac_var
1700 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1701 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1704 _ | IFS | as_nl) ;; #(
1705 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1706 *) { eval $ac_var=; unset $ac_var;} ;;
1711 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1712 *${as_nl}ac_space=\ *)
1714 "s/'\''/'\''\\\\'\'''\''/g;
1715 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1718 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1725 $as_echo "## ----------------- ##
1726 ## Output variables. ##
1727 ## ----------------- ##"
1729 for ac_var in $ac_subst_vars
1731 eval ac_val=\$$ac_var
1733 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1735 $as_echo "$ac_var='\''$ac_val'\''"
1739 if test -n "$ac_subst_files"; then
1740 $as_echo "## ------------------- ##
1741 ## File substitutions. ##
1742 ## ------------------- ##"
1744 for ac_var
in $ac_subst_files
1746 eval ac_val
=\$
$ac_var
1748 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1750 $as_echo "$ac_var='\''$ac_val'\''"
1755 if test -s confdefs.h; then
1756 $as_echo "## ----------- ##
1763 test "$ac_signal" != 0 &&
1764 $as_echo "$as_me: caught signal $ac_signal"
1765 $as_echo "$as_me: exit $exit_status"
1767 rm -f core *.core core.conftest.* &&
1768 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1771 for ac_signal
in 1 2 13 15; do
1772 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1776 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1777 rm -f -r conftest
* confdefs.h
1779 $as_echo "/* confdefs.h */" > confdefs.h
1781 # Predefined preprocessor variables.
1783 cat >>confdefs.h
<<_ACEOF
1784 #define PACKAGE_NAME "$PACKAGE_NAME"
1787 cat >>confdefs.h
<<_ACEOF
1788 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1791 cat >>confdefs.h
<<_ACEOF
1792 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1795 cat >>confdefs.h
<<_ACEOF
1796 #define PACKAGE_STRING "$PACKAGE_STRING"
1799 cat >>confdefs.h
<<_ACEOF
1800 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1803 cat >>confdefs.h
<<_ACEOF
1804 #define PACKAGE_URL "$PACKAGE_URL"
1808 # Let the site file select an alternate cache file if it wants to.
1809 # Prefer an explicitly selected file to automatically selected ones.
1812 if test -n "$CONFIG_SITE"; then
1813 # We do not want a PATH search for config.site.
1814 case $CONFIG_SITE in #((
1815 -*) ac_site_file1
=.
/$CONFIG_SITE;;
1816 */*) ac_site_file1
=$CONFIG_SITE;;
1817 *) ac_site_file1
=.
/$CONFIG_SITE;;
1819 elif test "x$prefix" != xNONE
; then
1820 ac_site_file1
=$prefix/share
/config.site
1821 ac_site_file2
=$prefix/etc
/config.site
1823 ac_site_file1
=$ac_default_prefix/share
/config.site
1824 ac_site_file2
=$ac_default_prefix/etc
/config.site
1826 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1828 test "x$ac_site_file" = xNONE
&& continue
1829 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1831 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1832 sed 's/^/| /' "$ac_site_file" >&5
1834 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1835 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1836 as_fn_error $?
"failed to load site script $ac_site_file
1837 See \`config.log' for more details" "$LINENO" 5; }
1841 if test -r "$cache_file"; then
1842 # Some versions of bash will fail to source /dev/null (special files
1843 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1844 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1846 $as_echo "$as_me: loading cache $cache_file" >&6;}
1848 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1849 *) .
"./$cache_file";;
1853 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1854 $as_echo "$as_me: creating cache $cache_file" >&6;}
1858 # Check that the precious variables saved in the cache have kept the same
1860 ac_cache_corrupted
=false
1861 for ac_var
in $ac_precious_vars; do
1862 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1863 eval ac_new_set
=\
$ac_env_${ac_var}_set
1864 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1865 eval ac_new_val
=\
$ac_env_${ac_var}_value
1866 case $ac_old_set,$ac_new_set in
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1869 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1870 ac_cache_corrupted
=: ;;
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1873 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1874 ac_cache_corrupted
=: ;;
1877 if test "x$ac_old_val" != "x$ac_new_val"; then
1878 # differences in whitespace do not lead to failure.
1879 ac_old_val_w
=`echo x $ac_old_val`
1880 ac_new_val_w
=`echo x $ac_new_val`
1881 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1883 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1884 ac_cache_corrupted
=:
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1887 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1888 eval $ac_var=\
$ac_old_val
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1891 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1893 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1896 # Pass precious variables to config.status.
1897 if test "$ac_new_set" = set; then
1899 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1900 *) ac_arg
=$ac_var=$ac_new_val ;;
1902 case " $ac_configure_args " in
1903 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1904 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
1908 if $ac_cache_corrupted; then
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1910 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1912 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1913 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1915 ## -------------------- ##
1916 ## Main body of script. ##
1917 ## -------------------- ##
1920 ac_cpp
='$CPP $CPPFLAGS'
1921 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1922 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1923 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1928 for ac_dir
in ..
/scripts
/autoconf
"$srcdir"/..
/scripts
/autoconf
; do
1929 if test -f "$ac_dir/install-sh"; then
1931 ac_install_sh
="$ac_aux_dir/install-sh -c"
1933 elif test -f "$ac_dir/install.sh"; then
1935 ac_install_sh
="$ac_aux_dir/install.sh -c"
1937 elif test -f "$ac_dir/shtool"; then
1939 ac_install_sh
="$ac_aux_dir/shtool install -c"
1943 if test -z "$ac_aux_dir"; then
1944 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in ../scripts/autoconf \"$srcdir\"/../scripts/autoconf" "$LINENO" 5
1947 # These three variables are undocumented and unsupported,
1948 # and are intended to be withdrawn in a future Autoconf release.
1949 # They can cause serious problems if a builder's source tree is in a directory
1950 # whose full name contains unusual characters.
1951 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1952 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1953 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1957 AROS_BUILDDIR
=`${PWDCMD-pwd}`
1958 AROS_BUILDDIR_UNIX
=${PWD}
1960 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
1963 NOLINKFLAGS
="-nostdlib -nostartfiles"
1964 LDFLAGS
=$NOLINKFLAGS
1965 # The first step is to find the binaries.
1967 ac_cpp
='$CPP $CPPFLAGS'
1968 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1969 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1970 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1971 if test -n "$ac_tool_prefix"; then
1972 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1973 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1975 $as_echo_n "checking for $ac_word... " >&6; }
1976 if ${ac_cv_prog_CC+:} false
; then :
1977 $as_echo_n "(cached) " >&6
1979 if test -n "$CC"; then
1980 ac_cv_prog_CC
="$CC" # Let the user override the test.
1982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1986 test -z "$as_dir" && as_dir
=.
1987 for ac_exec_ext
in '' $ac_executable_extensions; do
1988 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
1989 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2000 if test -n "$CC"; then
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2002 $as_echo "$CC" >&6; }
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2005 $as_echo "no" >&6; }
2010 if test -z "$ac_cv_prog_CC"; then
2012 # Extract the first word of "gcc", so it can be a program name with args.
2013 set dummy gcc
; ac_word
=$2
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2015 $as_echo_n "checking for $ac_word... " >&6; }
2016 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2017 $as_echo_n "(cached) " >&6
2019 if test -n "$ac_ct_CC"; then
2020 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2026 test -z "$as_dir" && as_dir
=.
2027 for ac_exec_ext
in '' $ac_executable_extensions; do
2028 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2029 ac_cv_prog_ac_ct_CC
="gcc"
2030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2039 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2040 if test -n "$ac_ct_CC"; then
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2042 $as_echo "$ac_ct_CC" >&6; }
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2045 $as_echo "no" >&6; }
2048 if test "x$ac_ct_CC" = x
; then
2051 case $cross_compiling:$ac_tool_warned in
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2054 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2055 ac_tool_warned
=yes ;;
2063 if test -z "$CC"; then
2064 if test -n "$ac_tool_prefix"; then
2065 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2066 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2068 $as_echo_n "checking for $ac_word... " >&6; }
2069 if ${ac_cv_prog_CC+:} false
; then :
2070 $as_echo_n "(cached) " >&6
2072 if test -n "$CC"; then
2073 ac_cv_prog_CC
="$CC" # Let the user override the test.
2075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2079 test -z "$as_dir" && as_dir
=.
2080 for ac_exec_ext
in '' $ac_executable_extensions; do
2081 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2082 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2093 if test -n "$CC"; then
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2095 $as_echo "$CC" >&6; }
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2098 $as_echo "no" >&6; }
2104 if test -z "$CC"; then
2105 # Extract the first word of "cc", so it can be a program name with args.
2106 set dummy cc
; ac_word
=$2
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2108 $as_echo_n "checking for $ac_word... " >&6; }
2109 if ${ac_cv_prog_CC+:} false
; then :
2110 $as_echo_n "(cached) " >&6
2112 if test -n "$CC"; then
2113 ac_cv_prog_CC
="$CC" # Let the user override the test.
2116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2120 test -z "$as_dir" && as_dir
=.
2121 for ac_exec_ext
in '' $ac_executable_extensions; do
2122 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2123 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2124 ac_prog_rejected
=yes
2128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2135 if test $ac_prog_rejected = yes; then
2136 # We found a bogon in the path, so make sure we never use it.
2137 set dummy
$ac_cv_prog_CC
2139 if test $# != 0; then
2140 # We chose a different compiler from the bogus one.
2141 # However, it has the same basename, so the bogon will be chosen
2142 # first if we set CC to just the basename; use the full file name.
2144 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2150 if test -n "$CC"; then
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2152 $as_echo "$CC" >&6; }
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2155 $as_echo "no" >&6; }
2160 if test -z "$CC"; then
2161 if test -n "$ac_tool_prefix"; then
2162 for ac_prog
in cl.exe
2164 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2165 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2167 $as_echo_n "checking for $ac_word... " >&6; }
2168 if ${ac_cv_prog_CC+:} false
; then :
2169 $as_echo_n "(cached) " >&6
2171 if test -n "$CC"; then
2172 ac_cv_prog_CC
="$CC" # Let the user override the test.
2174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2178 test -z "$as_dir" && as_dir
=.
2179 for ac_exec_ext
in '' $ac_executable_extensions; do
2180 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2181 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2192 if test -n "$CC"; then
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2194 $as_echo "$CC" >&6; }
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2197 $as_echo "no" >&6; }
2201 test -n "$CC" && break
2204 if test -z "$CC"; then
2206 for ac_prog
in cl.exe
2208 # Extract the first word of "$ac_prog", so it can be a program name with args.
2209 set dummy
$ac_prog; ac_word
=$2
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2211 $as_echo_n "checking for $ac_word... " >&6; }
2212 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2213 $as_echo_n "(cached) " >&6
2215 if test -n "$ac_ct_CC"; then
2216 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2222 test -z "$as_dir" && as_dir
=.
2223 for ac_exec_ext
in '' $ac_executable_extensions; do
2224 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2225 ac_cv_prog_ac_ct_CC
="$ac_prog"
2226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2235 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2236 if test -n "$ac_ct_CC"; then
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2238 $as_echo "$ac_ct_CC" >&6; }
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2241 $as_echo "no" >&6; }
2245 test -n "$ac_ct_CC" && break
2248 if test "x$ac_ct_CC" = x
; then
2251 case $cross_compiling:$ac_tool_warned in
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2254 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2255 ac_tool_warned
=yes ;;
2264 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2265 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2266 as_fn_error $?
"no acceptable C compiler found in \$PATH
2267 See \`config.log' for more details" "$LINENO" 5; }
2269 # Provide some information about the compiler.
2270 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2273 for ac_option
in --version -v -V -qversion; do
2274 { { ac_try
="$ac_compiler $ac_option >&5"
2276 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2277 *) ac_try_echo=$ac_try;;
2279 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2280 $as_echo "$ac_try_echo"; } >&5
2281 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2283 if test -s conftest.err; then
2285 ... rest of stderr output deleted ...
2286 10q' conftest.err >conftest.er1
2287 cat conftest.er1 >&5
2289 rm -f conftest.er1 conftest.err
2290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2291 test $ac_status = 0; }
2294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2295 /* end confdefs.h. */
2305 ac_clean_files_save=$ac_clean_files
2306 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2307 # Try to create an executable without -o first, disregard a.out.
2308 # It will help us diagnose broken compilers, and finding out an intuition
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2311 $as_echo_n "checking whether the C compiler works... " >&6; }
2312 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2314 # The possible output files:
2315 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2318 for ac_file in $ac_files
2321 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2322 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2327 if { { ac_try="$ac_link_default"
2329 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2330 *) ac_try_echo
=$ac_try;;
2332 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2333 $as_echo "$ac_try_echo"; } >&5
2334 (eval "$ac_link_default") 2>&5
2336 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2337 test $ac_status = 0; }; then :
2338 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2339 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2340 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2341 # so that the user can short-circuit this test for compilers unknown to
2343 for ac_file
in $ac_files ''
2345 test -f "$ac_file" ||
continue
2347 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2350 # We found the default executable, but exeext='' is most
2354 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2356 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2358 # We set ac_cv_exeext here because the later test for it is not
2359 # safe: cross compilers may not add the suffix if given an `-o'
2360 # argument, so we may need to know it at that point already.
2361 # Even if this section looks crufty: it has the advantage of
2368 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2373 if test -z "$ac_file"; then :
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2375 $as_echo "no" >&6; }
2376 $as_echo "$as_me: failed program was:" >&5
2377 sed 's/^/| /' conftest.
$ac_ext >&5
2379 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2380 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2381 as_fn_error
77 "C compiler cannot create executables
2382 See \`config.log' for more details" "$LINENO" 5; }
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2385 $as_echo "yes" >&6; }
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2388 $as_echo_n "checking for C compiler default output file name... " >&6; }
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2390 $as_echo "$ac_file" >&6; }
2391 ac_exeext
=$ac_cv_exeext
2393 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2394 ac_clean_files
=$ac_clean_files_save
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2396 $as_echo_n "checking for suffix of executables... " >&6; }
2397 if { { ac_try
="$ac_link"
2399 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2400 *) ac_try_echo=$ac_try;;
2402 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2403 $as_echo "$ac_try_echo"; } >&5
2404 (eval "$ac_link") 2>&5
2406 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2407 test $ac_status = 0; }; then :
2408 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2409 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2410 # work properly (i.e., refer to `conftest.exe'), while it won't with
2412 for ac_file
in conftest.exe conftest conftest.
*; do
2413 test -f "$ac_file" ||
continue
2415 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2416 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2422 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2423 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2424 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2425 See \`config.log' for more details" "$LINENO" 5; }
2427 rm -f conftest conftest
$ac_cv_exeext
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2429 $as_echo "$ac_cv_exeext" >&6; }
2431 rm -f conftest.
$ac_ext
2432 EXEEXT
=$ac_cv_exeext
2434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2435 /* end confdefs.h. */
2440 FILE *f = fopen ("conftest.out", "w");
2441 return ferror (f) || fclose (f) != 0;
2447 ac_clean_files
="$ac_clean_files conftest.out"
2448 # Check that the compiler produces executables we can run. If not, either
2449 # the compiler is broken, or we cross compile.
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2451 $as_echo_n "checking whether we are cross compiling... " >&6; }
2452 if test "$cross_compiling" != yes; then
2453 { { ac_try
="$ac_link"
2455 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2456 *) ac_try_echo=$ac_try;;
2458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2459 $as_echo "$ac_try_echo"; } >&5
2460 (eval "$ac_link") 2>&5
2462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2463 test $ac_status = 0; }
2464 if { ac_try='./conftest$ac_cv_exeext'
2465 { { case "(($ac_try" in
2466 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2467 *) ac_try_echo
=$ac_try;;
2469 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2470 $as_echo "$ac_try_echo"; } >&5
2471 (eval "$ac_try") 2>&5
2473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2474 test $ac_status = 0; }; }; then
2477 if test "$cross_compiling" = maybe
; then
2480 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2481 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2482 as_fn_error $?
"cannot run C compiled programs.
2483 If you meant to cross compile, use \`--host'.
2484 See \`config.log' for more details" "$LINENO" 5; }
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2489 $as_echo "$cross_compiling" >&6; }
2491 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2492 ac_clean_files
=$ac_clean_files_save
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2494 $as_echo_n "checking for suffix of object files... " >&6; }
2495 if ${ac_cv_objext+:} false
; then :
2496 $as_echo_n "(cached) " >&6
2498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2499 /* end confdefs.h. */
2509 rm -f conftest.o conftest.obj
2510 if { { ac_try
="$ac_compile"
2512 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2513 *) ac_try_echo=$ac_try;;
2515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2516 $as_echo "$ac_try_echo"; } >&5
2517 (eval "$ac_compile") 2>&5
2519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2520 test $ac_status = 0; }; then :
2521 for ac_file in conftest.o conftest.obj conftest.*; do
2522 test -f "$ac_file" || continue;
2524 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2525 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2530 $as_echo "$as_me: failed program was:" >&5
2531 sed 's/^/| /' conftest.$ac_ext >&5
2533 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2534 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2535 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2536 See \
`config.log' for more details" "$LINENO" 5; }
2538 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2541 $as_echo "$ac_cv_objext" >&6; }
2542 OBJEXT=$ac_cv_objext
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2545 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2546 if ${ac_cv_c_compiler_gnu+:} false; then :
2547 $as_echo_n "(cached) " >&6
2549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2550 /* end confdefs.h. */
2563 if ac_fn_c_try_compile "$LINENO"; then :
2568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2569 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2573 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2574 if test $ac_compiler_gnu = yes; then
2579 ac_test_CFLAGS=${CFLAGS+set}
2580 ac_save_CFLAGS=$CFLAGS
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2582 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2583 if ${ac_cv_prog_cc_g+:} false; then :
2584 $as_echo_n "(cached) " >&6
2586 ac_save_c_werror_flag=$ac_c_werror_flag
2587 ac_c_werror_flag=yes
2590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2591 /* end confdefs.h. */
2601 if ac_fn_c_try_compile "$LINENO"; then :
2605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2606 /* end confdefs.h. */
2616 if ac_fn_c_try_compile "$LINENO"; then :
2619 ac_c_werror_flag=$ac_save_c_werror_flag
2621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2622 /* end confdefs.h. */
2632 if ac_fn_c_try_compile "$LINENO"; then :
2635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2640 ac_c_werror_flag=$ac_save_c_werror_flag
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2643 $as_echo "$ac_cv_prog_cc_g" >&6; }
2644 if test "$ac_test_CFLAGS" = set; then
2645 CFLAGS=$ac_save_CFLAGS
2646 elif test $ac_cv_prog_cc_g = yes; then
2647 if test "$GCC" = yes; then
2653 if test "$GCC" = yes; then
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2660 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2661 if ${ac_cv_prog_cc_c89+:} false; then :
2662 $as_echo_n "(cached) " >&6
2664 ac_cv_prog_cc_c89=no
2666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2667 /* end confdefs.h. */
2671 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2672 struct buf { int x; };
2673 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2674 static char *e (p, i)
2680 static char *f (char * (*g) (char **, int), char **p, ...)
2685 s = g (p, va_arg (v,int));
2690 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2691 function prototypes and stuff, but not '\xHH' hex character constants.
2692 These don't provoke an error unfortunately, instead are silently treated
2693 as 'x'. The following induces an error, until -std is added to get
2694 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2695 array size at least. It's necessary to write '\x00'==0 to get something
2696 that's true only with -std. */
2697 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2699 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2700 inside strings and character constants. */
2702 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2704 int test (int i, double x);
2705 struct s1 {int (*f) (int a);};
2706 struct s2 {int (*f) (double a);};
2707 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2713 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2718 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2719 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2721 CC="$ac_save_CC $ac_arg"
2722 if ac_fn_c_try_compile "$LINENO"; then :
2723 ac_cv_prog_cc_c89=$ac_arg
2725 rm -f core conftest.err conftest.$ac_objext
2726 test "x$ac_cv_prog_cc_c89" != "xno" && break
2728 rm -f conftest.$ac_ext
2733 case "x$ac_cv_prog_cc_c89" in
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2736 $as_echo "none needed" >&6; } ;;
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2739 $as_echo "unsupported" >&6; } ;;
2741 CC="$CC $ac_cv_prog_cc_c89"
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2743 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2745 if test "x$ac_cv_prog_cc_c89" != xno; then :
2750 ac_cpp='$CPP $CPPFLAGS'
2751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2757 $as_echo_n "checking target config location... " >&6; }
2759 # Check whether --with-config-dir was given.
2760 if test "${with_config_dir+set}" = set; then :
2761 withval=$with_config_dir; targetcfg_dir="$withval"
2766 if test "$targetcfg_dir" = ""; then
2767 as_fn_error $? "missing config directory!" "$LINENO" 5
2769 aros_targetcfg_dir="$targetcfg_dir"
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2772 $as_echo "$aros_targetcfg_dir" >&6; }
2774 #-----------------------------------------------------------------------------
2776 # Check if the target compiler supports some features:
2784 # -floop-interchange
2788 # -finline-small-functions
2791 # -fomit-frame-pointer
2797 # -fno-builtin-floor
2798 # -fno-builtin-vsnprintf
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fexceptions" >&5
2801 $as_echo_n "checking whether ${CC} accepts -fexceptions... " >&6; }
2804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2805 /* end confdefs.h. */
2815 if ac_fn_c_try_compile "$LINENO"; then :
2816 aros_exceptions="yes"
2818 aros_exceptions="no"
2820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_exceptions" >&5
2822 $as_echo "$aros_exceptions" >&6; }
2823 if test "x-$aros_exceptions" = "x-yes" ; then
2824 aros_cflags_exceptions=-fexceptions
2825 aros_cflags_noexceptions=-fno-exceptions
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpermissive" >&5
2829 $as_echo_n "checking whether ${CC} accepts -fpermissive... " >&6; }
2831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2832 /* end confdefs.h. */
2842 if ac_fn_c_try_compile "$LINENO"; then :
2843 aros_permissive="yes"
2845 aros_permissive="no"
2847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_permissive" >&5
2849 $as_echo "$aros_permissive" >&6; }
2850 if test "x-$aros_permissive" = "x-yes" ; then
2851 aros_cflags_permissive=-fpermissive
2852 aros_cflags_nopermissive=-fno-permissive
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -frtti" >&5
2856 $as_echo_n "checking whether ${CC} accepts -frtti... " >&6; }
2858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2859 /* end confdefs.h. */
2869 if ac_fn_c_try_compile "$LINENO"; then :
2874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_rtti" >&5
2876 $as_echo "$aros_rtti" >&6; }
2877 if test "x-$aros_rtti" = "x-yes" ; then
2878 aros_cflags_rtti=-frtti
2879 aros_cflags_nortti=-fno-rtti
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ffast-math" >&5
2883 $as_echo_n "checking whether ${CC} accepts -ffast-math... " >&6; }
2885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2886 /* end confdefs.h. */
2896 if ac_fn_c_try_compile "$LINENO"; then :
2897 aros_fast_math="yes"
2901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_fast_math" >&5
2903 $as_echo "$aros_fast_math" >&6; }
2904 if test "x-$aros_fast_math" = "x-yes" ; then
2905 aros_cflags_fast_math=-ffast-math
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -flto" >&5
2909 $as_echo_n "checking whether ${CC} accepts -flto... " >&6; }
2911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2912 /* end confdefs.h. */
2922 if ac_fn_c_try_compile "$LINENO"; then :
2927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto" >&5
2929 $as_echo "$aros_lto" >&6; }
2930 if test "x-$aros_lto" = "x-yes" ; then
2931 aros_cflags_lto=-flto
2932 aros_cflags_nolto=-fno-lto
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fwhole-program" >&5
2935 $as_echo_n "checking whether ${CC} accepts -fwhole-program... " >&6; }
2936 CFLAGS=-fwhole-program
2937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2938 /* end confdefs.h. */
2948 if ac_fn_c_try_compile "$LINENO"; then :
2949 aros_whole_program="yes"
2951 aros_whole_program="no"
2953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_whole_program" >&5
2955 $as_echo "$aros_whole_program" >&6; }
2956 if test "x-$aros_whole_program" = "x-yes" ; then
2957 aros_cflags_whole_program=-fwhole-program
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-block" >&5
2961 $as_echo_n "checking whether ${CC} accepts -floop-block... " >&6; }
2963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2964 /* end confdefs.h. */
2974 if ac_fn_c_try_compile "$LINENO"; then :
2975 aros_loop_block="yes"
2977 aros_loop_block="no"
2979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_block" >&5
2981 $as_echo "$aros_loop_block" >&6; }
2982 if test "x-$aros_loop_block" = "x-yes" ; then
2983 aros_cflags_loop_block=-floop-block
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-interchange" >&5
2987 $as_echo_n "checking whether ${CC} accepts -floop-interchange... " >&6; }
2988 CFLAGS=-floop-interchange
2989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2990 /* end confdefs.h. */
3000 if ac_fn_c_try_compile "$LINENO"; then :
3001 aros_loop_interchange="yes"
3003 aros_loop_interchange="no"
3005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_interchange" >&5
3007 $as_echo "$aros_loop_interchange" >&6; }
3008 if test "x-$aros_loop_interchange" = "x-yes" ; then
3009 aros_cflags_loop_interchange=-floop-interchange
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-strip-mine" >&5
3013 $as_echo_n "checking whether ${CC} accepts -floop-strip-mine... " >&6; }
3014 CFLAGS=-floop-strip-mine
3015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3016 /* end confdefs.h. */
3026 if ac_fn_c_try_compile "$LINENO"; then :
3027 aros_loop_strip_mine="yes"
3029 aros_loop_strip_mine="no"
3031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_strip_mine" >&5
3033 $as_echo "$aros_loop_strip_mine" >&6; }
3034 if test "x-$aros_loop_strip_mine" = "x-yes" ; then
3035 aros_cflags_loop_strip_mine=-floop-strip-mine
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpeel-loops" >&5
3040 $as_echo_n "checking whether ${CC} accepts -fpeel-loops... " >&6; }
3042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3043 /* end confdefs.h. */
3053 if ac_fn_c_try_compile "$LINENO"; then :
3054 aros_peel_loops="yes"
3056 aros_peel_loops="no"
3058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_peel_loops" >&5
3060 $as_echo "$aros_peel_loops" >&6; }
3061 if test "x-$aros_peel_loops" = "x-yes" ; then
3062 aros_cflags_peel_loops=-fpeel-loops
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -funroll-loops" >&5
3066 $as_echo_n "checking whether ${CC} accepts -funroll-loops... " >&6; }
3067 CFLAGS=-funroll-loops
3068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3069 /* end confdefs.h. */
3079 if ac_fn_c_try_compile "$LINENO"; then :
3080 aros_unroll_loops="yes"
3082 aros_unroll_loops="no"
3084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unroll_loops" >&5
3086 $as_echo "$aros_unroll_loops" >&6; }
3087 if test "x-$aros_unroll_loops" = "x-yes" ; then
3088 aros_cflags_unroll_loops=-funroll-loops
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstrict-aliasing" >&5
3092 $as_echo_n "checking whether ${CC} accepts -fstrict-aliasing... " >&6; }
3093 CFLAGS=-fstrict-aliasing
3094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3095 /* end confdefs.h. */
3105 if ac_fn_c_try_compile "$LINENO"; then :
3106 aros_strict_aliasing="yes"
3108 aros_strict_aliasing="no"
3110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3112 $as_echo "$aros_strict_aliasing" >&6; }
3113 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3114 aros_cflags_strictaliasing=-fstrict-aliasing
3115 aros_cflags_nostrictaliasing=-fno-strict-aliasing
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -finline-small-functions" >&5
3119 $as_echo_n "checking whether ${CC} accepts -finline-small-functions... " >&6; }
3120 CFLAGS=-finline-small-functions
3121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3122 /* end confdefs.h. */
3132 if ac_fn_c_try_compile "$LINENO"; then :
3133 aros_inline_small_functions="yes"
3135 aros_inline_small_functions="no"
3137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_inline_small_functions" >&5
3139 $as_echo "$aros_inline_small_functions" >&6; }
3140 if test "x-$aros_inline_small_functions" = "x-yes" ; then
3141 aros_cflags_inlinesmallfunctions=-finline-small-functions
3142 aros_cflags_noinlinesmallfunctions=-fno-inline-small-functions
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fipa-cp" >&5
3146 $as_echo_n "checking whether ${CC} accepts -fipa-cp... " >&6; }
3148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3149 /* end confdefs.h. */
3159 if ac_fn_c_try_compile "$LINENO"; then :
3164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ipa_cp" >&5
3166 $as_echo "$aros_ipa_cp" >&6; }
3167 if test "x-$aros_ipa_cp" = "x-yes" ; then
3168 aros_cflags_ipacp=-fipa-cp
3169 aros_cflags_noipacp=-fno-ipa-cp
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fomit-frame-pointer" >&5
3173 $as_echo_n "checking whether ${CC} accepts -fomit-frame-pointer... " >&6; }
3174 CFLAGS=-fomit-frame-pointer
3175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3176 /* end confdefs.h. */
3186 if ac_fn_c_try_compile "$LINENO"; then :
3187 aros_omit_frame_pointer="yes"
3189 aros_omit_frame_pointer="no"
3191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_omit_frame_pointer" >&5
3193 $as_echo "$aros_omit_frame_pointer" >&6; }
3194 if test "x-$aros_omit_frame_pointer" = "x-yes" ; then
3195 aros_cflags_omitfp=-fomit-frame-pointer
3196 aros_cflags_noomitfp=-fno-omit-frame-pointer
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fprofile-arcs" >&5
3200 $as_echo_n "checking whether ${CC} accepts -fprofile-arcs... " >&6; }
3201 CFLAGS=-fprofile-arcs
3202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3203 /* end confdefs.h. */
3213 if ac_fn_c_try_compile "$LINENO"; then :
3214 aros_profile_arcs="yes"
3216 aros_profile_arcs="no"
3218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_profile_arcs" >&5
3220 $as_echo "$aros_profile_arcs" >&6; }
3221 if test "x-$aros_profile_arcs" = "x-yes" ; then
3222 aros_cflags_profilearcs=-fprofile-arcs
3223 aros_cflags_noprofilearcs=-fno-profile-arcs
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ftest-coverage" >&5
3227 $as_echo_n "checking whether ${CC} accepts -ftest-coverage... " >&6; }
3228 CFLAGS=-ftest-coverage
3229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3230 /* end confdefs.h. */
3240 if ac_fn_c_try_compile "$LINENO"; then :
3241 aros_test_coverage="yes"
3243 aros_test_coverage="no"
3245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_test_coverage" >&5
3247 $as_echo "$aros_test_coverage" >&6; }
3248 if test "x-$aros_test_coverage" = "x-yes" ; then
3249 aros_cflags_testcoverage=-ftest-coverage
3250 aros_cflags_notestcoverage=-fno-test-coverage
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -faligned-new" >&5
3254 $as_echo_n "checking whether ${CC} accepts -faligned-new... " >&6; }
3255 CFLAGS=-faligned-new
3256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3257 /* end confdefs.h. */
3267 if ac_fn_c_try_compile "$LINENO"; then :
3268 aros_aligned_new="yes"
3270 aros_aligned_new="no"
3272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aligned_new" >&5
3274 $as_echo "$aros_aligned_new" >&6; }
3275 if test "x-$aros_aligned_new" = "x-yes" ; then
3276 aros_cflags_alignednew=-faligned-new
3277 aros_cflags_noalignednew=-fno-aligned-new
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-builtin" >&5
3281 $as_echo_n "checking whether ${CC} accepts -fno-builtin... " >&6; }
3283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3284 /* end confdefs.h. */
3294 if ac_fn_c_try_compile "$LINENO"; then :
3295 aros_no_builtin="yes"
3297 aros_no_builtin="no"
3299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_builtin" >&5
3301 $as_echo "$aros_no_builtin" >&6; }
3302 if test "x-$aros_no_builtin" = "x-yes" ; then
3303 aros_cflags_no_builtin=-fno-builtin
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-builtin-floor" >&5
3307 $as_echo_n "checking whether ${CC} accepts -fno-builtin-floor... " >&6; }
3308 CFLAGS=-fno-builtin-floor
3309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3310 /* end confdefs.h. */
3320 if ac_fn_c_try_compile "$LINENO"; then :
3321 aros_no_builtin_floor="yes"
3323 aros_no_builtin_floor="no"
3325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_builtin_floor" >&5
3327 $as_echo "$aros_no_builtin_floor" >&6; }
3328 if test "x-$aros_no_builtin_floor" = "x-yes" ; then
3329 aros_cflags_no_builtin_floor=-fno-builtin-floor
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-builtin-vsnprintf" >&5
3333 $as_echo_n "checking whether ${CC} accepts -fno-builtin-vsnprintf... " >&6; }
3334 CFLAGS=-fno-builtin-vsnprintf
3335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3336 /* end confdefs.h. */
3346 if ac_fn_c_try_compile "$LINENO"; then :
3347 aros_no_builtin_vsnprintf="yes"
3349 aros_no_builtin_vsnprintf="no"
3351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_builtin_vsnprintf" >&5
3353 $as_echo "$aros_no_builtin_vsnprintf" >&6; }
3354 if test "x-$aros_no_builtin_vsnprintf" = "x-yes" ; then
3355 aros_cflags_no_builtin_vsnprintf=-fno-builtin-vsnprintf
3358 #-----------------------------------------------------------------------------
3360 # Check if the target compiler supports some include directory options:
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
3363 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
3365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3366 /* end confdefs.h. */
3376 if ac_fn_c_try_compile "$LINENO"; then :
3381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
3383 $as_echo "$has_iquote" >&6; }
3384 if test "x-$has_iquote" = "x-yes" ; then
3385 aros_cflags_iquote=-iquote
3386 aros_cflags_iquote_end=
3388 aros_cflags_iquote=-I
3389 aros_cflags_iquote_end=-I-
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -isystem" >&5
3393 $as_echo_n "checking whether ${CC} accepts -isystem... " >&6; }
3395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3396 /* end confdefs.h. */
3406 if ac_fn_c_try_compile "$LINENO"; then :
3411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_isystem" >&5
3413 $as_echo "$has_isystem" >&6; }
3414 if test "x-$has_isystem" = "x-yes" ; then
3415 aros_cflags_isystem=-isystem
3416 aros_cflags_isystem_end=
3418 aros_cflags_isystem=-I
3419 aros_cflags_isystem_end=
3422 #-----------------------------------------------------------------------------
3424 # Check if the target compiler supports some ISA options:
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -mno-red-zone" >&5
3428 $as_echo_n "checking whether ${CC} accepts -mno-red-zone... " >&6; }
3429 CFLAGS=-mno-red-zone
3430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3431 /* end confdefs.h. */
3441 if ac_fn_c_try_compile "$LINENO"; then :
3442 aros_no_red_zone="yes"
3444 aros_no_red_zone="no"
3446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_red_zone" >&5
3448 $as_echo "$aros_no_red_zone" >&6; }
3449 if test "x-$aros_no_red_zone" = "x-yes" ; then
3450 aros_cflags_no_red_zone=-mno-red-zone
3453 #-----------------------------------------------------------------------------
3455 # Check if the target compiler supports some options used for de-linting:
3459 # -Wunused-command-line-argument
3460 # -Wunknown-warning-option
3461 # -Wunused-but-set-variable
3465 # -Wstrict-prototypes
3468 # -Wmisleading-indentation
3475 # -Wunused-parameter
3477 # -Wmaybe-uninitialized
3478 # -Wimplicit-function-declaration
3483 # -Wformat-contains-nul
3485 # -Waggressive-loop-optimizations
3488 # -Wdiscarded-qualifiers
3491 # -Wdiscarded-array-qualifiers
3493 # -Wint-to-pointer-cast
3494 # -Wpointer-to-int-cast
3495 # -Wunused-const-variable
3498 # -Wincompatible-pointer-types
3500 # -Wlogical-not-parentheses
3504 # -Wdeprecated-declarations
3508 # -Wunused-local-typedefs
3512 # -Wvolatile-register-var
3513 # -Wsizeof-pointer-memaccess
3515 # -Wformat-zero-length
3516 # -Wlto-type-mismatch
3517 # -Wtautological-compare
3520 # -Wstringop-overflow
3521 # -Wformat-truncation
3522 # -Wstringop-truncation
3523 # -Wshift-negative-value
3524 # -Wmissing-field-initializers
3525 # -Wimplicit-fallthrough
3526 # -Wmissing-prototypes
3528 # -Wint-in-bool-context
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Werror" >&5
3531 $as_echo_n "checking whether ${CC} accepts -Werror... " >&6; }
3533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3534 /* end confdefs.h. */
3544 if ac_fn_c_try_compile "$LINENO"; then :
3549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_error" >&5
3551 $as_echo "$aros_error" >&6; }
3552 if test "x-$aros_error" = "x-yes" ; then
3553 aros_warnflags_error=-Werror
3554 aros_nowarnflags_error=-Wno-error
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wall" >&5
3558 $as_echo_n "checking whether ${CC} accepts -Wall... " >&6; }
3560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3561 /* end confdefs.h. */
3571 if ac_fn_c_try_compile "$LINENO"; then :
3576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_all" >&5
3578 $as_echo "$aros_all" >&6; }
3579 if test "x-$aros_all" = "x-yes" ; then
3580 aros_warnflags_all=-Wall
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wrestrict" >&5
3584 $as_echo_n "checking whether ${CC} accepts -Wrestrict... " >&6; }
3586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3587 /* end confdefs.h. */
3597 if ac_fn_c_try_compile "$LINENO"; then :
3602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_restrict" >&5
3604 $as_echo "$aros_restrict" >&6; }
3605 if test "x-$aros_restrict" = "x-yes" ; then
3606 aros_warnflags_restrict=-Wrestrict
3607 aros_nowarnflags_restrict=-Wno-restrict
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-command-line-argument" >&5
3611 $as_echo_n "checking whether ${CC} accepts -Wunused-command-line-argument... " >&6; }
3612 CFLAGS=-Wunused-command-line-argument
3613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3614 /* end confdefs.h. */
3624 if ac_fn_c_try_compile "$LINENO"; then :
3625 aros_unused_command_line_argument="yes"
3627 aros_unused_command_line_argument="no"
3629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_command_line_argument" >&5
3631 $as_echo "$aros_unused_command_line_argument" >&6; }
3632 if test "x-$aros_unused_command_line_argument" = "x-yes" ; then
3633 aros_warnflags_unused_command_line_argument=-Wunused-command-line-argument
3634 aros_nowarnflags_unused_command_line_argument=-Wno-unused-command-line-argument
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-warning-option" >&5
3638 $as_echo_n "checking whether ${CC} accepts -Wunknown-warning-option... " >&6; }
3639 CFLAGS=-Wunknown-warning-option
3640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3641 /* end confdefs.h. */
3651 if ac_fn_c_try_compile "$LINENO"; then :
3652 aros_unknown_warning_option="yes"
3654 aros_unknown_warning_option="no"
3656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_warning_option" >&5
3658 $as_echo "$aros_unknown_warning_option" >&6; }
3659 if test "x-$aros_unknown_warning_option" = "x-yes" ; then
3660 aros_warnflags_unknown_warning_option=-Wunknown-warning-option
3661 aros_nowarnflags_unknown_warning_option=-Wno-unknown-warning-option
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
3665 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
3666 CFLAGS=-Wunused-but-set-variable
3667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3668 /* end confdefs.h. */
3678 if ac_fn_c_try_compile "$LINENO"; then :
3679 aros_unused_but_set_variable="yes"
3681 aros_unused_but_set_variable="no"
3683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
3685 $as_echo "$aros_unused_but_set_variable" >&6; }
3686 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
3687 aros_warnflags_unused_but_set_variable=-Wunused-but-set-variable
3688 aros_nowarnflags_unused_but_set_variable=-Wno-unused-but-set-variable
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
3692 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
3693 CFLAGS=-Wstrict-aliasing
3694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3695 /* end confdefs.h. */
3705 if ac_fn_c_try_compile "$LINENO"; then :
3706 aros_strict_aliasing="yes"
3708 aros_strict_aliasing="no"
3710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3712 $as_echo "$aros_strict_aliasing" >&6; }
3713 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3714 aros_warnflags_strict_aliasing=-Wstrict-aliasing
3715 aros_nowarnflags_strict_aliasing=-Wno-strict-aliasing
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
3719 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
3720 CFLAGS=-Warray-bounds
3721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3722 /* end confdefs.h. */
3732 if ac_fn_c_try_compile "$LINENO"; then :
3733 aros_array_bounds="yes"
3735 aros_array_bounds="no"
3737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
3739 $as_echo "$aros_array_bounds" >&6; }
3740 if test "x-$aros_array_bounds" = "x-yes" ; then
3741 aros_warnflags_array_bounds=-Warray-bounds
3742 aros_nowarnflags_array_bounds=-Wno-array-bounds
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
3746 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
3747 CFLAGS=-Wenum-compare
3748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3749 /* end confdefs.h. */
3759 if ac_fn_c_try_compile "$LINENO"; then :
3760 aros_enum_compare="yes"
3762 aros_enum_compare="no"
3764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
3766 $as_echo "$aros_enum_compare" >&6; }
3767 if test "x-$aros_enum_compare" = "x-yes" ; then
3768 aros_warnflags_enum_compare=-Wenum-compare
3769 aros_nowarnflags_enum_compare=-Wno-enum-compare
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
3773 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
3774 CFLAGS=-Wstrict-prototypes
3775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3776 /* end confdefs.h. */
3786 if ac_fn_c_try_compile "$LINENO"; then :
3787 aros_strict_prototypes="yes"
3789 aros_strict_prototypes="no"
3791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
3793 $as_echo "$aros_strict_prototypes" >&6; }
3794 if test "x-$aros_strict_prototypes" = "x-yes" ; then
3795 aros_warnflags_strict_prototypes=-Wstrict-prototypes
3796 aros_nowarnflags_strict_prototypes=-Wno-strict-prototypes
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
3800 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
3801 CFLAGS=-Wstrict-overflow
3802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3803 /* end confdefs.h. */
3813 if ac_fn_c_try_compile "$LINENO"; then :
3814 aros_strict_overflow="yes"
3816 aros_strict_overflow="no"
3818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
3820 $as_echo "$aros_strict_overflow" >&6; }
3821 if test "x-$aros_strict_overflow" = "x-yes" ; then
3822 aros_warnflags_strict_overflow=-Wstrict-overflow
3823 aros_nowarnflags_strict_overflow=-Wno-strict-overflow
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
3827 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
3828 CFLAGS=-Wformat-security
3829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3830 /* end confdefs.h. */
3840 if ac_fn_c_try_compile "$LINENO"; then :
3841 aros_format_security="yes"
3843 aros_format_security="no"
3845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
3847 $as_echo "$aros_format_security" >&6; }
3848 if test "x-$aros_format_security" = "x-yes" ; then
3849 aros_warnflags_format_security=-Wformat-security
3850 aros_nowarnflags_format_security=-Wno-format-security
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
3854 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
3855 CFLAGS=-Wmisleading-indentation
3856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3857 /* end confdefs.h. */
3867 if ac_fn_c_try_compile "$LINENO"; then :
3868 aros_misleading_indentation="yes"
3870 aros_misleading_indentation="no"
3872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
3874 $as_echo "$aros_misleading_indentation" >&6; }
3875 if test "x-$aros_misleading_indentation" = "x-yes" ; then
3876 aros_warnflags_misleading_indentation=-Wmisleading-indentation
3877 aros_nowarnflags_misleading_indentation=-Wno-misleading-indentation
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
3881 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
3882 CFLAGS=-Wnonnull-compare
3883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3884 /* end confdefs.h. */
3894 if ac_fn_c_try_compile "$LINENO"; then :
3895 aros_nonnull_compare="yes"
3897 aros_nonnull_compare="no"
3899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
3901 $as_echo "$aros_nonnull_compare" >&6; }
3902 if test "x-$aros_nonnull_compare" = "x-yes" ; then
3903 aros_warnflags_nonnull_compare=-Wnonnull-compare
3904 aros_nowarnflags_nonnull_compare=-Wno-nonnull-compare
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
3908 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
3910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3911 /* end confdefs.h. */
3921 if ac_fn_c_try_compile "$LINENO"; then :
3926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
3928 $as_echo "$aros_unused" >&6; }
3929 if test "x-$aros_unused" = "x-yes" ; then
3930 aros_warnflags_unused=-Wunused
3931 aros_nowarnflags_unused=-Wno-unused
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-label" >&5
3935 $as_echo_n "checking whether ${CC} accepts -Wunused-label... " >&6; }
3936 CFLAGS=-Wunused-label
3937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3938 /* end confdefs.h. */
3948 if ac_fn_c_try_compile "$LINENO"; then :
3949 aros_unused_label="yes"
3951 aros_unused_label="no"
3953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_label" >&5
3955 $as_echo "$aros_unused_label" >&6; }
3956 if test "x-$aros_unused_label" = "x-yes" ; then
3957 aros_warnflags_unused_label=-Wunused-label
3958 aros_nowarnflags_unused_label=-Wno-unused-label
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
3962 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
3963 CFLAGS=-Wunused-value
3964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3965 /* end confdefs.h. */
3975 if ac_fn_c_try_compile "$LINENO"; then :
3976 aros_unused_value="yes"
3978 aros_unused_value="no"
3980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
3982 $as_echo "$aros_unused_value" >&6; }
3983 if test "x-$aros_unused_value" = "x-yes" ; then
3984 aros_warnflags_unused_value=-Wunused-value
3985 aros_nowarnflags_unused_value=-Wno-unused-value
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
3989 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
3990 CFLAGS=-Wunused-variable
3991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3992 /* end confdefs.h. */
4002 if ac_fn_c_try_compile "$LINENO"; then :
4003 aros_unused_variable="yes"
4005 aros_unused_variable="no"
4007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
4009 $as_echo "$aros_unused_variable" >&6; }
4010 if test "x-$aros_unused_variable" = "x-yes" ; then
4011 aros_warnflags_unused_variable=-Wunused-variable
4012 aros_nowarnflags_unused_variable=-Wno-unused-variable
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
4016 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
4017 CFLAGS=-Wunused-function
4018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4019 /* end confdefs.h. */
4029 if ac_fn_c_try_compile "$LINENO"; then :
4030 aros_unused_function="yes"
4032 aros_unused_function="no"
4034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
4036 $as_echo "$aros_unused_function" >&6; }
4037 if test "x-$aros_unused_function" = "x-yes" ; then
4038 aros_warnflags_unused_function=-Wunused-function
4039 aros_nowarnflags_unused_function=-Wno-unused-function
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-parameter" >&5
4043 $as_echo_n "checking whether ${CC} accepts -Wunused-parameter... " >&6; }
4044 CFLAGS=-Wunused-parameter
4045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4046 /* end confdefs.h. */
4056 if ac_fn_c_try_compile "$LINENO"; then :
4057 aros_unused_parameter="yes"
4059 aros_unused_parameter="no"
4061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_parameter" >&5
4063 $as_echo "$aros_unused_parameter" >&6; }
4064 if test "x-$aros_unused_parameter" = "x-yes" ; then
4065 aros_warnflags_unused_parameter=-Wunused-parameter
4066 aros_nowarnflags_unused_parameter=-Wno-unused-parameter
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
4070 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
4071 CFLAGS=-Wuninitialized
4072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4073 /* end confdefs.h. */
4083 if ac_fn_c_try_compile "$LINENO"; then :
4084 aros_uninitialized="yes"
4086 aros_uninitialized="no"
4088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
4090 $as_echo "$aros_uninitialized" >&6; }
4091 if test "x-$aros_uninitialized" = "x-yes" ; then
4092 aros_warnflags_uninitialized=-Wuninitialized
4093 aros_nowarnflags_uninitialized=-Wno-uninitialized
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
4097 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
4098 CFLAGS=-Wmaybe-uninitialized
4099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4100 /* end confdefs.h. */
4110 if ac_fn_c_try_compile "$LINENO"; then :
4111 aros_maybe_uninitialized="yes"
4113 aros_maybe_uninitialized="no"
4115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
4117 $as_echo "$aros_maybe_uninitialized" >&6; }
4118 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
4119 aros_warnflags_maybe_uninitialized=-Wmaybe-uninitialized
4120 aros_nowarnflags_maybe_uninitialized=-Wno-maybe-uninitialized
4122 aros_warnflags_maybe_uninitialized=$aros_warnflags_uninitialized
4123 aros_nowarnflags_maybe_uninitialized=$aros_nowarnflags_uninitialized
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
4127 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
4128 CFLAGS=-Wimplicit-function-declaration
4129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4130 /* end confdefs.h. */
4140 if ac_fn_c_try_compile "$LINENO"; then :
4141 aros_implicit_function_declaration="yes"
4143 aros_implicit_function_declaration="no"
4145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
4147 $as_echo "$aros_implicit_function_declaration" >&6; }
4148 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
4149 aros_warnflags_implicit_function_declaration=-Wimplicit-function-declaration
4150 aros_nowarnflags_implicit_function_declaration=-Wno-implicit-function-declaration
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
4154 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
4156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4157 /* end confdefs.h. */
4167 if ac_fn_c_try_compile "$LINENO"; then :
4172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
4174 $as_echo "$aros_format" >&6; }
4175 if test "x-$aros_format" = "x-yes" ; then
4176 aros_warnflags_format=-Wformat
4177 aros_nowarnflags_format=-Wno-format
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
4181 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
4182 CFLAGS=-Wparentheses
4183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4184 /* end confdefs.h. */
4194 if ac_fn_c_try_compile "$LINENO"; then :
4195 aros_parentheses="yes"
4197 aros_parentheses="no"
4199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
4201 $as_echo "$aros_parentheses" >&6; }
4202 if test "x-$aros_parentheses" = "x-yes" ; then
4203 aros_warnflags_parentheses=-Wparentheses
4204 aros_nowarnflags_parentheses=-Wno-parentheses
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
4208 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
4209 CFLAGS=-Wchar-subscripts
4210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4211 /* end confdefs.h. */
4221 if ac_fn_c_try_compile "$LINENO"; then :
4222 aros_char_subscripts="yes"
4224 aros_char_subscripts="no"
4226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
4228 $as_echo "$aros_char_subscripts" >&6; }
4229 if test "x-$aros_char_subscripts" = "x-yes" ; then
4230 aros_warnflags_char_subscripts=-Wchar-subscripts
4231 aros_nowarnflags_char_subscripts=-Wno-char-subscripts
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
4235 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
4236 CFLAGS=-Wendif-labels
4237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4238 /* end confdefs.h. */
4248 if ac_fn_c_try_compile "$LINENO"; then :
4249 aros_endif_labels="yes"
4251 aros_endif_labels="no"
4253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
4255 $as_echo "$aros_endif_labels" >&6; }
4256 if test "x-$aros_endif_labels" = "x-yes" ; then
4257 aros_warnflags_endif_labels=-Wendif-labels
4258 aros_nowarnflags_endif_labels=-Wno-endif-labels
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
4262 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
4263 CFLAGS=-Wformat-contains-nul
4264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4265 /* end confdefs.h. */
4275 if ac_fn_c_try_compile "$LINENO"; then :
4276 aros_format_contains_nul="yes"
4278 aros_format_contains_nul="no"
4280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
4282 $as_echo "$aros_format_contains_nul" >&6; }
4283 if test "x-$aros_format_contains_nul" = "x-yes" ; then
4284 aros_warnflags_format_contains_nul=-Wformat-contains-nul
4285 aros_nowarnflags_format_contains_nul=-Wno-format-contains-nul
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
4289 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
4290 CFLAGS=-Wimplicit-int
4291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4292 /* end confdefs.h. */
4302 if ac_fn_c_try_compile "$LINENO"; then :
4303 aros_implicit_int="yes"
4305 aros_implicit_int="no"
4307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
4309 $as_echo "$aros_implicit_int" >&6; }
4310 if test "x-$aros_implicit_int" = "x-yes" ; then
4311 aros_warnflags_implicit_int=-Wimplicit-int
4312 aros_nowarnflags_implicit_int=-Wno-implicit-int
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
4316 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
4317 CFLAGS=-Waggressive-loop-optimizations
4318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4319 /* end confdefs.h. */
4329 if ac_fn_c_try_compile "$LINENO"; then :
4330 aros_aggressive_loop_optimizations="yes"
4332 aros_aggressive_loop_optimizations="no"
4334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
4336 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
4337 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
4338 aros_warnflags_aggressive_loop_optimizations=-Waggressive-loop-optimizations
4339 aros_nowarnflags_aggressive_loop_optimizations=-Wno-aggressive-loop-optimizations
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
4343 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
4345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4346 /* end confdefs.h. */
4356 if ac_fn_c_try_compile "$LINENO"; then :
4361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
4363 $as_echo "$aros_cpp" >&6; }
4364 if test "x-$aros_cpp" = "x-yes" ; then
4365 aros_warnflags_cpp=-Wcpp
4366 aros_nowarnflags_cpp=-Wno-cpp
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
4370 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
4372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4373 /* end confdefs.h. */
4383 if ac_fn_c_try_compile "$LINENO"; then :
4388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
4390 $as_echo "$aros_switch" >&6; }
4391 if test "x-$aros_switch" = "x-yes" ; then
4392 aros_warnflags_switch=-Wswitch
4393 aros_nowarnflags_switch=-Wno-switch
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
4397 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
4398 CFLAGS=-Wdiscarded-qualifiers
4399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4400 /* end confdefs.h. */
4410 if ac_fn_c_try_compile "$LINENO"; then :
4411 aros_discarded_qualifiers="yes"
4413 aros_discarded_qualifiers="no"
4415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
4417 $as_echo "$aros_discarded_qualifiers" >&6; }
4418 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
4419 aros_warnflags_discarded_qualifiers=-Wdiscarded-qualifiers
4420 aros_nowarnflags_discarded_qualifiers=-Wno-discarded-qualifiers
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
4424 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
4425 CFLAGS=-Wsequence-point
4426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4427 /* end confdefs.h. */
4437 if ac_fn_c_try_compile "$LINENO"; then :
4438 aros_sequence_point="yes"
4440 aros_sequence_point="no"
4442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
4444 $as_echo "$aros_sequence_point" >&6; }
4445 if test "x-$aros_sequence_point" = "x-yes" ; then
4446 aros_warnflags_sequence_point=-Wsequence-point
4447 aros_nowarnflags_sequence_point=-Wno-sequence-point
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
4451 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
4452 CFLAGS=-Wunknown-pragmas
4453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4454 /* end confdefs.h. */
4464 if ac_fn_c_try_compile "$LINENO"; then :
4465 aros_unknown_pragmas="yes"
4467 aros_unknown_pragmas="no"
4469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
4471 $as_echo "$aros_unknown_pragmas" >&6; }
4472 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
4473 aros_warnflags_unknown_pragmas=-Wunknown-pragmas
4474 aros_nowarnflags_unknown_pragmas=-Wno-unknown-pragmas
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
4478 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
4479 CFLAGS=-Wdiscarded-array-qualifiers
4480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4481 /* end confdefs.h. */
4491 if ac_fn_c_try_compile "$LINENO"; then :
4492 aros_discarded_array_qualifiers="yes"
4494 aros_discarded_array_qualifiers="no"
4496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
4498 $as_echo "$aros_discarded_array_qualifiers" >&6; }
4499 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
4500 aros_warnflags_discarded_array_qualifiers=-Wdiscarded-array-qualifiers
4501 aros_nowarnflags_discarded_array_qualifiers=-Wno-discarded-array-qualifiers
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
4505 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
4506 CFLAGS=-Wint-conversion
4507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4508 /* end confdefs.h. */
4518 if ac_fn_c_try_compile "$LINENO"; then :
4519 aros_int_conversion="yes"
4521 aros_int_conversion="no"
4523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
4525 $as_echo "$aros_int_conversion" >&6; }
4526 if test "x-$aros_int_conversion" = "x-yes" ; then
4527 aros_warnflags_int_conversion=-Wint-conversion
4528 aros_nowarnflags_int_conversion=-Wno-int-conversion
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
4532 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
4533 CFLAGS=-Wint-to-pointer-cast
4534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4535 /* end confdefs.h. */
4545 if ac_fn_c_try_compile "$LINENO"; then :
4546 aros_int_to_pointer_cast="yes"
4548 aros_int_to_pointer_cast="no"
4550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
4552 $as_echo "$aros_int_to_pointer_cast" >&6; }
4553 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
4554 aros_warnflags_int_to_pointer_cast=-Wint-to-pointer-cast
4555 aros_nowarnflags_int_to_pointer_cast=-Wno-int-to-pointer-cast
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
4559 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
4560 CFLAGS=-Wpointer-to-int-cast
4561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4562 /* end confdefs.h. */
4572 if ac_fn_c_try_compile "$LINENO"; then :
4573 aros_pointer_to_int_cast="yes"
4575 aros_pointer_to_int_cast="no"
4577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
4579 $as_echo "$aros_pointer_to_int_cast" >&6; }
4580 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
4581 aros_warnflags_pointer_to_int_cast=-Wpointer-to-int-cast
4582 aros_nowarnflags_pointer_to_int_cast=-Wno-pointer-to-int-cast
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
4586 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
4587 CFLAGS=-Wunused-const-variable
4588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4589 /* end confdefs.h. */
4599 if ac_fn_c_try_compile "$LINENO"; then :
4600 aros_unused_const_variable="yes"
4602 aros_unused_const_variable="no"
4604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
4606 $as_echo "$aros_unused_const_variable" >&6; }
4607 if test "x-$aros_unused_const_variable" = "x-yes" ; then
4608 aros_warnflags_unused_const_variable=-Wunused-const-variable
4609 aros_nowarnflags_unused_const_variable=-Wno-unused-const-variable
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
4613 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
4614 CFLAGS=-Wwrite-strings
4615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4616 /* end confdefs.h. */
4626 if ac_fn_c_try_compile "$LINENO"; then :
4627 aros_write_strings="yes"
4629 aros_write_strings="no"
4631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
4633 $as_echo "$aros_write_strings" >&6; }
4634 if test "x-$aros_write_strings" = "x-yes" ; then
4635 aros_warnflags_write_strings=-Wwrite-strings
4636 aros_nowarnflags_write_strings=-Wno-write-strings
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
4640 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
4642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4643 /* end confdefs.h. */
4653 if ac_fn_c_try_compile "$LINENO"; then :
4658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
4660 $as_echo "$aros_comment" >&6; }
4661 if test "x-$aros_comment" = "x-yes" ; then
4662 aros_warnflags_comment=-Wcomment
4663 aros_nowarnflags_comment=-Wno-comment
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
4667 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
4668 CFLAGS=-Wincompatible-pointer-types
4669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4670 /* end confdefs.h. */
4680 if ac_fn_c_try_compile "$LINENO"; then :
4681 aros_incompatible_pointer_types="yes"
4683 aros_incompatible_pointer_types="no"
4685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
4687 $as_echo "$aros_incompatible_pointer_types" >&6; }
4688 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
4689 aros_warnflags_incompatible_pointer_types=-Wincompatible-pointer-types
4690 aros_nowarnflags_incompatible_pointer_types=-Wno-incompatible-pointer-types
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
4694 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
4695 CFLAGS=-Wbool-compare
4696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4697 /* end confdefs.h. */
4707 if ac_fn_c_try_compile "$LINENO"; then :
4708 aros_bool_compare="yes"
4710 aros_bool_compare="no"
4712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
4714 $as_echo "$aros_bool_compare" >&6; }
4715 if test "x-$aros_bool_compare" = "x-yes" ; then
4716 aros_warnflags_bool_compare=-Wbool-compare
4717 aros_nowarnflags_bool_compare=-Wno-bool-compare
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
4721 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
4722 CFLAGS=-Wlogical-not-parentheses
4723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4724 /* end confdefs.h. */
4734 if ac_fn_c_try_compile "$LINENO"; then :
4735 aros_logical_not_parentheses="yes"
4737 aros_logical_not_parentheses="no"
4739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
4741 $as_echo "$aros_logical_not_parentheses" >&6; }
4742 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
4743 aros_warnflags_logical_not_parentheses=-Wlogical-not-parentheses
4744 aros_nowarnflags_logical_not_parentheses=-Wno-logical-not-parentheses
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
4748 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
4749 CFLAGS=-Wpointer-sign
4750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4751 /* end confdefs.h. */
4761 if ac_fn_c_try_compile "$LINENO"; then :
4762 aros_pointer_sign="yes"
4764 aros_pointer_sign="no"
4766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
4768 $as_echo "$aros_pointer_sign" >&6; }
4769 if test "x-$aros_pointer_sign" = "x-yes" ; then
4770 aros_warnflags_pointer_sign=-Wpointer-sign
4771 aros_nowarnflags_pointer_sign=-Wno-pointer-sign
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
4775 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
4776 CFLAGS=-Wshift-overflow
4777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4778 /* end confdefs.h. */
4788 if ac_fn_c_try_compile "$LINENO"; then :
4789 aros_shift_overflow="yes"
4791 aros_shift_overflow="no"
4793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
4795 $as_echo "$aros_shift_overflow" >&6; }
4796 if test "x-$aros_shift_overflow" = "x-yes" ; then
4797 aros_warnflags_shift_overflow=-Wshift-overflow
4798 aros_nowarnflags_shift_overflow=-Wno-shift-overflow
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
4802 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
4803 CFLAGS=-Wframe-address
4804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4805 /* end confdefs.h. */
4815 if ac_fn_c_try_compile "$LINENO"; then :
4816 aros_frame_address="yes"
4818 aros_frame_address="no"
4820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
4822 $as_echo "$aros_frame_address" >&6; }
4823 if test "x-$aros_frame_address" = "x-yes" ; then
4824 aros_warnflags_frame_address=-Wframe-address
4825 aros_nowarnflags_frame_address=-Wno-frame-address
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
4829 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
4830 CFLAGS=-Wdeprecated-declarations
4831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4832 /* end confdefs.h. */
4842 if ac_fn_c_try_compile "$LINENO"; then :
4843 aros_deprecated_declarations="yes"
4845 aros_deprecated_declarations="no"
4847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
4849 $as_echo "$aros_deprecated_declarations" >&6; }
4850 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
4851 aros_warnflags_deprecated_declarations=-Wdeprecated-declarations
4852 aros_nowarnflags_deprecated_declarations=-Wno-deprecated-declarations
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
4856 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
4857 CFLAGS=-Wsign-compare
4858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4859 /* end confdefs.h. */
4869 if ac_fn_c_try_compile "$LINENO"; then :
4870 aros_sign_compare="yes"
4872 aros_sign_compare="no"
4874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
4876 $as_echo "$aros_sign_compare" >&6; }
4877 if test "x-$aros_sign_compare" = "x-yes" ; then
4878 aros_warnflags_sign_compare=-Wsign-compare
4879 aros_nowarnflags_sign_compare=-Wno-sign-compare
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
4883 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
4885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4886 /* end confdefs.h. */
4896 if ac_fn_c_try_compile "$LINENO"; then :
4897 aros_attributes="yes"
4899 aros_attributes="no"
4901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
4903 $as_echo "$aros_attributes" >&6; }
4904 if test "x-$aros_attributes" = "x-yes" ; then
4905 aros_warnflags_attributes=-Wattributes
4906 aros_nowarnflags_attributes=-Wno-attributes
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
4910 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
4912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4913 /* end confdefs.h. */
4923 if ac_fn_c_try_compile "$LINENO"; then :
4928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
4930 $as_echo "$aros_overflow" >&6; }
4931 if test "x-$aros_overflow" = "x-yes" ; then
4932 aros_warnflags_overflow=-Woverflow
4933 aros_nowarnflags_overflow=-Wno-overflow
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
4937 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
4938 CFLAGS=-Wunused-local-typedefs
4939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4940 /* end confdefs.h. */
4950 if ac_fn_c_try_compile "$LINENO"; then :
4951 aros_unused_local_typedefs="yes"
4953 aros_unused_local_typedefs="no"
4955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
4957 $as_echo "$aros_unused_local_typedefs" >&6; }
4958 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
4959 aros_warnflags_unused_local_typedefs=-Wunused-local-typedefs
4960 aros_nowarnflags_unused_local_typedefs=-Wno-unused-local-typedefs
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
4964 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
4965 CFLAGS=-Wmissing-braces
4966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4967 /* end confdefs.h. */
4977 if ac_fn_c_try_compile "$LINENO"; then :
4978 aros_missing_braces="yes"
4980 aros_missing_braces="no"
4982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
4984 $as_echo "$aros_missing_braces" >&6; }
4985 if test "x-$aros_missing_braces" = "x-yes" ; then
4986 aros_warnflags_missing_braces=-Wmissing-braces
4987 aros_nowarnflags_missing_braces=-Wno-missing-braces
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wconversion-null" >&5
4991 $as_echo_n "checking whether ${CC} accepts -Wconversion-null... " >&6; }
4992 CFLAGS=-Wconversion-null
4993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4994 /* end confdefs.h. */
5004 if ac_fn_c_try_compile "$LINENO"; then :
5005 aros_conversion_null="yes"
5007 aros_conversion_null="no"
5009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
5011 $as_echo "$aros_conversion_null" >&6; }
5012 if test "x-$aros_conversion_null" = "x-yes" ; then
5013 aros_warnflags_conversion_null=-Wconversion-null
5014 aros_nowarnflags_conversion_null=-Wno-conversion-null
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
5018 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
5020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5021 /* end confdefs.h. */
5031 if ac_fn_c_try_compile "$LINENO"; then :
5032 aros_narrowing="yes"
5036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
5038 $as_echo "$aros_narrowing" >&6; }
5039 if test "x-$aros_narrowing" = "x-yes" ; then
5040 aros_warnflags_narrowing=-Wnarrowing
5041 aros_nowarnflags_narrowing=-Wno-narrowing
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wvolatile-register-var" >&5
5045 $as_echo_n "checking whether ${CC} accepts -Wvolatile-register-var... " >&6; }
5046 CFLAGS=-Wvolatile-register-var
5047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5048 /* end confdefs.h. */
5058 if ac_fn_c_try_compile "$LINENO"; then :
5059 aros_volatile_register_var="yes"
5061 aros_volatile_register_var="no"
5063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_volatile_register_var" >&5
5065 $as_echo "$aros_volatile_register_var" >&6; }
5066 if test "x-$aros_volatile_register_var" = "x-yes" ; then
5067 aros_warnflags_volatile_register_var=-Wvolatile-register-var
5068 aros_nowarnflags_volatile_register_var=-Wno-volatile-register-var
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsizeof-pointer-memaccess" >&5
5072 $as_echo_n "checking whether ${CC} accepts -Wsizeof-pointer-memaccess... " >&6; }
5073 CFLAGS=-Wsizeof-pointer-memaccess
5074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5075 /* end confdefs.h. */
5085 if ac_fn_c_try_compile "$LINENO"; then :
5086 aros_sizeof_pointer_memaccess="yes"
5088 aros_sizeof_pointer_memaccess="no"
5090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sizeof_pointer_memaccess" >&5
5092 $as_echo "$aros_sizeof_pointer_memaccess" >&6; }
5093 if test "x-$aros_sizeof_pointer_memaccess" = "x-yes" ; then
5094 aros_warnflags_sizeof_pointer_memaccess=-Wsizeof-pointer-memaccess
5095 aros_nowarnflags_sizeof_pointer_memaccess=-Wno-sizeof-pointer-memaccess
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wreturn-type" >&5
5099 $as_echo_n "checking whether ${CC} accepts -Wreturn-type... " >&6; }
5100 CFLAGS=-Wreturn-type
5101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5102 /* end confdefs.h. */
5112 if ac_fn_c_try_compile "$LINENO"; then :
5113 aros_return_type="yes"
5115 aros_return_type="no"
5117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_return_type" >&5
5119 $as_echo "$aros_return_type" >&6; }
5120 if test "x-$aros_return_type" = "x-yes" ; then
5121 aros_warnflags_return_type=-Wreturn-type
5122 aros_nowarnflags_return_type=-Wno-return-type
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-zero-length" >&5
5126 $as_echo_n "checking whether ${CC} accepts -Wformat-zero-length... " >&6; }
5127 CFLAGS=-Wformat-zero-length
5128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5129 /* end confdefs.h. */
5139 if ac_fn_c_try_compile "$LINENO"; then :
5140 aros_format_zero_length="yes"
5142 aros_format_zero_length="no"
5144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_zero_length" >&5
5146 $as_echo "$aros_format_zero_length" >&6; }
5147 if test "x-$aros_format_zero_length" = "x-yes" ; then
5148 aros_warnflags_format_zero_length=-Wformat-zero-length
5149 aros_nowarnflags_format_zero_length=-Wno-format-zero-length
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlto-type-mismatch" >&5
5153 $as_echo_n "checking whether ${CC} accepts -Wlto-type-mismatch... " >&6; }
5154 CFLAGS=-Wlto-type-mismatch
5155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5156 /* end confdefs.h. */
5166 if ac_fn_c_try_compile "$LINENO"; then :
5167 aros_lto_type_mismatch="yes"
5169 aros_lto_type_mismatch="no"
5171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto_type_mismatch" >&5
5173 $as_echo "$aros_lto_type_mismatch" >&6; }
5174 if test "x-$aros_lto_type_mismatch" = "x-yes" ; then
5175 aros_warnflags_lto_type_mismatch=-Wlto-type-mismatch
5176 aros_nowarnflags_lto_type_mismatch=-Wno-lto-type-mismatch
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wtautological-compare" >&5
5180 $as_echo_n "checking whether ${CC} accepts -Wtautological-compare... " >&6; }
5181 CFLAGS=-Wtautological-compare
5182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5183 /* end confdefs.h. */
5193 if ac_fn_c_try_compile "$LINENO"; then :
5194 aros_tautological_compare="yes"
5196 aros_tautological_compare="no"
5198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tautological_compare" >&5
5200 $as_echo "$aros_tautological_compare" >&6; }
5201 if test "x-$aros_tautological_compare" = "x-yes" ; then
5202 aros_warnflags_tautological_compare=-Wtautological-compare
5203 aros_nowarnflags_tautological_compare=-Wno-tautological-compare
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wempty-body" >&5
5207 $as_echo_n "checking whether ${CC} accepts -Wempty-body... " >&6; }
5209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5210 /* end confdefs.h. */
5220 if ac_fn_c_try_compile "$LINENO"; then :
5221 aros_empty_body="yes"
5223 aros_empty_body="no"
5225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_empty_body" >&5
5227 $as_echo "$aros_empty_body" >&6; }
5228 if test "x-$aros_empty_body" = "x-yes" ; then
5229 aros_warnflags_empty_body=-Wempty-body
5230 aros_nowarnflags_empty_body=-Wno-empty-body
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-overflow" >&5
5234 $as_echo_n "checking whether ${CC} accepts -Wformat-overflow... " >&6; }
5235 CFLAGS=-Wformat-overflow
5236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5237 /* end confdefs.h. */
5247 if ac_fn_c_try_compile "$LINENO"; then :
5248 aros_format_overflow="yes"
5250 aros_format_overflow="no"
5252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_overflow" >&5
5254 $as_echo "$aros_format_overflow" >&6; }
5255 if test "x-$aros_format_overflow" = "x-yes" ; then
5256 aros_warnflags_format_overflow=-Wformat-overflow
5257 aros_nowarnflags_format_overflow=-Wno-format-overflow
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstringop-overflow" >&5
5261 $as_echo_n "checking whether ${CC} accepts -Wstringop-overflow... " >&6; }
5262 CFLAGS=-Wstringop-overflow
5263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5264 /* end confdefs.h. */
5274 if ac_fn_c_try_compile "$LINENO"; then :
5275 aros_stringop_overflow="yes"
5277 aros_stringop_overflow="no"
5279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_stringop_overflow" >&5
5281 $as_echo "$aros_stringop_overflow" >&6; }
5282 if test "x-$aros_stringop_overflow" = "x-yes" ; then
5283 aros_warnflags_stringop_overflow=-Wstringop-overflow
5284 aros_nowarnflags_stringop_overflow=-Wno-stringop-overflow
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-truncation" >&5
5288 $as_echo_n "checking whether ${CC} accepts -Wformat-truncation... " >&6; }
5289 CFLAGS=-Wformat-truncation
5290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5291 /* end confdefs.h. */
5301 if ac_fn_c_try_compile "$LINENO"; then :
5302 aros_format_truncation="yes"
5304 aros_format_truncation="no"
5306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_truncation" >&5
5308 $as_echo "$aros_format_truncation" >&6; }
5309 if test "x-$aros_format_truncation" = "x-yes" ; then
5310 aros_warnflags_format_truncation=-Wformat-truncation
5311 aros_nowarnflags_format_truncation=-Wno-format-truncation
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstringop-truncation" >&5
5315 $as_echo_n "checking whether ${CC} accepts -Wstringop-truncation... " >&6; }
5316 CFLAGS=-Wstringop-truncation
5317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5318 /* end confdefs.h. */
5328 if ac_fn_c_try_compile "$LINENO"; then :
5329 aros_stringop_truncation="yes"
5331 aros_stringop_truncation="no"
5333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_stringop_truncation" >&5
5335 $as_echo "$aros_stringop_truncation" >&6; }
5336 if test "x-$aros_stringop_truncation" = "x-yes" ; then
5337 aros_warnflags_stringop_truncation=-Wstringop-truncation
5338 aros_nowarnflags_stringop_truncation=-Wno-stringop-truncation
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-negative-value" >&5
5342 $as_echo_n "checking whether ${CC} accepts -Wshift-negative-value... " >&6; }
5343 CFLAGS=-Wshift-negative-value
5344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5345 /* end confdefs.h. */
5355 if ac_fn_c_try_compile "$LINENO"; then :
5356 aros_shift_negative_value="yes"
5358 aros_shift_negative_value="no"
5360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_negative_value" >&5
5362 $as_echo "$aros_shift_negative_value" >&6; }
5363 if test "x-$aros_shift_negative_value" = "x-yes" ; then
5364 aros_warnflags_shift_negative_value=-Wshift-negative-value
5365 aros_nowarnflags_shift_negative_value=-Wno-shift-negative-value
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-field-initializers" >&5
5369 $as_echo_n "checking whether ${CC} accepts -Wmissing-field-initializers... " >&6; }
5370 CFLAGS=-Wmissing-field-initializers
5371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5372 /* end confdefs.h. */
5382 if ac_fn_c_try_compile "$LINENO"; then :
5383 aros_missing_field_initializers="yes"
5385 aros_missing_field_initializers="no"
5387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_field_initializers" >&5
5389 $as_echo "$aros_missing_field_initializers" >&6; }
5390 if test "x-$aros_missing_field_initializers" = "x-yes" ; then
5391 aros_warnflags_missing_field_initializers=-Wmissing-field-initializers
5392 aros_nowarnflags_missing_field_initializers=-Wno-missing-field-initializers
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-fallthrough" >&5
5396 $as_echo_n "checking whether ${CC} accepts -Wimplicit-fallthrough... " >&6; }
5397 CFLAGS=-Wimplicit-fallthrough
5398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5399 /* end confdefs.h. */
5409 if ac_fn_c_try_compile "$LINENO"; then :
5410 aros_implicit_fallthrough="yes"
5412 aros_implicit_fallthrough="no"
5414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_fallthrough" >&5
5416 $as_echo "$aros_implicit_fallthrough" >&6; }
5417 if test "x-$aros_implicit_fallthrough" = "x-yes" ; then
5418 aros_warnflags_implicit_fallthrough=-Wimplicit-fallthrough
5419 aros_nowarnflags_implicit_fallthrough=-Wno-implicit-fallthrough
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-prototypes" >&5
5423 $as_echo_n "checking whether ${CC} accepts -Wmissing-prototypes... " >&6; }
5424 CFLAGS=-Wmissing-prototypes
5425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5426 /* end confdefs.h. */
5436 if ac_fn_c_try_compile "$LINENO"; then :
5437 aros_missing_prototypes="yes"
5439 aros_missing_prototypes="no"
5441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_prototypes" >&5
5443 $as_echo "$aros_missing_prototypes" >&6; }
5444 if test "x-$aros_missing_prototypes" = "x-yes" ; then
5445 aros_warnflags_missing_prototypes=-Wmissing-prototypes
5446 aros_nowarnflags_missing_prototypes=-Wno-missing-prototypes
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wclass-memaccess" >&5
5450 $as_echo_n "checking whether ${CC} accepts -Wclass-memaccess... " >&6; }
5451 CFLAGS=-Wclass-memaccess
5452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5453 /* end confdefs.h. */
5463 if ac_fn_c_try_compile "$LINENO"; then :
5464 aros_class_memaccess="yes"
5466 aros_class_memaccess="no"
5468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_class_memaccess" >&5
5470 $as_echo "$aros_class_memaccess" >&6; }
5471 if test "x-$aros_class_memaccess" = "x-yes" ; then
5472 aros_warnflags_class_memaccess=-Wclass-memaccess
5473 aros_nowarnflags_class_memaccess=-Wno-class-memaccess
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-in-bool-context" >&5
5477 $as_echo_n "checking whether ${CC} accepts -Wint-in-bool-context... " >&6; }
5478 CFLAGS=-Wint-in-bool-context
5479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5480 /* end confdefs.h. */
5490 if ac_fn_c_try_compile "$LINENO"; then :
5491 aros_int_in_bool_context="yes"
5493 aros_int_in_bool_context="no"
5495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_in_bool_context" >&5
5497 $as_echo "$aros_int_in_bool_context" >&6; }
5498 if test "x-$aros_int_in_bool_context" = "x-yes" ; then
5499 aros_warnflags_int_in_bool_context=-Wint-in-bool-context
5500 aros_nowarnflags_int_in_bool_context=-Wno-int-in-bool-context
5504 # export the feature flags...
5554 # export the feature options...
5559 # ...and warning flags...
5707 ac_config_files="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in"
5710 cat >confcache <<\_ACEOF
5711 # This file is a shell script that caches the results of configure
5712 # tests run on this system so they can be shared between configure
5713 # scripts and configure runs, see configure's option --config-cache.
5714 # It is not useful on other systems. If it contains results you don't
5715 # want to keep, you may remove or edit it.
5717 # config.status only pays attention to the cache file if you give it
5718 # the --recheck option to rerun configure.
5720 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
5721 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5726 # The following way of writing the cache mishandles newlines in values,
5727 # but we know of no workaround that is simple, portable, and efficient.
5728 # So, we kill variables containing newlines.
5729 # Ultrix sh set writes to stderr and can't be redirected directly,
5730 # and sets the high bit in the cache file unless we assign to the vars.
5732 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5733 eval ac_val
=\$
$ac_var
5737 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5738 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5741 _ | IFS | as_nl
) ;; #(
5742 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
5743 *) { eval $ac_var=; unset $ac_var;} ;;
5749 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5750 *${as_nl}ac_space
=\
*)
5751 # `set' does not quote correctly, so add quotes: double-quote
5752 # substitution turns \\\\ into \\, and sed turns \\ into \.
5755 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5758 # `set' quotes correctly as required by POSIX, so do not add quotes.
5759 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5768 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5770 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5772 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5773 if test -w "$cache_file"; then
5774 if test "x$cache_file" != "x/dev/null"; then
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5776 $as_echo "$as_me: updating cache $cache_file" >&6;}
5777 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
5778 cat confcache
>"$cache_file"
5780 case $cache_file in #(
5782 mv -f confcache
"$cache_file"$$
&&
5783 mv -f "$cache_file"$$
"$cache_file" ;; #(
5785 mv -f confcache
"$cache_file" ;;
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5791 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5796 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5797 # Let make expand exec_prefix.
5798 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5800 # Transform confdefs.h into DEFS.
5801 # Protect against shell expansion while executing Makefile rules.
5802 # Protect against Makefile macro expansion.
5804 # If the first sed substitution is executed (which looks for macros that
5805 # take arguments), then branch to the quote section. Otherwise,
5806 # look for a macro that doesn't take arguments.
5816 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5818 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5822 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5835 DEFS
=`sed -n "$ac_script" confdefs.h`
5841 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5842 # 1. Remove the extension, and $U if already installed.
5843 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5844 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
5845 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5846 # will be set to the directory where LIBOBJS objects are built.
5847 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5848 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
5852 LTLIBOBJS
=$ac_ltlibobjs
5856 : "${CONFIG_STATUS=./config.status}"
5858 ac_clean_files_save
=$ac_clean_files
5859 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5861 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5863 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5865 # Generated by $as_me.
5866 # Run this file to recreate the current configuration.
5867 # Compiler output produced by configure, useful for debugging
5868 # configure, is in config.log if it exists.
5874 SHELL=\${CONFIG_SHELL-$SHELL}
5877 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
5878 ## -------------------- ##
5879 ## M4sh Initialization. ##
5880 ## -------------------- ##
5882 # Be more Bourne compatible
5883 DUALCASE
=1; export DUALCASE
# for MKS sh
5884 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
5887 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5888 # is contrary to our usage. Disable this feature.
5889 alias -g '${1+"$@"}'='"$@"'
5890 setopt NO_GLOB_SUBST
5892 case `(set -o) 2>/dev/null` in #(
5904 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5905 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5906 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5907 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5908 # Prefer a ksh shell builtin over an external printf program on Solaris,
5909 # but without wasting forks for bash or zsh.
5910 if test -z "$BASH_VERSION$ZSH_VERSION" \
5911 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5912 as_echo='print
-r --'
5913 as_echo_n='print
-rn --'
5914 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5915 as_echo='printf %s
\n'
5916 as_echo_n='printf %s
'
5918 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5919 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
5920 as_echo_n='/usr
/ucb
/echo -n'
5922 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5923 as_echo_n_body='eval
5927 expr "X$arg" : "X\\(.*\\)$as_nl";
5928 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5930 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
5932 export as_echo_n_body
5933 as_echo_n='sh
-c $as_echo_n_body as_echo
'
5936 as_echo='sh
-c $as_echo_body as_echo
'
5939 # The user is always right.
5940 if test "${PATH_SEPARATOR+set}" != set; then
5942 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5943 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5950 # We need space, tab and new line, in precisely that order. Quoting is
5951 # there to prevent editors from complaining about space-tab.
5952 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5953 # splitting by setting IFS to empty value.)
5956 # Find who we are. Look in the path if we contain no directory separator.
5959 *[\\/]* ) as_myself=$0 ;;
5960 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5964 test -z "$as_dir" && as_dir=.
5965 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5971 # We did not find ourselves, most probably we were run as `sh COMMAND'
5972 # in which case we are not to be found in the path.
5973 if test "x$as_myself" = x
; then
5976 if test ! -f "$as_myself"; then
5977 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5981 # Unset variables that we do not need and which cause bugs (e.g. in
5982 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5983 # suppresses any "Segmentation fault" message there. '((' could
5984 # trigger a bug in pdksh 5.2.14.
5985 for as_var
in BASH_ENV ENV MAIL MAILPATH
5986 do eval test x\
${$as_var+set} = xset \
5987 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
6000 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
6003 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6004 # ----------------------------------------
6005 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6006 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6007 # script with STATUS, using 1 if that was 0.
6010 as_status
=$1; test $as_status -eq 0 && as_status
=1
6012 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
6013 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6015 $as_echo "$as_me: error: $2" >&2
6016 as_fn_exit
$as_status
6020 # as_fn_set_status STATUS
6021 # -----------------------
6022 # Set $? to STATUS, without forking.
6026 } # as_fn_set_status
6030 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6040 # Portably unset VAR.
6043 { eval $1=; unset $1;}
6045 as_unset
=as_fn_unset
6046 # as_fn_append VAR VALUE
6047 # ----------------------
6048 # Append the text in VALUE to the end of the definition contained in VAR. Take
6049 # advantage of any shell optimizations that allow amortized linear growth over
6050 # repeated appends, instead of the typical quadratic growth present in naive
6052 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
6053 eval 'as_fn_append ()
6064 # as_fn_arith ARG...
6065 # ------------------
6066 # Perform arithmetic evaluation on the ARGs, and store the result in the
6067 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6068 # must be portable across $(()) and expr.
6069 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
6070 eval 'as_fn_arith ()
6077 as_val
=`expr "$@" || test $? -eq 1`
6082 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
6083 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6089 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6090 as_basename
=basename
6095 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
6101 as_me
=`$as_basename -- "$0" ||
6102 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6103 X"$0" : 'X\(//\)$' \| \
6104 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6106 sed '/^.*\/\([^/][^/]*\)\/*$/{
6120 # Avoid depending upon Character Ranges.
6121 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6122 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6123 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6124 as_cr_digits
='0123456789'
6125 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6127 ECHO_C
= ECHO_N
= ECHO_T
=
6128 case `echo -n x` in #(((((
6130 case `echo 'xy\c'` in
6131 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
6133 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
6140 rm -f conf$$ conf$$.exe conf$$.
file
6141 if test -d conf$$.dir
; then
6142 rm -f conf$$.dir
/conf$$.
file
6145 mkdir conf$$.dir
2>/dev
/null
6147 if (echo >conf$$.
file) 2>/dev
/null
; then
6148 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6150 # ... but there are two gotchas:
6151 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6152 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6153 # In both cases, we have to default to `cp -pR'.
6154 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
6156 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6164 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
6165 rmdir conf$$.dir
2>/dev
/null
6170 # Create "$as_dir" as a directory, including parents if necessary.
6175 -*) as_dir
=.
/$as_dir;;
6177 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
6181 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6182 *) as_qdir
=$as_dir;;
6184 as_dirs
="'$as_qdir' $as_dirs"
6185 as_dir
=`$as_dirname -- "$as_dir" ||
6186 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6187 X"$as_dir" : 'X\(//\)[^/]' \| \
6188 X"$as_dir" : 'X\(//\)$' \| \
6189 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6190 $as_echo X"$as_dir" |
6191 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6208 test -d "$as_dir" && break
6210 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
6211 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
6215 if mkdir
-p .
2>/dev
/null
; then
6216 as_mkdir_p
='mkdir -p "$as_dir"'
6218 test -d .
/-p && rmdir .
/-p
6223 # as_fn_executable_p FILE
6224 # -----------------------
6225 # Test if FILE is an executable regular file.
6226 as_fn_executable_p
()
6228 test -f "$1" && test -x "$1"
6229 } # as_fn_executable_p
6231 as_executable_p
=as_fn_executable_p
6233 # Sed expression to map a string onto a valid CPP name.
6234 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6236 # Sed expression to map a string onto a valid variable name.
6237 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6241 ## ----------------------------------- ##
6242 ## Main body of $CONFIG_STATUS script. ##
6243 ## ----------------------------------- ##
6245 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
6247 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6248 # Save the log message, to keep $0 and so on meaningful, and to
6249 # report actual input values of CONFIG_FILES etc. instead of their
6250 # values after options handling.
6252 This file was extended by $as_me, which was
6253 generated by GNU Autoconf 2.69. Invocation command line was
6255 CONFIG_FILES = $CONFIG_FILES
6256 CONFIG_HEADERS = $CONFIG_HEADERS
6257 CONFIG_LINKS = $CONFIG_LINKS
6258 CONFIG_COMMANDS = $CONFIG_COMMANDS
6261 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6266 case $ac_config_files in *"
6267 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
6272 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6273 # Files that config.status was made for.
6274 config_files="$ac_config_files"
6278 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6280 \`$as_me' instantiates files and other configuration actions
6281 from templates according to the current configuration. Unless the files
6282 and actions are specified as TAGs, all are instantiated by default.
6284 Usage: $0 [OPTION]... [TAG]...
6286 -h, --help print this help, then exit
6287 -V, --version print version number and configuration settings, then exit
6288 --config print configuration, then exit
6289 -q, --quiet, --silent
6290 do not print progress messages
6291 -d, --debug don't remove temporary files
6292 --recheck update $as_me by reconfiguring in the same conditions
6293 --file=FILE[:TEMPLATE]
6294 instantiate the configuration file FILE
6296 Configuration files:
6299 Report bugs to the package provider."
6302 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6303 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6306 configured by $0, generated by GNU Autoconf 2.69,
6307 with options \\"\$ac_cs_config\\"
6309 Copyright (C) 2012 Free Software Foundation, Inc.
6310 This config.status script is free software; the Free Software Foundation
6311 gives unlimited permission to copy, distribute and modify it."
6315 test -n "\$AWK" || AWK=awk
6318 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6319 # The default lists apply if the user does not specify any file.
6325 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6326 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
6330 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6342 # Handling of the options.
6343 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6345 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
6346 $as_echo "$ac_cs_version"; exit ;;
6347 --config |
--confi |
--conf |
--con |
--co |
--c )
6348 $as_echo "$ac_cs_config"; exit ;;
6349 --debug |
--debu |
--deb |
--de |
--d |
-d )
6351 --file |
--fil |
--fi |
--f )
6354 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6355 '') as_fn_error $?
"missing file argument" ;;
6357 as_fn_append CONFIG_FILES
" '$ac_optarg'"
6358 ac_need_defaults
=false
;;
6359 --he |
--h |
--help |
--hel |
-h )
6360 $as_echo "$ac_cs_usage"; exit ;;
6361 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6362 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6366 -*) as_fn_error $?
"unrecognized option: \`$1'
6367 Try \`$0 --help' for more information." ;;
6369 *) as_fn_append ac_config_targets
" $1"
6370 ac_need_defaults
=false
;;
6376 ac_configure_extra_args
=
6378 if $ac_cs_silent; then
6380 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6384 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6385 if \$ac_cs_recheck; then
6386 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6388 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6389 CONFIG_SHELL='$SHELL'
6395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6399 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6400 ## Running $as_me. ##
6406 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6409 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6411 # Handling of arguments.
6412 for ac_config_target
in $ac_config_targets
6414 case $ac_config_target in
6415 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in" ;;
6417 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6422 # If the user did not use the arguments to specify the items to instantiate,
6423 # then the envvar interface is used. Set only those that are not.
6424 # We use the long form for the default assignment because of an extremely
6425 # bizarre bug on SunOS 4.1.3.
6426 if $ac_need_defaults; then
6427 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6430 # Have a temporary directory for convenience. Make it in the build tree
6431 # simply because there is no reason against having it here, and in addition,
6432 # creating and moving files from /tmp can sometimes cause problems.
6433 # Hook for its removal unless debugging.
6434 # Note that there is a small window in which the directory will not be cleaned:
6435 # after its creation but before its name has been assigned to `$tmp'.
6439 trap 'exit_status=$?
6441 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6443 trap 'as_fn_exit 1' 1 2 13 15
6445 # Create a (secure) tmp directory for tmp files.
6448 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6452 tmp
=.
/conf$$
-$RANDOM
6453 (umask 077 && mkdir
"$tmp")
6454 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
6457 # Set up the scripts for CONFIG_FILES section.
6458 # No need to generate them if there are no CONFIG_FILES.
6459 # This happens for instance with `./config.status config.h'.
6460 if test -n "$CONFIG_FILES"; then
6463 ac_cr
=`echo X | tr X '\015'`
6464 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6465 # But we know of no other shell where ac_cr would be empty at this
6466 # point, so we can use a bashism as a fallback.
6467 if test "x$ac_cr" = x
; then
6468 eval ac_cr
=\$
\'\\r
\'
6470 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6471 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6477 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6482 echo "cat >conf$$subs.awk <<_ACEOF" &&
6483 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6486 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6487 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6489 for ac_last_try in false false false false false :; do
6490 . ./conf$$subs.sh ||
6491 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6493 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
6494 if test $ac_delim_n = $ac_delim_num; then
6496 elif $ac_last_try; then
6497 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6499 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6504 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6505 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
6509 s/^/S["/; s
/!.
*/"]=/
6519 s/\(.\{148\}\)..*/\1/
6521 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
6526 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6533 s/\(.\{148\}\)..*/\1/
6535 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
6539 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6544 ' <conf$$subs.awk | sed '
6549 ' >>$CONFIG_STATUS || ac_write_fail=1
6550 rm -f conf$$subs.awk
6551 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6553 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
6554 for (key in S) S_is_set[key] = 1
6560 nfields = split(line, field, "@
")
6562 len = length(field[1])
6563 for (i = 2; i < nfields; i++) {
6565 keylen = length(key)
6566 if (S_is_set[key]) {
6568 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6569 len += length(value) + length(field[++i])
6580 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6581 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6582 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
6585 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
6586 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
6589 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6590 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
6591 # trailing colons and then remove the whole line if VPATH becomes empty
6592 # (actually we leave an empty line to preserve line numbers).
6593 if test "x
$srcdir" = x.; then
6594 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6612 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6613 fi # test -n "$CONFIG_FILES"
6616 eval set X " :F
$CONFIG_FILES "
6621 :[FHLC]) ac_mode=$ac_tag; continue;;
6623 case $ac_mode$ac_tag in
6625 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
6626 :[FH]-) ac_tag=-:-;;
6627 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6644 -) ac_f="$ac_tmp/stdin";;
6645 *) # Look for the file first in the build tree, then in the source tree
6646 # (if the path is not absolute). The absolute path cannot be DOS-style,
6647 # because $ac_f cannot contain `:'.
6651 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6653 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6655 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
6656 as_fn_append ac_file_inputs " '$ac_f'"
6659 # Let's still pretend it is `configure' which instantiates (i.e., don't
6660 # use $as_me), people would be surprised to read:
6661 # /* config.h. Generated by config.status. */
6662 configure_input='Generated from '`
6663 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6665 if test x"$ac_file" != x-; then
6666 configure_input="$ac_file.
$configure_input"
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
6668 $as_echo "$as_me: creating
$ac_file" >&6;}
6670 # Neutralize special characters interpreted by sed in replacement strings.
6671 case $configure_input in #(
6672 *\&* | *\|* | *\\* )
6673 ac_sed_conf_input=`$as_echo "$configure_input" |
6674 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6675 *) ac_sed_conf_input=$configure_input;;
6679 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
6680 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
6685 ac_dir=`$as_dirname -- "$ac_file" ||
6686 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6687 X"$ac_file" : 'X\(//\)[^/]' \| \
6688 X"$ac_file" : 'X\(//\)$' \| \
6689 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6690 $as_echo X"$ac_file" |
6691 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6708 as_dir="$ac_dir"; as_fn_mkdir_p
6712 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6714 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6715 # A "..
" for each directory in $ac_dir_suffix.
6716 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6717 case $ac_top_builddir_sub in
6718 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6719 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6722 ac_abs_top_builddir=$ac_pwd
6723 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6724 # for backward compatibility:
6725 ac_top_builddir=$ac_top_build_prefix
6728 .) # We are building in place.
6730 ac_top_srcdir=$ac_top_builddir_sub
6731 ac_abs_top_srcdir=$ac_pwd ;;
6732 [\\/]* | ?:[\\/]* ) # Absolute name.
6733 ac_srcdir=$srcdir$ac_dir_suffix;
6734 ac_top_srcdir=$srcdir
6735 ac_abs_top_srcdir=$srcdir ;;
6737 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6738 ac_top_srcdir=$ac_top_build_prefix$srcdir
6739 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6741 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6752 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6753 # If the template does not know about datarootdir, expand it.
6754 # FIXME: This hack should be removed a few years after 2.60.
6755 ac_datarootdir_hack=; ac_datarootdir_seen=
6766 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
6767 *datarootdir*) ac_datarootdir_seen=yes;;
6768 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
6770 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
6772 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6773 ac_datarootdir_hack='
6774 s&@datadir@&$datadir&g
6775 s&@docdir@&$docdir&g
6776 s&@infodir@&$infodir&g
6777 s&@localedir@&$localedir&g
6778 s&@mandir@&$mandir&g
6779 s&\\\${datarootdir}&$datarootdir&g' ;;
6783 # Neutralize VPATH when `$srcdir' = `.'.
6784 # Shell code in configure.ac might set extrasub.
6785 # FIXME: do we really want to maintain this feature?
6786 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6787 ac_sed_extra="$ac_vpsub
6790 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6792 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6793 s|@configure_input@|
$ac_sed_conf_input|
;t t
6794 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6795 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
6796 s
&@srcdir@
&$ac_srcdir&;t t
6797 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6798 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6799 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6800 s
&@builddir@
&$ac_builddir&;t t
6801 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6802 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6803 $ac_datarootdir_hack
6805 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
6806 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
6808 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6809 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
6810 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6811 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6813 which seems to be undefined. Please make sure it is defined" >&5
6814 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6815 which seems to be undefined. Please make sure it is defined" >&2;}
6817 rm -f "$ac_tmp/stdin"
6819 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6820 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6822 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6834 ac_clean_files=$ac_clean_files_save
6836 test $ac_write_fail = 0 ||
6837 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6840 # configure is writing to config.log, and then calls config.status.
6841 # config.status does its own redirection, appending to config.log.
6842 # Unfortunately, on DOS this fails, as config.log is still kept open
6843 # by configure, so config.status won't be able to
write to it
; its
6844 # output is simply discarded. So we exec the FD to /dev/null,
6845 # effectively closing config.log, so it can be properly (re)opened and
6846 # appended to by config.status. When coming back to configure, we
6847 # need to make the FD available again.
6848 if test "$no_create" != yes; then
6850 ac_config_status_args
=
6851 test "$silent" = yes &&
6852 ac_config_status_args
="$ac_config_status_args --quiet"
6854 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6856 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6857 # would make configure fail if this is the last instruction.
6858 $ac_cs_success || as_fn_exit
1
6860 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6862 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}