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_tree_vectorize
775 aros_cflags_no_trapping_math
776 aros_cflags_no_math_errno
777 aros_cflags_associative_math
778 aros_cflags_fast_math
781 aros_cxxflags_nopermissive
782 aros_cxxflags_permissive
783 aros_cflags_noexceptions
784 aros_cflags_exceptions
823 program_transform_name
836 enable_option_checking
839 ac_precious_vars
='build_alias
852 # Initialize some variables set by options.
854 ac_init_version
=false
855 ac_unrecognized_opts
=
857 # The variables have the same names as the options, with
858 # dashes changed to underlines.
866 program_transform_name
=s
,x
,x
,
874 # Installation directory options.
875 # These are left unexpanded so users can "make install exec_prefix=/foo"
876 # and all the variables that are supposed to be based on exec_prefix
877 # by default will actually change.
878 # Use braces instead of parens because sh, perl, etc. also accept them.
879 # (The list follows the same order as the GNU Coding Standards.)
880 bindir
='${exec_prefix}/bin'
881 sbindir
='${exec_prefix}/sbin'
882 libexecdir
='${exec_prefix}/libexec'
883 datarootdir
='${prefix}/share'
884 datadir
='${datarootdir}'
885 sysconfdir
='${prefix}/etc'
886 sharedstatedir
='${prefix}/com'
887 localstatedir
='${prefix}/var'
888 runstatedir
='${localstatedir}/run'
889 includedir
='${prefix}/include'
890 oldincludedir
='/usr/include'
891 docdir
='${datarootdir}/doc/${PACKAGE}'
892 infodir
='${datarootdir}/info'
897 libdir
='${exec_prefix}/lib'
898 localedir
='${datarootdir}/locale'
899 mandir
='${datarootdir}/man'
905 # If the previous option needs an argument, assign it.
906 if test -n "$ac_prev"; then
907 eval $ac_prev=\
$ac_option
913 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
918 # Accept the important Cygnus configure options, so we can diagnose typos.
920 case $ac_dashdash$ac_option in
924 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
926 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
929 -build |
--build |
--buil |
--bui |
--bu)
930 ac_prev
=build_alias
;;
931 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
932 build_alias
=$ac_optarg ;;
934 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
935 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
936 ac_prev
=cache_file
;;
937 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
938 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
939 cache_file
=$ac_optarg ;;
942 cache_file
=config.cache
;;
944 -datadir |
--datadir |
--datadi |
--datad)
946 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
947 datadir
=$ac_optarg ;;
949 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
950 |
--dataroo |
--dataro |
--datar)
951 ac_prev
=datarootdir
;;
952 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
953 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
954 datarootdir
=$ac_optarg ;;
956 -disable-* |
--disable-*)
957 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
958 # Reject names that are not valid shell variable names.
959 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
960 as_fn_error $?
"invalid feature name: $ac_useropt"
961 ac_useropt_orig
=$ac_useropt
962 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
963 case $ac_user_opts in
967 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
968 ac_unrecognized_sep
=', ';;
970 eval enable_
$ac_useropt=no
;;
972 -docdir |
--docdir |
--docdi |
--doc |
--do)
974 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
977 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
979 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
982 -enable-* |
--enable-*)
983 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
984 # Reject names that are not valid shell variable names.
985 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
986 as_fn_error $?
"invalid feature name: $ac_useropt"
987 ac_useropt_orig
=$ac_useropt
988 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
989 case $ac_user_opts in
993 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
994 ac_unrecognized_sep
=', ';;
996 eval enable_
$ac_useropt=\
$ac_optarg ;;
998 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
999 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1000 |
--exec |
--exe |
--ex)
1001 ac_prev
=exec_prefix
;;
1002 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1003 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1004 |
--exec=* |
--exe=* |
--ex=*)
1005 exec_prefix
=$ac_optarg ;;
1007 -gas |
--gas |
--ga |
--g)
1008 # Obsolete; use --with-gas.
1011 -help |
--help |
--hel |
--he |
-h)
1012 ac_init_help
=long
;;
1013 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1014 ac_init_help
=recursive
;;
1015 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1016 ac_init_help
=short
;;
1018 -host |
--host |
--hos |
--ho)
1019 ac_prev
=host_alias
;;
1020 -host=* |
--host=* |
--hos=* |
--ho=*)
1021 host_alias
=$ac_optarg ;;
1023 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1025 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1027 htmldir
=$ac_optarg ;;
1029 -includedir |
--includedir |
--includedi |
--included |
--include \
1030 |
--includ |
--inclu |
--incl |
--inc)
1031 ac_prev
=includedir
;;
1032 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1033 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1034 includedir
=$ac_optarg ;;
1036 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1038 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1039 infodir
=$ac_optarg ;;
1041 -libdir |
--libdir |
--libdi |
--libd)
1043 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1044 libdir
=$ac_optarg ;;
1046 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1047 |
--libexe |
--libex |
--libe)
1048 ac_prev
=libexecdir
;;
1049 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1050 |
--libexe=* |
--libex=* |
--libe=*)
1051 libexecdir
=$ac_optarg ;;
1053 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1054 ac_prev
=localedir
;;
1055 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1056 localedir
=$ac_optarg ;;
1058 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1059 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1060 ac_prev
=localstatedir
;;
1061 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1062 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1063 localstatedir
=$ac_optarg ;;
1065 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1067 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1068 mandir
=$ac_optarg ;;
1070 -nfp |
--nfp |
--nf)
1071 # Obsolete; use --without-fp.
1074 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1075 |
--no-cr |
--no-c |
-n)
1078 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1079 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1082 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1083 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1084 |
--oldin |
--oldi |
--old |
--ol |
--o)
1085 ac_prev
=oldincludedir
;;
1086 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1087 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1088 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1089 oldincludedir
=$ac_optarg ;;
1091 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1093 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1094 prefix
=$ac_optarg ;;
1096 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1097 |
--program-pre |
--program-pr |
--program-p)
1098 ac_prev
=program_prefix
;;
1099 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1100 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1101 program_prefix
=$ac_optarg ;;
1103 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1104 |
--program-suf |
--program-su |
--program-s)
1105 ac_prev
=program_suffix
;;
1106 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1107 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1108 program_suffix
=$ac_optarg ;;
1110 -program-transform-name |
--program-transform-name \
1111 |
--program-transform-nam |
--program-transform-na \
1112 |
--program-transform-n |
--program-transform- \
1113 |
--program-transform |
--program-transfor \
1114 |
--program-transfo |
--program-transf \
1115 |
--program-trans |
--program-tran \
1116 |
--progr-tra |
--program-tr |
--program-t)
1117 ac_prev
=program_transform_name
;;
1118 -program-transform-name=* |
--program-transform-name=* \
1119 |
--program-transform-nam=* |
--program-transform-na=* \
1120 |
--program-transform-n=* |
--program-transform-=* \
1121 |
--program-transform=* |
--program-transfor=* \
1122 |
--program-transfo=* |
--program-transf=* \
1123 |
--program-trans=* |
--program-tran=* \
1124 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1125 program_transform_name
=$ac_optarg ;;
1127 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1129 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1130 pdfdir
=$ac_optarg ;;
1132 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1134 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1137 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1138 |
-silent |
--silent |
--silen |
--sile |
--sil)
1141 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1142 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1143 |
--run |
--ru |
--r)
1144 ac_prev
=runstatedir
;;
1145 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1146 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1147 |
--run=* |
--ru=* |
--r=*)
1148 runstatedir
=$ac_optarg ;;
1150 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1152 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1154 sbindir
=$ac_optarg ;;
1156 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1157 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1158 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1160 ac_prev
=sharedstatedir
;;
1161 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1162 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1163 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1165 sharedstatedir
=$ac_optarg ;;
1167 -site |
--site |
--sit)
1169 -site=* |
--site=* |
--sit=*)
1172 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1174 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1175 srcdir
=$ac_optarg ;;
1177 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1178 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1179 ac_prev
=sysconfdir
;;
1180 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1181 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1182 sysconfdir
=$ac_optarg ;;
1184 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1185 ac_prev
=target_alias
;;
1186 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1187 target_alias
=$ac_optarg ;;
1189 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1192 -version |
--version |
--versio |
--versi |
--vers |
-V)
1193 ac_init_version
=: ;;
1196 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1197 # Reject names that are not valid shell variable names.
1198 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1199 as_fn_error $?
"invalid package name: $ac_useropt"
1200 ac_useropt_orig
=$ac_useropt
1201 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1202 case $ac_user_opts in
1206 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1207 ac_unrecognized_sep
=', ';;
1209 eval with_
$ac_useropt=\
$ac_optarg ;;
1211 -without-* |
--without-*)
1212 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1213 # Reject names that are not valid shell variable names.
1214 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1215 as_fn_error $?
"invalid package name: $ac_useropt"
1216 ac_useropt_orig
=$ac_useropt
1217 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1218 case $ac_user_opts in
1222 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1223 ac_unrecognized_sep
=', ';;
1225 eval with_
$ac_useropt=no
;;
1228 # Obsolete; use --with-x.
1231 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1232 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1233 ac_prev
=x_includes
;;
1234 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1235 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1236 x_includes
=$ac_optarg ;;
1238 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1239 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1240 ac_prev
=x_libraries
;;
1241 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1242 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1243 x_libraries
=$ac_optarg ;;
1245 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1246 Try \`$0 --help' for more information"
1250 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1251 # Reject names that are not valid shell variable names.
1252 case $ac_envvar in #(
1253 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1254 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1256 eval $ac_envvar=\
$ac_optarg
1257 export $ac_envvar ;;
1260 # FIXME: should be removed in autoconf 3.0.
1261 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1262 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1263 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1264 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1270 if test -n "$ac_prev"; then
1271 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1272 as_fn_error $?
"missing argument to $ac_option"
1275 if test -n "$ac_unrecognized_opts"; then
1276 case $enable_option_checking in
1278 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1279 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1283 # Check all directory arguments for consistency.
1284 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1285 datadir sysconfdir sharedstatedir localstatedir includedir \
1286 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1287 libdir localedir mandir runstatedir
1289 eval ac_val
=\$
$ac_var
1290 # Remove trailing slashes.
1293 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1294 eval $ac_var=\
$ac_val;;
1296 # Be sure to have absolute directory names.
1298 [\\/$
]* | ?
:[\\/]* ) continue;;
1299 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1301 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1304 # There might be people who depend on the old broken behavior: `$host'
1305 # used to hold the argument of --host etc.
1306 # FIXME: To remove some day.
1309 target
=$target_alias
1311 # FIXME: To remove some day.
1312 if test "x$host_alias" != x
; then
1313 if test "x$build_alias" = x
; then
1314 cross_compiling
=maybe
1315 elif test "x$build_alias" != "x$host_alias"; then
1321 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1323 test "$silent" = yes && exec 6>/dev
/null
1326 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1327 ac_ls_di
=`ls -di .` &&
1328 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1329 as_fn_error $?
"working directory cannot be determined"
1330 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1331 as_fn_error $?
"pwd does not report name of working directory"
1334 # Find the source files, if location was not specified.
1335 if test -z "$srcdir"; then
1336 ac_srcdir_defaulted
=yes
1337 # Try the directory containing this script, then the parent directory.
1338 ac_confdir
=`$as_dirname -- "$as_myself" ||
1339 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1340 X"$as_myself" : 'X\(//\)[^/]' \| \
1341 X"$as_myself" : 'X\(//\)$' \| \
1342 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1343 $as_echo X"$as_myself" |
1344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1362 if test ! -r "$srcdir/$ac_unique_file"; then
1366 ac_srcdir_defaulted
=no
1368 if test ! -r "$srcdir/$ac_unique_file"; then
1369 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1370 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1372 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1374 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1376 # When building in place, set srcdir=.
1377 if test "$ac_abs_confdir" = "$ac_pwd"; then
1380 # Remove unnecessary trailing slashes from srcdir.
1381 # Double slashes in file names in object file debugging info
1382 # mess up M-x gdb in Emacs.
1384 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1386 for ac_var
in $ac_precious_vars; do
1387 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1388 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1389 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1390 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1394 # Report the --help message.
1396 if test "$ac_init_help" = "long"; then
1397 # Omit some internal or obsolete options to make the list less imposing.
1398 # This message is too long to be a string in the A/UX 3.1 sh.
1400 \`configure' configures this package to adapt to many kinds of systems.
1402 Usage: $0 [OPTION]... [VAR=VALUE]...
1404 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1405 VAR=VALUE. See below for descriptions of some of the useful variables.
1407 Defaults for the options are specified in brackets.
1410 -h, --help display this help and exit
1411 --help=short display options specific to this package
1412 --help=recursive display the short help of all the included packages
1413 -V, --version display version information and exit
1414 -q, --quiet, --silent do not print \`checking ...' messages
1415 --cache-file=FILE cache test results in FILE [disabled]
1416 -C, --config-cache alias for \`--cache-file=config.cache'
1417 -n, --no-create do not create output files
1418 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1420 Installation directories:
1421 --prefix=PREFIX install architecture-independent files in PREFIX
1422 [$ac_default_prefix]
1423 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1426 By default, \`make install' will install all the files in
1427 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1428 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1429 for instance \`--prefix=\$HOME'.
1431 For better control, use the options below.
1433 Fine tuning of the installation directories:
1434 --bindir=DIR user executables [EPREFIX/bin]
1435 --sbindir=DIR system admin executables [EPREFIX/sbin]
1436 --libexecdir=DIR program executables [EPREFIX/libexec]
1437 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1438 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1439 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1440 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1441 --libdir=DIR object code libraries [EPREFIX/lib]
1442 --includedir=DIR C header files [PREFIX/include]
1443 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1444 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1445 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1446 --infodir=DIR info documentation [DATAROOTDIR/info]
1447 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1448 --mandir=DIR man documentation [DATAROOTDIR/man]
1449 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1450 --htmldir=DIR html documentation [DOCDIR]
1451 --dvidir=DIR dvi documentation [DOCDIR]
1452 --pdfdir=DIR pdf documentation [DOCDIR]
1453 --psdir=DIR ps documentation [DOCDIR]
1460 if test -n "$ac_init_help"; then
1465 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1466 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1467 --with-config-dir=VERSION
1468 Location of generated target config files
1470 Some influential environment variables
:
1471 CC C compiler
command
1472 CFLAGS C compiler flags
1473 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1474 nonstandard directory
<lib dir
>
1475 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1476 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1477 you have headers
in a nonstandard directory
<include dir
>
1478 CXX C
++ compiler
command
1479 CXXFLAGS C
++ compiler flags
1481 Use these variables to override the choices made by
`configure' or to help
1482 it to find libraries and programs with nonstandard names/locations.
1484 Report bugs to the package provider.
1489 if test "$ac_init_help" = "recursive"; then
1490 # If there are subdirs, report their specific --help.
1491 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1492 test -d "$ac_dir" ||
1493 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1498 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1500 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1501 # A ".." for each directory in $ac_dir_suffix.
1502 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1503 case $ac_top_builddir_sub in
1504 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1505 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1508 ac_abs_top_builddir=$ac_pwd
1509 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1510 # for backward compatibility:
1511 ac_top_builddir=$ac_top_build_prefix
1514 .) # We are building in place.
1516 ac_top_srcdir=$ac_top_builddir_sub
1517 ac_abs_top_srcdir=$ac_pwd ;;
1518 [\\/]* | ?:[\\/]* ) # Absolute name.
1519 ac_srcdir=$srcdir$ac_dir_suffix;
1520 ac_top_srcdir=$srcdir
1521 ac_abs_top_srcdir=$srcdir ;;
1523 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1524 ac_top_srcdir=$ac_top_build_prefix$srcdir
1525 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1527 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1529 cd "$ac_dir" || { ac_status=$?; continue; }
1530 # Check for guested configure.
1531 if test -f "$ac_srcdir/configure.gnu"; then
1533 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1534 elif test -f "$ac_srcdir/configure"; then
1536 $SHELL "$ac_srcdir/configure" --help=recursive
1538 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1540 cd "$ac_pwd" || { ac_status=$?; break; }
1544 test -n "$ac_init_help" && exit $ac_status
1545 if $ac_init_version; then
1548 generated by GNU Autoconf 2.69
1550 Copyright (C) 2012 Free Software Foundation, Inc.
1551 This configure script is free software; the Free Software Foundation
1552 gives unlimited permission to copy, distribute and modify it.
1557 ## ------------------------ ##
1558 ## Autoconf initialization. ##
1559 ## ------------------------ ##
1561 # ac_fn_c_try_compile LINENO
1562 # --------------------------
1563 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1564 ac_fn_c_try_compile ()
1566 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1567 rm -f conftest.$ac_objext
1568 if { { ac_try="$ac_compile"
1570 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1571 *) ac_try_echo
=$ac_try;;
1573 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1574 $as_echo "$ac_try_echo"; } >&5
1575 (eval "$ac_compile") 2>conftest.err
1577 if test -s conftest.err
; then
1578 grep -v '^ *+' conftest.err
>conftest.er1
1579 cat conftest.er1
>&5
1580 mv -f conftest.er1 conftest.err
1582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1583 test $ac_status = 0; } && {
1584 test -z "$ac_c_werror_flag" ||
1585 test ! -s conftest.err
1586 } && test -s conftest.
$ac_objext; then :
1589 $as_echo "$as_me: failed program was:" >&5
1590 sed 's/^/| /' conftest.
$ac_ext >&5
1594 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1595 as_fn_set_status
$ac_retval
1597 } # ac_fn_c_try_compile
1599 # ac_fn_cxx_try_compile LINENO
1600 # ----------------------------
1601 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1602 ac_fn_cxx_try_compile
()
1604 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1605 rm -f conftest.
$ac_objext
1606 if { { ac_try
="$ac_compile"
1608 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1609 *) ac_try_echo=$ac_try;;
1611 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1612 $as_echo "$ac_try_echo"; } >&5
1613 (eval "$ac_compile") 2>conftest.err
1615 if test -s conftest.err; then
1616 grep -v '^ *+' conftest.err >conftest.er1
1617 cat conftest.er1 >&5
1618 mv -f conftest.er1 conftest.err
1620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1621 test $ac_status = 0; } && {
1622 test -z "$ac_cxx_werror_flag" ||
1623 test ! -s conftest.err
1624 } && test -s conftest.$ac_objext; then :
1627 $as_echo "$as_me: failed program was:" >&5
1628 sed 's/^/| /' conftest.$ac_ext >&5
1632 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1633 as_fn_set_status $ac_retval
1635 } # ac_fn_cxx_try_compile
1636 cat >config.log <<_ACEOF
1637 This file contains any messages produced by compilers while
1638 running configure, to aid debugging if configure makes a mistake.
1640 It was created by $as_me, which was
1641 generated by GNU Autoconf 2.69. Invocation command line was
1653 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1654 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1655 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1656 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1657 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1659 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1660 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1662 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1663 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1664 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1665 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1666 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1667 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1668 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1676 test -z "$as_dir" && as_dir=.
1677 $as_echo "PATH: $as_dir"
1693 # Keep a trace of the command line.
1694 # Strip out --no-create and --no-recursion so they do not pile up.
1695 # Strip out --silent because we don't want to record it for future runs.
1696 # Also quote any args containing shell meta-characters.
1697 # Make two passes to allow for proper duplicate-argument suppression.
1701 ac_must_keep_next=false
1707 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1708 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1709 | -silent | --silent | --silen | --sile | --sil)
1712 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1715 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1717 as_fn_append ac_configure_args1 " '$ac_arg'"
1718 if test $ac_must_keep_next = true; then
1719 ac_must_keep_next=false # Got value, back to normal.
1722 *=* | --config-cache | -C | -disable-* | --disable-* \
1723 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1724 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1725 | -with-* | --with-* | -without-* | --without-* | --x)
1726 case "$ac_configure_args0 " in
1727 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1730 -* ) ac_must_keep_next=true ;;
1733 as_fn_append ac_configure_args " '$ac_arg'"
1738 { ac_configure_args0=; unset ac_configure_args0;}
1739 { ac_configure_args1=; unset ac_configure_args1;}
1741 # When interrupted or exit'd, cleanup temporary files, and complete
1742 # config.log. We remove comments because anyway the quotes in there
1743 # would cause problems or look ugly.
1744 # WARNING: Use '\'' to represent an apostrophe within the trap.
1745 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1746 trap 'exit_status=$?
1747 # Save into config.log some information that might help in debugging.
1751 $as_echo "## ---------------- ##
1752 ## Cache variables. ##
1753 ## ---------------- ##"
1755 # The following way of writing the cache mishandles newlines in values,
1757 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1758 eval ac_val=\$$ac_var
1762 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1763 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1766 _ | IFS | as_nl) ;; #(
1767 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1768 *) { eval $ac_var=; unset $ac_var;} ;;
1773 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1774 *${as_nl}ac_space=\ *)
1776 "s/'\''/'\''\\\\'\'''\''/g;
1777 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1780 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1787 $as_echo "## ----------------- ##
1788 ## Output variables. ##
1789 ## ----------------- ##"
1791 for ac_var in $ac_subst_vars
1793 eval ac_val=\$$ac_var
1795 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1797 $as_echo "$ac_var='\''$ac_val'\''"
1801 if test -n "$ac_subst_files"; then
1802 $as_echo "## ------------------- ##
1803 ## File substitutions. ##
1804 ## ------------------- ##"
1806 for ac_var in $ac_subst_files
1808 eval ac_val=\$$ac_var
1810 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1812 $as_echo "$ac_var='\''$ac_val'\''"
1817 if test -s confdefs.h; then
1818 $as_echo "## ----------- ##
1825 test "$ac_signal" != 0 &&
1826 $as_echo "$as_me: caught signal $ac_signal"
1827 $as_echo "$as_me: exit $exit_status"
1829 rm -f core *.core core.conftest.* &&
1830 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1833 for ac_signal in 1 2 13 15; do
1834 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1838 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1839 rm -f -r conftest* confdefs.h
1841 $as_echo "/* confdefs.h */" > confdefs.h
1843 # Predefined preprocessor variables.
1845 cat >>confdefs.h <<_ACEOF
1846 #define PACKAGE_NAME "$PACKAGE_NAME"
1849 cat >>confdefs.h <<_ACEOF
1850 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1853 cat >>confdefs.h <<_ACEOF
1854 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1857 cat >>confdefs.h <<_ACEOF
1858 #define PACKAGE_STRING "$PACKAGE_STRING"
1861 cat >>confdefs.h <<_ACEOF
1862 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1865 cat >>confdefs.h <<_ACEOF
1866 #define PACKAGE_URL "$PACKAGE_URL"
1870 # Let the site file select an alternate cache file if it wants to.
1871 # Prefer an explicitly selected file to automatically selected ones.
1874 if test -n "$CONFIG_SITE"; then
1875 # We do not want a PATH search for config.site.
1876 case $CONFIG_SITE in #((
1877 -*) ac_site_file1=./$CONFIG_SITE;;
1878 */*) ac_site_file1=$CONFIG_SITE;;
1879 *) ac_site_file1=./$CONFIG_SITE;;
1881 elif test "x$prefix" != xNONE; then
1882 ac_site_file1=$prefix/share/config.site
1883 ac_site_file2=$prefix/etc/config.site
1885 ac_site_file1=$ac_default_prefix/share/config.site
1886 ac_site_file2=$ac_default_prefix/etc/config.site
1888 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1890 test "x$ac_site_file" = xNONE && continue
1891 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1893 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1894 sed 's/^/| /' "$ac_site_file" >&5
1896 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1897 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1898 as_fn_error $? "failed to load site
script $ac_site_file
1899 See \
`config.log' for more details" "$LINENO" 5; }
1903 if test -r "$cache_file"; then
1904 # Some versions of bash will fail to source /dev/null (special files
1905 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1906 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1908 $as_echo "$as_me: loading cache $cache_file" >&6;}
1910 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1911 *) . "./$cache_file";;
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1916 $as_echo "$as_me: creating cache $cache_file" >&6;}
1920 # Check that the precious variables saved in the cache have kept the same
1922 ac_cache_corrupted=false
1923 for ac_var in $ac_precious_vars; do
1924 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1925 eval ac_new_set=\$ac_env_${ac_var}_set
1926 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1927 eval ac_new_val=\$ac_env_${ac_var}_value
1928 case $ac_old_set,$ac_new_set in
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1931 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1932 ac_cache_corrupted=: ;;
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
1935 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1936 ac_cache_corrupted=: ;;
1939 if test "x$ac_old_val" != "x$ac_new_val"; then
1940 # differences in whitespace do not lead to failure.
1941 ac_old_val_w=`echo x
$ac_old_val`
1942 ac_new_val_w=`echo x
$ac_new_val`
1943 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1945 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1946 ac_cache_corrupted=:
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1949 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1950 eval $ac_var=\$ac_old_val
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1953 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1955 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1958 # Pass precious variables to config.status.
1959 if test "$ac_new_set" = set; then
1961 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1962 *) ac_arg=$ac_var=$ac_new_val ;;
1964 case " $ac_configure_args " in
1965 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1966 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1970 if $ac_cache_corrupted; then
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
1972 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1974 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1975 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
1977 ## -------------------- ##
1978 ## Main body of script. ##
1979 ## -------------------- ##
1982 ac_cpp='$CPP $CPPFLAGS'
1983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1990 for ac_dir in ../scripts/autoconf "$srcdir"/../scripts/autoconf; do
1991 if test -f "$ac_dir/install-sh"; then
1993 ac_install_sh="$ac_aux_dir/install-sh -c"
1995 elif test -f "$ac_dir/install.sh"; then
1997 ac_install_sh="$ac_aux_dir/install.sh -c"
1999 elif test -f "$ac_dir/shtool"; then
2001 ac_install_sh="$ac_aux_dir/shtool install -c"
2005 if test -z "$ac_aux_dir"; then
2006 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../scripts/autoconf \"$srcdir\"/../scripts/autoconf" "$LINENO" 5
2009 # These three variables are undocumented and unsupported,
2010 # and are intended to be withdrawn in a future Autoconf release.
2011 # They can cause serious problems if a builder's source tree is in a directory
2012 # whose full name contains unusual characters.
2013 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2014 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2015 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2019 AROS_BUILDDIR=`${PWDCMD-pwd}`
2020 AROS_BUILDDIR_UNIX=${PWD}
2022 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2025 NOLINKFLAGS="-nostdlib -nostartfiles"
2026 LDFLAGS=$NOLINKFLAGS
2027 # The first step is to find the binaries.
2029 ac_cpp='$CPP $CPPFLAGS'
2030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2033 if test -n "$ac_tool_prefix"; then
2034 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2035 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2037 $as_echo_n "checking for $ac_word... " >&6; }
2038 if ${ac_cv_prog_CC+:} false; then :
2039 $as_echo_n "(cached) " >&6
2041 if test -n "$CC"; then
2042 ac_cv_prog_CC="$CC" # Let the user override the test.
2044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2048 test -z "$as_dir" && as_dir=.
2049 for ac_exec_ext in '' $ac_executable_extensions; do
2050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2051 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2062 if test -n "$CC"; then
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2064 $as_echo "$CC" >&6; }
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2067 $as_echo "no" >&6; }
2072 if test -z "$ac_cv_prog_CC"; then
2074 # Extract the first word of "gcc", so it can be a program name with args.
2075 set dummy gcc; ac_word=$2
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2077 $as_echo_n "checking for $ac_word... " >&6; }
2078 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2079 $as_echo_n "(cached) " >&6
2081 if test -n "$ac_ct_CC"; then
2082 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2088 test -z "$as_dir" && as_dir=.
2089 for ac_exec_ext in '' $ac_executable_extensions; do
2090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2091 ac_cv_prog_ac_ct_CC="gcc"
2092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2101 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2102 if test -n "$ac_ct_CC"; then
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2104 $as_echo "$ac_ct_CC" >&6; }
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2107 $as_echo "no" >&6; }
2110 if test "x$ac_ct_CC" = x; then
2113 case $cross_compiling:$ac_tool_warned in
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2116 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2117 ac_tool_warned=yes ;;
2125 if test -z "$CC"; then
2126 if test -n "$ac_tool_prefix"; then
2127 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2128 set dummy ${ac_tool_prefix}cc; ac_word=$2
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2130 $as_echo_n "checking for $ac_word... " >&6; }
2131 if ${ac_cv_prog_CC+:} false; then :
2132 $as_echo_n "(cached) " >&6
2134 if test -n "$CC"; then
2135 ac_cv_prog_CC="$CC" # Let the user override the test.
2137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2141 test -z "$as_dir" && as_dir=.
2142 for ac_exec_ext in '' $ac_executable_extensions; do
2143 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2144 ac_cv_prog_CC="${ac_tool_prefix}cc"
2145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2155 if test -n "$CC"; then
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2157 $as_echo "$CC" >&6; }
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2160 $as_echo "no" >&6; }
2166 if test -z "$CC"; then
2167 # Extract the first word of "cc", so it can be a program name with args.
2168 set dummy cc; ac_word=$2
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2170 $as_echo_n "checking for $ac_word... " >&6; }
2171 if ${ac_cv_prog_CC+:} false; then :
2172 $as_echo_n "(cached) " >&6
2174 if test -n "$CC"; then
2175 ac_cv_prog_CC="$CC" # Let the user override the test.
2178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2182 test -z "$as_dir" && as_dir=.
2183 for ac_exec_ext in '' $ac_executable_extensions; do
2184 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2185 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2186 ac_prog_rejected=yes
2190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2197 if test $ac_prog_rejected = yes; then
2198 # We found a bogon in the path, so make sure we never use it.
2199 set dummy $ac_cv_prog_CC
2201 if test $# != 0; then
2202 # We chose a different compiler from the bogus one.
2203 # However, it has the same basename, so the bogon will be chosen
2204 # first if we set CC to just the basename; use the full file name.
2206 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2212 if test -n "$CC"; then
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2214 $as_echo "$CC" >&6; }
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2217 $as_echo "no" >&6; }
2222 if test -z "$CC"; then
2223 if test -n "$ac_tool_prefix"; then
2224 for ac_prog in cl.exe
2226 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2227 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2229 $as_echo_n "checking for $ac_word... " >&6; }
2230 if ${ac_cv_prog_CC+:} false; then :
2231 $as_echo_n "(cached) " >&6
2233 if test -n "$CC"; then
2234 ac_cv_prog_CC="$CC" # Let the user override the test.
2236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2240 test -z "$as_dir" && as_dir=.
2241 for ac_exec_ext in '' $ac_executable_extensions; do
2242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2243 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2254 if test -n "$CC"; then
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2256 $as_echo "$CC" >&6; }
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2259 $as_echo "no" >&6; }
2263 test -n "$CC" && break
2266 if test -z "$CC"; then
2268 for ac_prog in cl.exe
2270 # Extract the first word of "$ac_prog", so it can be a program name with args.
2271 set dummy $ac_prog; ac_word=$2
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2273 $as_echo_n "checking for $ac_word... " >&6; }
2274 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2275 $as_echo_n "(cached) " >&6
2277 if test -n "$ac_ct_CC"; then
2278 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2284 test -z "$as_dir" && as_dir=.
2285 for ac_exec_ext in '' $ac_executable_extensions; do
2286 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2287 ac_cv_prog_ac_ct_CC="$ac_prog"
2288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2297 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2298 if test -n "$ac_ct_CC"; then
2299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2300 $as_echo "$ac_ct_CC" >&6; }
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2303 $as_echo "no" >&6; }
2307 test -n "$ac_ct_CC" && break
2310 if test "x$ac_ct_CC" = x; then
2313 case $cross_compiling:$ac_tool_warned in
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2316 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2317 ac_tool_warned=yes ;;
2326 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2327 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2328 as_fn_error $? "no acceptable C compiler found
in \
$PATH
2329 See \
`config.log' for more details" "$LINENO" 5; }
2331 # Provide some information about the compiler.
2332 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2335 for ac_option in --version -v -V -qversion; do
2336 { { ac_try="$ac_compiler $ac_option >&5"
2338 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2339 *) ac_try_echo
=$ac_try;;
2341 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2342 $as_echo "$ac_try_echo"; } >&5
2343 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2345 if test -s conftest.err
; then
2347 ... rest of stderr output deleted ...
2348 10q' conftest.err
>conftest.er1
2349 cat conftest.er1
>&5
2351 rm -f conftest.er1 conftest.err
2352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2353 test $ac_status = 0; }
2356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2357 /* end confdefs.h. */
2367 ac_clean_files_save
=$ac_clean_files
2368 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2369 # Try to create an executable without -o first, disregard a.out.
2370 # It will help us diagnose broken compilers, and finding out an intuition
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2373 $as_echo_n "checking whether the C compiler works... " >&6; }
2374 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2376 # The possible output files:
2377 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2380 for ac_file
in $ac_files
2383 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2384 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2389 if { { ac_try
="$ac_link_default"
2391 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2392 *) ac_try_echo=$ac_try;;
2394 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2395 $as_echo "$ac_try_echo"; } >&5
2396 (eval "$ac_link_default") 2>&5
2398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2399 test $ac_status = 0; }; then :
2400 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2401 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2402 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2403 # so that the user can short-circuit this test for compilers unknown to
2405 for ac_file in $ac_files ''
2407 test -f "$ac_file" || continue
2409 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2412 # We found the default executable, but exeext='' is most
2416 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2418 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2420 # We set ac_cv_exeext here because the later test for it is not
2421 # safe: cross compilers may not add the suffix if given an `-o'
2422 # argument, so we may need to know it at that point already.
2423 # Even if this section looks crufty: it has the advantage of
2430 test "$ac_cv_exeext" = no && ac_cv_exeext=
2435 if test -z "$ac_file"; then :
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2437 $as_echo "no" >&6; }
2438 $as_echo "$as_me: failed program was:" >&5
2439 sed 's
/^
/|
/' conftest.$ac_ext >&5
2441 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2442 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2443 as_fn_error 77 "C compiler cannot create executables
2444 See \`config.log
' for more details" "$LINENO" 5; }
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2447 $as_echo "yes" >&6; }
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2450 $as_echo_n "checking for C compiler default output file name... " >&6; }
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2452 $as_echo "$ac_file" >&6; }
2453 ac_exeext=$ac_cv_exeext
2455 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2456 ac_clean_files=$ac_clean_files_save
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2458 $as_echo_n "checking for suffix of executables... " >&6; }
2459 if { { ac_try="$ac_link"
2461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2462 *) ac_try_echo=$ac_try;;
2464 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2465 $as_echo "$ac_try_echo"; } >&5
2466 (eval "$ac_link") 2>&5
2468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2469 test $ac_status = 0; }; then :
2470 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2471 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2472 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2474 for ac_file
in conftest.exe conftest conftest.
*; do
2475 test -f "$ac_file" ||
continue
2477 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2478 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2484 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2485 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2486 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2487 See \`config.log' for more details" "$LINENO" 5; }
2489 rm -f conftest conftest
$ac_cv_exeext
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2491 $as_echo "$ac_cv_exeext" >&6; }
2493 rm -f conftest.
$ac_ext
2494 EXEEXT
=$ac_cv_exeext
2496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2497 /* end confdefs.h. */
2502 FILE *f = fopen ("conftest.out", "w");
2503 return ferror (f) || fclose (f) != 0;
2509 ac_clean_files
="$ac_clean_files conftest.out"
2510 # Check that the compiler produces executables we can run. If not, either
2511 # the compiler is broken, or we cross compile.
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2513 $as_echo_n "checking whether we are cross compiling... " >&6; }
2514 if test "$cross_compiling" != yes; then
2515 { { ac_try
="$ac_link"
2517 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2518 *) ac_try_echo=$ac_try;;
2520 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2521 $as_echo "$ac_try_echo"; } >&5
2522 (eval "$ac_link") 2>&5
2524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2525 test $ac_status = 0; }
2526 if { ac_try='./conftest$ac_cv_exeext'
2527 { { case "(($ac_try" in
2528 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2529 *) ac_try_echo
=$ac_try;;
2531 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2532 $as_echo "$ac_try_echo"; } >&5
2533 (eval "$ac_try") 2>&5
2535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2536 test $ac_status = 0; }; }; then
2539 if test "$cross_compiling" = maybe
; then
2542 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2543 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2544 as_fn_error $?
"cannot run C compiled programs.
2545 If you meant to cross compile, use \`--host'.
2546 See \`config.log' for more details" "$LINENO" 5; }
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2551 $as_echo "$cross_compiling" >&6; }
2553 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2554 ac_clean_files
=$ac_clean_files_save
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2556 $as_echo_n "checking for suffix of object files... " >&6; }
2557 if ${ac_cv_objext+:} false
; then :
2558 $as_echo_n "(cached) " >&6
2560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2561 /* end confdefs.h. */
2571 rm -f conftest.o conftest.obj
2572 if { { ac_try
="$ac_compile"
2574 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2575 *) ac_try_echo=$ac_try;;
2577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2578 $as_echo "$ac_try_echo"; } >&5
2579 (eval "$ac_compile") 2>&5
2581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2582 test $ac_status = 0; }; then :
2583 for ac_file in conftest.o conftest.obj conftest.*; do
2584 test -f "$ac_file" || continue;
2586 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2587 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2592 $as_echo "$as_me: failed program was:" >&5
2593 sed 's/^/| /' conftest.$ac_ext >&5
2595 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2596 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2597 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2598 See \
`config.log' for more details" "$LINENO" 5; }
2600 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2603 $as_echo "$ac_cv_objext" >&6; }
2604 OBJEXT=$ac_cv_objext
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2607 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2608 if ${ac_cv_c_compiler_gnu+:} false; then :
2609 $as_echo_n "(cached) " >&6
2611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2612 /* end confdefs.h. */
2625 if ac_fn_c_try_compile "$LINENO"; then :
2630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2631 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2635 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2636 if test $ac_compiler_gnu = yes; then
2641 ac_test_CFLAGS=${CFLAGS+set}
2642 ac_save_CFLAGS=$CFLAGS
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2644 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2645 if ${ac_cv_prog_cc_g+:} false; then :
2646 $as_echo_n "(cached) " >&6
2648 ac_save_c_werror_flag=$ac_c_werror_flag
2649 ac_c_werror_flag=yes
2652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2653 /* end confdefs.h. */
2663 if ac_fn_c_try_compile "$LINENO"; then :
2667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2668 /* end confdefs.h. */
2678 if ac_fn_c_try_compile "$LINENO"; then :
2681 ac_c_werror_flag=$ac_save_c_werror_flag
2683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2684 /* end confdefs.h. */
2694 if ac_fn_c_try_compile "$LINENO"; then :
2697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2702 ac_c_werror_flag=$ac_save_c_werror_flag
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2705 $as_echo "$ac_cv_prog_cc_g" >&6; }
2706 if test "$ac_test_CFLAGS" = set; then
2707 CFLAGS=$ac_save_CFLAGS
2708 elif test $ac_cv_prog_cc_g = yes; then
2709 if test "$GCC" = yes; then
2715 if test "$GCC" = yes; then
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2722 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2723 if ${ac_cv_prog_cc_c89+:} false; then :
2724 $as_echo_n "(cached) " >&6
2726 ac_cv_prog_cc_c89=no
2728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2729 /* end confdefs.h. */
2733 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2734 struct buf { int x; };
2735 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2736 static char *e (p, i)
2742 static char *f (char * (*g) (char **, int), char **p, ...)
2747 s = g (p, va_arg (v,int));
2752 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2753 function prototypes and stuff, but not '\xHH' hex character constants.
2754 These don't provoke an error unfortunately, instead are silently treated
2755 as 'x'. The following induces an error, until -std is added to get
2756 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2757 array size at least. It's necessary to write '\x00'==0 to get something
2758 that's true only with -std. */
2759 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2761 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2762 inside strings and character constants. */
2764 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2766 int test (int i, double x);
2767 struct s1 {int (*f) (int a);};
2768 struct s2 {int (*f) (double a);};
2769 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2775 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2780 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2781 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2783 CC="$ac_save_CC $ac_arg"
2784 if ac_fn_c_try_compile "$LINENO"; then :
2785 ac_cv_prog_cc_c89=$ac_arg
2787 rm -f core conftest.err conftest.$ac_objext
2788 test "x$ac_cv_prog_cc_c89" != "xno" && break
2790 rm -f conftest.$ac_ext
2795 case "x$ac_cv_prog_cc_c89" in
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2798 $as_echo "none needed" >&6; } ;;
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2801 $as_echo "unsupported" >&6; } ;;
2803 CC="$CC $ac_cv_prog_cc_c89"
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2805 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2807 if test "x$ac_cv_prog_cc_c89" != xno; then :
2812 ac_cpp='$CPP $CPPFLAGS'
2813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2819 $as_echo_n "checking target config location... " >&6; }
2821 # Check whether --with-config-dir was given.
2822 if test "${with_config_dir+set}" = set; then :
2823 withval=$with_config_dir; targetcfg_dir="$withval"
2828 if test "$targetcfg_dir" = ""; then
2829 as_fn_error $? "missing config directory!" "$LINENO" 5
2831 aros_targetcfg_dir="$targetcfg_dir"
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2834 $as_echo "$aros_targetcfg_dir" >&6; }
2836 #-----------------------------------------------------------------------------
2838 # Check if the target compiler supports some features:
2842 # -fassociative-math
2844 # -fno-trapping-math
2849 # -floop-interchange
2853 # -finline-small-functions
2856 # -fomit-frame-pointer
2859 # -finstrument-functions
2863 # -fno-builtin-floor
2864 # -fno-builtin-vsnprintf
2867 # -fasynchronous-unwind-tables
2873 # -fvisibility=hidden
2877 ac_cpp='$CPP $CPPFLAGS'
2878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2883 save_cflags="$CFLAGS"
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fexceptions" >&5
2885 $as_echo_n "checking whether ${CC} accepts -fexceptions... " >&6; }
2888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2889 /* end confdefs.h. */
2899 if ac_fn_c_try_compile "$LINENO"; then :
2900 aros_exceptions="yes"
2902 aros_exceptions="no"
2904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_exceptions" >&5
2906 $as_echo "$aros_exceptions" >&6; }
2907 if test "x-$aros_exceptions" = "x-yes" ; then
2908 aros_cflags_exceptions=-fexceptions
2909 aros_cflags_noexceptions=-fno-exceptions
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ffast-math" >&5
2913 $as_echo_n "checking whether ${CC} accepts -ffast-math... " >&6; }
2915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2916 /* end confdefs.h. */
2926 if ac_fn_c_try_compile "$LINENO"; then :
2927 aros_fast_math="yes"
2931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_fast_math" >&5
2933 $as_echo "$aros_fast_math" >&6; }
2934 if test "x-$aros_fast_math" = "x-yes" ; then
2935 aros_cflags_fast_math=-ffast-math
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fassociative-math" >&5
2939 $as_echo_n "checking whether ${CC} accepts -fassociative-math... " >&6; }
2940 CFLAGS=-fassociative-math
2941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2942 /* end confdefs.h. */
2952 if ac_fn_c_try_compile "$LINENO"; then :
2953 aros_associative_math="yes"
2955 aros_associative_math="no"
2957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_associative_math" >&5
2959 $as_echo "$aros_associative_math" >&6; }
2960 if test "x-$aros_associative_math" = "x-yes" ; then
2961 aros_cflags_associative_math=-fassociative-math
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-math-errno" >&5
2965 $as_echo_n "checking whether ${CC} accepts -fno-math-errno... " >&6; }
2966 CFLAGS=-fno-math-errno
2967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2968 /* end confdefs.h. */
2978 if ac_fn_c_try_compile "$LINENO"; then :
2979 aros_no_math_errno="yes"
2981 aros_no_math_errno="no"
2983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_math_errno" >&5
2985 $as_echo "$aros_no_math_errno" >&6; }
2986 if test "x-$aros_no_math_errno" = "x-yes" ; then
2987 aros_cflags_no_math_errno=-fno-math-errno
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-trapping-math" >&5
2991 $as_echo_n "checking whether ${CC} accepts -fno-trapping-math... " >&6; }
2992 CFLAGS=-fno-trapping-math
2993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2994 /* end confdefs.h. */
3004 if ac_fn_c_try_compile "$LINENO"; then :
3005 aros_no_trapping_math="yes"
3007 aros_no_trapping_math="no"
3009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_trapping_math" >&5
3011 $as_echo "$aros_no_trapping_math" >&6; }
3012 if test "x-$aros_no_trapping_math" = "x-yes" ; then
3013 aros_cflags_no_trapping_math=-fno-trapping-math
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ftree-vectorize" >&5
3017 $as_echo_n "checking whether ${CC} accepts -ftree-vectorize... " >&6; }
3018 CFLAGS=-ftree-vectorize
3019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3020 /* end confdefs.h. */
3030 if ac_fn_c_try_compile "$LINENO"; then :
3031 aros_tree_vectorize="yes"
3033 aros_tree_vectorize="no"
3035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tree_vectorize" >&5
3037 $as_echo "$aros_tree_vectorize" >&6; }
3038 if test "x-$aros_tree_vectorize" = "x-yes" ; then
3039 aros_cflags_tree_vectorize=-ftree-vectorize
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -flto" >&5
3043 $as_echo_n "checking whether ${CC} accepts -flto... " >&6; }
3045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3046 /* end confdefs.h. */
3056 if ac_fn_c_try_compile "$LINENO"; then :
3061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto" >&5
3063 $as_echo "$aros_lto" >&6; }
3064 if test "x-$aros_lto" = "x-yes" ; then
3065 aros_cflags_lto=-flto
3066 aros_cflags_nolto=-fno-lto
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fwhole-program" >&5
3069 $as_echo_n "checking whether ${CC} accepts -fwhole-program... " >&6; }
3070 CFLAGS=-fwhole-program
3071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3072 /* end confdefs.h. */
3082 if ac_fn_c_try_compile "$LINENO"; then :
3083 aros_whole_program="yes"
3085 aros_whole_program="no"
3087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_whole_program" >&5
3089 $as_echo "$aros_whole_program" >&6; }
3090 if test "x-$aros_whole_program" = "x-yes" ; then
3091 aros_cflags_whole_program=-fwhole-program
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-block" >&5
3095 $as_echo_n "checking whether ${CC} accepts -floop-block... " >&6; }
3097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3098 /* end confdefs.h. */
3108 if ac_fn_c_try_compile "$LINENO"; then :
3109 aros_loop_block="yes"
3111 aros_loop_block="no"
3113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_block" >&5
3115 $as_echo "$aros_loop_block" >&6; }
3116 if test "x-$aros_loop_block" = "x-yes" ; then
3117 aros_cflags_loop_block=-floop-block
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-interchange" >&5
3121 $as_echo_n "checking whether ${CC} accepts -floop-interchange... " >&6; }
3122 CFLAGS=-floop-interchange
3123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3124 /* end confdefs.h. */
3134 if ac_fn_c_try_compile "$LINENO"; then :
3135 aros_loop_interchange="yes"
3137 aros_loop_interchange="no"
3139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_interchange" >&5
3141 $as_echo "$aros_loop_interchange" >&6; }
3142 if test "x-$aros_loop_interchange" = "x-yes" ; then
3143 aros_cflags_loop_interchange=-floop-interchange
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-strip-mine" >&5
3147 $as_echo_n "checking whether ${CC} accepts -floop-strip-mine... " >&6; }
3148 CFLAGS=-floop-strip-mine
3149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3150 /* end confdefs.h. */
3160 if ac_fn_c_try_compile "$LINENO"; then :
3161 aros_loop_strip_mine="yes"
3163 aros_loop_strip_mine="no"
3165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_strip_mine" >&5
3167 $as_echo "$aros_loop_strip_mine" >&6; }
3168 if test "x-$aros_loop_strip_mine" = "x-yes" ; then
3169 aros_cflags_loop_strip_mine=-floop-strip-mine
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpeel-loops" >&5
3174 $as_echo_n "checking whether ${CC} accepts -fpeel-loops... " >&6; }
3176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3177 /* end confdefs.h. */
3187 if ac_fn_c_try_compile "$LINENO"; then :
3188 aros_peel_loops="yes"
3190 aros_peel_loops="no"
3192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_peel_loops" >&5
3194 $as_echo "$aros_peel_loops" >&6; }
3195 if test "x-$aros_peel_loops" = "x-yes" ; then
3196 aros_cflags_peel_loops=-fpeel-loops
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -funroll-loops" >&5
3200 $as_echo_n "checking whether ${CC} accepts -funroll-loops... " >&6; }
3201 CFLAGS=-funroll-loops
3202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3203 /* end confdefs.h. */
3213 if ac_fn_c_try_compile "$LINENO"; then :
3214 aros_unroll_loops="yes"
3216 aros_unroll_loops="no"
3218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unroll_loops" >&5
3220 $as_echo "$aros_unroll_loops" >&6; }
3221 if test "x-$aros_unroll_loops" = "x-yes" ; then
3222 aros_cflags_unroll_loops=-funroll-loops
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstrict-aliasing" >&5
3226 $as_echo_n "checking whether ${CC} accepts -fstrict-aliasing... " >&6; }
3227 CFLAGS=-fstrict-aliasing
3228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3229 /* end confdefs.h. */
3239 if ac_fn_c_try_compile "$LINENO"; then :
3240 aros_strict_aliasing="yes"
3242 aros_strict_aliasing="no"
3244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3246 $as_echo "$aros_strict_aliasing" >&6; }
3247 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3248 aros_cflags_strictaliasing=-fstrict-aliasing
3249 aros_cflags_nostrictaliasing=-fno-strict-aliasing
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -finline-small-functions" >&5
3253 $as_echo_n "checking whether ${CC} accepts -finline-small-functions... " >&6; }
3254 CFLAGS=-finline-small-functions
3255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3256 /* end confdefs.h. */
3266 if ac_fn_c_try_compile "$LINENO"; then :
3267 aros_inline_small_functions="yes"
3269 aros_inline_small_functions="no"
3271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_inline_small_functions" >&5
3273 $as_echo "$aros_inline_small_functions" >&6; }
3274 if test "x-$aros_inline_small_functions" = "x-yes" ; then
3275 aros_cflags_inlinesmallfunctions=-finline-small-functions
3276 aros_cflags_noinlinesmallfunctions=-fno-inline-small-functions
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fipa-cp" >&5
3280 $as_echo_n "checking whether ${CC} accepts -fipa-cp... " >&6; }
3282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3283 /* end confdefs.h. */
3293 if ac_fn_c_try_compile "$LINENO"; then :
3298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ipa_cp" >&5
3300 $as_echo "$aros_ipa_cp" >&6; }
3301 if test "x-$aros_ipa_cp" = "x-yes" ; then
3302 aros_cflags_ipacp=-fipa-cp
3303 aros_cflags_noipacp=-fno-ipa-cp
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fomit-frame-pointer" >&5
3307 $as_echo_n "checking whether ${CC} accepts -fomit-frame-pointer... " >&6; }
3308 CFLAGS=-fomit-frame-pointer
3309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3310 /* end confdefs.h. */
3320 if ac_fn_c_try_compile "$LINENO"; then :
3321 aros_omit_frame_pointer="yes"
3323 aros_omit_frame_pointer="no"
3325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_omit_frame_pointer" >&5
3327 $as_echo "$aros_omit_frame_pointer" >&6; }
3328 if test "x-$aros_omit_frame_pointer" = "x-yes" ; then
3329 aros_cflags_omitfp=-fomit-frame-pointer
3330 aros_cflags_noomitfp=-fno-omit-frame-pointer
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fprofile-arcs" >&5
3334 $as_echo_n "checking whether ${CC} accepts -fprofile-arcs... " >&6; }
3335 CFLAGS=-fprofile-arcs
3336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3337 /* end confdefs.h. */
3347 if ac_fn_c_try_compile "$LINENO"; then :
3348 aros_profile_arcs="yes"
3350 aros_profile_arcs="no"
3352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_profile_arcs" >&5
3354 $as_echo "$aros_profile_arcs" >&6; }
3355 if test "x-$aros_profile_arcs" = "x-yes" ; then
3356 aros_cflags_profilearcs=-fprofile-arcs
3357 aros_cflags_noprofilearcs=-fno-profile-arcs
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ftest-coverage" >&5
3361 $as_echo_n "checking whether ${CC} accepts -ftest-coverage... " >&6; }
3362 CFLAGS=-ftest-coverage
3363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3364 /* end confdefs.h. */
3374 if ac_fn_c_try_compile "$LINENO"; then :
3375 aros_test_coverage="yes"
3377 aros_test_coverage="no"
3379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_test_coverage" >&5
3381 $as_echo "$aros_test_coverage" >&6; }
3382 if test "x-$aros_test_coverage" = "x-yes" ; then
3383 aros_cflags_testcoverage=-ftest-coverage
3384 aros_cflags_notestcoverage=-fno-test-coverage
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -finstrument-functions" >&5
3388 $as_echo_n "checking whether ${CC} accepts -finstrument-functions... " >&6; }
3389 CFLAGS=-finstrument-functions
3390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3391 /* end confdefs.h. */
3401 if ac_fn_c_try_compile "$LINENO"; then :
3402 aros_instrument_functions="yes"
3404 aros_instrument_functions="no"
3406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_instrument_functions" >&5
3408 $as_echo "$aros_instrument_functions" >&6; }
3409 if test "x-$aros_instrument_functions" = "x-yes" ; then
3410 aros_cflags_instrfuncs=-finstrument-functions
3411 aros_cflags_noinstrfuncs=-fno-instrument-functions
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -faligned-new" >&5
3415 $as_echo_n "checking whether ${CC} accepts -faligned-new... " >&6; }
3416 CFLAGS=-faligned-new
3417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3418 /* end confdefs.h. */
3428 if ac_fn_c_try_compile "$LINENO"; then :
3429 aros_aligned_new="yes"
3431 aros_aligned_new="no"
3433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aligned_new" >&5
3435 $as_echo "$aros_aligned_new" >&6; }
3436 if test "x-$aros_aligned_new" = "x-yes" ; then
3437 aros_cflags_alignednew=-faligned-new
3438 aros_cflags_noalignednew=-fno-aligned-new
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fbuiltin" >&5
3442 $as_echo_n "checking whether ${CC} accepts -fbuiltin... " >&6; }
3444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3445 /* end confdefs.h. */
3455 if ac_fn_c_try_compile "$LINENO"; then :
3460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_builtin" >&5
3462 $as_echo "$aros_builtin" >&6; }
3463 if test "x-$aros_builtin" = "x-yes" ; then
3464 aros_cflags_builtin=-fbuiltin
3465 aros_cflags_no_builtin=-fno-builtin
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-builtin-floor" >&5
3469 $as_echo_n "checking whether ${CC} accepts -fno-builtin-floor... " >&6; }
3470 CFLAGS=-fno-builtin-floor
3471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3472 /* end confdefs.h. */
3482 if ac_fn_c_try_compile "$LINENO"; then :
3483 aros_no_builtin_floor="yes"
3485 aros_no_builtin_floor="no"
3487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_builtin_floor" >&5
3489 $as_echo "$aros_no_builtin_floor" >&6; }
3490 if test "x-$aros_no_builtin_floor" = "x-yes" ; then
3491 aros_cflags_no_builtin_floor=-fno-builtin-floor
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-builtin-vsnprintf" >&5
3495 $as_echo_n "checking whether ${CC} accepts -fno-builtin-vsnprintf... " >&6; }
3496 CFLAGS=-fno-builtin-vsnprintf
3497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3498 /* end confdefs.h. */
3508 if ac_fn_c_try_compile "$LINENO"; then :
3509 aros_no_builtin_vsnprintf="yes"
3511 aros_no_builtin_vsnprintf="no"
3513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_builtin_vsnprintf" >&5
3515 $as_echo "$aros_no_builtin_vsnprintf" >&6; }
3516 if test "x-$aros_no_builtin_vsnprintf" = "x-yes" ; then
3517 aros_cflags_no_builtin_vsnprintf=-fno-builtin-vsnprintf
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ffreestanding" >&5
3521 $as_echo_n "checking whether ${CC} accepts -ffreestanding... " >&6; }
3522 CFLAGS=-ffreestanding
3523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3524 /* end confdefs.h. */
3534 if ac_fn_c_try_compile "$LINENO"; then :
3535 aros_freestanding="yes"
3537 aros_freestanding="no"
3539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_freestanding" >&5
3541 $as_echo "$aros_freestanding" >&6; }
3542 if test "x-$aros_freestanding" = "x-yes" ; then
3543 aros_cflags_freestanding=-ffreestanding
3544 aros_cflags_no_freestanding=-fno-freestanding
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fasynchronous-unwind-tables" >&5
3548 $as_echo_n "checking whether ${CC} accepts -fasynchronous-unwind-tables... " >&6; }
3549 CFLAGS=-fasynchronous-unwind-tables
3550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3551 /* end confdefs.h. */
3561 if ac_fn_c_try_compile "$LINENO"; then :
3562 aros_asynchronous_unwind_tables="yes"
3564 aros_asynchronous_unwind_tables="no"
3566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_asynchronous_unwind_tables" >&5
3568 $as_echo "$aros_asynchronous_unwind_tables" >&6; }
3569 if test "x-$aros_asynchronous_unwind_tables" = "x-yes" ; then
3570 aros_cflags_asynchronous_unwind_tables=-fasynchronous-unwind-tables
3571 aros_cflags_no_asynchronous_unwind_tables=-fno-asynchronous-unwind-tables
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fvisibility=hidden" >&5
3575 $as_echo_n "checking whether ${CC} accepts -fvisibility=hidden... " >&6; }
3576 CFLAGS=-fvisibility=hidden
3577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3578 /* end confdefs.h. */
3588 if ac_fn_c_try_compile "$LINENO"; then :
3589 aros_visibility_hidden="yes"
3591 aros_visibility_hidden="no"
3593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_visibility_hidden" >&5
3595 $as_echo "$aros_visibility_hidden" >&6; }
3596 if test "x-$aros_visibility_hidden" = "x-yes" ; then
3597 aros_cflags_visibility_hidden=-fvisibility=hidden
3602 ac_cpp='$CXXCPP $CPPFLAGS'
3603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3607 save_cxxflags="$CXXFLAGS"
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} accepts -fpermissive" >&5
3610 $as_echo_n "checking whether ${CXX} accepts -fpermissive... " >&6; }
3611 CXXFLAGS=-fpermissive
3613 ac_cpp='$CXXCPP $CPPFLAGS'
3614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3617 if test -z "$CXX"; then
3618 if test -n "$CCC"; then
3621 if test -n "$ac_tool_prefix"; then
3622 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3624 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3625 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3627 $as_echo_n "checking for $ac_word... " >&6; }
3628 if ${ac_cv_prog_CXX+:} false; then :
3629 $as_echo_n "(cached) " >&6
3631 if test -n "$CXX"; then
3632 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3638 test -z "$as_dir" && as_dir=.
3639 for ac_exec_ext in '' $ac_executable_extensions; do
3640 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3641 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3652 if test -n "$CXX"; then
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3654 $as_echo "$CXX" >&6; }
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3657 $as_echo "no" >&6; }
3661 test -n "$CXX" && break
3664 if test -z "$CXX"; then
3666 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3668 # Extract the first word of "$ac_prog", so it can be a program name with args.
3669 set dummy $ac_prog; ac_word=$2
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3671 $as_echo_n "checking for $ac_word... " >&6; }
3672 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3673 $as_echo_n "(cached) " >&6
3675 if test -n "$ac_ct_CXX"; then
3676 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3682 test -z "$as_dir" && as_dir=.
3683 for ac_exec_ext in '' $ac_executable_extensions; do
3684 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3685 ac_cv_prog_ac_ct_CXX="$ac_prog"
3686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3695 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3696 if test -n "$ac_ct_CXX"; then
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3698 $as_echo "$ac_ct_CXX" >&6; }
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3701 $as_echo "no" >&6; }
3705 test -n "$ac_ct_CXX" && break
3708 if test "x$ac_ct_CXX" = x; then
3711 case $cross_compiling:$ac_tool_warned in
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3714 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3715 ac_tool_warned=yes ;;
3723 # Provide some information about the compiler.
3724 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3727 for ac_option in --version -v -V -qversion; do
3728 { { ac_try="$ac_compiler $ac_option >&5"
3730 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3731 *) ac_try_echo
=$ac_try;;
3733 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3734 $as_echo "$ac_try_echo"; } >&5
3735 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3737 if test -s conftest.err
; then
3739 ... rest of stderr output deleted ...
3740 10q' conftest.err
>conftest.er1
3741 cat conftest.er1
>&5
3743 rm -f conftest.er1 conftest.err
3744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3745 test $ac_status = 0; }
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3749 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3750 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3751 $as_echo_n "(cached) " >&6
3753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3754 /* end confdefs.h. */
3767 if ac_fn_cxx_try_compile
"$LINENO"; then :
3772 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3773 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3777 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3778 if test $ac_compiler_gnu = yes; then
3783 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3784 ac_save_CXXFLAGS
=$CXXFLAGS
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3786 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3787 if ${ac_cv_prog_cxx_g+:} false
; then :
3788 $as_echo_n "(cached) " >&6
3790 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3791 ac_cxx_werror_flag
=yes
3794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3795 /* end confdefs.h. */
3805 if ac_fn_cxx_try_compile
"$LINENO"; then :
3806 ac_cv_prog_cxx_g
=yes
3809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3810 /* end confdefs.h. */
3820 if ac_fn_cxx_try_compile
"$LINENO"; then :
3823 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3826 /* end confdefs.h. */
3836 if ac_fn_cxx_try_compile
"$LINENO"; then :
3837 ac_cv_prog_cxx_g
=yes
3839 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3843 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3844 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3847 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3848 if test "$ac_test_CXXFLAGS" = set; then
3849 CXXFLAGS
=$ac_save_CXXFLAGS
3850 elif test $ac_cv_prog_cxx_g = yes; then
3851 if test "$GXX" = yes; then
3857 if test "$GXX" = yes; then
3864 ac_cpp
='$CXXCPP $CPPFLAGS'
3865 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3866 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3867 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3871 /* end confdefs.h. */
3881 if ac_fn_cxx_try_compile
"$LINENO"; then :
3882 aros_permissive
="yes"
3884 aros_permissive
="no"
3886 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_permissive" >&5
3888 $as_echo "$aros_permissive" >&6; }
3889 if test "x-$aros_permissive" = "x-yes" ; then
3890 aros_cxxflags_permissive
=-fpermissive
3891 aros_cxxflags_nopermissive
=-fno-permissive
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} accepts -frtti" >&5
3895 $as_echo_n "checking whether ${CXX} accepts -frtti... " >&6; }
3897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3898 /* end confdefs.h. */
3908 if ac_fn_cxx_try_compile
"$LINENO"; then :
3913 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_rtti" >&5
3915 $as_echo "$aros_rtti" >&6; }
3916 if test "x-$aros_rtti" = "x-yes" ; then
3917 aros_cxxflags_rtti
=-frtti
3918 aros_cxxflags_nortti
=-fno-rtti
3921 CXXFLAGS
="$save_cxxflags"
3924 # Check for additional C compiler options..
3926 ac_cpp
='$CPP $CPPFLAGS'
3927 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3928 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3929 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3932 #-----------------------------------------------------------------------------
3934 # Check if the target compiler supports some include directory options:
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
3937 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
3939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3940 /* end confdefs.h. */
3950 if ac_fn_c_try_compile
"$LINENO"; then :
3955 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
3957 $as_echo "$has_iquote" >&6; }
3958 if test "x-$has_iquote" = "x-yes" ; then
3959 aros_cflags_iquote
=-iquote
3960 aros_cflags_iquote_end
=
3962 aros_cflags_iquote
=-I
3963 aros_cflags_iquote_end
=-I-
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -isystem" >&5
3967 $as_echo_n "checking whether ${CC} accepts -isystem... " >&6; }
3969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3970 /* end confdefs.h. */
3980 if ac_fn_c_try_compile
"$LINENO"; then :
3985 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_isystem" >&5
3987 $as_echo "$has_isystem" >&6; }
3988 if test "x-$has_isystem" = "x-yes" ; then
3989 aros_cflags_isystem
=-isystem
3990 aros_cflags_isystem_end
=
3992 aros_cflags_isystem
=-I
3993 aros_cflags_isystem_end
=
3996 #-----------------------------------------------------------------------------
3998 # Check if the target compiler supports some ISA options:
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -mred-zone" >&5
4002 $as_echo_n "checking whether ${CC} accepts -mred-zone... " >&6; }
4004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4005 /* end confdefs.h. */
4015 if ac_fn_c_try_compile
"$LINENO"; then :
4016 aros_no_red_zone
="yes"
4018 aros_no_red_zone
="no"
4020 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_red_zone" >&5
4022 $as_echo "$aros_no_red_zone" >&6; }
4023 if test "x-$aros_no_red_zone" = "x-yes" ; then
4024 aros_cflags_red_zone
=-mred-zone
4025 aros_cflags_no_red_zone
=-mno-red-zone
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -mms-bitfields" >&5
4029 $as_echo_n "checking whether ${CC} accepts -mms-bitfields... " >&6; }
4030 CFLAGS
=-mms-bitfields
4031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4032 /* end confdefs.h. */
4042 if ac_fn_c_try_compile
"$LINENO"; then :
4043 aros_ms_bitfields
="yes"
4045 aros_ms_bitfields
="no"
4047 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ms_bitfields" >&5
4049 $as_echo "$aros_ms_bitfields" >&6; }
4050 if test "x-$aros_ms_bitfields" = "x-yes" ; then
4051 aros_cflags_ms_bitfields
=-mms-bitfields
4052 aros_cflags_no_ms_bitfields
=-mno-ms-bitfields
4055 CFLAGS
="$save_cflags"
4057 #-----------------------------------------------------------------------------
4059 # Check if the target compiler supports some options used for de-linting:
4063 # -Wunused-command-line-argument
4064 # -Wunknown-warning-option
4065 # -Wunused-but-set-variable
4069 # -Wstrict-prototypes
4072 # -Wmisleading-indentation
4079 # -Wunused-parameter
4081 # -Wmaybe-uninitialized
4082 # -Wimplicit-function-declaration
4087 # -Wformat-contains-nul
4089 # -Waggressive-loop-optimizations
4092 # -Wdiscarded-qualifiers
4095 # -Wdiscarded-array-qualifiers
4097 # -Wint-to-pointer-cast
4098 # -Wpointer-to-int-cast
4099 # -Wunused-const-variable
4102 # -Wincompatible-pointer-types
4104 # -Wlogical-not-parentheses
4108 # -Wdeprecated-declarations
4112 # -Wunused-local-typedefs
4116 # -Wvolatile-register-var
4117 # -Wsizeof-pointer-memaccess
4119 # -Wformat-zero-length
4120 # -Wlto-type-mismatch
4121 # -Wtautological-compare
4124 # -Wstringop-overflow
4125 # -Wformat-truncation
4126 # -Wstringop-truncation
4127 # -Wshift-negative-value
4128 # -Wmissing-field-initializers
4129 # -Wimplicit-fallthrough
4130 # -Wmissing-prototypes
4132 # -Wint-in-bool-context
4136 ac_cpp
='$CPP $CPPFLAGS'
4137 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4138 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4139 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4142 save_cflags
="$CFLAGS"
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Werror" >&5
4144 $as_echo_n "checking whether ${CC} accepts -Werror... " >&6; }
4146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4147 /* end confdefs.h. */
4157 if ac_fn_c_try_compile
"$LINENO"; then :
4162 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_error" >&5
4164 $as_echo "$aros_error" >&6; }
4165 if test "x-$aros_error" = "x-yes" ; then
4166 aros_warnflags_error
=-Werror
4167 aros_nowarnflags_error
=-Wno-error
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wall" >&5
4171 $as_echo_n "checking whether ${CC} accepts -Wall... " >&6; }
4173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4174 /* end confdefs.h. */
4184 if ac_fn_c_try_compile
"$LINENO"; then :
4189 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_all" >&5
4191 $as_echo "$aros_all" >&6; }
4192 if test "x-$aros_all" = "x-yes" ; then
4193 aros_warnflags_all
=-Wall
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wrestrict" >&5
4197 $as_echo_n "checking whether ${CC} accepts -Wrestrict... " >&6; }
4199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4200 /* end confdefs.h. */
4210 if ac_fn_c_try_compile
"$LINENO"; then :
4215 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_restrict" >&5
4217 $as_echo "$aros_restrict" >&6; }
4218 if test "x-$aros_restrict" = "x-yes" ; then
4219 aros_warnflags_restrict
=-Wrestrict
4220 aros_nowarnflags_restrict
=-Wno-restrict
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-command-line-argument" >&5
4224 $as_echo_n "checking whether ${CC} accepts -Wunused-command-line-argument... " >&6; }
4225 CFLAGS
=-Wunused-command-line-argument
4226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4227 /* end confdefs.h. */
4237 if ac_fn_c_try_compile
"$LINENO"; then :
4238 aros_unused_command_line_argument
="yes"
4240 aros_unused_command_line_argument
="no"
4242 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_command_line_argument" >&5
4244 $as_echo "$aros_unused_command_line_argument" >&6; }
4245 if test "x-$aros_unused_command_line_argument" = "x-yes" ; then
4246 aros_warnflags_unused_command_line_argument
=-Wunused-command-line-argument
4247 aros_nowarnflags_unused_command_line_argument
=-Wno-unused-command-line-argument
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-warning-option" >&5
4251 $as_echo_n "checking whether ${CC} accepts -Wunknown-warning-option... " >&6; }
4252 CFLAGS
=-Wunknown-warning-option
4253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4254 /* end confdefs.h. */
4264 if ac_fn_c_try_compile
"$LINENO"; then :
4265 aros_unknown_warning_option
="yes"
4267 aros_unknown_warning_option
="no"
4269 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_warning_option" >&5
4271 $as_echo "$aros_unknown_warning_option" >&6; }
4272 if test "x-$aros_unknown_warning_option" = "x-yes" ; then
4273 aros_warnflags_unknown_warning_option
=-Wunknown-warning-option
4274 aros_nowarnflags_unknown_warning_option
=-Wno-unknown-warning-option
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
4278 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
4279 CFLAGS
=-Wunused-but-set-variable
4280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4281 /* end confdefs.h. */
4291 if ac_fn_c_try_compile
"$LINENO"; then :
4292 aros_unused_but_set_variable
="yes"
4294 aros_unused_but_set_variable
="no"
4296 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
4298 $as_echo "$aros_unused_but_set_variable" >&6; }
4299 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
4300 aros_warnflags_unused_but_set_variable
=-Wunused-but-set-variable
4301 aros_nowarnflags_unused_but_set_variable
=-Wno-unused-but-set-variable
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
4305 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
4306 CFLAGS
=-Wstrict-aliasing
4307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4308 /* end confdefs.h. */
4318 if ac_fn_c_try_compile
"$LINENO"; then :
4319 aros_strict_aliasing
="yes"
4321 aros_strict_aliasing
="no"
4323 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
4325 $as_echo "$aros_strict_aliasing" >&6; }
4326 if test "x-$aros_strict_aliasing" = "x-yes" ; then
4327 aros_warnflags_strict_aliasing
=-Wstrict-aliasing
4328 aros_nowarnflags_strict_aliasing
=-Wno-strict-aliasing
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
4332 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
4333 CFLAGS
=-Warray-bounds
4334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4335 /* end confdefs.h. */
4345 if ac_fn_c_try_compile
"$LINENO"; then :
4346 aros_array_bounds
="yes"
4348 aros_array_bounds
="no"
4350 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
4352 $as_echo "$aros_array_bounds" >&6; }
4353 if test "x-$aros_array_bounds" = "x-yes" ; then
4354 aros_warnflags_array_bounds
=-Warray-bounds
4355 aros_nowarnflags_array_bounds
=-Wno-array-bounds
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
4359 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
4360 CFLAGS
=-Wenum-compare
4361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4362 /* end confdefs.h. */
4372 if ac_fn_c_try_compile
"$LINENO"; then :
4373 aros_enum_compare
="yes"
4375 aros_enum_compare
="no"
4377 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
4379 $as_echo "$aros_enum_compare" >&6; }
4380 if test "x-$aros_enum_compare" = "x-yes" ; then
4381 aros_warnflags_enum_compare
=-Wenum-compare
4382 aros_nowarnflags_enum_compare
=-Wno-enum-compare
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
4386 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
4387 CFLAGS
=-Wstrict-prototypes
4388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4389 /* end confdefs.h. */
4399 if ac_fn_c_try_compile
"$LINENO"; then :
4400 aros_strict_prototypes
="yes"
4402 aros_strict_prototypes
="no"
4404 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
4406 $as_echo "$aros_strict_prototypes" >&6; }
4407 if test "x-$aros_strict_prototypes" = "x-yes" ; then
4408 aros_warnflags_strict_prototypes
=-Wstrict-prototypes
4409 aros_nowarnflags_strict_prototypes
=-Wno-strict-prototypes
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
4413 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
4414 CFLAGS
=-Wstrict-overflow
4415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4416 /* end confdefs.h. */
4426 if ac_fn_c_try_compile
"$LINENO"; then :
4427 aros_strict_overflow
="yes"
4429 aros_strict_overflow
="no"
4431 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
4433 $as_echo "$aros_strict_overflow" >&6; }
4434 if test "x-$aros_strict_overflow" = "x-yes" ; then
4435 aros_warnflags_strict_overflow
=-Wstrict-overflow
4436 aros_nowarnflags_strict_overflow
=-Wno-strict-overflow
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
4440 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
4441 CFLAGS
=-Wformat-security
4442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4443 /* end confdefs.h. */
4453 if ac_fn_c_try_compile
"$LINENO"; then :
4454 aros_format_security
="yes"
4456 aros_format_security
="no"
4458 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
4460 $as_echo "$aros_format_security" >&6; }
4461 if test "x-$aros_format_security" = "x-yes" ; then
4462 aros_warnflags_format_security
=-Wformat-security
4463 aros_nowarnflags_format_security
=-Wno-format-security
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
4467 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
4468 CFLAGS
=-Wmisleading-indentation
4469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4470 /* end confdefs.h. */
4480 if ac_fn_c_try_compile
"$LINENO"; then :
4481 aros_misleading_indentation
="yes"
4483 aros_misleading_indentation
="no"
4485 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
4487 $as_echo "$aros_misleading_indentation" >&6; }
4488 if test "x-$aros_misleading_indentation" = "x-yes" ; then
4489 aros_warnflags_misleading_indentation
=-Wmisleading-indentation
4490 aros_nowarnflags_misleading_indentation
=-Wno-misleading-indentation
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
4494 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
4495 CFLAGS
=-Wnonnull-compare
4496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4497 /* end confdefs.h. */
4507 if ac_fn_c_try_compile
"$LINENO"; then :
4508 aros_nonnull_compare
="yes"
4510 aros_nonnull_compare
="no"
4512 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
4514 $as_echo "$aros_nonnull_compare" >&6; }
4515 if test "x-$aros_nonnull_compare" = "x-yes" ; then
4516 aros_warnflags_nonnull_compare
=-Wnonnull-compare
4517 aros_nowarnflags_nonnull_compare
=-Wno-nonnull-compare
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
4521 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
4523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4524 /* end confdefs.h. */
4534 if ac_fn_c_try_compile
"$LINENO"; then :
4539 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
4541 $as_echo "$aros_unused" >&6; }
4542 if test "x-$aros_unused" = "x-yes" ; then
4543 aros_warnflags_unused
=-Wunused
4544 aros_nowarnflags_unused
=-Wno-unused
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-label" >&5
4548 $as_echo_n "checking whether ${CC} accepts -Wunused-label... " >&6; }
4549 CFLAGS
=-Wunused-label
4550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4551 /* end confdefs.h. */
4561 if ac_fn_c_try_compile
"$LINENO"; then :
4562 aros_unused_label
="yes"
4564 aros_unused_label
="no"
4566 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_label" >&5
4568 $as_echo "$aros_unused_label" >&6; }
4569 if test "x-$aros_unused_label" = "x-yes" ; then
4570 aros_warnflags_unused_label
=-Wunused-label
4571 aros_nowarnflags_unused_label
=-Wno-unused-label
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
4575 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
4576 CFLAGS
=-Wunused-value
4577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4578 /* end confdefs.h. */
4588 if ac_fn_c_try_compile
"$LINENO"; then :
4589 aros_unused_value
="yes"
4591 aros_unused_value
="no"
4593 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
4595 $as_echo "$aros_unused_value" >&6; }
4596 if test "x-$aros_unused_value" = "x-yes" ; then
4597 aros_warnflags_unused_value
=-Wunused-value
4598 aros_nowarnflags_unused_value
=-Wno-unused-value
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
4602 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
4603 CFLAGS
=-Wunused-variable
4604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4605 /* end confdefs.h. */
4615 if ac_fn_c_try_compile
"$LINENO"; then :
4616 aros_unused_variable
="yes"
4618 aros_unused_variable
="no"
4620 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
4622 $as_echo "$aros_unused_variable" >&6; }
4623 if test "x-$aros_unused_variable" = "x-yes" ; then
4624 aros_warnflags_unused_variable
=-Wunused-variable
4625 aros_nowarnflags_unused_variable
=-Wno-unused-variable
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
4629 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
4630 CFLAGS
=-Wunused-function
4631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4632 /* end confdefs.h. */
4642 if ac_fn_c_try_compile
"$LINENO"; then :
4643 aros_unused_function
="yes"
4645 aros_unused_function
="no"
4647 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
4649 $as_echo "$aros_unused_function" >&6; }
4650 if test "x-$aros_unused_function" = "x-yes" ; then
4651 aros_warnflags_unused_function
=-Wunused-function
4652 aros_nowarnflags_unused_function
=-Wno-unused-function
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-parameter" >&5
4656 $as_echo_n "checking whether ${CC} accepts -Wunused-parameter... " >&6; }
4657 CFLAGS
=-Wunused-parameter
4658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4659 /* end confdefs.h. */
4669 if ac_fn_c_try_compile
"$LINENO"; then :
4670 aros_unused_parameter
="yes"
4672 aros_unused_parameter
="no"
4674 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_parameter" >&5
4676 $as_echo "$aros_unused_parameter" >&6; }
4677 if test "x-$aros_unused_parameter" = "x-yes" ; then
4678 aros_warnflags_unused_parameter
=-Wunused-parameter
4679 aros_nowarnflags_unused_parameter
=-Wno-unused-parameter
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
4683 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
4684 CFLAGS
=-Wuninitialized
4685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4686 /* end confdefs.h. */
4696 if ac_fn_c_try_compile
"$LINENO"; then :
4697 aros_uninitialized
="yes"
4699 aros_uninitialized
="no"
4701 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
4703 $as_echo "$aros_uninitialized" >&6; }
4704 if test "x-$aros_uninitialized" = "x-yes" ; then
4705 aros_warnflags_uninitialized
=-Wuninitialized
4706 aros_nowarnflags_uninitialized
=-Wno-uninitialized
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
4710 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
4711 CFLAGS
=-Wmaybe-uninitialized
4712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4713 /* end confdefs.h. */
4723 if ac_fn_c_try_compile
"$LINENO"; then :
4724 aros_maybe_uninitialized
="yes"
4726 aros_maybe_uninitialized
="no"
4728 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
4730 $as_echo "$aros_maybe_uninitialized" >&6; }
4731 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
4732 aros_warnflags_maybe_uninitialized
=-Wmaybe-uninitialized
4733 aros_nowarnflags_maybe_uninitialized
=-Wno-maybe-uninitialized
4735 aros_warnflags_maybe_uninitialized
=$aros_warnflags_uninitialized
4736 aros_nowarnflags_maybe_uninitialized
=$aros_nowarnflags_uninitialized
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
4740 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
4741 CFLAGS
=-Wimplicit-function-declaration
4742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4743 /* end confdefs.h. */
4753 if ac_fn_c_try_compile
"$LINENO"; then :
4754 aros_implicit_function_declaration
="yes"
4756 aros_implicit_function_declaration
="no"
4758 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
4760 $as_echo "$aros_implicit_function_declaration" >&6; }
4761 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
4762 aros_warnflags_implicit_function_declaration
=-Wimplicit-function-declaration
4763 aros_nowarnflags_implicit_function_declaration
=-Wno-implicit-function-declaration
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
4767 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
4769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4770 /* end confdefs.h. */
4780 if ac_fn_c_try_compile
"$LINENO"; then :
4785 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
4787 $as_echo "$aros_format" >&6; }
4788 if test "x-$aros_format" = "x-yes" ; then
4789 aros_warnflags_format
=-Wformat
4790 aros_nowarnflags_format
=-Wno-format
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
4794 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
4795 CFLAGS
=-Wparentheses
4796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4797 /* end confdefs.h. */
4807 if ac_fn_c_try_compile
"$LINENO"; then :
4808 aros_parentheses
="yes"
4810 aros_parentheses
="no"
4812 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
4814 $as_echo "$aros_parentheses" >&6; }
4815 if test "x-$aros_parentheses" = "x-yes" ; then
4816 aros_warnflags_parentheses
=-Wparentheses
4817 aros_nowarnflags_parentheses
=-Wno-parentheses
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
4821 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
4822 CFLAGS
=-Wchar-subscripts
4823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4824 /* end confdefs.h. */
4834 if ac_fn_c_try_compile
"$LINENO"; then :
4835 aros_char_subscripts
="yes"
4837 aros_char_subscripts
="no"
4839 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
4841 $as_echo "$aros_char_subscripts" >&6; }
4842 if test "x-$aros_char_subscripts" = "x-yes" ; then
4843 aros_warnflags_char_subscripts
=-Wchar-subscripts
4844 aros_nowarnflags_char_subscripts
=-Wno-char-subscripts
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
4848 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
4849 CFLAGS
=-Wendif-labels
4850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4851 /* end confdefs.h. */
4861 if ac_fn_c_try_compile
"$LINENO"; then :
4862 aros_endif_labels
="yes"
4864 aros_endif_labels
="no"
4866 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
4868 $as_echo "$aros_endif_labels" >&6; }
4869 if test "x-$aros_endif_labels" = "x-yes" ; then
4870 aros_warnflags_endif_labels
=-Wendif-labels
4871 aros_nowarnflags_endif_labels
=-Wno-endif-labels
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
4875 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
4876 CFLAGS
=-Wformat-contains-nul
4877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4878 /* end confdefs.h. */
4888 if ac_fn_c_try_compile
"$LINENO"; then :
4889 aros_format_contains_nul
="yes"
4891 aros_format_contains_nul
="no"
4893 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
4895 $as_echo "$aros_format_contains_nul" >&6; }
4896 if test "x-$aros_format_contains_nul" = "x-yes" ; then
4897 aros_warnflags_format_contains_nul
=-Wformat-contains-nul
4898 aros_nowarnflags_format_contains_nul
=-Wno-format-contains-nul
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
4902 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
4903 CFLAGS
=-Wimplicit-int
4904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4905 /* end confdefs.h. */
4915 if ac_fn_c_try_compile
"$LINENO"; then :
4916 aros_implicit_int
="yes"
4918 aros_implicit_int
="no"
4920 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
4922 $as_echo "$aros_implicit_int" >&6; }
4923 if test "x-$aros_implicit_int" = "x-yes" ; then
4924 aros_warnflags_implicit_int
=-Wimplicit-int
4925 aros_nowarnflags_implicit_int
=-Wno-implicit-int
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
4929 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
4930 CFLAGS
=-Waggressive-loop-optimizations
4931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4932 /* end confdefs.h. */
4942 if ac_fn_c_try_compile
"$LINENO"; then :
4943 aros_aggressive_loop_optimizations
="yes"
4945 aros_aggressive_loop_optimizations
="no"
4947 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
4949 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
4950 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
4951 aros_warnflags_aggressive_loop_optimizations
=-Waggressive-loop-optimizations
4952 aros_nowarnflags_aggressive_loop_optimizations
=-Wno-aggressive-loop-optimizations
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
4956 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
4958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4959 /* end confdefs.h. */
4969 if ac_fn_c_try_compile
"$LINENO"; then :
4974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
4976 $as_echo "$aros_cpp" >&6; }
4977 if test "x-$aros_cpp" = "x-yes" ; then
4978 aros_warnflags_cpp
=-Wcpp
4979 aros_nowarnflags_cpp
=-Wno-cpp
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
4983 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
4985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4986 /* end confdefs.h. */
4996 if ac_fn_c_try_compile
"$LINENO"; then :
5001 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
5003 $as_echo "$aros_switch" >&6; }
5004 if test "x-$aros_switch" = "x-yes" ; then
5005 aros_warnflags_switch
=-Wswitch
5006 aros_nowarnflags_switch
=-Wno-switch
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
5010 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
5011 CFLAGS
=-Wdiscarded-qualifiers
5012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5013 /* end confdefs.h. */
5023 if ac_fn_c_try_compile
"$LINENO"; then :
5024 aros_discarded_qualifiers
="yes"
5026 aros_discarded_qualifiers
="no"
5028 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
5030 $as_echo "$aros_discarded_qualifiers" >&6; }
5031 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
5032 aros_warnflags_discarded_qualifiers
=-Wdiscarded-qualifiers
5033 aros_nowarnflags_discarded_qualifiers
=-Wno-discarded-qualifiers
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
5037 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
5038 CFLAGS
=-Wsequence-point
5039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5040 /* end confdefs.h. */
5050 if ac_fn_c_try_compile
"$LINENO"; then :
5051 aros_sequence_point
="yes"
5053 aros_sequence_point
="no"
5055 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
5057 $as_echo "$aros_sequence_point" >&6; }
5058 if test "x-$aros_sequence_point" = "x-yes" ; then
5059 aros_warnflags_sequence_point
=-Wsequence-point
5060 aros_nowarnflags_sequence_point
=-Wno-sequence-point
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
5064 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
5065 CFLAGS
=-Wunknown-pragmas
5066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5067 /* end confdefs.h. */
5077 if ac_fn_c_try_compile
"$LINENO"; then :
5078 aros_unknown_pragmas
="yes"
5080 aros_unknown_pragmas
="no"
5082 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
5084 $as_echo "$aros_unknown_pragmas" >&6; }
5085 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
5086 aros_warnflags_unknown_pragmas
=-Wunknown-pragmas
5087 aros_nowarnflags_unknown_pragmas
=-Wno-unknown-pragmas
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
5091 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
5092 CFLAGS
=-Wdiscarded-array-qualifiers
5093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5094 /* end confdefs.h. */
5104 if ac_fn_c_try_compile
"$LINENO"; then :
5105 aros_discarded_array_qualifiers
="yes"
5107 aros_discarded_array_qualifiers
="no"
5109 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
5111 $as_echo "$aros_discarded_array_qualifiers" >&6; }
5112 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
5113 aros_warnflags_discarded_array_qualifiers
=-Wdiscarded-array-qualifiers
5114 aros_nowarnflags_discarded_array_qualifiers
=-Wno-discarded-array-qualifiers
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
5118 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
5119 CFLAGS
=-Wint-conversion
5120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5121 /* end confdefs.h. */
5131 if ac_fn_c_try_compile
"$LINENO"; then :
5132 aros_int_conversion
="yes"
5134 aros_int_conversion
="no"
5136 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
5138 $as_echo "$aros_int_conversion" >&6; }
5139 if test "x-$aros_int_conversion" = "x-yes" ; then
5140 aros_warnflags_int_conversion
=-Wint-conversion
5141 aros_nowarnflags_int_conversion
=-Wno-int-conversion
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
5145 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
5146 CFLAGS
=-Wint-to-pointer-cast
5147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5148 /* end confdefs.h. */
5158 if ac_fn_c_try_compile
"$LINENO"; then :
5159 aros_int_to_pointer_cast
="yes"
5161 aros_int_to_pointer_cast
="no"
5163 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
5165 $as_echo "$aros_int_to_pointer_cast" >&6; }
5166 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
5167 aros_warnflags_int_to_pointer_cast
=-Wint-to-pointer-cast
5168 aros_nowarnflags_int_to_pointer_cast
=-Wno-int-to-pointer-cast
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
5172 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
5173 CFLAGS
=-Wpointer-to-int-cast
5174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5175 /* end confdefs.h. */
5185 if ac_fn_c_try_compile
"$LINENO"; then :
5186 aros_pointer_to_int_cast
="yes"
5188 aros_pointer_to_int_cast
="no"
5190 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
5192 $as_echo "$aros_pointer_to_int_cast" >&6; }
5193 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
5194 aros_warnflags_pointer_to_int_cast
=-Wpointer-to-int-cast
5195 aros_nowarnflags_pointer_to_int_cast
=-Wno-pointer-to-int-cast
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
5199 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
5200 CFLAGS
=-Wunused-const-variable
5201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5202 /* end confdefs.h. */
5212 if ac_fn_c_try_compile
"$LINENO"; then :
5213 aros_unused_const_variable
="yes"
5215 aros_unused_const_variable
="no"
5217 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
5219 $as_echo "$aros_unused_const_variable" >&6; }
5220 if test "x-$aros_unused_const_variable" = "x-yes" ; then
5221 aros_warnflags_unused_const_variable
=-Wunused-const-variable
5222 aros_nowarnflags_unused_const_variable
=-Wno-unused-const-variable
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
5226 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
5227 CFLAGS
=-Wwrite-strings
5228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5229 /* end confdefs.h. */
5239 if ac_fn_c_try_compile
"$LINENO"; then :
5240 aros_write_strings
="yes"
5242 aros_write_strings
="no"
5244 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
5246 $as_echo "$aros_write_strings" >&6; }
5247 if test "x-$aros_write_strings" = "x-yes" ; then
5248 aros_warnflags_write_strings
=-Wwrite-strings
5249 aros_nowarnflags_write_strings
=-Wno-write-strings
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
5253 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
5255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5256 /* end confdefs.h. */
5266 if ac_fn_c_try_compile
"$LINENO"; then :
5271 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
5273 $as_echo "$aros_comment" >&6; }
5274 if test "x-$aros_comment" = "x-yes" ; then
5275 aros_warnflags_comment
=-Wcomment
5276 aros_nowarnflags_comment
=-Wno-comment
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
5280 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
5281 CFLAGS
=-Wincompatible-pointer-types
5282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5283 /* end confdefs.h. */
5293 if ac_fn_c_try_compile
"$LINENO"; then :
5294 aros_incompatible_pointer_types
="yes"
5296 aros_incompatible_pointer_types
="no"
5298 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
5300 $as_echo "$aros_incompatible_pointer_types" >&6; }
5301 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
5302 aros_warnflags_incompatible_pointer_types
=-Wincompatible-pointer-types
5303 aros_nowarnflags_incompatible_pointer_types
=-Wno-incompatible-pointer-types
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
5307 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
5308 CFLAGS
=-Wbool-compare
5309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5310 /* end confdefs.h. */
5320 if ac_fn_c_try_compile
"$LINENO"; then :
5321 aros_bool_compare
="yes"
5323 aros_bool_compare
="no"
5325 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
5327 $as_echo "$aros_bool_compare" >&6; }
5328 if test "x-$aros_bool_compare" = "x-yes" ; then
5329 aros_warnflags_bool_compare
=-Wbool-compare
5330 aros_nowarnflags_bool_compare
=-Wno-bool-compare
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
5334 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
5335 CFLAGS
=-Wlogical-not-parentheses
5336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5337 /* end confdefs.h. */
5347 if ac_fn_c_try_compile
"$LINENO"; then :
5348 aros_logical_not_parentheses
="yes"
5350 aros_logical_not_parentheses
="no"
5352 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
5354 $as_echo "$aros_logical_not_parentheses" >&6; }
5355 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
5356 aros_warnflags_logical_not_parentheses
=-Wlogical-not-parentheses
5357 aros_nowarnflags_logical_not_parentheses
=-Wno-logical-not-parentheses
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
5361 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
5362 CFLAGS
=-Wpointer-sign
5363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5364 /* end confdefs.h. */
5374 if ac_fn_c_try_compile
"$LINENO"; then :
5375 aros_pointer_sign
="yes"
5377 aros_pointer_sign
="no"
5379 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
5381 $as_echo "$aros_pointer_sign" >&6; }
5382 if test "x-$aros_pointer_sign" = "x-yes" ; then
5383 aros_warnflags_pointer_sign
=-Wpointer-sign
5384 aros_nowarnflags_pointer_sign
=-Wno-pointer-sign
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
5388 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
5389 CFLAGS
=-Wshift-overflow
5390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5391 /* end confdefs.h. */
5401 if ac_fn_c_try_compile
"$LINENO"; then :
5402 aros_shift_overflow
="yes"
5404 aros_shift_overflow
="no"
5406 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
5408 $as_echo "$aros_shift_overflow" >&6; }
5409 if test "x-$aros_shift_overflow" = "x-yes" ; then
5410 aros_warnflags_shift_overflow
=-Wshift-overflow
5411 aros_nowarnflags_shift_overflow
=-Wno-shift-overflow
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
5415 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
5416 CFLAGS
=-Wframe-address
5417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5418 /* end confdefs.h. */
5428 if ac_fn_c_try_compile
"$LINENO"; then :
5429 aros_frame_address
="yes"
5431 aros_frame_address
="no"
5433 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
5435 $as_echo "$aros_frame_address" >&6; }
5436 if test "x-$aros_frame_address" = "x-yes" ; then
5437 aros_warnflags_frame_address
=-Wframe-address
5438 aros_nowarnflags_frame_address
=-Wno-frame-address
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
5442 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
5443 CFLAGS
=-Wdeprecated-declarations
5444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5445 /* end confdefs.h. */
5455 if ac_fn_c_try_compile
"$LINENO"; then :
5456 aros_deprecated_declarations
="yes"
5458 aros_deprecated_declarations
="no"
5460 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
5462 $as_echo "$aros_deprecated_declarations" >&6; }
5463 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
5464 aros_warnflags_deprecated_declarations
=-Wdeprecated-declarations
5465 aros_nowarnflags_deprecated_declarations
=-Wno-deprecated-declarations
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
5469 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
5470 CFLAGS
=-Wsign-compare
5471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5472 /* end confdefs.h. */
5482 if ac_fn_c_try_compile
"$LINENO"; then :
5483 aros_sign_compare
="yes"
5485 aros_sign_compare
="no"
5487 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
5489 $as_echo "$aros_sign_compare" >&6; }
5490 if test "x-$aros_sign_compare" = "x-yes" ; then
5491 aros_warnflags_sign_compare
=-Wsign-compare
5492 aros_nowarnflags_sign_compare
=-Wno-sign-compare
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
5496 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
5498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5499 /* end confdefs.h. */
5509 if ac_fn_c_try_compile
"$LINENO"; then :
5510 aros_attributes
="yes"
5512 aros_attributes
="no"
5514 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
5516 $as_echo "$aros_attributes" >&6; }
5517 if test "x-$aros_attributes" = "x-yes" ; then
5518 aros_warnflags_attributes
=-Wattributes
5519 aros_nowarnflags_attributes
=-Wno-attributes
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
5523 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
5525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5526 /* end confdefs.h. */
5536 if ac_fn_c_try_compile
"$LINENO"; then :
5541 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
5543 $as_echo "$aros_overflow" >&6; }
5544 if test "x-$aros_overflow" = "x-yes" ; then
5545 aros_warnflags_overflow
=-Woverflow
5546 aros_nowarnflags_overflow
=-Wno-overflow
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
5550 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
5551 CFLAGS
=-Wunused-local-typedefs
5552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5553 /* end confdefs.h. */
5563 if ac_fn_c_try_compile
"$LINENO"; then :
5564 aros_unused_local_typedefs
="yes"
5566 aros_unused_local_typedefs
="no"
5568 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
5570 $as_echo "$aros_unused_local_typedefs" >&6; }
5571 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
5572 aros_warnflags_unused_local_typedefs
=-Wunused-local-typedefs
5573 aros_nowarnflags_unused_local_typedefs
=-Wno-unused-local-typedefs
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
5577 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
5578 CFLAGS
=-Wmissing-braces
5579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5580 /* end confdefs.h. */
5590 if ac_fn_c_try_compile
"$LINENO"; then :
5591 aros_missing_braces
="yes"
5593 aros_missing_braces
="no"
5595 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
5597 $as_echo "$aros_missing_braces" >&6; }
5598 if test "x-$aros_missing_braces" = "x-yes" ; then
5599 aros_warnflags_missing_braces
=-Wmissing-braces
5600 aros_nowarnflags_missing_braces
=-Wno-missing-braces
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
5604 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
5606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5607 /* end confdefs.h. */
5617 if ac_fn_c_try_compile
"$LINENO"; then :
5618 aros_narrowing
="yes"
5622 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
5624 $as_echo "$aros_narrowing" >&6; }
5625 if test "x-$aros_narrowing" = "x-yes" ; then
5626 aros_warnflags_narrowing
=-Wnarrowing
5627 aros_nowarnflags_narrowing
=-Wno-narrowing
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wvolatile-register-var" >&5
5631 $as_echo_n "checking whether ${CC} accepts -Wvolatile-register-var... " >&6; }
5632 CFLAGS
=-Wvolatile-register-var
5633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5634 /* end confdefs.h. */
5644 if ac_fn_c_try_compile
"$LINENO"; then :
5645 aros_volatile_register_var
="yes"
5647 aros_volatile_register_var
="no"
5649 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_volatile_register_var" >&5
5651 $as_echo "$aros_volatile_register_var" >&6; }
5652 if test "x-$aros_volatile_register_var" = "x-yes" ; then
5653 aros_warnflags_volatile_register_var
=-Wvolatile-register-var
5654 aros_nowarnflags_volatile_register_var
=-Wno-volatile-register-var
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsizeof-pointer-memaccess" >&5
5658 $as_echo_n "checking whether ${CC} accepts -Wsizeof-pointer-memaccess... " >&6; }
5659 CFLAGS
=-Wsizeof-pointer-memaccess
5660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5661 /* end confdefs.h. */
5671 if ac_fn_c_try_compile
"$LINENO"; then :
5672 aros_sizeof_pointer_memaccess
="yes"
5674 aros_sizeof_pointer_memaccess
="no"
5676 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sizeof_pointer_memaccess" >&5
5678 $as_echo "$aros_sizeof_pointer_memaccess" >&6; }
5679 if test "x-$aros_sizeof_pointer_memaccess" = "x-yes" ; then
5680 aros_warnflags_sizeof_pointer_memaccess
=-Wsizeof-pointer-memaccess
5681 aros_nowarnflags_sizeof_pointer_memaccess
=-Wno-sizeof-pointer-memaccess
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wreturn-type" >&5
5685 $as_echo_n "checking whether ${CC} accepts -Wreturn-type... " >&6; }
5686 CFLAGS
=-Wreturn-type
5687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5688 /* end confdefs.h. */
5698 if ac_fn_c_try_compile
"$LINENO"; then :
5699 aros_return_type
="yes"
5701 aros_return_type
="no"
5703 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_return_type" >&5
5705 $as_echo "$aros_return_type" >&6; }
5706 if test "x-$aros_return_type" = "x-yes" ; then
5707 aros_warnflags_return_type
=-Wreturn-type
5708 aros_nowarnflags_return_type
=-Wno-return-type
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-zero-length" >&5
5712 $as_echo_n "checking whether ${CC} accepts -Wformat-zero-length... " >&6; }
5713 CFLAGS
=-Wformat-zero-length
5714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5715 /* end confdefs.h. */
5725 if ac_fn_c_try_compile
"$LINENO"; then :
5726 aros_format_zero_length
="yes"
5728 aros_format_zero_length
="no"
5730 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_zero_length" >&5
5732 $as_echo "$aros_format_zero_length" >&6; }
5733 if test "x-$aros_format_zero_length" = "x-yes" ; then
5734 aros_warnflags_format_zero_length
=-Wformat-zero-length
5735 aros_nowarnflags_format_zero_length
=-Wno-format-zero-length
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlto-type-mismatch" >&5
5739 $as_echo_n "checking whether ${CC} accepts -Wlto-type-mismatch... " >&6; }
5740 CFLAGS
=-Wlto-type-mismatch
5741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5742 /* end confdefs.h. */
5752 if ac_fn_c_try_compile
"$LINENO"; then :
5753 aros_lto_type_mismatch
="yes"
5755 aros_lto_type_mismatch
="no"
5757 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto_type_mismatch" >&5
5759 $as_echo "$aros_lto_type_mismatch" >&6; }
5760 if test "x-$aros_lto_type_mismatch" = "x-yes" ; then
5761 aros_warnflags_lto_type_mismatch
=-Wlto-type-mismatch
5762 aros_nowarnflags_lto_type_mismatch
=-Wno-lto-type-mismatch
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wtautological-compare" >&5
5766 $as_echo_n "checking whether ${CC} accepts -Wtautological-compare... " >&6; }
5767 CFLAGS
=-Wtautological-compare
5768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5769 /* end confdefs.h. */
5779 if ac_fn_c_try_compile
"$LINENO"; then :
5780 aros_tautological_compare
="yes"
5782 aros_tautological_compare
="no"
5784 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tautological_compare" >&5
5786 $as_echo "$aros_tautological_compare" >&6; }
5787 if test "x-$aros_tautological_compare" = "x-yes" ; then
5788 aros_warnflags_tautological_compare
=-Wtautological-compare
5789 aros_nowarnflags_tautological_compare
=-Wno-tautological-compare
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wempty-body" >&5
5793 $as_echo_n "checking whether ${CC} accepts -Wempty-body... " >&6; }
5795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5796 /* end confdefs.h. */
5806 if ac_fn_c_try_compile
"$LINENO"; then :
5807 aros_empty_body
="yes"
5809 aros_empty_body
="no"
5811 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_empty_body" >&5
5813 $as_echo "$aros_empty_body" >&6; }
5814 if test "x-$aros_empty_body" = "x-yes" ; then
5815 aros_warnflags_empty_body
=-Wempty-body
5816 aros_nowarnflags_empty_body
=-Wno-empty-body
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-overflow" >&5
5820 $as_echo_n "checking whether ${CC} accepts -Wformat-overflow... " >&6; }
5821 CFLAGS
=-Wformat-overflow
5822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5823 /* end confdefs.h. */
5833 if ac_fn_c_try_compile
"$LINENO"; then :
5834 aros_format_overflow
="yes"
5836 aros_format_overflow
="no"
5838 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_overflow" >&5
5840 $as_echo "$aros_format_overflow" >&6; }
5841 if test "x-$aros_format_overflow" = "x-yes" ; then
5842 aros_warnflags_format_overflow
=-Wformat-overflow
5843 aros_nowarnflags_format_overflow
=-Wno-format-overflow
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstringop-overflow" >&5
5847 $as_echo_n "checking whether ${CC} accepts -Wstringop-overflow... " >&6; }
5848 CFLAGS
=-Wstringop-overflow
5849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5850 /* end confdefs.h. */
5860 if ac_fn_c_try_compile
"$LINENO"; then :
5861 aros_stringop_overflow
="yes"
5863 aros_stringop_overflow
="no"
5865 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_stringop_overflow" >&5
5867 $as_echo "$aros_stringop_overflow" >&6; }
5868 if test "x-$aros_stringop_overflow" = "x-yes" ; then
5869 aros_warnflags_stringop_overflow
=-Wstringop-overflow
5870 aros_nowarnflags_stringop_overflow
=-Wno-stringop-overflow
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-truncation" >&5
5874 $as_echo_n "checking whether ${CC} accepts -Wformat-truncation... " >&6; }
5875 CFLAGS
=-Wformat-truncation
5876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5877 /* end confdefs.h. */
5887 if ac_fn_c_try_compile
"$LINENO"; then :
5888 aros_format_truncation
="yes"
5890 aros_format_truncation
="no"
5892 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_truncation" >&5
5894 $as_echo "$aros_format_truncation" >&6; }
5895 if test "x-$aros_format_truncation" = "x-yes" ; then
5896 aros_warnflags_format_truncation
=-Wformat-truncation
5897 aros_nowarnflags_format_truncation
=-Wno-format-truncation
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstringop-truncation" >&5
5901 $as_echo_n "checking whether ${CC} accepts -Wstringop-truncation... " >&6; }
5902 CFLAGS
=-Wstringop-truncation
5903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5904 /* end confdefs.h. */
5914 if ac_fn_c_try_compile
"$LINENO"; then :
5915 aros_stringop_truncation
="yes"
5917 aros_stringop_truncation
="no"
5919 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_stringop_truncation" >&5
5921 $as_echo "$aros_stringop_truncation" >&6; }
5922 if test "x-$aros_stringop_truncation" = "x-yes" ; then
5923 aros_warnflags_stringop_truncation
=-Wstringop-truncation
5924 aros_nowarnflags_stringop_truncation
=-Wno-stringop-truncation
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-negative-value" >&5
5928 $as_echo_n "checking whether ${CC} accepts -Wshift-negative-value... " >&6; }
5929 CFLAGS
=-Wshift-negative-value
5930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5931 /* end confdefs.h. */
5941 if ac_fn_c_try_compile
"$LINENO"; then :
5942 aros_shift_negative_value
="yes"
5944 aros_shift_negative_value
="no"
5946 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_negative_value" >&5
5948 $as_echo "$aros_shift_negative_value" >&6; }
5949 if test "x-$aros_shift_negative_value" = "x-yes" ; then
5950 aros_warnflags_shift_negative_value
=-Wshift-negative-value
5951 aros_nowarnflags_shift_negative_value
=-Wno-shift-negative-value
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-field-initializers" >&5
5955 $as_echo_n "checking whether ${CC} accepts -Wmissing-field-initializers... " >&6; }
5956 CFLAGS
=-Wmissing-field-initializers
5957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5958 /* end confdefs.h. */
5968 if ac_fn_c_try_compile
"$LINENO"; then :
5969 aros_missing_field_initializers
="yes"
5971 aros_missing_field_initializers
="no"
5973 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_field_initializers" >&5
5975 $as_echo "$aros_missing_field_initializers" >&6; }
5976 if test "x-$aros_missing_field_initializers" = "x-yes" ; then
5977 aros_warnflags_missing_field_initializers
=-Wmissing-field-initializers
5978 aros_nowarnflags_missing_field_initializers
=-Wno-missing-field-initializers
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-fallthrough" >&5
5982 $as_echo_n "checking whether ${CC} accepts -Wimplicit-fallthrough... " >&6; }
5983 CFLAGS
=-Wimplicit-fallthrough
5984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5985 /* end confdefs.h. */
5995 if ac_fn_c_try_compile
"$LINENO"; then :
5996 aros_implicit_fallthrough
="yes"
5998 aros_implicit_fallthrough
="no"
6000 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_fallthrough" >&5
6002 $as_echo "$aros_implicit_fallthrough" >&6; }
6003 if test "x-$aros_implicit_fallthrough" = "x-yes" ; then
6004 aros_warnflags_implicit_fallthrough
=-Wimplicit-fallthrough
6005 aros_nowarnflags_implicit_fallthrough
=-Wno-implicit-fallthrough
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-prototypes" >&5
6009 $as_echo_n "checking whether ${CC} accepts -Wmissing-prototypes... " >&6; }
6010 CFLAGS
=-Wmissing-prototypes
6011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6012 /* end confdefs.h. */
6022 if ac_fn_c_try_compile
"$LINENO"; then :
6023 aros_missing_prototypes
="yes"
6025 aros_missing_prototypes
="no"
6027 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_prototypes" >&5
6029 $as_echo "$aros_missing_prototypes" >&6; }
6030 if test "x-$aros_missing_prototypes" = "x-yes" ; then
6031 aros_warnflags_missing_prototypes
=-Wmissing-prototypes
6032 aros_nowarnflags_missing_prototypes
=-Wno-missing-prototypes
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wclass-memaccess" >&5
6036 $as_echo_n "checking whether ${CC} accepts -Wclass-memaccess... " >&6; }
6037 CFLAGS
=-Wclass-memaccess
6038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6039 /* end confdefs.h. */
6049 if ac_fn_c_try_compile
"$LINENO"; then :
6050 aros_class_memaccess
="yes"
6052 aros_class_memaccess
="no"
6054 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_class_memaccess" >&5
6056 $as_echo "$aros_class_memaccess" >&6; }
6057 if test "x-$aros_class_memaccess" = "x-yes" ; then
6058 aros_warnflags_class_memaccess
=-Wclass-memaccess
6059 aros_nowarnflags_class_memaccess
=-Wno-class-memaccess
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-in-bool-context" >&5
6063 $as_echo_n "checking whether ${CC} accepts -Wint-in-bool-context... " >&6; }
6064 CFLAGS
=-Wint-in-bool-context
6065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6066 /* end confdefs.h. */
6076 if ac_fn_c_try_compile
"$LINENO"; then :
6077 aros_int_in_bool_context
="yes"
6079 aros_int_in_bool_context
="no"
6081 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_in_bool_context" >&5
6083 $as_echo "$aros_int_in_bool_context" >&6; }
6084 if test "x-$aros_int_in_bool_context" = "x-yes" ; then
6085 aros_warnflags_int_in_bool_context
=-Wint-in-bool-context
6086 aros_nowarnflags_int_in_bool_context
=-Wno-int-in-bool-context
6088 CFLAGS
="$save_cflags"
6090 # Check the C++ warnings
6092 ac_cpp
='$CXXCPP $CPPFLAGS'
6093 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6094 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6095 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6097 save_cxxflags
="$CXXFLAGS"
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} accepts -Wconversion-null" >&5
6100 $as_echo_n "checking whether ${CXX} accepts -Wconversion-null... " >&6; }
6101 CXXFLAGS
=-Wconversion-null
6102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6103 /* end confdefs.h. */
6113 if ac_fn_cxx_try_compile
"$LINENO"; then :
6114 aros_conversion_null
="yes"
6116 aros_conversion_null
="no"
6118 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
6120 $as_echo "$aros_conversion_null" >&6; }
6121 if test "x-$aros_conversion_null" = "x-yes" ; then
6122 aros_warnflags_conversion_null
=-Wconversion-null
6123 aros_nowarnflags_conversion_null
=-Wno-conversion-null
6126 CXXFLAGS
="$save_cxxflags"
6129 ac_cpp
='$CPP $CPPFLAGS'
6130 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6131 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6132 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6135 #########################################################
6137 # Now check what we need to use with the toolchain
6139 cat >$AROS_DEVELOPER/include
/__testsincdir.h
<<_ACEOF
6140 /* Copyright (c) The AROS Dev Team */
6141 #define _TESTINCFOUND
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need to use --sysroot" >&5
6145 $as_echo_n "checking if we need to use --sysroot... " >&6; }
6146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6147 /* end confdefs.h. */
6149 #include <__testsincdir.h>
6150 #ifndef _TESTINCFOUND
6151 error: Couldnt find include!
6162 if ac_fn_c_try_compile
"$LINENO"; then :
6163 toolchain_needs_sysroot
=no
6165 toolchain_needs_sysroot
=yes
6167 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolchain_needs_sysroot" >&5
6169 $as_echo "$toolchain_needs_sysroot" >&6; }
6171 if test "$toolchain_needs_sysroot" = "yes" ; then
6172 aros_toolchain_sysroot
="--sysroot $""(AROS_DEVELOPER)"
6175 #AC_MSG_CHECKING([if we need to use --isysroot])
6176 #AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
6178 # (#include <__testsincdir.h>
6179 # #ifndef _TESTINCFOUND
6180 # error: Couldnt find include!
6183 # [toolchain_needs_isysroot=no],
6184 # [toolchain_needs_isysroot=yes])
6185 #AC_MSG_RESULT($toolchain_needs_isysroot)
6187 #if test "$toolchain_needs_isysroot" = "yes" ; then
6188 # aros_toolchain_isysroot="-isysroot $""(AROS_SDK)"
6189 # aros_toolchain_iarchdir="-I $""(AROS_SDK)/$""(AROS_TARGET_CPU)-aros/include"
6191 rm -f $AROS_DEVELOPER/include
/__testsincdir.h
6194 # export the feature flags...
6260 # export the feature options...
6268 # ...and warning flags...
6416 # Additional toolchain support ...
6419 ac_config_files
="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in"
6422 cat >confcache
<<\_ACEOF
6423 # This file is a shell script that caches the results of configure
6424 # tests run on this system so they can be shared between configure
6425 # scripts and configure runs, see configure's option --config-cache.
6426 # It is not useful on other systems. If it contains results you don't
6427 # want to keep, you may remove or edit it.
6429 # config.status only pays attention to the cache file if you give it
6430 # the --recheck option to rerun configure.
6432 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6433 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6438 # The following way of writing the cache mishandles newlines in values,
6439 # but we know of no workaround that is simple, portable, and efficient.
6440 # So, we kill variables containing newlines.
6441 # Ultrix sh set writes to stderr and can't be redirected directly,
6442 # and sets the high bit in the cache file unless we assign to the vars.
6444 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6445 eval ac_val
=\$
$ac_var
6449 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6450 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6453 _ | IFS | as_nl
) ;; #(
6454 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
6455 *) { eval $ac_var=; unset $ac_var;} ;;
6461 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6462 *${as_nl}ac_space
=\
*)
6463 # `set' does not quote correctly, so add quotes: double-quote
6464 # substitution turns \\\\ into \\, and sed turns \\ into \.
6467 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6470 # `set' quotes correctly as required by POSIX, so do not add quotes.
6471 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6480 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6482 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6484 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
6485 if test -w "$cache_file"; then
6486 if test "x$cache_file" != "x/dev/null"; then
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6488 $as_echo "$as_me: updating cache $cache_file" >&6;}
6489 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
6490 cat confcache
>"$cache_file"
6492 case $cache_file in #(
6494 mv -f confcache
"$cache_file"$$
&&
6495 mv -f "$cache_file"$$
"$cache_file" ;; #(
6497 mv -f confcache
"$cache_file" ;;
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6503 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6508 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6509 # Let make expand exec_prefix.
6510 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6512 # Transform confdefs.h into DEFS.
6513 # Protect against shell expansion while executing Makefile rules.
6514 # Protect against Makefile macro expansion.
6516 # If the first sed substitution is executed (which looks for macros that
6517 # take arguments), then branch to the quote section. Otherwise,
6518 # look for a macro that doesn't take arguments.
6528 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
6530 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
6534 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
6547 DEFS
=`sed -n "$ac_script" confdefs.h`
6553 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6554 # 1. Remove the extension, and $U if already installed.
6555 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
6556 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
6557 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6558 # will be set to the directory where LIBOBJS objects are built.
6559 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6560 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
6564 LTLIBOBJS
=$ac_ltlibobjs
6568 : "${CONFIG_STATUS=./config.status}"
6570 ac_clean_files_save
=$ac_clean_files
6571 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6573 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6575 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6577 # Generated by $as_me.
6578 # Run this file to recreate the current configuration.
6579 # Compiler output produced by configure, useful for debugging
6580 # configure, is in config.log if it exists.
6586 SHELL=\${CONFIG_SHELL-$SHELL}
6589 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
6590 ## -------------------- ##
6591 ## M4sh Initialization. ##
6592 ## -------------------- ##
6594 # Be more Bourne compatible
6595 DUALCASE
=1; export DUALCASE
# for MKS sh
6596 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
6599 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6600 # is contrary to our usage. Disable this feature.
6601 alias -g '${1+"$@"}'='"$@"'
6602 setopt NO_GLOB_SUBST
6604 case `(set -o) 2>/dev/null` in #(
6616 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6617 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6618 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6619 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6620 # Prefer a ksh shell builtin over an external printf program on Solaris,
6621 # but without wasting forks for bash or zsh.
6622 if test -z "$BASH_VERSION$ZSH_VERSION" \
6623 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6624 as_echo='print
-r --'
6625 as_echo_n='print
-rn --'
6626 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6627 as_echo='printf %s
\n'
6628 as_echo_n='printf %s
'
6630 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6631 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
6632 as_echo_n='/usr
/ucb
/echo -n'
6634 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6635 as_echo_n_body='eval
6639 expr "X$arg" : "X\\(.*\\)$as_nl";
6640 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6642 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
6644 export as_echo_n_body
6645 as_echo_n='sh
-c $as_echo_n_body as_echo
'
6648 as_echo='sh
-c $as_echo_body as_echo
'
6651 # The user is always right.
6652 if test "${PATH_SEPARATOR+set}" != set; then
6654 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6655 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6662 # We need space, tab and new line, in precisely that order. Quoting is
6663 # there to prevent editors from complaining about space-tab.
6664 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6665 # splitting by setting IFS to empty value.)
6668 # Find who we are. Look in the path if we contain no directory separator.
6671 *[\\/]* ) as_myself=$0 ;;
6672 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6676 test -z "$as_dir" && as_dir=.
6677 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6683 # We did not find ourselves, most probably we were run as `sh COMMAND'
6684 # in which case we are not to be found in the path.
6685 if test "x$as_myself" = x
; then
6688 if test ! -f "$as_myself"; then
6689 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6693 # Unset variables that we do not need and which cause bugs (e.g. in
6694 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6695 # suppresses any "Segmentation fault" message there. '((' could
6696 # trigger a bug in pdksh 5.2.14.
6697 for as_var
in BASH_ENV ENV MAIL MAILPATH
6698 do eval test x\
${$as_var+set} = xset \
6699 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
6712 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
6715 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6716 # ----------------------------------------
6717 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6718 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6719 # script with STATUS, using 1 if that was 0.
6722 as_status
=$1; test $as_status -eq 0 && as_status
=1
6724 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
6725 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6727 $as_echo "$as_me: error: $2" >&2
6728 as_fn_exit
$as_status
6732 # as_fn_set_status STATUS
6733 # -----------------------
6734 # Set $? to STATUS, without forking.
6738 } # as_fn_set_status
6742 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6752 # Portably unset VAR.
6755 { eval $1=; unset $1;}
6757 as_unset
=as_fn_unset
6758 # as_fn_append VAR VALUE
6759 # ----------------------
6760 # Append the text in VALUE to the end of the definition contained in VAR. Take
6761 # advantage of any shell optimizations that allow amortized linear growth over
6762 # repeated appends, instead of the typical quadratic growth present in naive
6764 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
6765 eval 'as_fn_append ()
6776 # as_fn_arith ARG...
6777 # ------------------
6778 # Perform arithmetic evaluation on the ARGs, and store the result in the
6779 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6780 # must be portable across $(()) and expr.
6781 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
6782 eval 'as_fn_arith ()
6789 as_val
=`expr "$@" || test $? -eq 1`
6794 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
6795 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6801 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6802 as_basename
=basename
6807 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
6813 as_me
=`$as_basename -- "$0" ||
6814 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6815 X"$0" : 'X\(//\)$' \| \
6816 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6818 sed '/^.*\/\([^/][^/]*\)\/*$/{
6832 # Avoid depending upon Character Ranges.
6833 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6834 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6835 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6836 as_cr_digits
='0123456789'
6837 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6839 ECHO_C
= ECHO_N
= ECHO_T
=
6840 case `echo -n x` in #(((((
6842 case `echo 'xy\c'` in
6843 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
6845 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
6852 rm -f conf$$ conf$$.exe conf$$.
file
6853 if test -d conf$$.dir
; then
6854 rm -f conf$$.dir
/conf$$.
file
6857 mkdir conf$$.dir
2>/dev
/null
6859 if (echo >conf$$.
file) 2>/dev
/null
; then
6860 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6862 # ... but there are two gotchas:
6863 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6864 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6865 # In both cases, we have to default to `cp -pR'.
6866 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
6868 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6876 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
6877 rmdir conf$$.dir
2>/dev
/null
6882 # Create "$as_dir" as a directory, including parents if necessary.
6887 -*) as_dir
=.
/$as_dir;;
6889 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
6893 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6894 *) as_qdir
=$as_dir;;
6896 as_dirs
="'$as_qdir' $as_dirs"
6897 as_dir
=`$as_dirname -- "$as_dir" ||
6898 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6899 X"$as_dir" : 'X\(//\)[^/]' \| \
6900 X"$as_dir" : 'X\(//\)$' \| \
6901 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6902 $as_echo X"$as_dir" |
6903 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6920 test -d "$as_dir" && break
6922 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
6923 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
6927 if mkdir
-p .
2>/dev
/null
; then
6928 as_mkdir_p
='mkdir -p "$as_dir"'
6930 test -d .
/-p && rmdir .
/-p
6935 # as_fn_executable_p FILE
6936 # -----------------------
6937 # Test if FILE is an executable regular file.
6938 as_fn_executable_p
()
6940 test -f "$1" && test -x "$1"
6941 } # as_fn_executable_p
6943 as_executable_p
=as_fn_executable_p
6945 # Sed expression to map a string onto a valid CPP name.
6946 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6948 # Sed expression to map a string onto a valid variable name.
6949 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6953 ## ----------------------------------- ##
6954 ## Main body of $CONFIG_STATUS script. ##
6955 ## ----------------------------------- ##
6957 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
6959 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6960 # Save the log message, to keep $0 and so on meaningful, and to
6961 # report actual input values of CONFIG_FILES etc. instead of their
6962 # values after options handling.
6964 This file was extended by $as_me, which was
6965 generated by GNU Autoconf 2.69. Invocation command line was
6967 CONFIG_FILES = $CONFIG_FILES
6968 CONFIG_HEADERS = $CONFIG_HEADERS
6969 CONFIG_LINKS = $CONFIG_LINKS
6970 CONFIG_COMMANDS = $CONFIG_COMMANDS
6973 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6978 case $ac_config_files in *"
6979 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
6984 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6985 # Files that config.status was made for.
6986 config_files="$ac_config_files"
6990 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6992 \`$as_me' instantiates files and other configuration actions
6993 from templates according to the current configuration. Unless the files
6994 and actions are specified as TAGs, all are instantiated by default.
6996 Usage: $0 [OPTION]... [TAG]...
6998 -h, --help print this help, then exit
6999 -V, --version print version number and configuration settings, then exit
7000 --config print configuration, then exit
7001 -q, --quiet, --silent
7002 do not print progress messages
7003 -d, --debug don't remove temporary files
7004 --recheck update $as_me by reconfiguring in the same conditions
7005 --file=FILE[:TEMPLATE]
7006 instantiate the configuration file FILE
7008 Configuration files:
7011 Report bugs to the package provider."
7014 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7015 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7018 configured by $0, generated by GNU Autoconf 2.69,
7019 with options \\"\$ac_cs_config\\"
7021 Copyright (C) 2012 Free Software Foundation, Inc.
7022 This config.status script is free software; the Free Software Foundation
7023 gives unlimited permission to copy, distribute and modify it."
7027 test -n "\$AWK" || AWK=awk
7030 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7031 # The default lists apply if the user does not specify any file.
7037 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7038 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7042 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7054 # Handling of the options.
7055 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7057 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7058 $as_echo "$ac_cs_version"; exit ;;
7059 --config |
--confi |
--conf |
--con |
--co |
--c )
7060 $as_echo "$ac_cs_config"; exit ;;
7061 --debug |
--debu |
--deb |
--de |
--d |
-d )
7063 --file |
--fil |
--fi |
--f )
7066 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7067 '') as_fn_error $?
"missing file argument" ;;
7069 as_fn_append CONFIG_FILES
" '$ac_optarg'"
7070 ac_need_defaults
=false
;;
7071 --he |
--h |
--help |
--hel |
-h )
7072 $as_echo "$ac_cs_usage"; exit ;;
7073 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7074 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7078 -*) as_fn_error $?
"unrecognized option: \`$1'
7079 Try \`$0 --help' for more information." ;;
7081 *) as_fn_append ac_config_targets
" $1"
7082 ac_need_defaults
=false
;;
7088 ac_configure_extra_args
=
7090 if $ac_cs_silent; then
7092 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7096 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7097 if \$ac_cs_recheck; then
7098 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7100 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7101 CONFIG_SHELL='$SHELL'
7107 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7111 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7112 ## Running $as_me. ##
7118 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7121 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7123 # Handling of arguments.
7124 for ac_config_target
in $ac_config_targets
7126 case $ac_config_target in
7127 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in" ;;
7129 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7134 # If the user did not use the arguments to specify the items to instantiate,
7135 # then the envvar interface is used. Set only those that are not.
7136 # We use the long form for the default assignment because of an extremely
7137 # bizarre bug on SunOS 4.1.3.
7138 if $ac_need_defaults; then
7139 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7142 # Have a temporary directory for convenience. Make it in the build tree
7143 # simply because there is no reason against having it here, and in addition,
7144 # creating and moving files from /tmp can sometimes cause problems.
7145 # Hook for its removal unless debugging.
7146 # Note that there is a small window in which the directory will not be cleaned:
7147 # after its creation but before its name has been assigned to `$tmp'.
7151 trap 'exit_status=$?
7153 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7155 trap 'as_fn_exit 1' 1 2 13 15
7157 # Create a (secure) tmp directory for tmp files.
7160 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7164 tmp
=.
/conf$$
-$RANDOM
7165 (umask 077 && mkdir
"$tmp")
7166 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
7169 # Set up the scripts for CONFIG_FILES section.
7170 # No need to generate them if there are no CONFIG_FILES.
7171 # This happens for instance with `./config.status config.h'.
7172 if test -n "$CONFIG_FILES"; then
7175 ac_cr
=`echo X | tr X '\015'`
7176 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7177 # But we know of no other shell where ac_cr would be empty at this
7178 # point, so we can use a bashism as a fallback.
7179 if test "x$ac_cr" = x
; then
7180 eval ac_cr
=\$
\'\\r
\'
7182 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7183 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7189 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7194 echo "cat >conf$$subs.awk <<_ACEOF" &&
7195 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7198 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7199 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7201 for ac_last_try in false false false false false :; do
7202 . ./conf$$subs.sh ||
7203 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7205 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
7206 if test $ac_delim_n = $ac_delim_num; then
7208 elif $ac_last_try; then
7209 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7211 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7216 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7217 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
7221 s/^/S["/; s
/!.
*/"]=/
7231 s/\(.\{148\}\)..*/\1/
7233 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
7238 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7245 s/\(.\{148\}\)..*/\1/
7247 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
7251 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7256 ' <conf$$subs.awk | sed '
7261 ' >>$CONFIG_STATUS || ac_write_fail=1
7262 rm -f conf$$subs.awk
7263 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7265 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
7266 for (key in S) S_is_set[key] = 1
7272 nfields = split(line, field, "@
")
7274 len = length(field[1])
7275 for (i = 2; i < nfields; i++) {
7277 keylen = length(key)
7278 if (S_is_set[key]) {
7280 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7281 len += length(value) + length(field[++i])
7292 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7293 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7294 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
7297 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
7298 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
7301 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7302 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
7303 # trailing colons and then remove the whole line if VPATH becomes empty
7304 # (actually we leave an empty line to preserve line numbers).
7305 if test "x
$srcdir" = x.; then
7306 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7324 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7325 fi # test -n "$CONFIG_FILES"
7328 eval set X " :F
$CONFIG_FILES "
7333 :[FHLC]) ac_mode=$ac_tag; continue;;
7335 case $ac_mode$ac_tag in
7337 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
7338 :[FH]-) ac_tag=-:-;;
7339 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7356 -) ac_f="$ac_tmp/stdin";;
7357 *) # Look for the file first in the build tree, then in the source tree
7358 # (if the path is not absolute). The absolute path cannot be DOS-style,
7359 # because $ac_f cannot contain `:'.
7363 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7365 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7367 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
7368 as_fn_append ac_file_inputs " '$ac_f'"
7371 # Let's still pretend it is `configure' which instantiates (i.e., don't
7372 # use $as_me), people would be surprised to read:
7373 # /* config.h. Generated by config.status. */
7374 configure_input='Generated from '`
7375 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7377 if test x"$ac_file" != x-; then
7378 configure_input="$ac_file.
$configure_input"
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
7380 $as_echo "$as_me: creating
$ac_file" >&6;}
7382 # Neutralize special characters interpreted by sed in replacement strings.
7383 case $configure_input in #(
7384 *\&* | *\|* | *\\* )
7385 ac_sed_conf_input=`$as_echo "$configure_input" |
7386 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7387 *) ac_sed_conf_input=$configure_input;;
7391 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
7392 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
7397 ac_dir=`$as_dirname -- "$ac_file" ||
7398 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7399 X"$ac_file" : 'X\(//\)[^/]' \| \
7400 X"$ac_file" : 'X\(//\)$' \| \
7401 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7402 $as_echo X"$ac_file" |
7403 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7420 as_dir="$ac_dir"; as_fn_mkdir_p
7424 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7426 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7427 # A "..
" for each directory in $ac_dir_suffix.
7428 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7429 case $ac_top_builddir_sub in
7430 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7431 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7434 ac_abs_top_builddir=$ac_pwd
7435 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7436 # for backward compatibility:
7437 ac_top_builddir=$ac_top_build_prefix
7440 .) # We are building in place.
7442 ac_top_srcdir=$ac_top_builddir_sub
7443 ac_abs_top_srcdir=$ac_pwd ;;
7444 [\\/]* | ?:[\\/]* ) # Absolute name.
7445 ac_srcdir=$srcdir$ac_dir_suffix;
7446 ac_top_srcdir=$srcdir
7447 ac_abs_top_srcdir=$srcdir ;;
7449 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7450 ac_top_srcdir=$ac_top_build_prefix$srcdir
7451 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7453 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7464 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7465 # If the template does not know about datarootdir, expand it.
7466 # FIXME: This hack should be removed a few years after 2.60.
7467 ac_datarootdir_hack=; ac_datarootdir_seen=
7478 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
7479 *datarootdir*) ac_datarootdir_seen=yes;;
7480 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
7482 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
7484 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7485 ac_datarootdir_hack='
7486 s&@datadir@&$datadir&g
7487 s&@docdir@&$docdir&g
7488 s&@infodir@&$infodir&g
7489 s&@localedir@&$localedir&g
7490 s&@mandir@&$mandir&g
7491 s&\\\${datarootdir}&$datarootdir&g' ;;
7495 # Neutralize VPATH when `$srcdir' = `.'.
7496 # Shell code in configure.ac might set extrasub.
7497 # FIXME: do we really want to maintain this feature?
7498 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7499 ac_sed_extra="$ac_vpsub
7502 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7504 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7505 s|@configure_input@|
$ac_sed_conf_input|
;t t
7506 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
7507 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
7508 s
&@srcdir@
&$ac_srcdir&;t t
7509 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
7510 s
&@top_srcdir@
&$ac_top_srcdir&;t t
7511 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
7512 s
&@builddir@
&$ac_builddir&;t t
7513 s
&@abs_builddir@
&$ac_abs_builddir&;t t
7514 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
7515 $ac_datarootdir_hack
7517 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
7518 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
7520 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7521 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
7522 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7523 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
7525 which seems to be undefined. Please make sure it is defined" >&5
7526 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
7527 which seems to be undefined. Please make sure it is defined" >&2;}
7529 rm -f "$ac_tmp/stdin"
7531 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7532 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7534 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7546 ac_clean_files=$ac_clean_files_save
7548 test $ac_write_fail = 0 ||
7549 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7552 # configure is writing to config.log, and then calls config.status.
7553 # config.status does its own redirection, appending to config.log.
7554 # Unfortunately, on DOS this fails, as config.log is still kept open
7555 # by configure, so config.status won't be able to
write to it
; its
7556 # output is simply discarded. So we exec the FD to /dev/null,
7557 # effectively closing config.log, so it can be properly (re)opened and
7558 # appended to by config.status. When coming back to configure, we
7559 # need to make the FD available again.
7560 if test "$no_create" != yes; then
7562 ac_config_status_args
=
7563 test "$silent" = yes &&
7564 ac_config_status_args
="$ac_config_status_args --quiet"
7566 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7568 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7569 # would make configure fail if this is the last instruction.
7570 $ac_cs_success || as_fn_exit
1
7572 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7574 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}