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_toolchain_sysroot
588 aros_nowarnflags_int_in_bool_context
589 aros_warnflags_int_in_bool_context
590 aros_nowarnflags_class_memaccess
591 aros_warnflags_class_memaccess
592 aros_nowarnflags_missing_prototypes
593 aros_warnflags_missing_prototypes
594 aros_nowarnflags_implicit_fallthrough
595 aros_warnflags_implicit_fallthrough
596 aros_nowarnflags_missing_field_initializers
597 aros_warnflags_missing_field_initializers
598 aros_nowarnflags_shift_negative_value
599 aros_warnflags_shift_negative_value
600 aros_nowarnflags_stringop_truncation
601 aros_warnflags_stringop_truncation
602 aros_nowarnflags_format_truncation
603 aros_warnflags_format_truncation
604 aros_nowarnflags_stringop_overflow
605 aros_warnflags_stringop_overflow
606 aros_nowarnflags_format_overflow
607 aros_warnflags_format_overflow
608 aros_nowarnflags_empty_body
609 aros_warnflags_empty_body
610 aros_nowarnflags_tautological_compare
611 aros_warnflags_tautological_compare
612 aros_nowarnflags_lto_type_mismatch
613 aros_warnflags_lto_type_mismatch
614 aros_nowarnflags_format_zero_length
615 aros_warnflags_format_zero_length
616 aros_nowarnflags_return_type
617 aros_warnflags_return_type
618 aros_nowarnflags_sizeof_pointer_memaccess
619 aros_warnflags_sizeof_pointer_memaccess
620 aros_nowarnflags_volatile_register_var
621 aros_warnflags_volatile_register_var
622 aros_nowarnflags_narrowing
623 aros_warnflags_narrowing
624 aros_nowarnflags_conversion_null
625 aros_warnflags_conversion_null
626 aros_nowarnflags_missing_braces
627 aros_warnflags_missing_braces
628 aros_nowarnflags_unused_local_typedefs
629 aros_warnflags_unused_local_typedefs
630 aros_nowarnflags_overflow
631 aros_warnflags_overflow
632 aros_nowarnflags_attributes
633 aros_warnflags_attributes
634 aros_nowarnflags_sign_compare
635 aros_warnflags_sign_compare
636 aros_nowarnflags_deprecated_declarations
637 aros_warnflags_deprecated_declarations
638 aros_nowarnflags_frame_address
639 aros_warnflags_frame_address
640 aros_nowarnflags_shift_overflow
641 aros_warnflags_shift_overflow
642 aros_nowarnflags_pointer_sign
643 aros_warnflags_pointer_sign
644 aros_nowarnflags_logical_not_parentheses
645 aros_warnflags_logical_not_parentheses
646 aros_nowarnflags_bool_compare
647 aros_warnflags_bool_compare
648 aros_nowarnflags_incompatible_pointer_types
649 aros_warnflags_incompatible_pointer_types
650 aros_nowarnflags_comment
651 aros_warnflags_comment
652 aros_nowarnflags_write_strings
653 aros_warnflags_write_strings
654 aros_nowarnflags_unused_const_variable
655 aros_warnflags_unused_const_variable
656 aros_nowarnflags_pointer_to_int_cast
657 aros_warnflags_pointer_to_int_cast
658 aros_nowarnflags_int_to_pointer_cast
659 aros_warnflags_int_to_pointer_cast
660 aros_nowarnflags_int_conversion
661 aros_warnflags_int_conversion
662 aros_nowarnflags_discarded_array_qualifiers
663 aros_warnflags_discarded_array_qualifiers
664 aros_nowarnflags_unknown_pragmas
665 aros_warnflags_unknown_pragmas
666 aros_nowarnflags_sequence_point
667 aros_warnflags_sequence_point
668 aros_nowarnflags_discarded_qualifiers
669 aros_warnflags_discarded_qualifiers
670 aros_nowarnflags_switch
671 aros_warnflags_switch
674 aros_nowarnflags_aggressive_loop_optimizations
675 aros_warnflags_aggressive_loop_optimizations
676 aros_nowarnflags_implicit_int
677 aros_warnflags_implicit_int
678 aros_nowarnflags_format_contains_nul
679 aros_warnflags_format_contains_nul
680 aros_nowarnflags_endif_labels
681 aros_warnflags_endif_labels
682 aros_nowarnflags_char_subscripts
683 aros_warnflags_char_subscripts
684 aros_nowarnflags_parentheses
685 aros_warnflags_parentheses
686 aros_nowarnflags_format
687 aros_warnflags_format
688 aros_nowarnflags_implicit_function_declaration
689 aros_warnflags_implicit_function_declaration
690 aros_nowarnflags_maybe_uninitialized
691 aros_warnflags_maybe_uninitialized
692 aros_nowarnflags_uninitialized
693 aros_warnflags_uninitialized
694 aros_nowarnflags_unused_parameter
695 aros_warnflags_unused_parameter
696 aros_nowarnflags_unused_function
697 aros_warnflags_unused_function
698 aros_nowarnflags_unused_variable
699 aros_warnflags_unused_variable
700 aros_nowarnflags_unused_value
701 aros_warnflags_unused_value
702 aros_nowarnflags_unused_label
703 aros_warnflags_unused_label
704 aros_nowarnflags_unused
705 aros_warnflags_unused
706 aros_nowarnflags_nonnull_compare
707 aros_warnflags_nonnull_compare
708 aros_nowarnflags_misleading_indentation
709 aros_warnflags_misleading_indentation
710 aros_nowarnflags_format_security
711 aros_warnflags_format_security
712 aros_nowarnflags_strict_overflow
713 aros_warnflags_strict_overflow
714 aros_nowarnflags_strict_prototypes
715 aros_warnflags_strict_prototypes
716 aros_nowarnflags_enum_compare
717 aros_warnflags_enum_compare
718 aros_nowarnflags_array_bounds
719 aros_warnflags_array_bounds
720 aros_nowarnflags_strict_aliasing
721 aros_warnflags_strict_aliasing
722 aros_nowarnflags_unused_but_set_variable
723 aros_warnflags_unused_but_set_variable
724 aros_nowarnflags_unknown_warning_option
725 aros_warnflags_unknown_warning_option
726 aros_nowarnflags_unused_command_line_argument
727 aros_warnflags_unused_command_line_argument
728 aros_nowarnflags_restrict
729 aros_warnflags_restrict
731 aros_nowarnflags_error
733 aros_cflags_no_ms_bitfields
734 aros_cflags_ms_bitfields
735 aros_cflags_no_red_zone
737 aros_cflags_iquote_end
739 aros_cflags_isystem_end
741 aros_cflags_visibility_hidden
742 aros_cflags_no_asynchronous_unwind_tables
743 aros_cflags_asynchronous_unwind_tables
744 aros_cflags_no_freestanding
745 aros_cflags_freestanding
746 aros_cflags_no_builtin_vsnprintf
747 aros_cflags_no_builtin_floor
748 aros_cflags_no_builtin
750 aros_cflags_noalignednew
751 aros_cflags_alignednew
752 aros_cflags_noinstrfuncs
753 aros_cflags_instrfuncs
754 aros_cflags_notestcoverage
755 aros_cflags_testcoverage
756 aros_cflags_noprofilearcs
757 aros_cflags_profilearcs
762 aros_cflags_noinlinesmallfunctions
763 aros_cflags_inlinesmallfunctions
764 aros_cflags_nostrictaliasing
765 aros_cflags_strictaliasing
766 aros_cflags_unroll_loops
767 aros_cflags_peel_loops
768 aros_cflags_loop_strip_mine
769 aros_cflags_loop_interchange
770 aros_cflags_loop_block
771 aros_cflags_whole_program
774 aros_cflags_no_trapping_math
775 aros_cflags_no_math_errno
776 aros_cflags_fast_math
779 aros_cxxflags_nopermissive
780 aros_cxxflags_permissive
781 aros_cflags_noexceptions
782 aros_cflags_exceptions
821 program_transform_name
834 enable_option_checking
837 ac_precious_vars
='build_alias
850 # Initialize some variables set by options.
852 ac_init_version
=false
853 ac_unrecognized_opts
=
855 # The variables have the same names as the options, with
856 # dashes changed to underlines.
864 program_transform_name
=s
,x
,x
,
872 # Installation directory options.
873 # These are left unexpanded so users can "make install exec_prefix=/foo"
874 # and all the variables that are supposed to be based on exec_prefix
875 # by default will actually change.
876 # Use braces instead of parens because sh, perl, etc. also accept them.
877 # (The list follows the same order as the GNU Coding Standards.)
878 bindir
='${exec_prefix}/bin'
879 sbindir
='${exec_prefix}/sbin'
880 libexecdir
='${exec_prefix}/libexec'
881 datarootdir
='${prefix}/share'
882 datadir
='${datarootdir}'
883 sysconfdir
='${prefix}/etc'
884 sharedstatedir
='${prefix}/com'
885 localstatedir
='${prefix}/var'
886 runstatedir
='${localstatedir}/run'
887 includedir
='${prefix}/include'
888 oldincludedir
='/usr/include'
889 docdir
='${datarootdir}/doc/${PACKAGE}'
890 infodir
='${datarootdir}/info'
895 libdir
='${exec_prefix}/lib'
896 localedir
='${datarootdir}/locale'
897 mandir
='${datarootdir}/man'
903 # If the previous option needs an argument, assign it.
904 if test -n "$ac_prev"; then
905 eval $ac_prev=\
$ac_option
911 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
916 # Accept the important Cygnus configure options, so we can diagnose typos.
918 case $ac_dashdash$ac_option in
922 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
924 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
927 -build |
--build |
--buil |
--bui |
--bu)
928 ac_prev
=build_alias
;;
929 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
930 build_alias
=$ac_optarg ;;
932 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
933 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
934 ac_prev
=cache_file
;;
935 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
936 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
937 cache_file
=$ac_optarg ;;
940 cache_file
=config.cache
;;
942 -datadir |
--datadir |
--datadi |
--datad)
944 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
945 datadir
=$ac_optarg ;;
947 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
948 |
--dataroo |
--dataro |
--datar)
949 ac_prev
=datarootdir
;;
950 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
951 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
952 datarootdir
=$ac_optarg ;;
954 -disable-* |
--disable-*)
955 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
956 # Reject names that are not valid shell variable names.
957 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
958 as_fn_error $?
"invalid feature name: $ac_useropt"
959 ac_useropt_orig
=$ac_useropt
960 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
961 case $ac_user_opts in
965 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
966 ac_unrecognized_sep
=', ';;
968 eval enable_
$ac_useropt=no
;;
970 -docdir |
--docdir |
--docdi |
--doc |
--do)
972 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
975 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
977 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
980 -enable-* |
--enable-*)
981 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
982 # Reject names that are not valid shell variable names.
983 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
984 as_fn_error $?
"invalid feature name: $ac_useropt"
985 ac_useropt_orig
=$ac_useropt
986 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
987 case $ac_user_opts in
991 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
992 ac_unrecognized_sep
=', ';;
994 eval enable_
$ac_useropt=\
$ac_optarg ;;
996 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
997 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
998 |
--exec |
--exe |
--ex)
999 ac_prev
=exec_prefix
;;
1000 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1001 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1002 |
--exec=* |
--exe=* |
--ex=*)
1003 exec_prefix
=$ac_optarg ;;
1005 -gas |
--gas |
--ga |
--g)
1006 # Obsolete; use --with-gas.
1009 -help |
--help |
--hel |
--he |
-h)
1010 ac_init_help
=long
;;
1011 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1012 ac_init_help
=recursive
;;
1013 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1014 ac_init_help
=short
;;
1016 -host |
--host |
--hos |
--ho)
1017 ac_prev
=host_alias
;;
1018 -host=* |
--host=* |
--hos=* |
--ho=*)
1019 host_alias
=$ac_optarg ;;
1021 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1023 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1025 htmldir
=$ac_optarg ;;
1027 -includedir |
--includedir |
--includedi |
--included |
--include \
1028 |
--includ |
--inclu |
--incl |
--inc)
1029 ac_prev
=includedir
;;
1030 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1031 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1032 includedir
=$ac_optarg ;;
1034 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1036 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1037 infodir
=$ac_optarg ;;
1039 -libdir |
--libdir |
--libdi |
--libd)
1041 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1042 libdir
=$ac_optarg ;;
1044 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1045 |
--libexe |
--libex |
--libe)
1046 ac_prev
=libexecdir
;;
1047 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1048 |
--libexe=* |
--libex=* |
--libe=*)
1049 libexecdir
=$ac_optarg ;;
1051 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1052 ac_prev
=localedir
;;
1053 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1054 localedir
=$ac_optarg ;;
1056 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1057 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1058 ac_prev
=localstatedir
;;
1059 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1060 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1061 localstatedir
=$ac_optarg ;;
1063 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1065 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1066 mandir
=$ac_optarg ;;
1068 -nfp |
--nfp |
--nf)
1069 # Obsolete; use --without-fp.
1072 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1073 |
--no-cr |
--no-c |
-n)
1076 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1077 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1080 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1081 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1082 |
--oldin |
--oldi |
--old |
--ol |
--o)
1083 ac_prev
=oldincludedir
;;
1084 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1085 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1086 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1087 oldincludedir
=$ac_optarg ;;
1089 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1091 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1092 prefix
=$ac_optarg ;;
1094 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1095 |
--program-pre |
--program-pr |
--program-p)
1096 ac_prev
=program_prefix
;;
1097 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1098 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1099 program_prefix
=$ac_optarg ;;
1101 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1102 |
--program-suf |
--program-su |
--program-s)
1103 ac_prev
=program_suffix
;;
1104 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1105 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1106 program_suffix
=$ac_optarg ;;
1108 -program-transform-name |
--program-transform-name \
1109 |
--program-transform-nam |
--program-transform-na \
1110 |
--program-transform-n |
--program-transform- \
1111 |
--program-transform |
--program-transfor \
1112 |
--program-transfo |
--program-transf \
1113 |
--program-trans |
--program-tran \
1114 |
--progr-tra |
--program-tr |
--program-t)
1115 ac_prev
=program_transform_name
;;
1116 -program-transform-name=* |
--program-transform-name=* \
1117 |
--program-transform-nam=* |
--program-transform-na=* \
1118 |
--program-transform-n=* |
--program-transform-=* \
1119 |
--program-transform=* |
--program-transfor=* \
1120 |
--program-transfo=* |
--program-transf=* \
1121 |
--program-trans=* |
--program-tran=* \
1122 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1123 program_transform_name
=$ac_optarg ;;
1125 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1127 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1128 pdfdir
=$ac_optarg ;;
1130 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1132 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1135 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1136 |
-silent |
--silent |
--silen |
--sile |
--sil)
1139 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1140 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1141 |
--run |
--ru |
--r)
1142 ac_prev
=runstatedir
;;
1143 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1144 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1145 |
--run=* |
--ru=* |
--r=*)
1146 runstatedir
=$ac_optarg ;;
1148 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1150 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1152 sbindir
=$ac_optarg ;;
1154 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1155 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1156 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1158 ac_prev
=sharedstatedir
;;
1159 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1160 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1161 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1163 sharedstatedir
=$ac_optarg ;;
1165 -site |
--site |
--sit)
1167 -site=* |
--site=* |
--sit=*)
1170 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1172 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1173 srcdir
=$ac_optarg ;;
1175 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1176 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1177 ac_prev
=sysconfdir
;;
1178 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1179 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1180 sysconfdir
=$ac_optarg ;;
1182 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1183 ac_prev
=target_alias
;;
1184 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1185 target_alias
=$ac_optarg ;;
1187 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1190 -version |
--version |
--versio |
--versi |
--vers |
-V)
1191 ac_init_version
=: ;;
1194 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1195 # Reject names that are not valid shell variable names.
1196 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1197 as_fn_error $?
"invalid package name: $ac_useropt"
1198 ac_useropt_orig
=$ac_useropt
1199 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1200 case $ac_user_opts in
1204 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1205 ac_unrecognized_sep
=', ';;
1207 eval with_
$ac_useropt=\
$ac_optarg ;;
1209 -without-* |
--without-*)
1210 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1211 # Reject names that are not valid shell variable names.
1212 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1213 as_fn_error $?
"invalid package name: $ac_useropt"
1214 ac_useropt_orig
=$ac_useropt
1215 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1216 case $ac_user_opts in
1220 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1221 ac_unrecognized_sep
=', ';;
1223 eval with_
$ac_useropt=no
;;
1226 # Obsolete; use --with-x.
1229 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1230 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1231 ac_prev
=x_includes
;;
1232 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1233 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1234 x_includes
=$ac_optarg ;;
1236 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1237 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1238 ac_prev
=x_libraries
;;
1239 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1240 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1241 x_libraries
=$ac_optarg ;;
1243 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1244 Try \`$0 --help' for more information"
1248 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1249 # Reject names that are not valid shell variable names.
1250 case $ac_envvar in #(
1251 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1252 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1254 eval $ac_envvar=\
$ac_optarg
1255 export $ac_envvar ;;
1258 # FIXME: should be removed in autoconf 3.0.
1259 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1260 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1261 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1262 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1268 if test -n "$ac_prev"; then
1269 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1270 as_fn_error $?
"missing argument to $ac_option"
1273 if test -n "$ac_unrecognized_opts"; then
1274 case $enable_option_checking in
1276 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1277 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1281 # Check all directory arguments for consistency.
1282 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1283 datadir sysconfdir sharedstatedir localstatedir includedir \
1284 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1285 libdir localedir mandir runstatedir
1287 eval ac_val
=\$
$ac_var
1288 # Remove trailing slashes.
1291 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1292 eval $ac_var=\
$ac_val;;
1294 # Be sure to have absolute directory names.
1296 [\\/$
]* | ?
:[\\/]* ) continue;;
1297 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1299 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1302 # There might be people who depend on the old broken behavior: `$host'
1303 # used to hold the argument of --host etc.
1304 # FIXME: To remove some day.
1307 target
=$target_alias
1309 # FIXME: To remove some day.
1310 if test "x$host_alias" != x
; then
1311 if test "x$build_alias" = x
; then
1312 cross_compiling
=maybe
1313 elif test "x$build_alias" != "x$host_alias"; then
1319 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1321 test "$silent" = yes && exec 6>/dev
/null
1324 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1325 ac_ls_di
=`ls -di .` &&
1326 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1327 as_fn_error $?
"working directory cannot be determined"
1328 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1329 as_fn_error $?
"pwd does not report name of working directory"
1332 # Find the source files, if location was not specified.
1333 if test -z "$srcdir"; then
1334 ac_srcdir_defaulted
=yes
1335 # Try the directory containing this script, then the parent directory.
1336 ac_confdir
=`$as_dirname -- "$as_myself" ||
1337 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1338 X"$as_myself" : 'X\(//\)[^/]' \| \
1339 X"$as_myself" : 'X\(//\)$' \| \
1340 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1341 $as_echo X"$as_myself" |
1342 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1360 if test ! -r "$srcdir/$ac_unique_file"; then
1364 ac_srcdir_defaulted
=no
1366 if test ! -r "$srcdir/$ac_unique_file"; then
1367 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1368 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1370 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1372 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1374 # When building in place, set srcdir=.
1375 if test "$ac_abs_confdir" = "$ac_pwd"; then
1378 # Remove unnecessary trailing slashes from srcdir.
1379 # Double slashes in file names in object file debugging info
1380 # mess up M-x gdb in Emacs.
1382 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1384 for ac_var
in $ac_precious_vars; do
1385 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1386 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1387 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1388 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1392 # Report the --help message.
1394 if test "$ac_init_help" = "long"; then
1395 # Omit some internal or obsolete options to make the list less imposing.
1396 # This message is too long to be a string in the A/UX 3.1 sh.
1398 \`configure' configures this package to adapt to many kinds of systems.
1400 Usage: $0 [OPTION]... [VAR=VALUE]...
1402 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1403 VAR=VALUE. See below for descriptions of some of the useful variables.
1405 Defaults for the options are specified in brackets.
1408 -h, --help display this help and exit
1409 --help=short display options specific to this package
1410 --help=recursive display the short help of all the included packages
1411 -V, --version display version information and exit
1412 -q, --quiet, --silent do not print \`checking ...' messages
1413 --cache-file=FILE cache test results in FILE [disabled]
1414 -C, --config-cache alias for \`--cache-file=config.cache'
1415 -n, --no-create do not create output files
1416 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1418 Installation directories:
1419 --prefix=PREFIX install architecture-independent files in PREFIX
1420 [$ac_default_prefix]
1421 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1424 By default, \`make install' will install all the files in
1425 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1426 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1427 for instance \`--prefix=\$HOME'.
1429 For better control, use the options below.
1431 Fine tuning of the installation directories:
1432 --bindir=DIR user executables [EPREFIX/bin]
1433 --sbindir=DIR system admin executables [EPREFIX/sbin]
1434 --libexecdir=DIR program executables [EPREFIX/libexec]
1435 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1436 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1437 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1438 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1439 --libdir=DIR object code libraries [EPREFIX/lib]
1440 --includedir=DIR C header files [PREFIX/include]
1441 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1442 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1443 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1444 --infodir=DIR info documentation [DATAROOTDIR/info]
1445 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1446 --mandir=DIR man documentation [DATAROOTDIR/man]
1447 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1448 --htmldir=DIR html documentation [DOCDIR]
1449 --dvidir=DIR dvi documentation [DOCDIR]
1450 --pdfdir=DIR pdf documentation [DOCDIR]
1451 --psdir=DIR ps documentation [DOCDIR]
1458 if test -n "$ac_init_help"; then
1463 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1464 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1465 --with-config-dir=VERSION
1466 Location of generated target config files
1468 Some influential environment variables
:
1469 CC C compiler
command
1470 CFLAGS C compiler flags
1471 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1472 nonstandard directory
<lib dir
>
1473 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1474 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1475 you have headers
in a nonstandard directory
<include dir
>
1476 CXX C
++ compiler
command
1477 CXXFLAGS C
++ compiler flags
1479 Use these variables to override the choices made by
`configure' or to help
1480 it to find libraries and programs with nonstandard names/locations.
1482 Report bugs to the package provider.
1487 if test "$ac_init_help" = "recursive"; then
1488 # If there are subdirs, report their specific --help.
1489 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1490 test -d "$ac_dir" ||
1491 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1496 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1498 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1499 # A ".." for each directory in $ac_dir_suffix.
1500 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1501 case $ac_top_builddir_sub in
1502 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1503 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1506 ac_abs_top_builddir=$ac_pwd
1507 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1508 # for backward compatibility:
1509 ac_top_builddir=$ac_top_build_prefix
1512 .) # We are building in place.
1514 ac_top_srcdir=$ac_top_builddir_sub
1515 ac_abs_top_srcdir=$ac_pwd ;;
1516 [\\/]* | ?:[\\/]* ) # Absolute name.
1517 ac_srcdir=$srcdir$ac_dir_suffix;
1518 ac_top_srcdir=$srcdir
1519 ac_abs_top_srcdir=$srcdir ;;
1521 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1522 ac_top_srcdir=$ac_top_build_prefix$srcdir
1523 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1525 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1527 cd "$ac_dir" || { ac_status=$?; continue; }
1528 # Check for guested configure.
1529 if test -f "$ac_srcdir/configure.gnu"; then
1531 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1532 elif test -f "$ac_srcdir/configure"; then
1534 $SHELL "$ac_srcdir/configure" --help=recursive
1536 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1538 cd "$ac_pwd" || { ac_status=$?; break; }
1542 test -n "$ac_init_help" && exit $ac_status
1543 if $ac_init_version; then
1546 generated by GNU Autoconf 2.69
1548 Copyright (C) 2012 Free Software Foundation, Inc.
1549 This configure script is free software; the Free Software Foundation
1550 gives unlimited permission to copy, distribute and modify it.
1555 ## ------------------------ ##
1556 ## Autoconf initialization. ##
1557 ## ------------------------ ##
1559 # ac_fn_c_try_compile LINENO
1560 # --------------------------
1561 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1562 ac_fn_c_try_compile ()
1564 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1565 rm -f conftest.$ac_objext
1566 if { { ac_try="$ac_compile"
1568 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1569 *) ac_try_echo
=$ac_try;;
1571 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1572 $as_echo "$ac_try_echo"; } >&5
1573 (eval "$ac_compile") 2>conftest.err
1575 if test -s conftest.err
; then
1576 grep -v '^ *+' conftest.err
>conftest.er1
1577 cat conftest.er1
>&5
1578 mv -f conftest.er1 conftest.err
1580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1581 test $ac_status = 0; } && {
1582 test -z "$ac_c_werror_flag" ||
1583 test ! -s conftest.err
1584 } && test -s conftest.
$ac_objext; then :
1587 $as_echo "$as_me: failed program was:" >&5
1588 sed 's/^/| /' conftest.
$ac_ext >&5
1592 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1593 as_fn_set_status
$ac_retval
1595 } # ac_fn_c_try_compile
1597 # ac_fn_cxx_try_compile LINENO
1598 # ----------------------------
1599 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1600 ac_fn_cxx_try_compile
()
1602 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1603 rm -f conftest.
$ac_objext
1604 if { { ac_try
="$ac_compile"
1606 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1607 *) ac_try_echo=$ac_try;;
1609 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1610 $as_echo "$ac_try_echo"; } >&5
1611 (eval "$ac_compile") 2>conftest.err
1613 if test -s conftest.err; then
1614 grep -v '^ *+' conftest.err >conftest.er1
1615 cat conftest.er1 >&5
1616 mv -f conftest.er1 conftest.err
1618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1619 test $ac_status = 0; } && {
1620 test -z "$ac_cxx_werror_flag" ||
1621 test ! -s conftest.err
1622 } && test -s conftest.$ac_objext; then :
1625 $as_echo "$as_me: failed program was:" >&5
1626 sed 's/^/| /' conftest.$ac_ext >&5
1630 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1631 as_fn_set_status $ac_retval
1633 } # ac_fn_cxx_try_compile
1634 cat >config.log <<_ACEOF
1635 This file contains any messages produced by compilers while
1636 running configure, to aid debugging if configure makes a mistake.
1638 It was created by $as_me, which was
1639 generated by GNU Autoconf 2.69. Invocation command line was
1651 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1652 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1653 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1654 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1655 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1657 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1658 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1660 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1661 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1662 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1663 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1664 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1665 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1666 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1674 test -z "$as_dir" && as_dir=.
1675 $as_echo "PATH: $as_dir"
1691 # Keep a trace of the command line.
1692 # Strip out --no-create and --no-recursion so they do not pile up.
1693 # Strip out --silent because we don't want to record it for future runs.
1694 # Also quote any args containing shell meta-characters.
1695 # Make two passes to allow for proper duplicate-argument suppression.
1699 ac_must_keep_next=false
1705 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1706 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1707 | -silent | --silent | --silen | --sile | --sil)
1710 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1713 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1715 as_fn_append ac_configure_args1 " '$ac_arg'"
1716 if test $ac_must_keep_next = true; then
1717 ac_must_keep_next=false # Got value, back to normal.
1720 *=* | --config-cache | -C | -disable-* | --disable-* \
1721 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1722 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1723 | -with-* | --with-* | -without-* | --without-* | --x)
1724 case "$ac_configure_args0 " in
1725 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1728 -* ) ac_must_keep_next=true ;;
1731 as_fn_append ac_configure_args " '$ac_arg'"
1736 { ac_configure_args0=; unset ac_configure_args0;}
1737 { ac_configure_args1=; unset ac_configure_args1;}
1739 # When interrupted or exit'd, cleanup temporary files, and complete
1740 # config.log. We remove comments because anyway the quotes in there
1741 # would cause problems or look ugly.
1742 # WARNING: Use '\'' to represent an apostrophe within the trap.
1743 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1744 trap 'exit_status=$?
1745 # Save into config.log some information that might help in debugging.
1749 $as_echo "## ---------------- ##
1750 ## Cache variables. ##
1751 ## ---------------- ##"
1753 # The following way of writing the cache mishandles newlines in values,
1755 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1756 eval ac_val=\$$ac_var
1760 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1761 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1764 _ | IFS | as_nl) ;; #(
1765 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1766 *) { eval $ac_var=; unset $ac_var;} ;;
1771 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1772 *${as_nl}ac_space=\ *)
1774 "s/'\''/'\''\\\\'\'''\''/g;
1775 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1778 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1785 $as_echo "## ----------------- ##
1786 ## Output variables. ##
1787 ## ----------------- ##"
1789 for ac_var in $ac_subst_vars
1791 eval ac_val=\$$ac_var
1793 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1795 $as_echo "$ac_var='\''$ac_val'\''"
1799 if test -n "$ac_subst_files"; then
1800 $as_echo "## ------------------- ##
1801 ## File substitutions. ##
1802 ## ------------------- ##"
1804 for ac_var in $ac_subst_files
1806 eval ac_val=\$$ac_var
1808 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1810 $as_echo "$ac_var='\''$ac_val'\''"
1815 if test -s confdefs.h; then
1816 $as_echo "## ----------- ##
1823 test "$ac_signal" != 0 &&
1824 $as_echo "$as_me: caught signal $ac_signal"
1825 $as_echo "$as_me: exit $exit_status"
1827 rm -f core *.core core.conftest.* &&
1828 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1831 for ac_signal in 1 2 13 15; do
1832 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1836 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1837 rm -f -r conftest* confdefs.h
1839 $as_echo "/* confdefs.h */" > confdefs.h
1841 # Predefined preprocessor variables.
1843 cat >>confdefs.h <<_ACEOF
1844 #define PACKAGE_NAME "$PACKAGE_NAME"
1847 cat >>confdefs.h <<_ACEOF
1848 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1851 cat >>confdefs.h <<_ACEOF
1852 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1855 cat >>confdefs.h <<_ACEOF
1856 #define PACKAGE_STRING "$PACKAGE_STRING"
1859 cat >>confdefs.h <<_ACEOF
1860 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1863 cat >>confdefs.h <<_ACEOF
1864 #define PACKAGE_URL "$PACKAGE_URL"
1868 # Let the site file select an alternate cache file if it wants to.
1869 # Prefer an explicitly selected file to automatically selected ones.
1872 if test -n "$CONFIG_SITE"; then
1873 # We do not want a PATH search for config.site.
1874 case $CONFIG_SITE in #((
1875 -*) ac_site_file1=./$CONFIG_SITE;;
1876 */*) ac_site_file1=$CONFIG_SITE;;
1877 *) ac_site_file1=./$CONFIG_SITE;;
1879 elif test "x$prefix" != xNONE; then
1880 ac_site_file1=$prefix/share/config.site
1881 ac_site_file2=$prefix/etc/config.site
1883 ac_site_file1=$ac_default_prefix/share/config.site
1884 ac_site_file2=$ac_default_prefix/etc/config.site
1886 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1888 test "x$ac_site_file" = xNONE && continue
1889 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1891 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1892 sed 's/^/| /' "$ac_site_file" >&5
1894 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1895 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1896 as_fn_error $? "failed to load site
script $ac_site_file
1897 See \
`config.log' for more details" "$LINENO" 5; }
1901 if test -r "$cache_file"; then
1902 # Some versions of bash will fail to source /dev/null (special files
1903 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1904 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1906 $as_echo "$as_me: loading cache $cache_file" >&6;}
1908 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1909 *) . "./$cache_file";;
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1914 $as_echo "$as_me: creating cache $cache_file" >&6;}
1918 # Check that the precious variables saved in the cache have kept the same
1920 ac_cache_corrupted=false
1921 for ac_var in $ac_precious_vars; do
1922 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1923 eval ac_new_set=\$ac_env_${ac_var}_set
1924 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1925 eval ac_new_val=\$ac_env_${ac_var}_value
1926 case $ac_old_set,$ac_new_set in
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1929 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1930 ac_cache_corrupted=: ;;
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
1933 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1934 ac_cache_corrupted=: ;;
1937 if test "x$ac_old_val" != "x$ac_new_val"; then
1938 # differences in whitespace do not lead to failure.
1939 ac_old_val_w=`echo x
$ac_old_val`
1940 ac_new_val_w=`echo x
$ac_new_val`
1941 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1943 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1944 ac_cache_corrupted=:
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1947 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1948 eval $ac_var=\$ac_old_val
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1951 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1953 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1956 # Pass precious variables to config.status.
1957 if test "$ac_new_set" = set; then
1959 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1960 *) ac_arg=$ac_var=$ac_new_val ;;
1962 case " $ac_configure_args " in
1963 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1964 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1968 if $ac_cache_corrupted; then
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
1970 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1972 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1973 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
1975 ## -------------------- ##
1976 ## Main body of script. ##
1977 ## -------------------- ##
1980 ac_cpp='$CPP $CPPFLAGS'
1981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1988 for ac_dir in ../scripts/autoconf "$srcdir"/../scripts/autoconf; do
1989 if test -f "$ac_dir/install-sh"; then
1991 ac_install_sh="$ac_aux_dir/install-sh -c"
1993 elif test -f "$ac_dir/install.sh"; then
1995 ac_install_sh="$ac_aux_dir/install.sh -c"
1997 elif test -f "$ac_dir/shtool"; then
1999 ac_install_sh="$ac_aux_dir/shtool install -c"
2003 if test -z "$ac_aux_dir"; then
2004 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../scripts/autoconf \"$srcdir\"/../scripts/autoconf" "$LINENO" 5
2007 # These three variables are undocumented and unsupported,
2008 # and are intended to be withdrawn in a future Autoconf release.
2009 # They can cause serious problems if a builder's source tree is in a directory
2010 # whose full name contains unusual characters.
2011 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2012 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2013 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2017 AROS_BUILDDIR=`${PWDCMD-pwd}`
2018 AROS_BUILDDIR_UNIX=${PWD}
2020 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2023 NOLINKFLAGS="-nostdlib -nostartfiles"
2024 LDFLAGS=$NOLINKFLAGS
2025 # The first step is to find the binaries.
2027 ac_cpp='$CPP $CPPFLAGS'
2028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2031 if test -n "$ac_tool_prefix"; then
2032 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2033 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2035 $as_echo_n "checking for $ac_word... " >&6; }
2036 if ${ac_cv_prog_CC+:} false; then :
2037 $as_echo_n "(cached) " >&6
2039 if test -n "$CC"; then
2040 ac_cv_prog_CC="$CC" # Let the user override the test.
2042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2046 test -z "$as_dir" && as_dir=.
2047 for ac_exec_ext in '' $ac_executable_extensions; do
2048 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2049 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2060 if test -n "$CC"; then
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2062 $as_echo "$CC" >&6; }
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2065 $as_echo "no" >&6; }
2070 if test -z "$ac_cv_prog_CC"; then
2072 # Extract the first word of "gcc", so it can be a program name with args.
2073 set dummy gcc; ac_word=$2
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2075 $as_echo_n "checking for $ac_word... " >&6; }
2076 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2077 $as_echo_n "(cached) " >&6
2079 if test -n "$ac_ct_CC"; then
2080 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2086 test -z "$as_dir" && as_dir=.
2087 for ac_exec_ext in '' $ac_executable_extensions; do
2088 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2089 ac_cv_prog_ac_ct_CC="gcc"
2090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2099 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2100 if test -n "$ac_ct_CC"; then
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2102 $as_echo "$ac_ct_CC" >&6; }
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2105 $as_echo "no" >&6; }
2108 if test "x$ac_ct_CC" = x; then
2111 case $cross_compiling:$ac_tool_warned in
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2114 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2115 ac_tool_warned=yes ;;
2123 if test -z "$CC"; then
2124 if test -n "$ac_tool_prefix"; then
2125 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2126 set dummy ${ac_tool_prefix}cc; ac_word=$2
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2128 $as_echo_n "checking for $ac_word... " >&6; }
2129 if ${ac_cv_prog_CC+:} false; then :
2130 $as_echo_n "(cached) " >&6
2132 if test -n "$CC"; then
2133 ac_cv_prog_CC="$CC" # Let the user override the test.
2135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2139 test -z "$as_dir" && as_dir=.
2140 for ac_exec_ext in '' $ac_executable_extensions; do
2141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2142 ac_cv_prog_CC="${ac_tool_prefix}cc"
2143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2153 if test -n "$CC"; then
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2155 $as_echo "$CC" >&6; }
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2158 $as_echo "no" >&6; }
2164 if test -z "$CC"; then
2165 # Extract the first word of "cc", so it can be a program name with args.
2166 set dummy cc; ac_word=$2
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2168 $as_echo_n "checking for $ac_word... " >&6; }
2169 if ${ac_cv_prog_CC+:} false; then :
2170 $as_echo_n "(cached) " >&6
2172 if test -n "$CC"; then
2173 ac_cv_prog_CC="$CC" # Let the user override the test.
2176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2180 test -z "$as_dir" && as_dir=.
2181 for ac_exec_ext in '' $ac_executable_extensions; do
2182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2183 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2184 ac_prog_rejected=yes
2188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2195 if test $ac_prog_rejected = yes; then
2196 # We found a bogon in the path, so make sure we never use it.
2197 set dummy $ac_cv_prog_CC
2199 if test $# != 0; then
2200 # We chose a different compiler from the bogus one.
2201 # However, it has the same basename, so the bogon will be chosen
2202 # first if we set CC to just the basename; use the full file name.
2204 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2210 if test -n "$CC"; then
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2212 $as_echo "$CC" >&6; }
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2215 $as_echo "no" >&6; }
2220 if test -z "$CC"; then
2221 if test -n "$ac_tool_prefix"; then
2222 for ac_prog in cl.exe
2224 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2225 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2227 $as_echo_n "checking for $ac_word... " >&6; }
2228 if ${ac_cv_prog_CC+:} false; then :
2229 $as_echo_n "(cached) " >&6
2231 if test -n "$CC"; then
2232 ac_cv_prog_CC="$CC" # Let the user override the test.
2234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2238 test -z "$as_dir" && as_dir=.
2239 for ac_exec_ext in '' $ac_executable_extensions; do
2240 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2241 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2252 if test -n "$CC"; then
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2254 $as_echo "$CC" >&6; }
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2257 $as_echo "no" >&6; }
2261 test -n "$CC" && break
2264 if test -z "$CC"; then
2266 for ac_prog in cl.exe
2268 # Extract the first word of "$ac_prog", so it can be a program name with args.
2269 set dummy $ac_prog; ac_word=$2
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2271 $as_echo_n "checking for $ac_word... " >&6; }
2272 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2273 $as_echo_n "(cached) " >&6
2275 if test -n "$ac_ct_CC"; then
2276 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2282 test -z "$as_dir" && as_dir=.
2283 for ac_exec_ext in '' $ac_executable_extensions; do
2284 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2285 ac_cv_prog_ac_ct_CC="$ac_prog"
2286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2295 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2296 if test -n "$ac_ct_CC"; then
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2298 $as_echo "$ac_ct_CC" >&6; }
2300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2301 $as_echo "no" >&6; }
2305 test -n "$ac_ct_CC" && break
2308 if test "x$ac_ct_CC" = x; then
2311 case $cross_compiling:$ac_tool_warned in
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2314 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2315 ac_tool_warned=yes ;;
2324 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2325 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2326 as_fn_error $? "no acceptable C compiler found
in \
$PATH
2327 See \
`config.log' for more details" "$LINENO" 5; }
2329 # Provide some information about the compiler.
2330 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2333 for ac_option in --version -v -V -qversion; do
2334 { { ac_try="$ac_compiler $ac_option >&5"
2336 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2337 *) ac_try_echo
=$ac_try;;
2339 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2340 $as_echo "$ac_try_echo"; } >&5
2341 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2343 if test -s conftest.err
; then
2345 ... rest of stderr output deleted ...
2346 10q' conftest.err
>conftest.er1
2347 cat conftest.er1
>&5
2349 rm -f conftest.er1 conftest.err
2350 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2351 test $ac_status = 0; }
2354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2355 /* end confdefs.h. */
2365 ac_clean_files_save
=$ac_clean_files
2366 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2367 # Try to create an executable without -o first, disregard a.out.
2368 # It will help us diagnose broken compilers, and finding out an intuition
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2371 $as_echo_n "checking whether the C compiler works... " >&6; }
2372 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2374 # The possible output files:
2375 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2378 for ac_file
in $ac_files
2381 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2382 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2387 if { { ac_try
="$ac_link_default"
2389 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2390 *) ac_try_echo=$ac_try;;
2392 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2393 $as_echo "$ac_try_echo"; } >&5
2394 (eval "$ac_link_default") 2>&5
2396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2397 test $ac_status = 0; }; then :
2398 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2399 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2400 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2401 # so that the user can short-circuit this test for compilers unknown to
2403 for ac_file in $ac_files ''
2405 test -f "$ac_file" || continue
2407 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2410 # We found the default executable, but exeext='' is most
2414 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2416 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2418 # We set ac_cv_exeext here because the later test for it is not
2419 # safe: cross compilers may not add the suffix if given an `-o'
2420 # argument, so we may need to know it at that point already.
2421 # Even if this section looks crufty: it has the advantage of
2428 test "$ac_cv_exeext" = no && ac_cv_exeext=
2433 if test -z "$ac_file"; then :
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2435 $as_echo "no" >&6; }
2436 $as_echo "$as_me: failed program was:" >&5
2437 sed 's
/^
/|
/' conftest.$ac_ext >&5
2439 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2440 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2441 as_fn_error 77 "C compiler cannot create executables
2442 See \`config.log
' for more details" "$LINENO" 5; }
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2445 $as_echo "yes" >&6; }
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2448 $as_echo_n "checking for C compiler default output file name... " >&6; }
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2450 $as_echo "$ac_file" >&6; }
2451 ac_exeext=$ac_cv_exeext
2453 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2454 ac_clean_files=$ac_clean_files_save
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2456 $as_echo_n "checking for suffix of executables... " >&6; }
2457 if { { ac_try="$ac_link"
2459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2460 *) ac_try_echo=$ac_try;;
2462 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2463 $as_echo "$ac_try_echo"; } >&5
2464 (eval "$ac_link") 2>&5
2466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2467 test $ac_status = 0; }; then :
2468 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2469 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2470 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2472 for ac_file
in conftest.exe conftest conftest.
*; do
2473 test -f "$ac_file" ||
continue
2475 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2476 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2482 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2483 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2484 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2485 See \`config.log' for more details" "$LINENO" 5; }
2487 rm -f conftest conftest
$ac_cv_exeext
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2489 $as_echo "$ac_cv_exeext" >&6; }
2491 rm -f conftest.
$ac_ext
2492 EXEEXT
=$ac_cv_exeext
2494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2495 /* end confdefs.h. */
2500 FILE *f = fopen ("conftest.out", "w");
2501 return ferror (f) || fclose (f) != 0;
2507 ac_clean_files
="$ac_clean_files conftest.out"
2508 # Check that the compiler produces executables we can run. If not, either
2509 # the compiler is broken, or we cross compile.
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2511 $as_echo_n "checking whether we are cross compiling... " >&6; }
2512 if test "$cross_compiling" != yes; then
2513 { { ac_try
="$ac_link"
2515 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2516 *) ac_try_echo=$ac_try;;
2518 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2519 $as_echo "$ac_try_echo"; } >&5
2520 (eval "$ac_link") 2>&5
2522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2523 test $ac_status = 0; }
2524 if { ac_try='./conftest$ac_cv_exeext'
2525 { { case "(($ac_try" in
2526 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2527 *) ac_try_echo
=$ac_try;;
2529 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2530 $as_echo "$ac_try_echo"; } >&5
2531 (eval "$ac_try") 2>&5
2533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2534 test $ac_status = 0; }; }; then
2537 if test "$cross_compiling" = maybe
; then
2540 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2541 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2542 as_fn_error $?
"cannot run C compiled programs.
2543 If you meant to cross compile, use \`--host'.
2544 See \`config.log' for more details" "$LINENO" 5; }
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2549 $as_echo "$cross_compiling" >&6; }
2551 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2552 ac_clean_files
=$ac_clean_files_save
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2554 $as_echo_n "checking for suffix of object files... " >&6; }
2555 if ${ac_cv_objext+:} false
; then :
2556 $as_echo_n "(cached) " >&6
2558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2559 /* end confdefs.h. */
2569 rm -f conftest.o conftest.obj
2570 if { { ac_try
="$ac_compile"
2572 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2573 *) ac_try_echo=$ac_try;;
2575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2576 $as_echo "$ac_try_echo"; } >&5
2577 (eval "$ac_compile") 2>&5
2579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2580 test $ac_status = 0; }; then :
2581 for ac_file in conftest.o conftest.obj conftest.*; do
2582 test -f "$ac_file" || continue;
2584 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2585 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2590 $as_echo "$as_me: failed program was:" >&5
2591 sed 's/^/| /' conftest.$ac_ext >&5
2593 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2594 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2595 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2596 See \
`config.log' for more details" "$LINENO" 5; }
2598 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2601 $as_echo "$ac_cv_objext" >&6; }
2602 OBJEXT=$ac_cv_objext
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2605 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2606 if ${ac_cv_c_compiler_gnu+:} false; then :
2607 $as_echo_n "(cached) " >&6
2609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2610 /* end confdefs.h. */
2623 if ac_fn_c_try_compile "$LINENO"; then :
2628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2629 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2633 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2634 if test $ac_compiler_gnu = yes; then
2639 ac_test_CFLAGS=${CFLAGS+set}
2640 ac_save_CFLAGS=$CFLAGS
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2642 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2643 if ${ac_cv_prog_cc_g+:} false; then :
2644 $as_echo_n "(cached) " >&6
2646 ac_save_c_werror_flag=$ac_c_werror_flag
2647 ac_c_werror_flag=yes
2650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2651 /* end confdefs.h. */
2661 if ac_fn_c_try_compile "$LINENO"; then :
2665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2666 /* end confdefs.h. */
2676 if ac_fn_c_try_compile "$LINENO"; then :
2679 ac_c_werror_flag=$ac_save_c_werror_flag
2681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2682 /* end confdefs.h. */
2692 if ac_fn_c_try_compile "$LINENO"; then :
2695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2700 ac_c_werror_flag=$ac_save_c_werror_flag
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2703 $as_echo "$ac_cv_prog_cc_g" >&6; }
2704 if test "$ac_test_CFLAGS" = set; then
2705 CFLAGS=$ac_save_CFLAGS
2706 elif test $ac_cv_prog_cc_g = yes; then
2707 if test "$GCC" = yes; then
2713 if test "$GCC" = yes; then
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2720 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2721 if ${ac_cv_prog_cc_c89+:} false; then :
2722 $as_echo_n "(cached) " >&6
2724 ac_cv_prog_cc_c89=no
2726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2727 /* end confdefs.h. */
2731 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2732 struct buf { int x; };
2733 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2734 static char *e (p, i)
2740 static char *f (char * (*g) (char **, int), char **p, ...)
2745 s = g (p, va_arg (v,int));
2750 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2751 function prototypes and stuff, but not '\xHH' hex character constants.
2752 These don't provoke an error unfortunately, instead are silently treated
2753 as 'x'. The following induces an error, until -std is added to get
2754 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2755 array size at least. It's necessary to write '\x00'==0 to get something
2756 that's true only with -std. */
2757 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2759 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2760 inside strings and character constants. */
2762 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2764 int test (int i, double x);
2765 struct s1 {int (*f) (int a);};
2766 struct s2 {int (*f) (double a);};
2767 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2773 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2778 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2779 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2781 CC="$ac_save_CC $ac_arg"
2782 if ac_fn_c_try_compile "$LINENO"; then :
2783 ac_cv_prog_cc_c89=$ac_arg
2785 rm -f core conftest.err conftest.$ac_objext
2786 test "x$ac_cv_prog_cc_c89" != "xno" && break
2788 rm -f conftest.$ac_ext
2793 case "x$ac_cv_prog_cc_c89" in
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2796 $as_echo "none needed" >&6; } ;;
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2799 $as_echo "unsupported" >&6; } ;;
2801 CC="$CC $ac_cv_prog_cc_c89"
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2803 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2805 if test "x$ac_cv_prog_cc_c89" != xno; then :
2810 ac_cpp='$CPP $CPPFLAGS'
2811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2817 $as_echo_n "checking target config location... " >&6; }
2819 # Check whether --with-config-dir was given.
2820 if test "${with_config_dir+set}" = set; then :
2821 withval=$with_config_dir; targetcfg_dir="$withval"
2826 if test "$targetcfg_dir" = ""; then
2827 as_fn_error $? "missing config directory!" "$LINENO" 5
2829 aros_targetcfg_dir="$targetcfg_dir"
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2832 $as_echo "$aros_targetcfg_dir" >&6; }
2834 #-----------------------------------------------------------------------------
2836 # Check if the target compiler supports some features:
2840 # -fassociative-math
2842 # -fno-trapping-math
2847 # -floop-interchange
2851 # -finline-small-functions
2854 # -fomit-frame-pointer
2857 # -finstrument-functions
2861 # -fno-builtin-floor
2862 # -fno-builtin-vsnprintf
2865 # -fasynchronous-unwind-tables
2871 # -fvisibility=hidden
2875 ac_cpp='$CPP $CPPFLAGS'
2876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2881 save_cflags="$CFLAGS"
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fexceptions" >&5
2883 $as_echo_n "checking whether ${CC} accepts -fexceptions... " >&6; }
2886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2887 /* end confdefs.h. */
2897 if ac_fn_c_try_compile "$LINENO"; then :
2898 aros_exceptions="yes"
2900 aros_exceptions="no"
2902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_exceptions" >&5
2904 $as_echo "$aros_exceptions" >&6; }
2905 if test "x-$aros_exceptions" = "x-yes" ; then
2906 aros_cflags_exceptions=-fexceptions
2907 aros_cflags_noexceptions=-fno-exceptions
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ffast-math" >&5
2911 $as_echo_n "checking whether ${CC} accepts -ffast-math... " >&6; }
2913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2914 /* end confdefs.h. */
2924 if ac_fn_c_try_compile "$LINENO"; then :
2925 aros_fast_math="yes"
2929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_fast_math" >&5
2931 $as_echo "$aros_fast_math" >&6; }
2932 if test "x-$aros_fast_math" = "x-yes" ; then
2933 aros_cflags_fast_math=-ffast-math
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fassociative-math" >&5
2937 $as_echo_n "checking whether ${CC} accepts -fassociative-math... " >&6; }
2938 CFLAGS=-fassociative-math
2939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2940 /* end confdefs.h. */
2950 if ac_fn_c_try_compile "$LINENO"; then :
2951 aros_associative_math="yes"
2953 aros_associative_math="no"
2955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_associative_math" >&5
2957 $as_echo "$aros_associative_math" >&6; }
2958 if test "x-$aros_associative_math" = "x-yes" ; then
2959 aros_cflags_associative_math=-fassociative-math
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-math-errno" >&5
2963 $as_echo_n "checking whether ${CC} accepts -fno-math-errno... " >&6; }
2964 CFLAGS=-fno-math-errno
2965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2966 /* end confdefs.h. */
2976 if ac_fn_c_try_compile "$LINENO"; then :
2977 aros_no_math_errno="yes"
2979 aros_no_math_errno="no"
2981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_math_errno" >&5
2983 $as_echo "$aros_no_math_errno" >&6; }
2984 if test "x-$aros_no_math_errno" = "x-yes" ; then
2985 aros_cflags_no_math_errno=-fno-math-errno
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-trapping-math" >&5
2989 $as_echo_n "checking whether ${CC} accepts -fno-trapping-math... " >&6; }
2990 CFLAGS=-fno-trapping-math
2991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2992 /* end confdefs.h. */
3002 if ac_fn_c_try_compile "$LINENO"; then :
3003 aros_no_trapping_math="yes"
3005 aros_no_trapping_math="no"
3007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_trapping_math" >&5
3009 $as_echo "$aros_no_trapping_math" >&6; }
3010 if test "x-$aros_no_trapping_math" = "x-yes" ; then
3011 aros_cflags_no_trapping_math=-fno-trapping-math
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ftree-vectorize" >&5
3015 $as_echo_n "checking whether ${CC} accepts -ftree-vectorize... " >&6; }
3016 CFLAGS=-ftree-vectorize
3017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3018 /* end confdefs.h. */
3028 if ac_fn_c_try_compile "$LINENO"; then :
3029 aros_tree_vectorize="yes"
3031 aros_tree_vectorize="no"
3033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tree_vectorize" >&5
3035 $as_echo "$aros_tree_vectorize" >&6; }
3036 if test "x-$aros_tree_vectorize" = "x-yes" ; then
3037 aros_cflags_tree_vectorize=-ftree-vectorize
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -flto" >&5
3041 $as_echo_n "checking whether ${CC} accepts -flto... " >&6; }
3043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3044 /* end confdefs.h. */
3054 if ac_fn_c_try_compile "$LINENO"; then :
3059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto" >&5
3061 $as_echo "$aros_lto" >&6; }
3062 if test "x-$aros_lto" = "x-yes" ; then
3063 aros_cflags_lto=-flto
3064 aros_cflags_nolto=-fno-lto
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fwhole-program" >&5
3067 $as_echo_n "checking whether ${CC} accepts -fwhole-program... " >&6; }
3068 CFLAGS=-fwhole-program
3069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3070 /* end confdefs.h. */
3080 if ac_fn_c_try_compile "$LINENO"; then :
3081 aros_whole_program="yes"
3083 aros_whole_program="no"
3085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_whole_program" >&5
3087 $as_echo "$aros_whole_program" >&6; }
3088 if test "x-$aros_whole_program" = "x-yes" ; then
3089 aros_cflags_whole_program=-fwhole-program
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-block" >&5
3093 $as_echo_n "checking whether ${CC} accepts -floop-block... " >&6; }
3095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3096 /* end confdefs.h. */
3106 if ac_fn_c_try_compile "$LINENO"; then :
3107 aros_loop_block="yes"
3109 aros_loop_block="no"
3111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_block" >&5
3113 $as_echo "$aros_loop_block" >&6; }
3114 if test "x-$aros_loop_block" = "x-yes" ; then
3115 aros_cflags_loop_block=-floop-block
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-interchange" >&5
3119 $as_echo_n "checking whether ${CC} accepts -floop-interchange... " >&6; }
3120 CFLAGS=-floop-interchange
3121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3122 /* end confdefs.h. */
3132 if ac_fn_c_try_compile "$LINENO"; then :
3133 aros_loop_interchange="yes"
3135 aros_loop_interchange="no"
3137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_interchange" >&5
3139 $as_echo "$aros_loop_interchange" >&6; }
3140 if test "x-$aros_loop_interchange" = "x-yes" ; then
3141 aros_cflags_loop_interchange=-floop-interchange
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-strip-mine" >&5
3145 $as_echo_n "checking whether ${CC} accepts -floop-strip-mine... " >&6; }
3146 CFLAGS=-floop-strip-mine
3147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3148 /* end confdefs.h. */
3158 if ac_fn_c_try_compile "$LINENO"; then :
3159 aros_loop_strip_mine="yes"
3161 aros_loop_strip_mine="no"
3163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_strip_mine" >&5
3165 $as_echo "$aros_loop_strip_mine" >&6; }
3166 if test "x-$aros_loop_strip_mine" = "x-yes" ; then
3167 aros_cflags_loop_strip_mine=-floop-strip-mine
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpeel-loops" >&5
3172 $as_echo_n "checking whether ${CC} accepts -fpeel-loops... " >&6; }
3174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3175 /* end confdefs.h. */
3185 if ac_fn_c_try_compile "$LINENO"; then :
3186 aros_peel_loops="yes"
3188 aros_peel_loops="no"
3190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_peel_loops" >&5
3192 $as_echo "$aros_peel_loops" >&6; }
3193 if test "x-$aros_peel_loops" = "x-yes" ; then
3194 aros_cflags_peel_loops=-fpeel-loops
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -funroll-loops" >&5
3198 $as_echo_n "checking whether ${CC} accepts -funroll-loops... " >&6; }
3199 CFLAGS=-funroll-loops
3200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3201 /* end confdefs.h. */
3211 if ac_fn_c_try_compile "$LINENO"; then :
3212 aros_unroll_loops="yes"
3214 aros_unroll_loops="no"
3216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unroll_loops" >&5
3218 $as_echo "$aros_unroll_loops" >&6; }
3219 if test "x-$aros_unroll_loops" = "x-yes" ; then
3220 aros_cflags_unroll_loops=-funroll-loops
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstrict-aliasing" >&5
3224 $as_echo_n "checking whether ${CC} accepts -fstrict-aliasing... " >&6; }
3225 CFLAGS=-fstrict-aliasing
3226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3227 /* end confdefs.h. */
3237 if ac_fn_c_try_compile "$LINENO"; then :
3238 aros_strict_aliasing="yes"
3240 aros_strict_aliasing="no"
3242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3244 $as_echo "$aros_strict_aliasing" >&6; }
3245 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3246 aros_cflags_strictaliasing=-fstrict-aliasing
3247 aros_cflags_nostrictaliasing=-fno-strict-aliasing
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -finline-small-functions" >&5
3251 $as_echo_n "checking whether ${CC} accepts -finline-small-functions... " >&6; }
3252 CFLAGS=-finline-small-functions
3253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3254 /* end confdefs.h. */
3264 if ac_fn_c_try_compile "$LINENO"; then :
3265 aros_inline_small_functions="yes"
3267 aros_inline_small_functions="no"
3269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_inline_small_functions" >&5
3271 $as_echo "$aros_inline_small_functions" >&6; }
3272 if test "x-$aros_inline_small_functions" = "x-yes" ; then
3273 aros_cflags_inlinesmallfunctions=-finline-small-functions
3274 aros_cflags_noinlinesmallfunctions=-fno-inline-small-functions
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fipa-cp" >&5
3278 $as_echo_n "checking whether ${CC} accepts -fipa-cp... " >&6; }
3280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3281 /* end confdefs.h. */
3291 if ac_fn_c_try_compile "$LINENO"; then :
3296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ipa_cp" >&5
3298 $as_echo "$aros_ipa_cp" >&6; }
3299 if test "x-$aros_ipa_cp" = "x-yes" ; then
3300 aros_cflags_ipacp=-fipa-cp
3301 aros_cflags_noipacp=-fno-ipa-cp
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fomit-frame-pointer" >&5
3305 $as_echo_n "checking whether ${CC} accepts -fomit-frame-pointer... " >&6; }
3306 CFLAGS=-fomit-frame-pointer
3307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3308 /* end confdefs.h. */
3318 if ac_fn_c_try_compile "$LINENO"; then :
3319 aros_omit_frame_pointer="yes"
3321 aros_omit_frame_pointer="no"
3323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_omit_frame_pointer" >&5
3325 $as_echo "$aros_omit_frame_pointer" >&6; }
3326 if test "x-$aros_omit_frame_pointer" = "x-yes" ; then
3327 aros_cflags_omitfp=-fomit-frame-pointer
3328 aros_cflags_noomitfp=-fno-omit-frame-pointer
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fprofile-arcs" >&5
3332 $as_echo_n "checking whether ${CC} accepts -fprofile-arcs... " >&6; }
3333 CFLAGS=-fprofile-arcs
3334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3335 /* end confdefs.h. */
3345 if ac_fn_c_try_compile "$LINENO"; then :
3346 aros_profile_arcs="yes"
3348 aros_profile_arcs="no"
3350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_profile_arcs" >&5
3352 $as_echo "$aros_profile_arcs" >&6; }
3353 if test "x-$aros_profile_arcs" = "x-yes" ; then
3354 aros_cflags_profilearcs=-fprofile-arcs
3355 aros_cflags_noprofilearcs=-fno-profile-arcs
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ftest-coverage" >&5
3359 $as_echo_n "checking whether ${CC} accepts -ftest-coverage... " >&6; }
3360 CFLAGS=-ftest-coverage
3361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3362 /* end confdefs.h. */
3372 if ac_fn_c_try_compile "$LINENO"; then :
3373 aros_test_coverage="yes"
3375 aros_test_coverage="no"
3377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_test_coverage" >&5
3379 $as_echo "$aros_test_coverage" >&6; }
3380 if test "x-$aros_test_coverage" = "x-yes" ; then
3381 aros_cflags_testcoverage=-ftest-coverage
3382 aros_cflags_notestcoverage=-fno-test-coverage
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -finstrument-functions" >&5
3386 $as_echo_n "checking whether ${CC} accepts -finstrument-functions... " >&6; }
3387 CFLAGS=-finstrument-functions
3388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3389 /* end confdefs.h. */
3399 if ac_fn_c_try_compile "$LINENO"; then :
3400 aros_instrument_functions="yes"
3402 aros_instrument_functions="no"
3404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_instrument_functions" >&5
3406 $as_echo "$aros_instrument_functions" >&6; }
3407 if test "x-$aros_instrument_functions" = "x-yes" ; then
3408 aros_cflags_instrfuncs=-finstrument-functions
3409 aros_cflags_noinstrfuncs=-fno-instrument-functions
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -faligned-new" >&5
3413 $as_echo_n "checking whether ${CC} accepts -faligned-new... " >&6; }
3414 CFLAGS=-faligned-new
3415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3416 /* end confdefs.h. */
3426 if ac_fn_c_try_compile "$LINENO"; then :
3427 aros_aligned_new="yes"
3429 aros_aligned_new="no"
3431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aligned_new" >&5
3433 $as_echo "$aros_aligned_new" >&6; }
3434 if test "x-$aros_aligned_new" = "x-yes" ; then
3435 aros_cflags_alignednew=-faligned-new
3436 aros_cflags_noalignednew=-fno-aligned-new
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fbuiltin" >&5
3440 $as_echo_n "checking whether ${CC} accepts -fbuiltin... " >&6; }
3442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3443 /* end confdefs.h. */
3453 if ac_fn_c_try_compile "$LINENO"; then :
3458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_builtin" >&5
3460 $as_echo "$aros_builtin" >&6; }
3461 if test "x-$aros_builtin" = "x-yes" ; then
3462 aros_cflags_builtin=-fbuiltin
3463 aros_cflags_no_builtin=-fno-builtin
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-builtin-floor" >&5
3467 $as_echo_n "checking whether ${CC} accepts -fno-builtin-floor... " >&6; }
3468 CFLAGS=-fno-builtin-floor
3469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3470 /* end confdefs.h. */
3480 if ac_fn_c_try_compile "$LINENO"; then :
3481 aros_no_builtin_floor="yes"
3483 aros_no_builtin_floor="no"
3485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_builtin_floor" >&5
3487 $as_echo "$aros_no_builtin_floor" >&6; }
3488 if test "x-$aros_no_builtin_floor" = "x-yes" ; then
3489 aros_cflags_no_builtin_floor=-fno-builtin-floor
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-builtin-vsnprintf" >&5
3493 $as_echo_n "checking whether ${CC} accepts -fno-builtin-vsnprintf... " >&6; }
3494 CFLAGS=-fno-builtin-vsnprintf
3495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3496 /* end confdefs.h. */
3506 if ac_fn_c_try_compile "$LINENO"; then :
3507 aros_no_builtin_vsnprintf="yes"
3509 aros_no_builtin_vsnprintf="no"
3511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_builtin_vsnprintf" >&5
3513 $as_echo "$aros_no_builtin_vsnprintf" >&6; }
3514 if test "x-$aros_no_builtin_vsnprintf" = "x-yes" ; then
3515 aros_cflags_no_builtin_vsnprintf=-fno-builtin-vsnprintf
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ffreestanding" >&5
3519 $as_echo_n "checking whether ${CC} accepts -ffreestanding... " >&6; }
3520 CFLAGS=-ffreestanding
3521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3522 /* end confdefs.h. */
3532 if ac_fn_c_try_compile "$LINENO"; then :
3533 aros_freestanding="yes"
3535 aros_freestanding="no"
3537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_freestanding" >&5
3539 $as_echo "$aros_freestanding" >&6; }
3540 if test "x-$aros_freestanding" = "x-yes" ; then
3541 aros_cflags_freestanding=-ffreestanding
3542 aros_cflags_no_freestanding=-fno-freestanding
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fasynchronous-unwind-tables" >&5
3546 $as_echo_n "checking whether ${CC} accepts -fasynchronous-unwind-tables... " >&6; }
3547 CFLAGS=-fasynchronous-unwind-tables
3548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3549 /* end confdefs.h. */
3559 if ac_fn_c_try_compile "$LINENO"; then :
3560 aros_asynchronous_unwind_tables="yes"
3562 aros_asynchronous_unwind_tables="no"
3564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_asynchronous_unwind_tables" >&5
3566 $as_echo "$aros_asynchronous_unwind_tables" >&6; }
3567 if test "x-$aros_asynchronous_unwind_tables" = "x-yes" ; then
3568 aros_cflags_asynchronous_unwind_tables=-fasynchronous-unwind-tables
3569 aros_cflags_no_asynchronous_unwind_tables=-fno-asynchronous-unwind-tables
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fvisibility=hidden" >&5
3573 $as_echo_n "checking whether ${CC} accepts -fvisibility=hidden... " >&6; }
3574 CFLAGS=-fvisibility=hidden
3575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3576 /* end confdefs.h. */
3586 if ac_fn_c_try_compile "$LINENO"; then :
3587 aros_visibility_hidden="yes"
3589 aros_visibility_hidden="no"
3591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_visibility_hidden" >&5
3593 $as_echo "$aros_visibility_hidden" >&6; }
3594 if test "x-$aros_visibility_hidden" = "x-yes" ; then
3595 aros_cflags_visibility_hidden=-fvisibility=hidden
3600 ac_cpp='$CXXCPP $CPPFLAGS'
3601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3605 save_cxxflags="$CXXFLAGS"
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} accepts -fpermissive" >&5
3608 $as_echo_n "checking whether ${CXX} accepts -fpermissive... " >&6; }
3609 CXXFLAGS=-fpermissive
3611 ac_cpp='$CXXCPP $CPPFLAGS'
3612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3615 if test -z "$CXX"; then
3616 if test -n "$CCC"; then
3619 if test -n "$ac_tool_prefix"; then
3620 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3622 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3623 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3625 $as_echo_n "checking for $ac_word... " >&6; }
3626 if ${ac_cv_prog_CXX+:} false; then :
3627 $as_echo_n "(cached) " >&6
3629 if test -n "$CXX"; then
3630 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3636 test -z "$as_dir" && as_dir=.
3637 for ac_exec_ext in '' $ac_executable_extensions; do
3638 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3639 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3650 if test -n "$CXX"; then
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3652 $as_echo "$CXX" >&6; }
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3655 $as_echo "no" >&6; }
3659 test -n "$CXX" && break
3662 if test -z "$CXX"; then
3664 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3666 # Extract the first word of "$ac_prog", so it can be a program name with args.
3667 set dummy $ac_prog; ac_word=$2
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3669 $as_echo_n "checking for $ac_word... " >&6; }
3670 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3671 $as_echo_n "(cached) " >&6
3673 if test -n "$ac_ct_CXX"; then
3674 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3680 test -z "$as_dir" && as_dir=.
3681 for ac_exec_ext in '' $ac_executable_extensions; do
3682 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3683 ac_cv_prog_ac_ct_CXX="$ac_prog"
3684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3693 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3694 if test -n "$ac_ct_CXX"; then
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3696 $as_echo "$ac_ct_CXX" >&6; }
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3699 $as_echo "no" >&6; }
3703 test -n "$ac_ct_CXX" && break
3706 if test "x$ac_ct_CXX" = x; then
3709 case $cross_compiling:$ac_tool_warned in
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3712 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3713 ac_tool_warned=yes ;;
3721 # Provide some information about the compiler.
3722 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3725 for ac_option in --version -v -V -qversion; do
3726 { { ac_try="$ac_compiler $ac_option >&5"
3728 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3729 *) ac_try_echo
=$ac_try;;
3731 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3732 $as_echo "$ac_try_echo"; } >&5
3733 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3735 if test -s conftest.err
; then
3737 ... rest of stderr output deleted ...
3738 10q' conftest.err
>conftest.er1
3739 cat conftest.er1
>&5
3741 rm -f conftest.er1 conftest.err
3742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3743 test $ac_status = 0; }
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3747 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3748 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3749 $as_echo_n "(cached) " >&6
3751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3752 /* end confdefs.h. */
3765 if ac_fn_cxx_try_compile
"$LINENO"; then :
3770 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3771 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3775 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3776 if test $ac_compiler_gnu = yes; then
3781 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3782 ac_save_CXXFLAGS
=$CXXFLAGS
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3784 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3785 if ${ac_cv_prog_cxx_g+:} false
; then :
3786 $as_echo_n "(cached) " >&6
3788 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3789 ac_cxx_werror_flag
=yes
3792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3793 /* end confdefs.h. */
3803 if ac_fn_cxx_try_compile
"$LINENO"; then :
3804 ac_cv_prog_cxx_g
=yes
3807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3808 /* end confdefs.h. */
3818 if ac_fn_cxx_try_compile
"$LINENO"; then :
3821 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3824 /* end confdefs.h. */
3834 if ac_fn_cxx_try_compile
"$LINENO"; then :
3835 ac_cv_prog_cxx_g
=yes
3837 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3839 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3842 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3845 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3846 if test "$ac_test_CXXFLAGS" = set; then
3847 CXXFLAGS
=$ac_save_CXXFLAGS
3848 elif test $ac_cv_prog_cxx_g = yes; then
3849 if test "$GXX" = yes; then
3855 if test "$GXX" = yes; then
3862 ac_cpp
='$CXXCPP $CPPFLAGS'
3863 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3864 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3865 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3869 /* end confdefs.h. */
3879 if ac_fn_cxx_try_compile
"$LINENO"; then :
3880 aros_permissive
="yes"
3882 aros_permissive
="no"
3884 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_permissive" >&5
3886 $as_echo "$aros_permissive" >&6; }
3887 if test "x-$aros_permissive" = "x-yes" ; then
3888 aros_cxxflags_permissive
=-fpermissive
3889 aros_cxxflags_nopermissive
=-fno-permissive
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} accepts -frtti" >&5
3893 $as_echo_n "checking whether ${CXX} accepts -frtti... " >&6; }
3895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3896 /* end confdefs.h. */
3906 if ac_fn_cxx_try_compile
"$LINENO"; then :
3911 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_rtti" >&5
3913 $as_echo "$aros_rtti" >&6; }
3914 if test "x-$aros_rtti" = "x-yes" ; then
3915 aros_cxxflags_rtti
=-frtti
3916 aros_cxxflags_nortti
=-fno-rtti
3919 CXXFLAGS
="$save_cxxflags"
3922 # Check for additional C compiler options..
3924 ac_cpp
='$CPP $CPPFLAGS'
3925 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3926 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3927 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3930 #-----------------------------------------------------------------------------
3932 # Check if the target compiler supports some include directory options:
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
3935 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
3937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3938 /* end confdefs.h. */
3948 if ac_fn_c_try_compile
"$LINENO"; then :
3953 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
3955 $as_echo "$has_iquote" >&6; }
3956 if test "x-$has_iquote" = "x-yes" ; then
3957 aros_cflags_iquote
=-iquote
3958 aros_cflags_iquote_end
=
3960 aros_cflags_iquote
=-I
3961 aros_cflags_iquote_end
=-I-
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -isystem" >&5
3965 $as_echo_n "checking whether ${CC} accepts -isystem... " >&6; }
3967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3968 /* end confdefs.h. */
3978 if ac_fn_c_try_compile
"$LINENO"; then :
3983 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_isystem" >&5
3985 $as_echo "$has_isystem" >&6; }
3986 if test "x-$has_isystem" = "x-yes" ; then
3987 aros_cflags_isystem
=-isystem
3988 aros_cflags_isystem_end
=
3990 aros_cflags_isystem
=-I
3991 aros_cflags_isystem_end
=
3994 #-----------------------------------------------------------------------------
3996 # Check if the target compiler supports some ISA options:
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -mred-zone" >&5
4000 $as_echo_n "checking whether ${CC} accepts -mred-zone... " >&6; }
4002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4003 /* end confdefs.h. */
4013 if ac_fn_c_try_compile
"$LINENO"; then :
4014 aros_no_red_zone
="yes"
4016 aros_no_red_zone
="no"
4018 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_red_zone" >&5
4020 $as_echo "$aros_no_red_zone" >&6; }
4021 if test "x-$aros_no_red_zone" = "x-yes" ; then
4022 aros_cflags_red_zone
=-mred-zone
4023 aros_cflags_no_red_zone
=-mno-red-zone
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -mms-bitfields" >&5
4027 $as_echo_n "checking whether ${CC} accepts -mms-bitfields... " >&6; }
4028 CFLAGS
=-mms-bitfields
4029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4030 /* end confdefs.h. */
4040 if ac_fn_c_try_compile
"$LINENO"; then :
4041 aros_ms_bitfields
="yes"
4043 aros_ms_bitfields
="no"
4045 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ms_bitfields" >&5
4047 $as_echo "$aros_ms_bitfields" >&6; }
4048 if test "x-$aros_ms_bitfields" = "x-yes" ; then
4049 aros_cflags_ms_bitfields
=-mms-bitfields
4050 aros_cflags_no_ms_bitfields
=-mno-ms-bitfields
4053 CFLAGS
="$save_cflags"
4055 #-----------------------------------------------------------------------------
4057 # Check if the target compiler supports some options used for de-linting:
4061 # -Wunused-command-line-argument
4062 # -Wunknown-warning-option
4063 # -Wunused-but-set-variable
4067 # -Wstrict-prototypes
4070 # -Wmisleading-indentation
4077 # -Wunused-parameter
4079 # -Wmaybe-uninitialized
4080 # -Wimplicit-function-declaration
4085 # -Wformat-contains-nul
4087 # -Waggressive-loop-optimizations
4090 # -Wdiscarded-qualifiers
4093 # -Wdiscarded-array-qualifiers
4095 # -Wint-to-pointer-cast
4096 # -Wpointer-to-int-cast
4097 # -Wunused-const-variable
4100 # -Wincompatible-pointer-types
4102 # -Wlogical-not-parentheses
4106 # -Wdeprecated-declarations
4110 # -Wunused-local-typedefs
4114 # -Wvolatile-register-var
4115 # -Wsizeof-pointer-memaccess
4117 # -Wformat-zero-length
4118 # -Wlto-type-mismatch
4119 # -Wtautological-compare
4122 # -Wstringop-overflow
4123 # -Wformat-truncation
4124 # -Wstringop-truncation
4125 # -Wshift-negative-value
4126 # -Wmissing-field-initializers
4127 # -Wimplicit-fallthrough
4128 # -Wmissing-prototypes
4130 # -Wint-in-bool-context
4134 ac_cpp
='$CPP $CPPFLAGS'
4135 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4136 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4137 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4140 save_cflags
="$CFLAGS"
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Werror" >&5
4142 $as_echo_n "checking whether ${CC} accepts -Werror... " >&6; }
4144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4145 /* end confdefs.h. */
4155 if ac_fn_c_try_compile
"$LINENO"; then :
4160 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_error" >&5
4162 $as_echo "$aros_error" >&6; }
4163 if test "x-$aros_error" = "x-yes" ; then
4164 aros_warnflags_error
=-Werror
4165 aros_nowarnflags_error
=-Wno-error
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wall" >&5
4169 $as_echo_n "checking whether ${CC} accepts -Wall... " >&6; }
4171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4172 /* end confdefs.h. */
4182 if ac_fn_c_try_compile
"$LINENO"; then :
4187 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_all" >&5
4189 $as_echo "$aros_all" >&6; }
4190 if test "x-$aros_all" = "x-yes" ; then
4191 aros_warnflags_all
=-Wall
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wrestrict" >&5
4195 $as_echo_n "checking whether ${CC} accepts -Wrestrict... " >&6; }
4197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4198 /* end confdefs.h. */
4208 if ac_fn_c_try_compile
"$LINENO"; then :
4213 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_restrict" >&5
4215 $as_echo "$aros_restrict" >&6; }
4216 if test "x-$aros_restrict" = "x-yes" ; then
4217 aros_warnflags_restrict
=-Wrestrict
4218 aros_nowarnflags_restrict
=-Wno-restrict
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-command-line-argument" >&5
4222 $as_echo_n "checking whether ${CC} accepts -Wunused-command-line-argument... " >&6; }
4223 CFLAGS
=-Wunused-command-line-argument
4224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4225 /* end confdefs.h. */
4235 if ac_fn_c_try_compile
"$LINENO"; then :
4236 aros_unused_command_line_argument
="yes"
4238 aros_unused_command_line_argument
="no"
4240 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_command_line_argument" >&5
4242 $as_echo "$aros_unused_command_line_argument" >&6; }
4243 if test "x-$aros_unused_command_line_argument" = "x-yes" ; then
4244 aros_warnflags_unused_command_line_argument
=-Wunused-command-line-argument
4245 aros_nowarnflags_unused_command_line_argument
=-Wno-unused-command-line-argument
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-warning-option" >&5
4249 $as_echo_n "checking whether ${CC} accepts -Wunknown-warning-option... " >&6; }
4250 CFLAGS
=-Wunknown-warning-option
4251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4252 /* end confdefs.h. */
4262 if ac_fn_c_try_compile
"$LINENO"; then :
4263 aros_unknown_warning_option
="yes"
4265 aros_unknown_warning_option
="no"
4267 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_warning_option" >&5
4269 $as_echo "$aros_unknown_warning_option" >&6; }
4270 if test "x-$aros_unknown_warning_option" = "x-yes" ; then
4271 aros_warnflags_unknown_warning_option
=-Wunknown-warning-option
4272 aros_nowarnflags_unknown_warning_option
=-Wno-unknown-warning-option
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
4276 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
4277 CFLAGS
=-Wunused-but-set-variable
4278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4279 /* end confdefs.h. */
4289 if ac_fn_c_try_compile
"$LINENO"; then :
4290 aros_unused_but_set_variable
="yes"
4292 aros_unused_but_set_variable
="no"
4294 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
4296 $as_echo "$aros_unused_but_set_variable" >&6; }
4297 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
4298 aros_warnflags_unused_but_set_variable
=-Wunused-but-set-variable
4299 aros_nowarnflags_unused_but_set_variable
=-Wno-unused-but-set-variable
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
4303 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
4304 CFLAGS
=-Wstrict-aliasing
4305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4306 /* end confdefs.h. */
4316 if ac_fn_c_try_compile
"$LINENO"; then :
4317 aros_strict_aliasing
="yes"
4319 aros_strict_aliasing
="no"
4321 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
4323 $as_echo "$aros_strict_aliasing" >&6; }
4324 if test "x-$aros_strict_aliasing" = "x-yes" ; then
4325 aros_warnflags_strict_aliasing
=-Wstrict-aliasing
4326 aros_nowarnflags_strict_aliasing
=-Wno-strict-aliasing
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
4330 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
4331 CFLAGS
=-Warray-bounds
4332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4333 /* end confdefs.h. */
4343 if ac_fn_c_try_compile
"$LINENO"; then :
4344 aros_array_bounds
="yes"
4346 aros_array_bounds
="no"
4348 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
4350 $as_echo "$aros_array_bounds" >&6; }
4351 if test "x-$aros_array_bounds" = "x-yes" ; then
4352 aros_warnflags_array_bounds
=-Warray-bounds
4353 aros_nowarnflags_array_bounds
=-Wno-array-bounds
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
4357 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
4358 CFLAGS
=-Wenum-compare
4359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4360 /* end confdefs.h. */
4370 if ac_fn_c_try_compile
"$LINENO"; then :
4371 aros_enum_compare
="yes"
4373 aros_enum_compare
="no"
4375 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
4377 $as_echo "$aros_enum_compare" >&6; }
4378 if test "x-$aros_enum_compare" = "x-yes" ; then
4379 aros_warnflags_enum_compare
=-Wenum-compare
4380 aros_nowarnflags_enum_compare
=-Wno-enum-compare
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
4384 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
4385 CFLAGS
=-Wstrict-prototypes
4386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4387 /* end confdefs.h. */
4397 if ac_fn_c_try_compile
"$LINENO"; then :
4398 aros_strict_prototypes
="yes"
4400 aros_strict_prototypes
="no"
4402 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
4404 $as_echo "$aros_strict_prototypes" >&6; }
4405 if test "x-$aros_strict_prototypes" = "x-yes" ; then
4406 aros_warnflags_strict_prototypes
=-Wstrict-prototypes
4407 aros_nowarnflags_strict_prototypes
=-Wno-strict-prototypes
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
4411 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
4412 CFLAGS
=-Wstrict-overflow
4413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4414 /* end confdefs.h. */
4424 if ac_fn_c_try_compile
"$LINENO"; then :
4425 aros_strict_overflow
="yes"
4427 aros_strict_overflow
="no"
4429 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
4431 $as_echo "$aros_strict_overflow" >&6; }
4432 if test "x-$aros_strict_overflow" = "x-yes" ; then
4433 aros_warnflags_strict_overflow
=-Wstrict-overflow
4434 aros_nowarnflags_strict_overflow
=-Wno-strict-overflow
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
4438 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
4439 CFLAGS
=-Wformat-security
4440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4441 /* end confdefs.h. */
4451 if ac_fn_c_try_compile
"$LINENO"; then :
4452 aros_format_security
="yes"
4454 aros_format_security
="no"
4456 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
4458 $as_echo "$aros_format_security" >&6; }
4459 if test "x-$aros_format_security" = "x-yes" ; then
4460 aros_warnflags_format_security
=-Wformat-security
4461 aros_nowarnflags_format_security
=-Wno-format-security
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
4465 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
4466 CFLAGS
=-Wmisleading-indentation
4467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4468 /* end confdefs.h. */
4478 if ac_fn_c_try_compile
"$LINENO"; then :
4479 aros_misleading_indentation
="yes"
4481 aros_misleading_indentation
="no"
4483 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
4485 $as_echo "$aros_misleading_indentation" >&6; }
4486 if test "x-$aros_misleading_indentation" = "x-yes" ; then
4487 aros_warnflags_misleading_indentation
=-Wmisleading-indentation
4488 aros_nowarnflags_misleading_indentation
=-Wno-misleading-indentation
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
4492 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
4493 CFLAGS
=-Wnonnull-compare
4494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4495 /* end confdefs.h. */
4505 if ac_fn_c_try_compile
"$LINENO"; then :
4506 aros_nonnull_compare
="yes"
4508 aros_nonnull_compare
="no"
4510 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
4512 $as_echo "$aros_nonnull_compare" >&6; }
4513 if test "x-$aros_nonnull_compare" = "x-yes" ; then
4514 aros_warnflags_nonnull_compare
=-Wnonnull-compare
4515 aros_nowarnflags_nonnull_compare
=-Wno-nonnull-compare
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
4519 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
4521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4522 /* end confdefs.h. */
4532 if ac_fn_c_try_compile
"$LINENO"; then :
4537 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
4539 $as_echo "$aros_unused" >&6; }
4540 if test "x-$aros_unused" = "x-yes" ; then
4541 aros_warnflags_unused
=-Wunused
4542 aros_nowarnflags_unused
=-Wno-unused
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-label" >&5
4546 $as_echo_n "checking whether ${CC} accepts -Wunused-label... " >&6; }
4547 CFLAGS
=-Wunused-label
4548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4549 /* end confdefs.h. */
4559 if ac_fn_c_try_compile
"$LINENO"; then :
4560 aros_unused_label
="yes"
4562 aros_unused_label
="no"
4564 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_label" >&5
4566 $as_echo "$aros_unused_label" >&6; }
4567 if test "x-$aros_unused_label" = "x-yes" ; then
4568 aros_warnflags_unused_label
=-Wunused-label
4569 aros_nowarnflags_unused_label
=-Wno-unused-label
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
4573 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
4574 CFLAGS
=-Wunused-value
4575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4576 /* end confdefs.h. */
4586 if ac_fn_c_try_compile
"$LINENO"; then :
4587 aros_unused_value
="yes"
4589 aros_unused_value
="no"
4591 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
4593 $as_echo "$aros_unused_value" >&6; }
4594 if test "x-$aros_unused_value" = "x-yes" ; then
4595 aros_warnflags_unused_value
=-Wunused-value
4596 aros_nowarnflags_unused_value
=-Wno-unused-value
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
4600 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
4601 CFLAGS
=-Wunused-variable
4602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4603 /* end confdefs.h. */
4613 if ac_fn_c_try_compile
"$LINENO"; then :
4614 aros_unused_variable
="yes"
4616 aros_unused_variable
="no"
4618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
4620 $as_echo "$aros_unused_variable" >&6; }
4621 if test "x-$aros_unused_variable" = "x-yes" ; then
4622 aros_warnflags_unused_variable
=-Wunused-variable
4623 aros_nowarnflags_unused_variable
=-Wno-unused-variable
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
4627 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
4628 CFLAGS
=-Wunused-function
4629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4630 /* end confdefs.h. */
4640 if ac_fn_c_try_compile
"$LINENO"; then :
4641 aros_unused_function
="yes"
4643 aros_unused_function
="no"
4645 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
4647 $as_echo "$aros_unused_function" >&6; }
4648 if test "x-$aros_unused_function" = "x-yes" ; then
4649 aros_warnflags_unused_function
=-Wunused-function
4650 aros_nowarnflags_unused_function
=-Wno-unused-function
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-parameter" >&5
4654 $as_echo_n "checking whether ${CC} accepts -Wunused-parameter... " >&6; }
4655 CFLAGS
=-Wunused-parameter
4656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4657 /* end confdefs.h. */
4667 if ac_fn_c_try_compile
"$LINENO"; then :
4668 aros_unused_parameter
="yes"
4670 aros_unused_parameter
="no"
4672 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_parameter" >&5
4674 $as_echo "$aros_unused_parameter" >&6; }
4675 if test "x-$aros_unused_parameter" = "x-yes" ; then
4676 aros_warnflags_unused_parameter
=-Wunused-parameter
4677 aros_nowarnflags_unused_parameter
=-Wno-unused-parameter
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
4681 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
4682 CFLAGS
=-Wuninitialized
4683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4684 /* end confdefs.h. */
4694 if ac_fn_c_try_compile
"$LINENO"; then :
4695 aros_uninitialized
="yes"
4697 aros_uninitialized
="no"
4699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
4701 $as_echo "$aros_uninitialized" >&6; }
4702 if test "x-$aros_uninitialized" = "x-yes" ; then
4703 aros_warnflags_uninitialized
=-Wuninitialized
4704 aros_nowarnflags_uninitialized
=-Wno-uninitialized
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
4708 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
4709 CFLAGS
=-Wmaybe-uninitialized
4710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4711 /* end confdefs.h. */
4721 if ac_fn_c_try_compile
"$LINENO"; then :
4722 aros_maybe_uninitialized
="yes"
4724 aros_maybe_uninitialized
="no"
4726 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
4728 $as_echo "$aros_maybe_uninitialized" >&6; }
4729 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
4730 aros_warnflags_maybe_uninitialized
=-Wmaybe-uninitialized
4731 aros_nowarnflags_maybe_uninitialized
=-Wno-maybe-uninitialized
4733 aros_warnflags_maybe_uninitialized
=$aros_warnflags_uninitialized
4734 aros_nowarnflags_maybe_uninitialized
=$aros_nowarnflags_uninitialized
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
4738 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
4739 CFLAGS
=-Wimplicit-function-declaration
4740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4741 /* end confdefs.h. */
4751 if ac_fn_c_try_compile
"$LINENO"; then :
4752 aros_implicit_function_declaration
="yes"
4754 aros_implicit_function_declaration
="no"
4756 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
4758 $as_echo "$aros_implicit_function_declaration" >&6; }
4759 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
4760 aros_warnflags_implicit_function_declaration
=-Wimplicit-function-declaration
4761 aros_nowarnflags_implicit_function_declaration
=-Wno-implicit-function-declaration
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
4765 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
4767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4768 /* end confdefs.h. */
4778 if ac_fn_c_try_compile
"$LINENO"; then :
4783 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
4785 $as_echo "$aros_format" >&6; }
4786 if test "x-$aros_format" = "x-yes" ; then
4787 aros_warnflags_format
=-Wformat
4788 aros_nowarnflags_format
=-Wno-format
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
4792 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
4793 CFLAGS
=-Wparentheses
4794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4795 /* end confdefs.h. */
4805 if ac_fn_c_try_compile
"$LINENO"; then :
4806 aros_parentheses
="yes"
4808 aros_parentheses
="no"
4810 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
4812 $as_echo "$aros_parentheses" >&6; }
4813 if test "x-$aros_parentheses" = "x-yes" ; then
4814 aros_warnflags_parentheses
=-Wparentheses
4815 aros_nowarnflags_parentheses
=-Wno-parentheses
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
4819 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
4820 CFLAGS
=-Wchar-subscripts
4821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4822 /* end confdefs.h. */
4832 if ac_fn_c_try_compile
"$LINENO"; then :
4833 aros_char_subscripts
="yes"
4835 aros_char_subscripts
="no"
4837 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
4839 $as_echo "$aros_char_subscripts" >&6; }
4840 if test "x-$aros_char_subscripts" = "x-yes" ; then
4841 aros_warnflags_char_subscripts
=-Wchar-subscripts
4842 aros_nowarnflags_char_subscripts
=-Wno-char-subscripts
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
4846 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
4847 CFLAGS
=-Wendif-labels
4848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4849 /* end confdefs.h. */
4859 if ac_fn_c_try_compile
"$LINENO"; then :
4860 aros_endif_labels
="yes"
4862 aros_endif_labels
="no"
4864 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
4866 $as_echo "$aros_endif_labels" >&6; }
4867 if test "x-$aros_endif_labels" = "x-yes" ; then
4868 aros_warnflags_endif_labels
=-Wendif-labels
4869 aros_nowarnflags_endif_labels
=-Wno-endif-labels
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
4873 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
4874 CFLAGS
=-Wformat-contains-nul
4875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4876 /* end confdefs.h. */
4886 if ac_fn_c_try_compile
"$LINENO"; then :
4887 aros_format_contains_nul
="yes"
4889 aros_format_contains_nul
="no"
4891 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
4893 $as_echo "$aros_format_contains_nul" >&6; }
4894 if test "x-$aros_format_contains_nul" = "x-yes" ; then
4895 aros_warnflags_format_contains_nul
=-Wformat-contains-nul
4896 aros_nowarnflags_format_contains_nul
=-Wno-format-contains-nul
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
4900 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
4901 CFLAGS
=-Wimplicit-int
4902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4903 /* end confdefs.h. */
4913 if ac_fn_c_try_compile
"$LINENO"; then :
4914 aros_implicit_int
="yes"
4916 aros_implicit_int
="no"
4918 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
4920 $as_echo "$aros_implicit_int" >&6; }
4921 if test "x-$aros_implicit_int" = "x-yes" ; then
4922 aros_warnflags_implicit_int
=-Wimplicit-int
4923 aros_nowarnflags_implicit_int
=-Wno-implicit-int
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
4927 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
4928 CFLAGS
=-Waggressive-loop-optimizations
4929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4930 /* end confdefs.h. */
4940 if ac_fn_c_try_compile
"$LINENO"; then :
4941 aros_aggressive_loop_optimizations
="yes"
4943 aros_aggressive_loop_optimizations
="no"
4945 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
4947 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
4948 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
4949 aros_warnflags_aggressive_loop_optimizations
=-Waggressive-loop-optimizations
4950 aros_nowarnflags_aggressive_loop_optimizations
=-Wno-aggressive-loop-optimizations
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
4954 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
4956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4957 /* end confdefs.h. */
4967 if ac_fn_c_try_compile
"$LINENO"; then :
4972 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
4974 $as_echo "$aros_cpp" >&6; }
4975 if test "x-$aros_cpp" = "x-yes" ; then
4976 aros_warnflags_cpp
=-Wcpp
4977 aros_nowarnflags_cpp
=-Wno-cpp
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
4981 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
4983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4984 /* end confdefs.h. */
4994 if ac_fn_c_try_compile
"$LINENO"; then :
4999 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
5001 $as_echo "$aros_switch" >&6; }
5002 if test "x-$aros_switch" = "x-yes" ; then
5003 aros_warnflags_switch
=-Wswitch
5004 aros_nowarnflags_switch
=-Wno-switch
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
5008 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
5009 CFLAGS
=-Wdiscarded-qualifiers
5010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5011 /* end confdefs.h. */
5021 if ac_fn_c_try_compile
"$LINENO"; then :
5022 aros_discarded_qualifiers
="yes"
5024 aros_discarded_qualifiers
="no"
5026 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
5028 $as_echo "$aros_discarded_qualifiers" >&6; }
5029 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
5030 aros_warnflags_discarded_qualifiers
=-Wdiscarded-qualifiers
5031 aros_nowarnflags_discarded_qualifiers
=-Wno-discarded-qualifiers
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
5035 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
5036 CFLAGS
=-Wsequence-point
5037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5038 /* end confdefs.h. */
5048 if ac_fn_c_try_compile
"$LINENO"; then :
5049 aros_sequence_point
="yes"
5051 aros_sequence_point
="no"
5053 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
5055 $as_echo "$aros_sequence_point" >&6; }
5056 if test "x-$aros_sequence_point" = "x-yes" ; then
5057 aros_warnflags_sequence_point
=-Wsequence-point
5058 aros_nowarnflags_sequence_point
=-Wno-sequence-point
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
5062 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
5063 CFLAGS
=-Wunknown-pragmas
5064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5065 /* end confdefs.h. */
5075 if ac_fn_c_try_compile
"$LINENO"; then :
5076 aros_unknown_pragmas
="yes"
5078 aros_unknown_pragmas
="no"
5080 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
5082 $as_echo "$aros_unknown_pragmas" >&6; }
5083 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
5084 aros_warnflags_unknown_pragmas
=-Wunknown-pragmas
5085 aros_nowarnflags_unknown_pragmas
=-Wno-unknown-pragmas
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
5089 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
5090 CFLAGS
=-Wdiscarded-array-qualifiers
5091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5092 /* end confdefs.h. */
5102 if ac_fn_c_try_compile
"$LINENO"; then :
5103 aros_discarded_array_qualifiers
="yes"
5105 aros_discarded_array_qualifiers
="no"
5107 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
5109 $as_echo "$aros_discarded_array_qualifiers" >&6; }
5110 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
5111 aros_warnflags_discarded_array_qualifiers
=-Wdiscarded-array-qualifiers
5112 aros_nowarnflags_discarded_array_qualifiers
=-Wno-discarded-array-qualifiers
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
5116 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
5117 CFLAGS
=-Wint-conversion
5118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5119 /* end confdefs.h. */
5129 if ac_fn_c_try_compile
"$LINENO"; then :
5130 aros_int_conversion
="yes"
5132 aros_int_conversion
="no"
5134 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
5136 $as_echo "$aros_int_conversion" >&6; }
5137 if test "x-$aros_int_conversion" = "x-yes" ; then
5138 aros_warnflags_int_conversion
=-Wint-conversion
5139 aros_nowarnflags_int_conversion
=-Wno-int-conversion
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
5143 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
5144 CFLAGS
=-Wint-to-pointer-cast
5145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5146 /* end confdefs.h. */
5156 if ac_fn_c_try_compile
"$LINENO"; then :
5157 aros_int_to_pointer_cast
="yes"
5159 aros_int_to_pointer_cast
="no"
5161 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
5163 $as_echo "$aros_int_to_pointer_cast" >&6; }
5164 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
5165 aros_warnflags_int_to_pointer_cast
=-Wint-to-pointer-cast
5166 aros_nowarnflags_int_to_pointer_cast
=-Wno-int-to-pointer-cast
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
5170 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
5171 CFLAGS
=-Wpointer-to-int-cast
5172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5173 /* end confdefs.h. */
5183 if ac_fn_c_try_compile
"$LINENO"; then :
5184 aros_pointer_to_int_cast
="yes"
5186 aros_pointer_to_int_cast
="no"
5188 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
5190 $as_echo "$aros_pointer_to_int_cast" >&6; }
5191 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
5192 aros_warnflags_pointer_to_int_cast
=-Wpointer-to-int-cast
5193 aros_nowarnflags_pointer_to_int_cast
=-Wno-pointer-to-int-cast
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
5197 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
5198 CFLAGS
=-Wunused-const-variable
5199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5200 /* end confdefs.h. */
5210 if ac_fn_c_try_compile
"$LINENO"; then :
5211 aros_unused_const_variable
="yes"
5213 aros_unused_const_variable
="no"
5215 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
5217 $as_echo "$aros_unused_const_variable" >&6; }
5218 if test "x-$aros_unused_const_variable" = "x-yes" ; then
5219 aros_warnflags_unused_const_variable
=-Wunused-const-variable
5220 aros_nowarnflags_unused_const_variable
=-Wno-unused-const-variable
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
5224 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
5225 CFLAGS
=-Wwrite-strings
5226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5227 /* end confdefs.h. */
5237 if ac_fn_c_try_compile
"$LINENO"; then :
5238 aros_write_strings
="yes"
5240 aros_write_strings
="no"
5242 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
5244 $as_echo "$aros_write_strings" >&6; }
5245 if test "x-$aros_write_strings" = "x-yes" ; then
5246 aros_warnflags_write_strings
=-Wwrite-strings
5247 aros_nowarnflags_write_strings
=-Wno-write-strings
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
5251 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
5253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5254 /* end confdefs.h. */
5264 if ac_fn_c_try_compile
"$LINENO"; then :
5269 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
5271 $as_echo "$aros_comment" >&6; }
5272 if test "x-$aros_comment" = "x-yes" ; then
5273 aros_warnflags_comment
=-Wcomment
5274 aros_nowarnflags_comment
=-Wno-comment
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
5278 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
5279 CFLAGS
=-Wincompatible-pointer-types
5280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5281 /* end confdefs.h. */
5291 if ac_fn_c_try_compile
"$LINENO"; then :
5292 aros_incompatible_pointer_types
="yes"
5294 aros_incompatible_pointer_types
="no"
5296 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
5298 $as_echo "$aros_incompatible_pointer_types" >&6; }
5299 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
5300 aros_warnflags_incompatible_pointer_types
=-Wincompatible-pointer-types
5301 aros_nowarnflags_incompatible_pointer_types
=-Wno-incompatible-pointer-types
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
5305 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
5306 CFLAGS
=-Wbool-compare
5307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5308 /* end confdefs.h. */
5318 if ac_fn_c_try_compile
"$LINENO"; then :
5319 aros_bool_compare
="yes"
5321 aros_bool_compare
="no"
5323 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
5325 $as_echo "$aros_bool_compare" >&6; }
5326 if test "x-$aros_bool_compare" = "x-yes" ; then
5327 aros_warnflags_bool_compare
=-Wbool-compare
5328 aros_nowarnflags_bool_compare
=-Wno-bool-compare
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
5332 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
5333 CFLAGS
=-Wlogical-not-parentheses
5334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5335 /* end confdefs.h. */
5345 if ac_fn_c_try_compile
"$LINENO"; then :
5346 aros_logical_not_parentheses
="yes"
5348 aros_logical_not_parentheses
="no"
5350 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
5352 $as_echo "$aros_logical_not_parentheses" >&6; }
5353 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
5354 aros_warnflags_logical_not_parentheses
=-Wlogical-not-parentheses
5355 aros_nowarnflags_logical_not_parentheses
=-Wno-logical-not-parentheses
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
5359 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
5360 CFLAGS
=-Wpointer-sign
5361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5362 /* end confdefs.h. */
5372 if ac_fn_c_try_compile
"$LINENO"; then :
5373 aros_pointer_sign
="yes"
5375 aros_pointer_sign
="no"
5377 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
5379 $as_echo "$aros_pointer_sign" >&6; }
5380 if test "x-$aros_pointer_sign" = "x-yes" ; then
5381 aros_warnflags_pointer_sign
=-Wpointer-sign
5382 aros_nowarnflags_pointer_sign
=-Wno-pointer-sign
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
5386 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
5387 CFLAGS
=-Wshift-overflow
5388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5389 /* end confdefs.h. */
5399 if ac_fn_c_try_compile
"$LINENO"; then :
5400 aros_shift_overflow
="yes"
5402 aros_shift_overflow
="no"
5404 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
5406 $as_echo "$aros_shift_overflow" >&6; }
5407 if test "x-$aros_shift_overflow" = "x-yes" ; then
5408 aros_warnflags_shift_overflow
=-Wshift-overflow
5409 aros_nowarnflags_shift_overflow
=-Wno-shift-overflow
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
5413 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
5414 CFLAGS
=-Wframe-address
5415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5416 /* end confdefs.h. */
5426 if ac_fn_c_try_compile
"$LINENO"; then :
5427 aros_frame_address
="yes"
5429 aros_frame_address
="no"
5431 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
5433 $as_echo "$aros_frame_address" >&6; }
5434 if test "x-$aros_frame_address" = "x-yes" ; then
5435 aros_warnflags_frame_address
=-Wframe-address
5436 aros_nowarnflags_frame_address
=-Wno-frame-address
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
5440 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
5441 CFLAGS
=-Wdeprecated-declarations
5442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5443 /* end confdefs.h. */
5453 if ac_fn_c_try_compile
"$LINENO"; then :
5454 aros_deprecated_declarations
="yes"
5456 aros_deprecated_declarations
="no"
5458 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
5460 $as_echo "$aros_deprecated_declarations" >&6; }
5461 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
5462 aros_warnflags_deprecated_declarations
=-Wdeprecated-declarations
5463 aros_nowarnflags_deprecated_declarations
=-Wno-deprecated-declarations
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
5467 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
5468 CFLAGS
=-Wsign-compare
5469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5470 /* end confdefs.h. */
5480 if ac_fn_c_try_compile
"$LINENO"; then :
5481 aros_sign_compare
="yes"
5483 aros_sign_compare
="no"
5485 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
5487 $as_echo "$aros_sign_compare" >&6; }
5488 if test "x-$aros_sign_compare" = "x-yes" ; then
5489 aros_warnflags_sign_compare
=-Wsign-compare
5490 aros_nowarnflags_sign_compare
=-Wno-sign-compare
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
5494 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
5496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5497 /* end confdefs.h. */
5507 if ac_fn_c_try_compile
"$LINENO"; then :
5508 aros_attributes
="yes"
5510 aros_attributes
="no"
5512 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
5514 $as_echo "$aros_attributes" >&6; }
5515 if test "x-$aros_attributes" = "x-yes" ; then
5516 aros_warnflags_attributes
=-Wattributes
5517 aros_nowarnflags_attributes
=-Wno-attributes
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
5521 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
5523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5524 /* end confdefs.h. */
5534 if ac_fn_c_try_compile
"$LINENO"; then :
5539 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
5541 $as_echo "$aros_overflow" >&6; }
5542 if test "x-$aros_overflow" = "x-yes" ; then
5543 aros_warnflags_overflow
=-Woverflow
5544 aros_nowarnflags_overflow
=-Wno-overflow
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
5548 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
5549 CFLAGS
=-Wunused-local-typedefs
5550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5551 /* end confdefs.h. */
5561 if ac_fn_c_try_compile
"$LINENO"; then :
5562 aros_unused_local_typedefs
="yes"
5564 aros_unused_local_typedefs
="no"
5566 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
5568 $as_echo "$aros_unused_local_typedefs" >&6; }
5569 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
5570 aros_warnflags_unused_local_typedefs
=-Wunused-local-typedefs
5571 aros_nowarnflags_unused_local_typedefs
=-Wno-unused-local-typedefs
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
5575 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
5576 CFLAGS
=-Wmissing-braces
5577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5578 /* end confdefs.h. */
5588 if ac_fn_c_try_compile
"$LINENO"; then :
5589 aros_missing_braces
="yes"
5591 aros_missing_braces
="no"
5593 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
5595 $as_echo "$aros_missing_braces" >&6; }
5596 if test "x-$aros_missing_braces" = "x-yes" ; then
5597 aros_warnflags_missing_braces
=-Wmissing-braces
5598 aros_nowarnflags_missing_braces
=-Wno-missing-braces
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
5602 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
5604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5605 /* end confdefs.h. */
5615 if ac_fn_c_try_compile
"$LINENO"; then :
5616 aros_narrowing
="yes"
5620 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
5622 $as_echo "$aros_narrowing" >&6; }
5623 if test "x-$aros_narrowing" = "x-yes" ; then
5624 aros_warnflags_narrowing
=-Wnarrowing
5625 aros_nowarnflags_narrowing
=-Wno-narrowing
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wvolatile-register-var" >&5
5629 $as_echo_n "checking whether ${CC} accepts -Wvolatile-register-var... " >&6; }
5630 CFLAGS
=-Wvolatile-register-var
5631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5632 /* end confdefs.h. */
5642 if ac_fn_c_try_compile
"$LINENO"; then :
5643 aros_volatile_register_var
="yes"
5645 aros_volatile_register_var
="no"
5647 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_volatile_register_var" >&5
5649 $as_echo "$aros_volatile_register_var" >&6; }
5650 if test "x-$aros_volatile_register_var" = "x-yes" ; then
5651 aros_warnflags_volatile_register_var
=-Wvolatile-register-var
5652 aros_nowarnflags_volatile_register_var
=-Wno-volatile-register-var
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsizeof-pointer-memaccess" >&5
5656 $as_echo_n "checking whether ${CC} accepts -Wsizeof-pointer-memaccess... " >&6; }
5657 CFLAGS
=-Wsizeof-pointer-memaccess
5658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5659 /* end confdefs.h. */
5669 if ac_fn_c_try_compile
"$LINENO"; then :
5670 aros_sizeof_pointer_memaccess
="yes"
5672 aros_sizeof_pointer_memaccess
="no"
5674 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sizeof_pointer_memaccess" >&5
5676 $as_echo "$aros_sizeof_pointer_memaccess" >&6; }
5677 if test "x-$aros_sizeof_pointer_memaccess" = "x-yes" ; then
5678 aros_warnflags_sizeof_pointer_memaccess
=-Wsizeof-pointer-memaccess
5679 aros_nowarnflags_sizeof_pointer_memaccess
=-Wno-sizeof-pointer-memaccess
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wreturn-type" >&5
5683 $as_echo_n "checking whether ${CC} accepts -Wreturn-type... " >&6; }
5684 CFLAGS
=-Wreturn-type
5685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5686 /* end confdefs.h. */
5696 if ac_fn_c_try_compile
"$LINENO"; then :
5697 aros_return_type
="yes"
5699 aros_return_type
="no"
5701 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_return_type" >&5
5703 $as_echo "$aros_return_type" >&6; }
5704 if test "x-$aros_return_type" = "x-yes" ; then
5705 aros_warnflags_return_type
=-Wreturn-type
5706 aros_nowarnflags_return_type
=-Wno-return-type
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-zero-length" >&5
5710 $as_echo_n "checking whether ${CC} accepts -Wformat-zero-length... " >&6; }
5711 CFLAGS
=-Wformat-zero-length
5712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5713 /* end confdefs.h. */
5723 if ac_fn_c_try_compile
"$LINENO"; then :
5724 aros_format_zero_length
="yes"
5726 aros_format_zero_length
="no"
5728 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_zero_length" >&5
5730 $as_echo "$aros_format_zero_length" >&6; }
5731 if test "x-$aros_format_zero_length" = "x-yes" ; then
5732 aros_warnflags_format_zero_length
=-Wformat-zero-length
5733 aros_nowarnflags_format_zero_length
=-Wno-format-zero-length
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlto-type-mismatch" >&5
5737 $as_echo_n "checking whether ${CC} accepts -Wlto-type-mismatch... " >&6; }
5738 CFLAGS
=-Wlto-type-mismatch
5739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5740 /* end confdefs.h. */
5750 if ac_fn_c_try_compile
"$LINENO"; then :
5751 aros_lto_type_mismatch
="yes"
5753 aros_lto_type_mismatch
="no"
5755 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto_type_mismatch" >&5
5757 $as_echo "$aros_lto_type_mismatch" >&6; }
5758 if test "x-$aros_lto_type_mismatch" = "x-yes" ; then
5759 aros_warnflags_lto_type_mismatch
=-Wlto-type-mismatch
5760 aros_nowarnflags_lto_type_mismatch
=-Wno-lto-type-mismatch
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wtautological-compare" >&5
5764 $as_echo_n "checking whether ${CC} accepts -Wtautological-compare... " >&6; }
5765 CFLAGS
=-Wtautological-compare
5766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5767 /* end confdefs.h. */
5777 if ac_fn_c_try_compile
"$LINENO"; then :
5778 aros_tautological_compare
="yes"
5780 aros_tautological_compare
="no"
5782 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tautological_compare" >&5
5784 $as_echo "$aros_tautological_compare" >&6; }
5785 if test "x-$aros_tautological_compare" = "x-yes" ; then
5786 aros_warnflags_tautological_compare
=-Wtautological-compare
5787 aros_nowarnflags_tautological_compare
=-Wno-tautological-compare
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wempty-body" >&5
5791 $as_echo_n "checking whether ${CC} accepts -Wempty-body... " >&6; }
5793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5794 /* end confdefs.h. */
5804 if ac_fn_c_try_compile
"$LINENO"; then :
5805 aros_empty_body
="yes"
5807 aros_empty_body
="no"
5809 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_empty_body" >&5
5811 $as_echo "$aros_empty_body" >&6; }
5812 if test "x-$aros_empty_body" = "x-yes" ; then
5813 aros_warnflags_empty_body
=-Wempty-body
5814 aros_nowarnflags_empty_body
=-Wno-empty-body
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-overflow" >&5
5818 $as_echo_n "checking whether ${CC} accepts -Wformat-overflow... " >&6; }
5819 CFLAGS
=-Wformat-overflow
5820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5821 /* end confdefs.h. */
5831 if ac_fn_c_try_compile
"$LINENO"; then :
5832 aros_format_overflow
="yes"
5834 aros_format_overflow
="no"
5836 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_overflow" >&5
5838 $as_echo "$aros_format_overflow" >&6; }
5839 if test "x-$aros_format_overflow" = "x-yes" ; then
5840 aros_warnflags_format_overflow
=-Wformat-overflow
5841 aros_nowarnflags_format_overflow
=-Wno-format-overflow
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstringop-overflow" >&5
5845 $as_echo_n "checking whether ${CC} accepts -Wstringop-overflow... " >&6; }
5846 CFLAGS
=-Wstringop-overflow
5847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5848 /* end confdefs.h. */
5858 if ac_fn_c_try_compile
"$LINENO"; then :
5859 aros_stringop_overflow
="yes"
5861 aros_stringop_overflow
="no"
5863 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_stringop_overflow" >&5
5865 $as_echo "$aros_stringop_overflow" >&6; }
5866 if test "x-$aros_stringop_overflow" = "x-yes" ; then
5867 aros_warnflags_stringop_overflow
=-Wstringop-overflow
5868 aros_nowarnflags_stringop_overflow
=-Wno-stringop-overflow
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-truncation" >&5
5872 $as_echo_n "checking whether ${CC} accepts -Wformat-truncation... " >&6; }
5873 CFLAGS
=-Wformat-truncation
5874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5875 /* end confdefs.h. */
5885 if ac_fn_c_try_compile
"$LINENO"; then :
5886 aros_format_truncation
="yes"
5888 aros_format_truncation
="no"
5890 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_truncation" >&5
5892 $as_echo "$aros_format_truncation" >&6; }
5893 if test "x-$aros_format_truncation" = "x-yes" ; then
5894 aros_warnflags_format_truncation
=-Wformat-truncation
5895 aros_nowarnflags_format_truncation
=-Wno-format-truncation
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstringop-truncation" >&5
5899 $as_echo_n "checking whether ${CC} accepts -Wstringop-truncation... " >&6; }
5900 CFLAGS
=-Wstringop-truncation
5901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5902 /* end confdefs.h. */
5912 if ac_fn_c_try_compile
"$LINENO"; then :
5913 aros_stringop_truncation
="yes"
5915 aros_stringop_truncation
="no"
5917 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_stringop_truncation" >&5
5919 $as_echo "$aros_stringop_truncation" >&6; }
5920 if test "x-$aros_stringop_truncation" = "x-yes" ; then
5921 aros_warnflags_stringop_truncation
=-Wstringop-truncation
5922 aros_nowarnflags_stringop_truncation
=-Wno-stringop-truncation
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-negative-value" >&5
5926 $as_echo_n "checking whether ${CC} accepts -Wshift-negative-value... " >&6; }
5927 CFLAGS
=-Wshift-negative-value
5928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5929 /* end confdefs.h. */
5939 if ac_fn_c_try_compile
"$LINENO"; then :
5940 aros_shift_negative_value
="yes"
5942 aros_shift_negative_value
="no"
5944 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_negative_value" >&5
5946 $as_echo "$aros_shift_negative_value" >&6; }
5947 if test "x-$aros_shift_negative_value" = "x-yes" ; then
5948 aros_warnflags_shift_negative_value
=-Wshift-negative-value
5949 aros_nowarnflags_shift_negative_value
=-Wno-shift-negative-value
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-field-initializers" >&5
5953 $as_echo_n "checking whether ${CC} accepts -Wmissing-field-initializers... " >&6; }
5954 CFLAGS
=-Wmissing-field-initializers
5955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5956 /* end confdefs.h. */
5966 if ac_fn_c_try_compile
"$LINENO"; then :
5967 aros_missing_field_initializers
="yes"
5969 aros_missing_field_initializers
="no"
5971 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_field_initializers" >&5
5973 $as_echo "$aros_missing_field_initializers" >&6; }
5974 if test "x-$aros_missing_field_initializers" = "x-yes" ; then
5975 aros_warnflags_missing_field_initializers
=-Wmissing-field-initializers
5976 aros_nowarnflags_missing_field_initializers
=-Wno-missing-field-initializers
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-fallthrough" >&5
5980 $as_echo_n "checking whether ${CC} accepts -Wimplicit-fallthrough... " >&6; }
5981 CFLAGS
=-Wimplicit-fallthrough
5982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5983 /* end confdefs.h. */
5993 if ac_fn_c_try_compile
"$LINENO"; then :
5994 aros_implicit_fallthrough
="yes"
5996 aros_implicit_fallthrough
="no"
5998 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_fallthrough" >&5
6000 $as_echo "$aros_implicit_fallthrough" >&6; }
6001 if test "x-$aros_implicit_fallthrough" = "x-yes" ; then
6002 aros_warnflags_implicit_fallthrough
=-Wimplicit-fallthrough
6003 aros_nowarnflags_implicit_fallthrough
=-Wno-implicit-fallthrough
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-prototypes" >&5
6007 $as_echo_n "checking whether ${CC} accepts -Wmissing-prototypes... " >&6; }
6008 CFLAGS
=-Wmissing-prototypes
6009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6010 /* end confdefs.h. */
6020 if ac_fn_c_try_compile
"$LINENO"; then :
6021 aros_missing_prototypes
="yes"
6023 aros_missing_prototypes
="no"
6025 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_prototypes" >&5
6027 $as_echo "$aros_missing_prototypes" >&6; }
6028 if test "x-$aros_missing_prototypes" = "x-yes" ; then
6029 aros_warnflags_missing_prototypes
=-Wmissing-prototypes
6030 aros_nowarnflags_missing_prototypes
=-Wno-missing-prototypes
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wclass-memaccess" >&5
6034 $as_echo_n "checking whether ${CC} accepts -Wclass-memaccess... " >&6; }
6035 CFLAGS
=-Wclass-memaccess
6036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6037 /* end confdefs.h. */
6047 if ac_fn_c_try_compile
"$LINENO"; then :
6048 aros_class_memaccess
="yes"
6050 aros_class_memaccess
="no"
6052 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_class_memaccess" >&5
6054 $as_echo "$aros_class_memaccess" >&6; }
6055 if test "x-$aros_class_memaccess" = "x-yes" ; then
6056 aros_warnflags_class_memaccess
=-Wclass-memaccess
6057 aros_nowarnflags_class_memaccess
=-Wno-class-memaccess
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-in-bool-context" >&5
6061 $as_echo_n "checking whether ${CC} accepts -Wint-in-bool-context... " >&6; }
6062 CFLAGS
=-Wint-in-bool-context
6063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6064 /* end confdefs.h. */
6074 if ac_fn_c_try_compile
"$LINENO"; then :
6075 aros_int_in_bool_context
="yes"
6077 aros_int_in_bool_context
="no"
6079 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_in_bool_context" >&5
6081 $as_echo "$aros_int_in_bool_context" >&6; }
6082 if test "x-$aros_int_in_bool_context" = "x-yes" ; then
6083 aros_warnflags_int_in_bool_context
=-Wint-in-bool-context
6084 aros_nowarnflags_int_in_bool_context
=-Wno-int-in-bool-context
6086 CFLAGS
="$save_cflags"
6088 # Check the C++ warnings
6090 ac_cpp
='$CXXCPP $CPPFLAGS'
6091 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6092 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6093 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6095 save_cxxflags
="$CXXFLAGS"
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} accepts -Wconversion-null" >&5
6098 $as_echo_n "checking whether ${CXX} accepts -Wconversion-null... " >&6; }
6099 CXXFLAGS
=-Wconversion-null
6100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6101 /* end confdefs.h. */
6111 if ac_fn_cxx_try_compile
"$LINENO"; then :
6112 aros_conversion_null
="yes"
6114 aros_conversion_null
="no"
6116 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
6118 $as_echo "$aros_conversion_null" >&6; }
6119 if test "x-$aros_conversion_null" = "x-yes" ; then
6120 aros_warnflags_conversion_null
=-Wconversion-null
6121 aros_nowarnflags_conversion_null
=-Wno-conversion-null
6124 CXXFLAGS
="$save_cxxflags"
6127 ac_cpp
='$CPP $CPPFLAGS'
6128 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6129 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6130 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6133 #########################################################
6135 # Now check what we need to use with the toolchain
6137 cat >$AROS_DEVELOPER/include
/__testsincdir.h
<<_ACEOF
6138 /* Copyright (c) The AROS Dev Team */
6139 #define _TESTINCFOUND
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need to use --sysroot" >&5
6143 $as_echo_n "checking if we need to use --sysroot... " >&6; }
6144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6145 /* end confdefs.h. */
6147 #include <__testsincdir.h>
6148 #ifndef _TESTINCFOUND
6149 error: Couldnt find include!
6160 if ac_fn_c_try_compile
"$LINENO"; then :
6161 toolchain_needs_sysroot
=no
6163 toolchain_needs_sysroot
=yes
6165 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolchain_needs_sysroot" >&5
6167 $as_echo "$toolchain_needs_sysroot" >&6; }
6169 if test "$toolchain_needs_sysroot" = "yes" ; then
6170 aros_toolchain_sysroot
="--sysroot $""(AROS_DEVELOPER)"
6173 #AC_MSG_CHECKING([if we need to use --isysroot])
6174 #AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
6176 # (#include <__testsincdir.h>
6177 # #ifndef _TESTINCFOUND
6178 # error: Couldnt find include!
6181 # [toolchain_needs_isysroot=no],
6182 # [toolchain_needs_isysroot=yes])
6183 #AC_MSG_RESULT($toolchain_needs_isysroot)
6185 #if test "$toolchain_needs_isysroot" = "yes" ; then
6186 # aros_toolchain_isysroot="-isysroot $""(AROS_SDK)"
6187 # aros_toolchain_iarchdir="-I $""(AROS_SDK)/$""(AROS_TARGET_CPU)-aros/include"
6189 rm -f $AROS_DEVELOPER/include
/__testsincdir.h
6192 # export the feature flags...
6256 # export the feature options...
6264 # ...and warning flags...
6412 # Additional toolchain support ...
6415 ac_config_files
="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in"
6418 cat >confcache
<<\_ACEOF
6419 # This file is a shell script that caches the results of configure
6420 # tests run on this system so they can be shared between configure
6421 # scripts and configure runs, see configure's option --config-cache.
6422 # It is not useful on other systems. If it contains results you don't
6423 # want to keep, you may remove or edit it.
6425 # config.status only pays attention to the cache file if you give it
6426 # the --recheck option to rerun configure.
6428 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6429 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6434 # The following way of writing the cache mishandles newlines in values,
6435 # but we know of no workaround that is simple, portable, and efficient.
6436 # So, we kill variables containing newlines.
6437 # Ultrix sh set writes to stderr and can't be redirected directly,
6438 # and sets the high bit in the cache file unless we assign to the vars.
6440 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6441 eval ac_val
=\$
$ac_var
6445 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6446 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6449 _ | IFS | as_nl
) ;; #(
6450 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
6451 *) { eval $ac_var=; unset $ac_var;} ;;
6457 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6458 *${as_nl}ac_space
=\
*)
6459 # `set' does not quote correctly, so add quotes: double-quote
6460 # substitution turns \\\\ into \\, and sed turns \\ into \.
6463 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6466 # `set' quotes correctly as required by POSIX, so do not add quotes.
6467 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6476 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6478 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6480 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
6481 if test -w "$cache_file"; then
6482 if test "x$cache_file" != "x/dev/null"; then
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6484 $as_echo "$as_me: updating cache $cache_file" >&6;}
6485 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
6486 cat confcache
>"$cache_file"
6488 case $cache_file in #(
6490 mv -f confcache
"$cache_file"$$
&&
6491 mv -f "$cache_file"$$
"$cache_file" ;; #(
6493 mv -f confcache
"$cache_file" ;;
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6499 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6504 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6505 # Let make expand exec_prefix.
6506 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6508 # Transform confdefs.h into DEFS.
6509 # Protect against shell expansion while executing Makefile rules.
6510 # Protect against Makefile macro expansion.
6512 # If the first sed substitution is executed (which looks for macros that
6513 # take arguments), then branch to the quote section. Otherwise,
6514 # look for a macro that doesn't take arguments.
6524 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
6526 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
6530 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
6543 DEFS
=`sed -n "$ac_script" confdefs.h`
6549 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6550 # 1. Remove the extension, and $U if already installed.
6551 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
6552 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
6553 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6554 # will be set to the directory where LIBOBJS objects are built.
6555 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6556 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
6560 LTLIBOBJS
=$ac_ltlibobjs
6564 : "${CONFIG_STATUS=./config.status}"
6566 ac_clean_files_save
=$ac_clean_files
6567 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6569 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6571 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6573 # Generated by $as_me.
6574 # Run this file to recreate the current configuration.
6575 # Compiler output produced by configure, useful for debugging
6576 # configure, is in config.log if it exists.
6582 SHELL=\${CONFIG_SHELL-$SHELL}
6585 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
6586 ## -------------------- ##
6587 ## M4sh Initialization. ##
6588 ## -------------------- ##
6590 # Be more Bourne compatible
6591 DUALCASE
=1; export DUALCASE
# for MKS sh
6592 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
6595 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6596 # is contrary to our usage. Disable this feature.
6597 alias -g '${1+"$@"}'='"$@"'
6598 setopt NO_GLOB_SUBST
6600 case `(set -o) 2>/dev/null` in #(
6612 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6613 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6614 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6615 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6616 # Prefer a ksh shell builtin over an external printf program on Solaris,
6617 # but without wasting forks for bash or zsh.
6618 if test -z "$BASH_VERSION$ZSH_VERSION" \
6619 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6620 as_echo='print
-r --'
6621 as_echo_n='print
-rn --'
6622 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6623 as_echo='printf %s
\n'
6624 as_echo_n='printf %s
'
6626 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6627 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
6628 as_echo_n='/usr
/ucb
/echo -n'
6630 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6631 as_echo_n_body='eval
6635 expr "X$arg" : "X\\(.*\\)$as_nl";
6636 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6638 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
6640 export as_echo_n_body
6641 as_echo_n='sh
-c $as_echo_n_body as_echo
'
6644 as_echo='sh
-c $as_echo_body as_echo
'
6647 # The user is always right.
6648 if test "${PATH_SEPARATOR+set}" != set; then
6650 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6651 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6658 # We need space, tab and new line, in precisely that order. Quoting is
6659 # there to prevent editors from complaining about space-tab.
6660 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6661 # splitting by setting IFS to empty value.)
6664 # Find who we are. Look in the path if we contain no directory separator.
6667 *[\\/]* ) as_myself=$0 ;;
6668 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6672 test -z "$as_dir" && as_dir=.
6673 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6679 # We did not find ourselves, most probably we were run as `sh COMMAND'
6680 # in which case we are not to be found in the path.
6681 if test "x$as_myself" = x
; then
6684 if test ! -f "$as_myself"; then
6685 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6689 # Unset variables that we do not need and which cause bugs (e.g. in
6690 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6691 # suppresses any "Segmentation fault" message there. '((' could
6692 # trigger a bug in pdksh 5.2.14.
6693 for as_var
in BASH_ENV ENV MAIL MAILPATH
6694 do eval test x\
${$as_var+set} = xset \
6695 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
6708 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
6711 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6712 # ----------------------------------------
6713 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6714 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6715 # script with STATUS, using 1 if that was 0.
6718 as_status
=$1; test $as_status -eq 0 && as_status
=1
6720 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
6721 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6723 $as_echo "$as_me: error: $2" >&2
6724 as_fn_exit
$as_status
6728 # as_fn_set_status STATUS
6729 # -----------------------
6730 # Set $? to STATUS, without forking.
6734 } # as_fn_set_status
6738 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6748 # Portably unset VAR.
6751 { eval $1=; unset $1;}
6753 as_unset
=as_fn_unset
6754 # as_fn_append VAR VALUE
6755 # ----------------------
6756 # Append the text in VALUE to the end of the definition contained in VAR. Take
6757 # advantage of any shell optimizations that allow amortized linear growth over
6758 # repeated appends, instead of the typical quadratic growth present in naive
6760 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
6761 eval 'as_fn_append ()
6772 # as_fn_arith ARG...
6773 # ------------------
6774 # Perform arithmetic evaluation on the ARGs, and store the result in the
6775 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6776 # must be portable across $(()) and expr.
6777 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
6778 eval 'as_fn_arith ()
6785 as_val
=`expr "$@" || test $? -eq 1`
6790 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
6791 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6797 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6798 as_basename
=basename
6803 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
6809 as_me
=`$as_basename -- "$0" ||
6810 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6811 X"$0" : 'X\(//\)$' \| \
6812 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6814 sed '/^.*\/\([^/][^/]*\)\/*$/{
6828 # Avoid depending upon Character Ranges.
6829 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6830 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6831 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6832 as_cr_digits
='0123456789'
6833 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6835 ECHO_C
= ECHO_N
= ECHO_T
=
6836 case `echo -n x` in #(((((
6838 case `echo 'xy\c'` in
6839 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
6841 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
6848 rm -f conf$$ conf$$.exe conf$$.
file
6849 if test -d conf$$.dir
; then
6850 rm -f conf$$.dir
/conf$$.
file
6853 mkdir conf$$.dir
2>/dev
/null
6855 if (echo >conf$$.
file) 2>/dev
/null
; then
6856 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6858 # ... but there are two gotchas:
6859 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6860 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6861 # In both cases, we have to default to `cp -pR'.
6862 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
6864 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6872 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
6873 rmdir conf$$.dir
2>/dev
/null
6878 # Create "$as_dir" as a directory, including parents if necessary.
6883 -*) as_dir
=.
/$as_dir;;
6885 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
6889 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6890 *) as_qdir
=$as_dir;;
6892 as_dirs
="'$as_qdir' $as_dirs"
6893 as_dir
=`$as_dirname -- "$as_dir" ||
6894 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6895 X"$as_dir" : 'X\(//\)[^/]' \| \
6896 X"$as_dir" : 'X\(//\)$' \| \
6897 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6898 $as_echo X"$as_dir" |
6899 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6916 test -d "$as_dir" && break
6918 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
6919 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
6923 if mkdir
-p .
2>/dev
/null
; then
6924 as_mkdir_p
='mkdir -p "$as_dir"'
6926 test -d .
/-p && rmdir .
/-p
6931 # as_fn_executable_p FILE
6932 # -----------------------
6933 # Test if FILE is an executable regular file.
6934 as_fn_executable_p
()
6936 test -f "$1" && test -x "$1"
6937 } # as_fn_executable_p
6939 as_executable_p
=as_fn_executable_p
6941 # Sed expression to map a string onto a valid CPP name.
6942 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6944 # Sed expression to map a string onto a valid variable name.
6945 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6949 ## ----------------------------------- ##
6950 ## Main body of $CONFIG_STATUS script. ##
6951 ## ----------------------------------- ##
6953 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
6955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6956 # Save the log message, to keep $0 and so on meaningful, and to
6957 # report actual input values of CONFIG_FILES etc. instead of their
6958 # values after options handling.
6960 This file was extended by $as_me, which was
6961 generated by GNU Autoconf 2.69. Invocation command line was
6963 CONFIG_FILES = $CONFIG_FILES
6964 CONFIG_HEADERS = $CONFIG_HEADERS
6965 CONFIG_LINKS = $CONFIG_LINKS
6966 CONFIG_COMMANDS = $CONFIG_COMMANDS
6969 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6974 case $ac_config_files in *"
6975 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
6980 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6981 # Files that config.status was made for.
6982 config_files="$ac_config_files"
6986 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6988 \`$as_me' instantiates files and other configuration actions
6989 from templates according to the current configuration. Unless the files
6990 and actions are specified as TAGs, all are instantiated by default.
6992 Usage: $0 [OPTION]... [TAG]...
6994 -h, --help print this help, then exit
6995 -V, --version print version number and configuration settings, then exit
6996 --config print configuration, then exit
6997 -q, --quiet, --silent
6998 do not print progress messages
6999 -d, --debug don't remove temporary files
7000 --recheck update $as_me by reconfiguring in the same conditions
7001 --file=FILE[:TEMPLATE]
7002 instantiate the configuration file FILE
7004 Configuration files:
7007 Report bugs to the package provider."
7010 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7011 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7014 configured by $0, generated by GNU Autoconf 2.69,
7015 with options \\"\$ac_cs_config\\"
7017 Copyright (C) 2012 Free Software Foundation, Inc.
7018 This config.status script is free software; the Free Software Foundation
7019 gives unlimited permission to copy, distribute and modify it."
7023 test -n "\$AWK" || AWK=awk
7026 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7027 # The default lists apply if the user does not specify any file.
7033 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7034 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7038 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7050 # Handling of the options.
7051 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7053 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7054 $as_echo "$ac_cs_version"; exit ;;
7055 --config |
--confi |
--conf |
--con |
--co |
--c )
7056 $as_echo "$ac_cs_config"; exit ;;
7057 --debug |
--debu |
--deb |
--de |
--d |
-d )
7059 --file |
--fil |
--fi |
--f )
7062 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7063 '') as_fn_error $?
"missing file argument" ;;
7065 as_fn_append CONFIG_FILES
" '$ac_optarg'"
7066 ac_need_defaults
=false
;;
7067 --he |
--h |
--help |
--hel |
-h )
7068 $as_echo "$ac_cs_usage"; exit ;;
7069 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7070 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7074 -*) as_fn_error $?
"unrecognized option: \`$1'
7075 Try \`$0 --help' for more information." ;;
7077 *) as_fn_append ac_config_targets
" $1"
7078 ac_need_defaults
=false
;;
7084 ac_configure_extra_args
=
7086 if $ac_cs_silent; then
7088 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7092 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7093 if \$ac_cs_recheck; then
7094 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7096 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7097 CONFIG_SHELL='$SHELL'
7103 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7107 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7108 ## Running $as_me. ##
7114 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7117 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7119 # Handling of arguments.
7120 for ac_config_target
in $ac_config_targets
7122 case $ac_config_target in
7123 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in" ;;
7125 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7130 # If the user did not use the arguments to specify the items to instantiate,
7131 # then the envvar interface is used. Set only those that are not.
7132 # We use the long form for the default assignment because of an extremely
7133 # bizarre bug on SunOS 4.1.3.
7134 if $ac_need_defaults; then
7135 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7138 # Have a temporary directory for convenience. Make it in the build tree
7139 # simply because there is no reason against having it here, and in addition,
7140 # creating and moving files from /tmp can sometimes cause problems.
7141 # Hook for its removal unless debugging.
7142 # Note that there is a small window in which the directory will not be cleaned:
7143 # after its creation but before its name has been assigned to `$tmp'.
7147 trap 'exit_status=$?
7149 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7151 trap 'as_fn_exit 1' 1 2 13 15
7153 # Create a (secure) tmp directory for tmp files.
7156 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7160 tmp
=.
/conf$$
-$RANDOM
7161 (umask 077 && mkdir
"$tmp")
7162 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
7165 # Set up the scripts for CONFIG_FILES section.
7166 # No need to generate them if there are no CONFIG_FILES.
7167 # This happens for instance with `./config.status config.h'.
7168 if test -n "$CONFIG_FILES"; then
7171 ac_cr
=`echo X | tr X '\015'`
7172 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7173 # But we know of no other shell where ac_cr would be empty at this
7174 # point, so we can use a bashism as a fallback.
7175 if test "x$ac_cr" = x
; then
7176 eval ac_cr
=\$
\'\\r
\'
7178 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7179 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7185 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7190 echo "cat >conf$$subs.awk <<_ACEOF" &&
7191 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7194 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7195 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7197 for ac_last_try in false false false false false :; do
7198 . ./conf$$subs.sh ||
7199 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7201 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
7202 if test $ac_delim_n = $ac_delim_num; then
7204 elif $ac_last_try; then
7205 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7207 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7212 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7213 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
7217 s/^/S["/; s
/!.
*/"]=/
7227 s/\(.\{148\}\)..*/\1/
7229 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
7234 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7241 s/\(.\{148\}\)..*/\1/
7243 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
7247 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7252 ' <conf$$subs.awk | sed '
7257 ' >>$CONFIG_STATUS || ac_write_fail=1
7258 rm -f conf$$subs.awk
7259 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7261 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
7262 for (key in S) S_is_set[key] = 1
7268 nfields = split(line, field, "@
")
7270 len = length(field[1])
7271 for (i = 2; i < nfields; i++) {
7273 keylen = length(key)
7274 if (S_is_set[key]) {
7276 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7277 len += length(value) + length(field[++i])
7288 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7289 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7290 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
7293 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
7294 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
7297 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7298 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
7299 # trailing colons and then remove the whole line if VPATH becomes empty
7300 # (actually we leave an empty line to preserve line numbers).
7301 if test "x
$srcdir" = x.; then
7302 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7320 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7321 fi # test -n "$CONFIG_FILES"
7324 eval set X " :F
$CONFIG_FILES "
7329 :[FHLC]) ac_mode=$ac_tag; continue;;
7331 case $ac_mode$ac_tag in
7333 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
7334 :[FH]-) ac_tag=-:-;;
7335 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7352 -) ac_f="$ac_tmp/stdin";;
7353 *) # Look for the file first in the build tree, then in the source tree
7354 # (if the path is not absolute). The absolute path cannot be DOS-style,
7355 # because $ac_f cannot contain `:'.
7359 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7361 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7363 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
7364 as_fn_append ac_file_inputs " '$ac_f'"
7367 # Let's still pretend it is `configure' which instantiates (i.e., don't
7368 # use $as_me), people would be surprised to read:
7369 # /* config.h. Generated by config.status. */
7370 configure_input='Generated from '`
7371 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7373 if test x"$ac_file" != x-; then
7374 configure_input="$ac_file.
$configure_input"
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
7376 $as_echo "$as_me: creating
$ac_file" >&6;}
7378 # Neutralize special characters interpreted by sed in replacement strings.
7379 case $configure_input in #(
7380 *\&* | *\|* | *\\* )
7381 ac_sed_conf_input=`$as_echo "$configure_input" |
7382 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7383 *) ac_sed_conf_input=$configure_input;;
7387 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
7388 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
7393 ac_dir=`$as_dirname -- "$ac_file" ||
7394 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7395 X"$ac_file" : 'X\(//\)[^/]' \| \
7396 X"$ac_file" : 'X\(//\)$' \| \
7397 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7398 $as_echo X"$ac_file" |
7399 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7416 as_dir="$ac_dir"; as_fn_mkdir_p
7420 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7422 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7423 # A "..
" for each directory in $ac_dir_suffix.
7424 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7425 case $ac_top_builddir_sub in
7426 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7427 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7430 ac_abs_top_builddir=$ac_pwd
7431 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7432 # for backward compatibility:
7433 ac_top_builddir=$ac_top_build_prefix
7436 .) # We are building in place.
7438 ac_top_srcdir=$ac_top_builddir_sub
7439 ac_abs_top_srcdir=$ac_pwd ;;
7440 [\\/]* | ?:[\\/]* ) # Absolute name.
7441 ac_srcdir=$srcdir$ac_dir_suffix;
7442 ac_top_srcdir=$srcdir
7443 ac_abs_top_srcdir=$srcdir ;;
7445 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7446 ac_top_srcdir=$ac_top_build_prefix$srcdir
7447 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7449 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7460 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7461 # If the template does not know about datarootdir, expand it.
7462 # FIXME: This hack should be removed a few years after 2.60.
7463 ac_datarootdir_hack=; ac_datarootdir_seen=
7474 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
7475 *datarootdir*) ac_datarootdir_seen=yes;;
7476 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
7478 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
7480 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7481 ac_datarootdir_hack='
7482 s&@datadir@&$datadir&g
7483 s&@docdir@&$docdir&g
7484 s&@infodir@&$infodir&g
7485 s&@localedir@&$localedir&g
7486 s&@mandir@&$mandir&g
7487 s&\\\${datarootdir}&$datarootdir&g' ;;
7491 # Neutralize VPATH when `$srcdir' = `.'.
7492 # Shell code in configure.ac might set extrasub.
7493 # FIXME: do we really want to maintain this feature?
7494 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7495 ac_sed_extra="$ac_vpsub
7498 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7500 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7501 s|@configure_input@|
$ac_sed_conf_input|
;t t
7502 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
7503 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
7504 s
&@srcdir@
&$ac_srcdir&;t t
7505 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
7506 s
&@top_srcdir@
&$ac_top_srcdir&;t t
7507 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
7508 s
&@builddir@
&$ac_builddir&;t t
7509 s
&@abs_builddir@
&$ac_abs_builddir&;t t
7510 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
7511 $ac_datarootdir_hack
7513 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
7514 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
7516 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7517 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
7518 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7519 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
7521 which seems to be undefined. Please make sure it is defined" >&5
7522 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
7523 which seems to be undefined. Please make sure it is defined" >&2;}
7525 rm -f "$ac_tmp/stdin"
7527 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7528 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7530 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7542 ac_clean_files=$ac_clean_files_save
7544 test $ac_write_fail = 0 ||
7545 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7548 # configure is writing to config.log, and then calls config.status.
7549 # config.status does its own redirection, appending to config.log.
7550 # Unfortunately, on DOS this fails, as config.log is still kept open
7551 # by configure, so config.status won't be able to
write to it
; its
7552 # output is simply discarded. So we exec the FD to /dev/null,
7553 # effectively closing config.log, so it can be properly (re)opened and
7554 # appended to by config.status. When coming back to configure, we
7555 # need to make the FD available again.
7556 if test "$no_create" != yes; then
7558 ac_config_status_args
=
7559 test "$silent" = yes &&
7560 ac_config_status_args
="$ac_config_status_args --quiet"
7562 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7564 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7565 # would make configure fail if this is the last instruction.
7566 $ac_cs_success || as_fn_exit
1
7568 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7570 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}