2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
199 if (eval "$as_required") 2>/dev
/null
; then :
204 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
209 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
212 test -z "$as_dir" && as_dir
=.
216 for as_base
in sh bash ksh sh5
; do
217 # Try only shells that exist, to save several forks.
218 as_shell
=$as_dir/$as_base
219 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
220 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
221 CONFIG_SHELL
=$as_shell as_have_required
=yes
222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
230 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
232 CONFIG_SHELL
=$SHELL as_have_required
=yes
237 if test "x$CONFIG_SHELL" != x
; then :
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
245 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
247 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 if test x
$as_have_required = xno
; then :
260 $as_echo "$0: This script requires a shell more modern than all"
261 $as_echo "$0: the shells that I found on your system."
262 if test x
${ZSH_VERSION+set} = xset
; then
263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267 $0: including any error possibly output before this
268 $0: message. Then install a modern shell, or manually run
269 $0: the script under such a shell if you do have one."
275 SHELL
=${CONFIG_SHELL-/bin/sh}
277 # Unset more variables known to interfere with behavior of common tools.
278 CLICOLOR_FORCE
= GREP_OPTIONS
=
279 unset CLICOLOR_FORCE GREP_OPTIONS
281 ## --------------------- ##
282 ## M4sh Shell Functions. ##
283 ## --------------------- ##
286 # Portably unset VAR.
289 { eval $1=; unset $1;}
293 # as_fn_set_status STATUS
294 # -----------------------
295 # Set $? to STATUS, without forking.
303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 # Create "$as_dir" as a directory, including parents if necessary.
318 -*) as_dir
=.
/$as_dir;;
320 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
324 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
327 as_dirs
="'$as_qdir' $as_dirs"
328 as_dir
=`$as_dirname -- "$as_dir" ||
329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330 X"$as_dir" : 'X\(//\)[^/]' \| \
331 X"$as_dir" : 'X\(//\)$' \| \
332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333 $as_echo X"$as_dir" |
334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
351 test -d "$as_dir" && break
353 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
354 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
359 # as_fn_executable_p FILE
360 # -----------------------
361 # Test if FILE is an executable regular file.
362 as_fn_executable_p
()
364 test -f "$1" && test -x "$1"
365 } # as_fn_executable_p
366 # as_fn_append VAR VALUE
367 # ----------------------
368 # Append the text in VALUE to the end of the definition contained in VAR. Take
369 # advantage of any shell optimizations that allow amortized linear growth over
370 # repeated appends, instead of the typical quadratic growth present in naive
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
373 eval 'as_fn_append ()
386 # Perform arithmetic evaluation on the ARGs, and store the result in the
387 # global $as_val. Take advantage of shells that can avoid forks. The arguments
388 # must be portable across $(()) and expr.
389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
397 as_val
=`expr "$@" || test $? -eq 1`
402 # as_fn_error STATUS ERROR [LINENO LOG_FD]
403 # ----------------------------------------
404 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406 # script with STATUS, using 1 if that was 0.
409 as_status
=$1; test $as_status -eq 0 && as_status
=1
411 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414 $as_echo "$as_me: error: $2" >&2
415 as_fn_exit
$as_status
418 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
419 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
425 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
431 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
437 as_me
=`$as_basename -- "$0" ||
438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439 X"$0" : 'X\(//\)$' \| \
440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
442 sed '/^.*\/\([^/][^/]*\)\/*$/{
456 # Avoid depending upon Character Ranges.
457 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
458 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
460 as_cr_digits
='0123456789'
461 as_cr_alnum
=$as_cr_Letters$as_cr_digits
464 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
465 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
484 chmod +x
"$as_me.lineno" ||
485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488 # already done that, so ensure we don't try to do so again and fall
489 # in an infinite loop. This has already happened in practice.
490 _as_can_reexec
=no
; export _as_can_reexec
491 # Don't try to exec as it changes $[0], causing all sort of problems
492 # (the dirname of $[0] is not the place where we might find the
493 # original and so on. Autoconf is especially sensitive to this).
495 # Exit status is that of the last command.
499 ECHO_C
= ECHO_N
= ECHO_T
=
500 case `echo -n x` in #(((((
502 case `echo 'xy\c'` in
503 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
512 rm -f conf$$ conf$$.exe conf$$.
file
513 if test -d conf$$.dir
; then
514 rm -f conf$$.dir
/conf$$.
file
517 mkdir conf$$.dir
2>/dev
/null
519 if (echo >conf$$.
file) 2>/dev
/null
; then
520 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -pR'.
526 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
528 elif ln conf$$.
file conf$$
2>/dev
/null
; then
536 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
537 rmdir conf$$.dir
2>/dev
/null
539 if mkdir
-p .
2>/dev
/null
; then
540 as_mkdir_p
='mkdir -p "$as_dir"'
542 test -d .
/-p && rmdir .
/-p
547 as_executable_p
=as_fn_executable_p
549 # Sed expression to map a string onto a valid CPP name.
550 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552 # Sed expression to map a string onto a valid variable name.
553 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
556 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
560 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
561 # so uname gets run too.
562 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
567 ac_default_prefix
=/usr
/local
569 ac_config_libobj_dir
=.
576 # Identity of this package.
584 ac_unique_file
="../mmakefile"
585 ac_subst_vars
='LTLIBOBJS
587 aros_toolchain_sysroot
588 aros_nowarnflags_int_in_bool_context
589 aros_warnflags_int_in_bool_context
590 aros_nowarnflags_class_memaccess
591 aros_warnflags_class_memaccess
592 aros_nowarnflags_missing_prototypes
593 aros_warnflags_missing_prototypes
594 aros_nowarnflags_implicit_fallthrough
595 aros_warnflags_implicit_fallthrough
596 aros_nowarnflags_missing_field_initializers
597 aros_warnflags_missing_field_initializers
598 aros_nowarnflags_shift_negative_value
599 aros_warnflags_shift_negative_value
600 aros_nowarnflags_stringop_truncation
601 aros_warnflags_stringop_truncation
602 aros_nowarnflags_format_truncation
603 aros_warnflags_format_truncation
604 aros_nowarnflags_stringop_overflow
605 aros_warnflags_stringop_overflow
606 aros_nowarnflags_format_overflow
607 aros_warnflags_format_overflow
608 aros_nowarnflags_empty_body
609 aros_warnflags_empty_body
610 aros_nowarnflags_tautological_compare
611 aros_warnflags_tautological_compare
612 aros_nowarnflags_lto_type_mismatch
613 aros_warnflags_lto_type_mismatch
614 aros_nowarnflags_format_zero_length
615 aros_warnflags_format_zero_length
616 aros_nowarnflags_return_type
617 aros_warnflags_return_type
618 aros_nowarnflags_sizeof_pointer_memaccess
619 aros_warnflags_sizeof_pointer_memaccess
620 aros_nowarnflags_volatile_register_var
621 aros_warnflags_volatile_register_var
622 aros_nowarnflags_narrowing
623 aros_warnflags_narrowing
624 aros_nowarnflags_conversion_null
625 aros_warnflags_conversion_null
626 aros_nowarnflags_missing_braces
627 aros_warnflags_missing_braces
628 aros_nowarnflags_unused_local_typedefs
629 aros_warnflags_unused_local_typedefs
630 aros_nowarnflags_overflow
631 aros_warnflags_overflow
632 aros_nowarnflags_attributes
633 aros_warnflags_attributes
634 aros_nowarnflags_sign_compare
635 aros_warnflags_sign_compare
636 aros_nowarnflags_deprecated_declarations
637 aros_warnflags_deprecated_declarations
638 aros_nowarnflags_frame_address
639 aros_warnflags_frame_address
640 aros_nowarnflags_shift_overflow
641 aros_warnflags_shift_overflow
642 aros_nowarnflags_pointer_sign
643 aros_warnflags_pointer_sign
644 aros_nowarnflags_logical_not_parentheses
645 aros_warnflags_logical_not_parentheses
646 aros_nowarnflags_bool_compare
647 aros_warnflags_bool_compare
648 aros_nowarnflags_incompatible_pointer_types
649 aros_warnflags_incompatible_pointer_types
650 aros_nowarnflags_comment
651 aros_warnflags_comment
652 aros_nowarnflags_write_strings
653 aros_warnflags_write_strings
654 aros_nowarnflags_unused_const_variable
655 aros_warnflags_unused_const_variable
656 aros_nowarnflags_pointer_to_int_cast
657 aros_warnflags_pointer_to_int_cast
658 aros_nowarnflags_int_to_pointer_cast
659 aros_warnflags_int_to_pointer_cast
660 aros_nowarnflags_int_conversion
661 aros_warnflags_int_conversion
662 aros_nowarnflags_discarded_array_qualifiers
663 aros_warnflags_discarded_array_qualifiers
664 aros_nowarnflags_unknown_pragmas
665 aros_warnflags_unknown_pragmas
666 aros_nowarnflags_sequence_point
667 aros_warnflags_sequence_point
668 aros_nowarnflags_discarded_qualifiers
669 aros_warnflags_discarded_qualifiers
670 aros_nowarnflags_switch
671 aros_warnflags_switch
674 aros_nowarnflags_aggressive_loop_optimizations
675 aros_warnflags_aggressive_loop_optimizations
676 aros_nowarnflags_implicit_int
677 aros_warnflags_implicit_int
678 aros_nowarnflags_format_contains_nul
679 aros_warnflags_format_contains_nul
680 aros_nowarnflags_endif_labels
681 aros_warnflags_endif_labels
682 aros_nowarnflags_char_subscripts
683 aros_warnflags_char_subscripts
684 aros_nowarnflags_parentheses
685 aros_warnflags_parentheses
686 aros_nowarnflags_format
687 aros_warnflags_format
688 aros_nowarnflags_implicit_function_declaration
689 aros_warnflags_implicit_function_declaration
690 aros_nowarnflags_maybe_uninitialized
691 aros_warnflags_maybe_uninitialized
692 aros_nowarnflags_uninitialized
693 aros_warnflags_uninitialized
694 aros_nowarnflags_unused_parameter
695 aros_warnflags_unused_parameter
696 aros_nowarnflags_unused_function
697 aros_warnflags_unused_function
698 aros_nowarnflags_unused_variable
699 aros_warnflags_unused_variable
700 aros_nowarnflags_unused_value
701 aros_warnflags_unused_value
702 aros_nowarnflags_unused_label
703 aros_warnflags_unused_label
704 aros_nowarnflags_unused
705 aros_warnflags_unused
706 aros_nowarnflags_nonnull_compare
707 aros_warnflags_nonnull_compare
708 aros_nowarnflags_misleading_indentation
709 aros_warnflags_misleading_indentation
710 aros_nowarnflags_format_security
711 aros_warnflags_format_security
712 aros_nowarnflags_strict_overflow
713 aros_warnflags_strict_overflow
714 aros_nowarnflags_strict_prototypes
715 aros_warnflags_strict_prototypes
716 aros_nowarnflags_enum_compare
717 aros_warnflags_enum_compare
718 aros_nowarnflags_array_bounds
719 aros_warnflags_array_bounds
720 aros_nowarnflags_strict_aliasing
721 aros_warnflags_strict_aliasing
722 aros_nowarnflags_unused_but_set_variable
723 aros_warnflags_unused_but_set_variable
724 aros_nowarnflags_unknown_warning_option
725 aros_warnflags_unknown_warning_option
726 aros_nowarnflags_unused_command_line_argument
727 aros_warnflags_unused_command_line_argument
728 aros_nowarnflags_restrict
729 aros_warnflags_restrict
731 aros_nowarnflags_error
733 aros_cflags_no_ms_bitfields
734 aros_cflags_ms_bitfields
735 aros_cflags_no_red_zone
737 aros_cflags_iquote_end
739 aros_cflags_isystem_end
741 aros_cflags_visibility_hidden
742 aros_cflags_no_asynchronous_unwind_tables
743 aros_cflags_asynchronous_unwind_tables
744 aros_cflags_no_freestanding
745 aros_cflags_freestanding
746 aros_cflags_no_builtin_vsnprintf
747 aros_cflags_no_builtin_floor
748 aros_cflags_no_builtin
750 aros_cflags_noalignednew
751 aros_cflags_alignednew
752 aros_cflags_noinstrfuncs
753 aros_cflags_instrfuncs
754 aros_cflags_notestcoverage
755 aros_cflags_testcoverage
756 aros_cflags_noprofilearcs
757 aros_cflags_profilearcs
762 aros_cflags_noinlinesmallfunctions
763 aros_cflags_inlinesmallfunctions
764 aros_cflags_nostrictaliasing
765 aros_cflags_strictaliasing
766 aros_cflags_unroll_loops
767 aros_cflags_peel_loops
768 aros_cflags_loop_strip_mine
769 aros_cflags_loop_interchange
770 aros_cflags_loop_block
771 aros_cflags_whole_program
774 aros_cflags_no_trapping_math
775 aros_cflags_no_math_errno
776 aros_cflags_fast_math
779 aros_cxxflags_nopermissive
780 aros_cxxflags_permissive
781 aros_cflags_noexceptions
782 aros_cflags_exceptions
821 program_transform_name
834 enable_option_checking
837 ac_precious_vars
='build_alias
850 # Initialize some variables set by options.
852 ac_init_version
=false
853 ac_unrecognized_opts
=
855 # The variables have the same names as the options, with
856 # dashes changed to underlines.
864 program_transform_name
=s
,x
,x
,
872 # Installation directory options.
873 # These are left unexpanded so users can "make install exec_prefix=/foo"
874 # and all the variables that are supposed to be based on exec_prefix
875 # by default will actually change.
876 # Use braces instead of parens because sh, perl, etc. also accept them.
877 # (The list follows the same order as the GNU Coding Standards.)
878 bindir
='${exec_prefix}/bin'
879 sbindir
='${exec_prefix}/sbin'
880 libexecdir
='${exec_prefix}/libexec'
881 datarootdir
='${prefix}/share'
882 datadir
='${datarootdir}'
883 sysconfdir
='${prefix}/etc'
884 sharedstatedir
='${prefix}/com'
885 localstatedir
='${prefix}/var'
886 runstatedir
='${localstatedir}/run'
887 includedir
='${prefix}/include'
888 oldincludedir
='/usr/include'
889 docdir
='${datarootdir}/doc/${PACKAGE}'
890 infodir
='${datarootdir}/info'
895 libdir
='${exec_prefix}/lib'
896 localedir
='${datarootdir}/locale'
897 mandir
='${datarootdir}/man'
903 # If the previous option needs an argument, assign it.
904 if test -n "$ac_prev"; then
905 eval $ac_prev=\
$ac_option
911 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
916 # Accept the important Cygnus configure options, so we can diagnose typos.
918 case $ac_dashdash$ac_option in
922 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
924 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
927 -build |
--build |
--buil |
--bui |
--bu)
928 ac_prev
=build_alias
;;
929 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
930 build_alias
=$ac_optarg ;;
932 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
933 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
934 ac_prev
=cache_file
;;
935 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
936 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
937 cache_file
=$ac_optarg ;;
940 cache_file
=config.cache
;;
942 -datadir |
--datadir |
--datadi |
--datad)
944 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
945 datadir
=$ac_optarg ;;
947 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
948 |
--dataroo |
--dataro |
--datar)
949 ac_prev
=datarootdir
;;
950 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
951 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
952 datarootdir
=$ac_optarg ;;
954 -disable-* |
--disable-*)
955 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
956 # Reject names that are not valid shell variable names.
957 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
958 as_fn_error $?
"invalid feature name: $ac_useropt"
959 ac_useropt_orig
=$ac_useropt
960 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
961 case $ac_user_opts in
965 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
966 ac_unrecognized_sep
=', ';;
968 eval enable_
$ac_useropt=no
;;
970 -docdir |
--docdir |
--docdi |
--doc |
--do)
972 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
975 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
977 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
980 -enable-* |
--enable-*)
981 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
982 # Reject names that are not valid shell variable names.
983 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
984 as_fn_error $?
"invalid feature name: $ac_useropt"
985 ac_useropt_orig
=$ac_useropt
986 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
987 case $ac_user_opts in
991 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
992 ac_unrecognized_sep
=', ';;
994 eval enable_
$ac_useropt=\
$ac_optarg ;;
996 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
997 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
998 |
--exec |
--exe |
--ex)
999 ac_prev
=exec_prefix
;;
1000 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1001 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1002 |
--exec=* |
--exe=* |
--ex=*)
1003 exec_prefix
=$ac_optarg ;;
1005 -gas |
--gas |
--ga |
--g)
1006 # Obsolete; use --with-gas.
1009 -help |
--help |
--hel |
--he |
-h)
1010 ac_init_help
=long
;;
1011 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1012 ac_init_help
=recursive
;;
1013 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1014 ac_init_help
=short
;;
1016 -host |
--host |
--hos |
--ho)
1017 ac_prev
=host_alias
;;
1018 -host=* |
--host=* |
--hos=* |
--ho=*)
1019 host_alias
=$ac_optarg ;;
1021 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1023 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1025 htmldir
=$ac_optarg ;;
1027 -includedir |
--includedir |
--includedi |
--included |
--include \
1028 |
--includ |
--inclu |
--incl |
--inc)
1029 ac_prev
=includedir
;;
1030 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1031 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1032 includedir
=$ac_optarg ;;
1034 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1036 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1037 infodir
=$ac_optarg ;;
1039 -libdir |
--libdir |
--libdi |
--libd)
1041 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1042 libdir
=$ac_optarg ;;
1044 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1045 |
--libexe |
--libex |
--libe)
1046 ac_prev
=libexecdir
;;
1047 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1048 |
--libexe=* |
--libex=* |
--libe=*)
1049 libexecdir
=$ac_optarg ;;
1051 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1052 ac_prev
=localedir
;;
1053 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1054 localedir
=$ac_optarg ;;
1056 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1057 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1058 ac_prev
=localstatedir
;;
1059 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1060 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1061 localstatedir
=$ac_optarg ;;
1063 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1065 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1066 mandir
=$ac_optarg ;;
1068 -nfp |
--nfp |
--nf)
1069 # Obsolete; use --without-fp.
1072 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1073 |
--no-cr |
--no-c |
-n)
1076 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1077 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1080 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1081 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1082 |
--oldin |
--oldi |
--old |
--ol |
--o)
1083 ac_prev
=oldincludedir
;;
1084 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1085 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1086 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1087 oldincludedir
=$ac_optarg ;;
1089 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1091 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1092 prefix
=$ac_optarg ;;
1094 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1095 |
--program-pre |
--program-pr |
--program-p)
1096 ac_prev
=program_prefix
;;
1097 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1098 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1099 program_prefix
=$ac_optarg ;;
1101 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1102 |
--program-suf |
--program-su |
--program-s)
1103 ac_prev
=program_suffix
;;
1104 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1105 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1106 program_suffix
=$ac_optarg ;;
1108 -program-transform-name |
--program-transform-name \
1109 |
--program-transform-nam |
--program-transform-na \
1110 |
--program-transform-n |
--program-transform- \
1111 |
--program-transform |
--program-transfor \
1112 |
--program-transfo |
--program-transf \
1113 |
--program-trans |
--program-tran \
1114 |
--progr-tra |
--program-tr |
--program-t)
1115 ac_prev
=program_transform_name
;;
1116 -program-transform-name=* |
--program-transform-name=* \
1117 |
--program-transform-nam=* |
--program-transform-na=* \
1118 |
--program-transform-n=* |
--program-transform-=* \
1119 |
--program-transform=* |
--program-transfor=* \
1120 |
--program-transfo=* |
--program-transf=* \
1121 |
--program-trans=* |
--program-tran=* \
1122 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1123 program_transform_name
=$ac_optarg ;;
1125 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1127 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1128 pdfdir
=$ac_optarg ;;
1130 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1132 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1135 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1136 |
-silent |
--silent |
--silen |
--sile |
--sil)
1139 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1140 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1141 |
--run |
--ru |
--r)
1142 ac_prev
=runstatedir
;;
1143 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1144 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1145 |
--run=* |
--ru=* |
--r=*)
1146 runstatedir
=$ac_optarg ;;
1148 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1150 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1152 sbindir
=$ac_optarg ;;
1154 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1155 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1156 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1158 ac_prev
=sharedstatedir
;;
1159 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1160 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1161 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1163 sharedstatedir
=$ac_optarg ;;
1165 -site |
--site |
--sit)
1167 -site=* |
--site=* |
--sit=*)
1170 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1172 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1173 srcdir
=$ac_optarg ;;
1175 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1176 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1177 ac_prev
=sysconfdir
;;
1178 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1179 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1180 sysconfdir
=$ac_optarg ;;
1182 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1183 ac_prev
=target_alias
;;
1184 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1185 target_alias
=$ac_optarg ;;
1187 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1190 -version |
--version |
--versio |
--versi |
--vers |
-V)
1191 ac_init_version
=: ;;
1194 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1195 # Reject names that are not valid shell variable names.
1196 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1197 as_fn_error $?
"invalid package name: $ac_useropt"
1198 ac_useropt_orig
=$ac_useropt
1199 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1200 case $ac_user_opts in
1204 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1205 ac_unrecognized_sep
=', ';;
1207 eval with_
$ac_useropt=\
$ac_optarg ;;
1209 -without-* |
--without-*)
1210 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1211 # Reject names that are not valid shell variable names.
1212 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1213 as_fn_error $?
"invalid package name: $ac_useropt"
1214 ac_useropt_orig
=$ac_useropt
1215 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1216 case $ac_user_opts in
1220 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1221 ac_unrecognized_sep
=', ';;
1223 eval with_
$ac_useropt=no
;;
1226 # Obsolete; use --with-x.
1229 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1230 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1231 ac_prev
=x_includes
;;
1232 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1233 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1234 x_includes
=$ac_optarg ;;
1236 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1237 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1238 ac_prev
=x_libraries
;;
1239 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1240 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1241 x_libraries
=$ac_optarg ;;
1243 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1244 Try \`$0 --help' for more information"
1248 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1249 # Reject names that are not valid shell variable names.
1250 case $ac_envvar in #(
1251 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1252 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1254 eval $ac_envvar=\
$ac_optarg
1255 export $ac_envvar ;;
1258 # FIXME: should be removed in autoconf 3.0.
1259 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1260 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1261 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1262 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1268 if test -n "$ac_prev"; then
1269 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1270 as_fn_error $?
"missing argument to $ac_option"
1273 if test -n "$ac_unrecognized_opts"; then
1274 case $enable_option_checking in
1276 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1277 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1281 # Check all directory arguments for consistency.
1282 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1283 datadir sysconfdir sharedstatedir localstatedir includedir \
1284 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1285 libdir localedir mandir runstatedir
1287 eval ac_val
=\$
$ac_var
1288 # Remove trailing slashes.
1291 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1292 eval $ac_var=\
$ac_val;;
1294 # Be sure to have absolute directory names.
1296 [\\/$
]* | ?
:[\\/]* ) continue;;
1297 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1299 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1302 # There might be people who depend on the old broken behavior: `$host'
1303 # used to hold the argument of --host etc.
1304 # FIXME: To remove some day.
1307 target
=$target_alias
1309 # FIXME: To remove some day.
1310 if test "x$host_alias" != x
; then
1311 if test "x$build_alias" = x
; then
1312 cross_compiling
=maybe
1313 elif test "x$build_alias" != "x$host_alias"; then
1319 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1321 test "$silent" = yes && exec 6>/dev
/null
1324 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1325 ac_ls_di
=`ls -di .` &&
1326 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1327 as_fn_error $?
"working directory cannot be determined"
1328 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1329 as_fn_error $?
"pwd does not report name of working directory"
1332 # Find the source files, if location was not specified.
1333 if test -z "$srcdir"; then
1334 ac_srcdir_defaulted
=yes
1335 # Try the directory containing this script, then the parent directory.
1336 ac_confdir
=`$as_dirname -- "$as_myself" ||
1337 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1338 X"$as_myself" : 'X\(//\)[^/]' \| \
1339 X"$as_myself" : 'X\(//\)$' \| \
1340 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1341 $as_echo X"$as_myself" |
1342 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1360 if test ! -r "$srcdir/$ac_unique_file"; then
1364 ac_srcdir_defaulted
=no
1366 if test ! -r "$srcdir/$ac_unique_file"; then
1367 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1368 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1370 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1372 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1374 # When building in place, set srcdir=.
1375 if test "$ac_abs_confdir" = "$ac_pwd"; then
1378 # Remove unnecessary trailing slashes from srcdir.
1379 # Double slashes in file names in object file debugging info
1380 # mess up M-x gdb in Emacs.
1382 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1384 for ac_var
in $ac_precious_vars; do
1385 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1386 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1387 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1388 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1392 # Report the --help message.
1394 if test "$ac_init_help" = "long"; then
1395 # Omit some internal or obsolete options to make the list less imposing.
1396 # This message is too long to be a string in the A/UX 3.1 sh.
1398 \`configure' configures this package to adapt to many kinds of systems.
1400 Usage: $0 [OPTION]... [VAR=VALUE]...
1402 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1403 VAR=VALUE. See below for descriptions of some of the useful variables.
1405 Defaults for the options are specified in brackets.
1408 -h, --help display this help and exit
1409 --help=short display options specific to this package
1410 --help=recursive display the short help of all the included packages
1411 -V, --version display version information and exit
1412 -q, --quiet, --silent do not print \`checking ...' messages
1413 --cache-file=FILE cache test results in FILE [disabled]
1414 -C, --config-cache alias for \`--cache-file=config.cache'
1415 -n, --no-create do not create output files
1416 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1418 Installation directories:
1419 --prefix=PREFIX install architecture-independent files in PREFIX
1420 [$ac_default_prefix]
1421 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1424 By default, \`make install' will install all the files in
1425 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1426 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1427 for instance \`--prefix=\$HOME'.
1429 For better control, use the options below.
1431 Fine tuning of the installation directories:
1432 --bindir=DIR user executables [EPREFIX/bin]
1433 --sbindir=DIR system admin executables [EPREFIX/sbin]
1434 --libexecdir=DIR program executables [EPREFIX/libexec]
1435 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1436 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1437 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1438 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1439 --libdir=DIR object code libraries [EPREFIX/lib]
1440 --includedir=DIR C header files [PREFIX/include]
1441 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1442 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1443 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1444 --infodir=DIR info documentation [DATAROOTDIR/info]
1445 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1446 --mandir=DIR man documentation [DATAROOTDIR/man]
1447 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1448 --htmldir=DIR html documentation [DOCDIR]
1449 --dvidir=DIR dvi documentation [DOCDIR]
1450 --pdfdir=DIR pdf documentation [DOCDIR]
1451 --psdir=DIR ps documentation [DOCDIR]
1458 if test -n "$ac_init_help"; then
1463 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1464 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1465 --with-config-dir=VERSION
1466 Location of generated target config files
1468 Some influential environment variables
:
1469 CC C compiler
command
1470 CFLAGS C compiler flags
1471 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1472 nonstandard directory
<lib dir
>
1473 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1474 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1475 you have headers
in a nonstandard directory
<include dir
>
1476 CXX C
++ compiler
command
1477 CXXFLAGS C
++ compiler flags
1479 Use these variables to override the choices made by
`configure' or to help
1480 it to find libraries and programs with nonstandard names/locations.
1482 Report bugs to the package provider.
1487 if test "$ac_init_help" = "recursive"; then
1488 # If there are subdirs, report their specific --help.
1489 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1490 test -d "$ac_dir" ||
1491 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1496 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1498 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1499 # A ".." for each directory in $ac_dir_suffix.
1500 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1501 case $ac_top_builddir_sub in
1502 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1503 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1506 ac_abs_top_builddir=$ac_pwd
1507 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1508 # for backward compatibility:
1509 ac_top_builddir=$ac_top_build_prefix
1512 .) # We are building in place.
1514 ac_top_srcdir=$ac_top_builddir_sub
1515 ac_abs_top_srcdir=$ac_pwd ;;
1516 [\\/]* | ?:[\\/]* ) # Absolute name.
1517 ac_srcdir=$srcdir$ac_dir_suffix;
1518 ac_top_srcdir=$srcdir
1519 ac_abs_top_srcdir=$srcdir ;;
1521 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1522 ac_top_srcdir=$ac_top_build_prefix$srcdir
1523 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1525 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1527 cd "$ac_dir" || { ac_status=$?; continue; }
1528 # Check for guested configure.
1529 if test -f "$ac_srcdir/configure.gnu"; then
1531 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1532 elif test -f "$ac_srcdir/configure"; then
1534 $SHELL "$ac_srcdir/configure" --help=recursive
1536 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1538 cd "$ac_pwd" || { ac_status=$?; break; }
1542 test -n "$ac_init_help" && exit $ac_status
1543 if $ac_init_version; then
1546 generated by GNU Autoconf 2.69
1548 Copyright (C) 2012 Free Software Foundation, Inc.
1549 This configure script is free software; the Free Software Foundation
1550 gives unlimited permission to copy, distribute and modify it.
1555 ## ------------------------ ##
1556 ## Autoconf initialization. ##
1557 ## ------------------------ ##
1559 # ac_fn_c_try_compile LINENO
1560 # --------------------------
1561 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1562 ac_fn_c_try_compile ()
1564 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1565 rm -f conftest.$ac_objext
1566 if { { ac_try="$ac_compile"
1568 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1569 *) ac_try_echo
=$ac_try;;
1571 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1572 $as_echo "$ac_try_echo"; } >&5
1573 (eval "$ac_compile") 2>conftest.err
1575 if test -s conftest.err
; then
1576 grep -v '^ *+' conftest.err
>conftest.er1
1577 cat conftest.er1
>&5
1578 mv -f conftest.er1 conftest.err
1580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1581 test $ac_status = 0; } && {
1582 test -z "$ac_c_werror_flag" ||
1583 test ! -s conftest.err
1584 } && test -s conftest.
$ac_objext; then :
1587 $as_echo "$as_me: failed program was:" >&5
1588 sed 's/^/| /' conftest.
$ac_ext >&5
1592 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1593 as_fn_set_status
$ac_retval
1595 } # ac_fn_c_try_compile
1597 # ac_fn_cxx_try_compile LINENO
1598 # ----------------------------
1599 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1600 ac_fn_cxx_try_compile
()
1602 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1603 rm -f conftest.
$ac_objext
1604 if { { ac_try
="$ac_compile"
1606 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1607 *) ac_try_echo=$ac_try;;
1609 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1610 $as_echo "$ac_try_echo"; } >&5
1611 (eval "$ac_compile") 2>conftest.err
1613 if test -s conftest.err; then
1614 grep -v '^ *+' conftest.err >conftest.er1
1615 cat conftest.er1 >&5
1616 mv -f conftest.er1 conftest.err
1618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1619 test $ac_status = 0; } && {
1620 test -z "$ac_cxx_werror_flag" ||
1621 test ! -s conftest.err
1622 } && test -s conftest.$ac_objext; then :
1625 $as_echo "$as_me: failed program was:" >&5
1626 sed 's/^/| /' conftest.$ac_ext >&5
1630 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1631 as_fn_set_status $ac_retval
1633 } # ac_fn_cxx_try_compile
1634 cat >config.log <<_ACEOF
1635 This file contains any messages produced by compilers while
1636 running configure, to aid debugging if configure makes a mistake.
1638 It was created by $as_me, which was
1639 generated by GNU Autoconf 2.69. Invocation command line was
1651 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1652 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1653 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1654 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1655 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1657 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1658 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1660 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1661 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1662 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1663 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1664 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1665 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1666 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1674 test -z "$as_dir" && as_dir=.
1675 $as_echo "PATH: $as_dir"
1691 # Keep a trace of the command line.
1692 # Strip out --no-create and --no-recursion so they do not pile up.
1693 # Strip out --silent because we don't want to record it for future runs.
1694 # Also quote any args containing shell meta-characters.
1695 # Make two passes to allow for proper duplicate-argument suppression.
1699 ac_must_keep_next=false
1705 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1706 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1707 | -silent | --silent | --silen | --sile | --sil)
1710 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1713 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1715 as_fn_append ac_configure_args1 " '$ac_arg'"
1716 if test $ac_must_keep_next = true; then
1717 ac_must_keep_next=false # Got value, back to normal.
1720 *=* | --config-cache | -C | -disable-* | --disable-* \
1721 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1722 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1723 | -with-* | --with-* | -without-* | --without-* | --x)
1724 case "$ac_configure_args0 " in
1725 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1728 -* ) ac_must_keep_next=true ;;
1731 as_fn_append ac_configure_args " '$ac_arg'"
1736 { ac_configure_args0=; unset ac_configure_args0;}
1737 { ac_configure_args1=; unset ac_configure_args1;}
1739 # When interrupted or exit'd, cleanup temporary files, and complete
1740 # config.log. We remove comments because anyway the quotes in there
1741 # would cause problems or look ugly.
1742 # WARNING: Use '\'' to represent an apostrophe within the trap.
1743 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1744 trap 'exit_status=$?
1745 # Save into config.log some information that might help in debugging.
1749 $as_echo "## ---------------- ##
1750 ## Cache variables. ##
1751 ## ---------------- ##"
1753 # The following way of writing the cache mishandles newlines in values,
1755 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1756 eval ac_val=\$$ac_var
1760 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1761 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1764 _ | IFS | as_nl) ;; #(
1765 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1766 *) { eval $ac_var=; unset $ac_var;} ;;
1771 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1772 *${as_nl}ac_space=\ *)
1774 "s/'\''/'\''\\\\'\'''\''/g;
1775 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1778 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1785 $as_echo "## ----------------- ##
1786 ## Output variables. ##
1787 ## ----------------- ##"
1789 for ac_var in $ac_subst_vars
1791 eval ac_val=\$$ac_var
1793 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1795 $as_echo "$ac_var='\''$ac_val'\''"
1799 if test -n "$ac_subst_files"; then
1800 $as_echo "## ------------------- ##
1801 ## File substitutions. ##
1802 ## ------------------- ##"
1804 for ac_var in $ac_subst_files
1806 eval ac_val=\$$ac_var
1808 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1810 $as_echo "$ac_var='\''$ac_val'\''"
1815 if test -s confdefs.h; then
1816 $as_echo "## ----------- ##
1823 test "$ac_signal" != 0 &&
1824 $as_echo "$as_me: caught signal $ac_signal"
1825 $as_echo "$as_me: exit $exit_status"
1827 rm -f core *.core core.conftest.* &&
1828 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1831 for ac_signal in 1 2 13 15; do
1832 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1836 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1837 rm -f -r conftest* confdefs.h
1839 $as_echo "/* confdefs.h */" > confdefs.h
1841 # Predefined preprocessor variables.
1843 cat >>confdefs.h <<_ACEOF
1844 #define PACKAGE_NAME "$PACKAGE_NAME"
1847 cat >>confdefs.h <<_ACEOF
1848 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1851 cat >>confdefs.h <<_ACEOF
1852 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1855 cat >>confdefs.h <<_ACEOF
1856 #define PACKAGE_STRING "$PACKAGE_STRING"
1859 cat >>confdefs.h <<_ACEOF
1860 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1863 cat >>confdefs.h <<_ACEOF
1864 #define PACKAGE_URL "$PACKAGE_URL"
1868 # Let the site file select an alternate cache file if it wants to.
1869 # Prefer an explicitly selected file to automatically selected ones.
1872 if test -n "$CONFIG_SITE"; then
1873 # We do not want a PATH search for config.site.
1874 case $CONFIG_SITE in #((
1875 -*) ac_site_file1=./$CONFIG_SITE;;
1876 */*) ac_site_file1=$CONFIG_SITE;;
1877 *) ac_site_file1=./$CONFIG_SITE;;
1879 elif test "x$prefix" != xNONE; then
1880 ac_site_file1=$prefix/share/config.site
1881 ac_site_file2=$prefix/etc/config.site
1883 ac_site_file1=$ac_default_prefix/share/config.site
1884 ac_site_file2=$ac_default_prefix/etc/config.site
1886 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1888 test "x$ac_site_file" = xNONE && continue
1889 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1891 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1892 sed 's/^/| /' "$ac_site_file" >&5
1894 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1895 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1896 as_fn_error $? "failed to load site
script $ac_site_file
1897 See \
`config.log' for more details" "$LINENO" 5; }
1901 if test -r "$cache_file"; then
1902 # Some versions of bash will fail to source /dev/null (special files
1903 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1904 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1906 $as_echo "$as_me: loading cache $cache_file" >&6;}
1908 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1909 *) . "./$cache_file";;
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1914 $as_echo "$as_me: creating cache $cache_file" >&6;}
1918 # Check that the precious variables saved in the cache have kept the same
1920 ac_cache_corrupted=false
1921 for ac_var in $ac_precious_vars; do
1922 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1923 eval ac_new_set=\$ac_env_${ac_var}_set
1924 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1925 eval ac_new_val=\$ac_env_${ac_var}_value
1926 case $ac_old_set,$ac_new_set in
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1929 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1930 ac_cache_corrupted=: ;;
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
1933 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1934 ac_cache_corrupted=: ;;
1937 if test "x$ac_old_val" != "x$ac_new_val"; then
1938 # differences in whitespace do not lead to failure.
1939 ac_old_val_w=`echo x
$ac_old_val`
1940 ac_new_val_w=`echo x
$ac_new_val`
1941 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1943 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1944 ac_cache_corrupted=:
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1947 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1948 eval $ac_var=\$ac_old_val
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1951 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1953 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1956 # Pass precious variables to config.status.
1957 if test "$ac_new_set" = set; then
1959 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1960 *) ac_arg=$ac_var=$ac_new_val ;;
1962 case " $ac_configure_args " in
1963 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1964 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1968 if $ac_cache_corrupted; then
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
1970 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1972 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1973 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
1975 ## -------------------- ##
1976 ## Main body of script. ##
1977 ## -------------------- ##
1980 ac_cpp='$CPP $CPPFLAGS'
1981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1988 for ac_dir in ../scripts/autoconf "$srcdir"/../scripts/autoconf; do
1989 if test -f "$ac_dir/install-sh"; then
1991 ac_install_sh="$ac_aux_dir/install-sh -c"
1993 elif test -f "$ac_dir/install.sh"; then
1995 ac_install_sh="$ac_aux_dir/install.sh -c"
1997 elif test -f "$ac_dir/shtool"; then
1999 ac_install_sh="$ac_aux_dir/shtool install -c"
2003 if test -z "$ac_aux_dir"; then
2004 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../scripts/autoconf \"$srcdir\"/../scripts/autoconf" "$LINENO" 5
2007 # These three variables are undocumented and unsupported,
2008 # and are intended to be withdrawn in a future Autoconf release.
2009 # They can cause serious problems if a builder's source tree is in a directory
2010 # whose full name contains unusual characters.
2011 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2012 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2013 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2017 AROS_BUILDDIR=`${PWDCMD-pwd}`
2018 AROS_BUILDDIR_UNIX=${PWD}
2020 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2023 NOLINKFLAGS="-nostdlib -nostartfiles"
2024 LDFLAGS=$NOLINKFLAGS
2025 # The first step is to find the binaries.
2027 ac_cpp='$CPP $CPPFLAGS'
2028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2031 if test -n "$ac_tool_prefix"; then
2032 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2033 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2035 $as_echo_n "checking for $ac_word... " >&6; }
2036 if ${ac_cv_prog_CC+:} false; then :
2037 $as_echo_n "(cached) " >&6
2039 if test -n "$CC"; then
2040 ac_cv_prog_CC="$CC" # Let the user override the test.
2042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2046 test -z "$as_dir" && as_dir=.
2047 for ac_exec_ext in '' $ac_executable_extensions; do
2048 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2049 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2060 if test -n "$CC"; then
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2062 $as_echo "$CC" >&6; }
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2065 $as_echo "no" >&6; }
2070 if test -z "$ac_cv_prog_CC"; then
2072 # Extract the first word of "gcc", so it can be a program name with args.
2073 set dummy gcc; ac_word=$2
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2075 $as_echo_n "checking for $ac_word... " >&6; }
2076 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2077 $as_echo_n "(cached) " >&6
2079 if test -n "$ac_ct_CC"; then
2080 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2086 test -z "$as_dir" && as_dir=.
2087 for ac_exec_ext in '' $ac_executable_extensions; do
2088 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2089 ac_cv_prog_ac_ct_CC="gcc"
2090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2099 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2100 if test -n "$ac_ct_CC"; then
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2102 $as_echo "$ac_ct_CC" >&6; }
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2105 $as_echo "no" >&6; }
2108 if test "x$ac_ct_CC" = x; then
2111 case $cross_compiling:$ac_tool_warned in
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2114 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2115 ac_tool_warned=yes ;;
2123 if test -z "$CC"; then
2124 if test -n "$ac_tool_prefix"; then
2125 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2126 set dummy ${ac_tool_prefix}cc; ac_word=$2
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2128 $as_echo_n "checking for $ac_word... " >&6; }
2129 if ${ac_cv_prog_CC+:} false; then :
2130 $as_echo_n "(cached) " >&6
2132 if test -n "$CC"; then
2133 ac_cv_prog_CC="$CC" # Let the user override the test.
2135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2139 test -z "$as_dir" && as_dir=.
2140 for ac_exec_ext in '' $ac_executable_extensions; do
2141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2142 ac_cv_prog_CC="${ac_tool_prefix}cc"
2143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2153 if test -n "$CC"; then
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2155 $as_echo "$CC" >&6; }
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2158 $as_echo "no" >&6; }
2164 if test -z "$CC"; then
2165 # Extract the first word of "cc", so it can be a program name with args.
2166 set dummy cc; ac_word=$2
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2168 $as_echo_n "checking for $ac_word... " >&6; }
2169 if ${ac_cv_prog_CC+:} false; then :
2170 $as_echo_n "(cached) " >&6
2172 if test -n "$CC"; then
2173 ac_cv_prog_CC="$CC" # Let the user override the test.
2176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2180 test -z "$as_dir" && as_dir=.
2181 for ac_exec_ext in '' $ac_executable_extensions; do
2182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2183 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2184 ac_prog_rejected=yes
2188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2195 if test $ac_prog_rejected = yes; then
2196 # We found a bogon in the path, so make sure we never use it.
2197 set dummy $ac_cv_prog_CC
2199 if test $# != 0; then
2200 # We chose a different compiler from the bogus one.
2201 # However, it has the same basename, so the bogon will be chosen
2202 # first if we set CC to just the basename; use the full file name.
2204 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2210 if test -n "$CC"; then
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2212 $as_echo "$CC" >&6; }
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2215 $as_echo "no" >&6; }
2220 if test -z "$CC"; then
2221 if test -n "$ac_tool_prefix"; then
2222 for ac_prog in cl.exe
2224 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2225 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2227 $as_echo_n "checking for $ac_word... " >&6; }
2228 if ${ac_cv_prog_CC+:} false; then :
2229 $as_echo_n "(cached) " >&6
2231 if test -n "$CC"; then
2232 ac_cv_prog_CC="$CC" # Let the user override the test.
2234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2238 test -z "$as_dir" && as_dir=.
2239 for ac_exec_ext in '' $ac_executable_extensions; do
2240 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2241 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2252 if test -n "$CC"; then
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2254 $as_echo "$CC" >&6; }
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2257 $as_echo "no" >&6; }
2261 test -n "$CC" && break
2264 if test -z "$CC"; then
2266 for ac_prog in cl.exe
2268 # Extract the first word of "$ac_prog", so it can be a program name with args.
2269 set dummy $ac_prog; ac_word=$2
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2271 $as_echo_n "checking for $ac_word... " >&6; }
2272 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2273 $as_echo_n "(cached) " >&6
2275 if test -n "$ac_ct_CC"; then
2276 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2282 test -z "$as_dir" && as_dir=.
2283 for ac_exec_ext in '' $ac_executable_extensions; do
2284 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2285 ac_cv_prog_ac_ct_CC="$ac_prog"
2286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2295 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2296 if test -n "$ac_ct_CC"; then
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2298 $as_echo "$ac_ct_CC" >&6; }
2300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2301 $as_echo "no" >&6; }
2305 test -n "$ac_ct_CC" && break
2308 if test "x$ac_ct_CC" = x; then
2311 case $cross_compiling:$ac_tool_warned in
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2314 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2315 ac_tool_warned=yes ;;
2324 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2325 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2326 as_fn_error $? "no acceptable C compiler found
in \
$PATH
2327 See \
`config.log' for more details" "$LINENO" 5; }
2329 # Provide some information about the compiler.
2330 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2333 for ac_option in --version -v -V -qversion; do
2334 { { ac_try="$ac_compiler $ac_option >&5"
2336 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2337 *) ac_try_echo
=$ac_try;;
2339 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2340 $as_echo "$ac_try_echo"; } >&5
2341 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2343 if test -s conftest.err
; then
2345 ... rest of stderr output deleted ...
2346 10q' conftest.err
>conftest.er1
2347 cat conftest.er1
>&5
2349 rm -f conftest.er1 conftest.err
2350 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2351 test $ac_status = 0; }
2354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2355 /* end confdefs.h. */
2365 ac_clean_files_save
=$ac_clean_files
2366 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2367 # Try to create an executable without -o first, disregard a.out.
2368 # It will help us diagnose broken compilers, and finding out an intuition
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2371 $as_echo_n "checking whether the C compiler works... " >&6; }
2372 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2374 # The possible output files:
2375 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2378 for ac_file
in $ac_files
2381 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2382 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2387 if { { ac_try
="$ac_link_default"
2389 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2390 *) ac_try_echo=$ac_try;;
2392 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2393 $as_echo "$ac_try_echo"; } >&5
2394 (eval "$ac_link_default") 2>&5
2396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2397 test $ac_status = 0; }; then :
2398 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2399 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2400 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2401 # so that the user can short-circuit this test for compilers unknown to
2403 for ac_file in $ac_files ''
2405 test -f "$ac_file" || continue
2407 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2410 # We found the default executable, but exeext='' is most
2414 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2416 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2418 # We set ac_cv_exeext here because the later test for it is not
2419 # safe: cross compilers may not add the suffix if given an `-o'
2420 # argument, so we may need to know it at that point already.
2421 # Even if this section looks crufty: it has the advantage of
2428 test "$ac_cv_exeext" = no && ac_cv_exeext=
2433 if test -z "$ac_file"; then :
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2435 $as_echo "no" >&6; }
2436 $as_echo "$as_me: failed program was:" >&5
2437 sed 's
/^
/|
/' conftest.$ac_ext >&5
2439 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2440 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2441 as_fn_error 77 "C compiler cannot create executables
2442 See \`config.log
' for more details" "$LINENO" 5; }
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2445 $as_echo "yes" >&6; }
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2448 $as_echo_n "checking for C compiler default output file name... " >&6; }
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2450 $as_echo "$ac_file" >&6; }
2451 ac_exeext=$ac_cv_exeext
2453 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2454 ac_clean_files=$ac_clean_files_save
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2456 $as_echo_n "checking for suffix of executables... " >&6; }
2457 if { { ac_try="$ac_link"
2459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2460 *) ac_try_echo=$ac_try;;
2462 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2463 $as_echo "$ac_try_echo"; } >&5
2464 (eval "$ac_link") 2>&5
2466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2467 test $ac_status = 0; }; then :
2468 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2469 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2470 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2472 for ac_file
in conftest.exe conftest conftest.
*; do
2473 test -f "$ac_file" ||
continue
2475 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2476 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2482 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2483 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2484 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2485 See \`config.log' for more details" "$LINENO" 5; }
2487 rm -f conftest conftest
$ac_cv_exeext
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2489 $as_echo "$ac_cv_exeext" >&6; }
2491 rm -f conftest.
$ac_ext
2492 EXEEXT
=$ac_cv_exeext
2494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2495 /* end confdefs.h. */
2500 FILE *f = fopen ("conftest.out", "w");
2501 return ferror (f) || fclose (f) != 0;
2507 ac_clean_files
="$ac_clean_files conftest.out"
2508 # Check that the compiler produces executables we can run. If not, either
2509 # the compiler is broken, or we cross compile.
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2511 $as_echo_n "checking whether we are cross compiling... " >&6; }
2512 if test "$cross_compiling" != yes; then
2513 { { ac_try
="$ac_link"
2515 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2516 *) ac_try_echo=$ac_try;;
2518 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2519 $as_echo "$ac_try_echo"; } >&5
2520 (eval "$ac_link") 2>&5
2522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2523 test $ac_status = 0; }
2524 if { ac_try='./conftest$ac_cv_exeext'
2525 { { case "(($ac_try" in
2526 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2527 *) ac_try_echo
=$ac_try;;
2529 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2530 $as_echo "$ac_try_echo"; } >&5
2531 (eval "$ac_try") 2>&5
2533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2534 test $ac_status = 0; }; }; then
2537 if test "$cross_compiling" = maybe
; then
2540 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2541 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2542 as_fn_error $?
"cannot run C compiled programs.
2543 If you meant to cross compile, use \`--host'.
2544 See \`config.log' for more details" "$LINENO" 5; }
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2549 $as_echo "$cross_compiling" >&6; }
2551 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2552 ac_clean_files
=$ac_clean_files_save
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2554 $as_echo_n "checking for suffix of object files... " >&6; }
2555 if ${ac_cv_objext+:} false
; then :
2556 $as_echo_n "(cached) " >&6
2558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2559 /* end confdefs.h. */
2569 rm -f conftest.o conftest.obj
2570 if { { ac_try
="$ac_compile"
2572 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2573 *) ac_try_echo=$ac_try;;
2575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2576 $as_echo "$ac_try_echo"; } >&5
2577 (eval "$ac_compile") 2>&5
2579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2580 test $ac_status = 0; }; then :
2581 for ac_file in conftest.o conftest.obj conftest.*; do
2582 test -f "$ac_file" || continue;
2584 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2585 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2590 $as_echo "$as_me: failed program was:" >&5
2591 sed 's/^/| /' conftest.$ac_ext >&5
2593 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2594 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2595 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2596 See \
`config.log' for more details" "$LINENO" 5; }
2598 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2601 $as_echo "$ac_cv_objext" >&6; }
2602 OBJEXT=$ac_cv_objext
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2605 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2606 if ${ac_cv_c_compiler_gnu+:} false; then :
2607 $as_echo_n "(cached) " >&6
2609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2610 /* end confdefs.h. */
2623 if ac_fn_c_try_compile "$LINENO"; then :
2628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2629 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2633 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2634 if test $ac_compiler_gnu = yes; then
2639 ac_test_CFLAGS=${CFLAGS+set}
2640 ac_save_CFLAGS=$CFLAGS
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2642 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2643 if ${ac_cv_prog_cc_g+:} false; then :
2644 $as_echo_n "(cached) " >&6
2646 ac_save_c_werror_flag=$ac_c_werror_flag
2647 ac_c_werror_flag=yes
2650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2651 /* end confdefs.h. */
2661 if ac_fn_c_try_compile "$LINENO"; then :
2665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2666 /* end confdefs.h. */
2676 if ac_fn_c_try_compile "$LINENO"; then :
2679 ac_c_werror_flag=$ac_save_c_werror_flag
2681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2682 /* end confdefs.h. */
2692 if ac_fn_c_try_compile "$LINENO"; then :
2695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2700 ac_c_werror_flag=$ac_save_c_werror_flag
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2703 $as_echo "$ac_cv_prog_cc_g" >&6; }
2704 if test "$ac_test_CFLAGS" = set; then
2705 CFLAGS=$ac_save_CFLAGS
2706 elif test $ac_cv_prog_cc_g = yes; then
2707 if test "$GCC" = yes; then
2713 if test "$GCC" = yes; then
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2720 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2721 if ${ac_cv_prog_cc_c89+:} false; then :
2722 $as_echo_n "(cached) " >&6
2724 ac_cv_prog_cc_c89=no
2726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2727 /* end confdefs.h. */
2731 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2732 struct buf { int x; };
2733 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2734 static char *e (p, i)
2740 static char *f (char * (*g) (char **, int), char **p, ...)
2745 s = g (p, va_arg (v,int));
2750 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2751 function prototypes and stuff, but not '\xHH' hex character constants.
2752 These don't provoke an error unfortunately, instead are silently treated
2753 as 'x'. The following induces an error, until -std is added to get
2754 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2755 array size at least. It's necessary to write '\x00'==0 to get something
2756 that's true only with -std. */
2757 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2759 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2760 inside strings and character constants. */
2762 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2764 int test (int i, double x);
2765 struct s1 {int (*f) (int a);};
2766 struct s2 {int (*f) (double a);};
2767 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2773 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2778 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2779 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2781 CC="$ac_save_CC $ac_arg"
2782 if ac_fn_c_try_compile "$LINENO"; then :
2783 ac_cv_prog_cc_c89=$ac_arg
2785 rm -f core conftest.err conftest.$ac_objext
2786 test "x$ac_cv_prog_cc_c89" != "xno" && break
2788 rm -f conftest.$ac_ext
2793 case "x$ac_cv_prog_cc_c89" in
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2796 $as_echo "none needed" >&6; } ;;
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2799 $as_echo "unsupported" >&6; } ;;
2801 CC="$CC $ac_cv_prog_cc_c89"
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2803 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2805 if test "x$ac_cv_prog_cc_c89" != xno; then :
2810 ac_cpp='$CPP $CPPFLAGS'
2811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2817 $as_echo_n "checking target config location... " >&6; }
2819 # Check whether --with-config-dir was given.
2820 if test "${with_config_dir+set}" = set; then :
2821 withval=$with_config_dir; targetcfg_dir="$withval"
2826 if test "$targetcfg_dir" = ""; then
2827 as_fn_error $? "missing config directory!" "$LINENO" 5
2829 aros_targetcfg_dir="$targetcfg_dir"
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2832 $as_echo "$aros_targetcfg_dir" >&6; }
2834 #-----------------------------------------------------------------------------
2836 # Check if the target compiler supports some features:
2841 # -fno-trapping-math
2845 # -floop-interchange
2849 # -finline-small-functions
2852 # -fomit-frame-pointer
2855 # -finstrument-functions
2859 # -fno-builtin-floor
2860 # -fno-builtin-vsnprintf
2863 # -fasynchronous-unwind-tables
2869 # -fvisibility=hidden
2873 ac_cpp='$CPP $CPPFLAGS'
2874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2879 save_cflags="$CFLAGS"
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fexceptions" >&5
2881 $as_echo_n "checking whether ${CC} accepts -fexceptions... " >&6; }
2884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2885 /* end confdefs.h. */
2895 if ac_fn_c_try_compile "$LINENO"; then :
2896 aros_exceptions="yes"
2898 aros_exceptions="no"
2900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_exceptions" >&5
2902 $as_echo "$aros_exceptions" >&6; }
2903 if test "x-$aros_exceptions" = "x-yes" ; then
2904 aros_cflags_exceptions=-fexceptions
2905 aros_cflags_noexceptions=-fno-exceptions
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ffast-math" >&5
2909 $as_echo_n "checking whether ${CC} accepts -ffast-math... " >&6; }
2911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2912 /* end confdefs.h. */
2922 if ac_fn_c_try_compile "$LINENO"; then :
2923 aros_fast_math="yes"
2927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_fast_math" >&5
2929 $as_echo "$aros_fast_math" >&6; }
2930 if test "x-$aros_fast_math" = "x-yes" ; then
2931 aros_cflags_fast_math=-ffast-math
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-math-errno" >&5
2935 $as_echo_n "checking whether ${CC} accepts -fno-math-errno... " >&6; }
2936 CFLAGS=-fno-math-errno
2937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2938 /* end confdefs.h. */
2948 if ac_fn_c_try_compile "$LINENO"; then :
2949 aros_no_math_errno="yes"
2951 aros_no_math_errno="no"
2953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_math_errno" >&5
2955 $as_echo "$aros_no_math_errno" >&6; }
2956 if test "x-$aros_no_math_errno" = "x-yes" ; then
2957 aros_cflags_no_math_errno=-fno-math-errno
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-trapping-math" >&5
2961 $as_echo_n "checking whether ${CC} accepts -fno-trapping-math... " >&6; }
2962 CFLAGS=-fno-trapping-math
2963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2964 /* end confdefs.h. */
2974 if ac_fn_c_try_compile "$LINENO"; then :
2975 aros_no_trapping_math="yes"
2977 aros_no_trapping_math="no"
2979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_trapping_math" >&5
2981 $as_echo "$aros_no_trapping_math" >&6; }
2982 if test "x-$aros_no_trapping_math" = "x-yes" ; then
2983 aros_cflags_no_trapping_math=-fno-trapping-math
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -flto" >&5
2987 $as_echo_n "checking whether ${CC} accepts -flto... " >&6; }
2989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2990 /* end confdefs.h. */
3000 if ac_fn_c_try_compile "$LINENO"; then :
3005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto" >&5
3007 $as_echo "$aros_lto" >&6; }
3008 if test "x-$aros_lto" = "x-yes" ; then
3009 aros_cflags_lto=-flto
3010 aros_cflags_nolto=-fno-lto
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fwhole-program" >&5
3013 $as_echo_n "checking whether ${CC} accepts -fwhole-program... " >&6; }
3014 CFLAGS=-fwhole-program
3015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3016 /* end confdefs.h. */
3026 if ac_fn_c_try_compile "$LINENO"; then :
3027 aros_whole_program="yes"
3029 aros_whole_program="no"
3031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_whole_program" >&5
3033 $as_echo "$aros_whole_program" >&6; }
3034 if test "x-$aros_whole_program" = "x-yes" ; then
3035 aros_cflags_whole_program=-fwhole-program
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-block" >&5
3039 $as_echo_n "checking whether ${CC} accepts -floop-block... " >&6; }
3041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3042 /* end confdefs.h. */
3052 if ac_fn_c_try_compile "$LINENO"; then :
3053 aros_loop_block="yes"
3055 aros_loop_block="no"
3057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_block" >&5
3059 $as_echo "$aros_loop_block" >&6; }
3060 if test "x-$aros_loop_block" = "x-yes" ; then
3061 aros_cflags_loop_block=-floop-block
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-interchange" >&5
3065 $as_echo_n "checking whether ${CC} accepts -floop-interchange... " >&6; }
3066 CFLAGS=-floop-interchange
3067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3068 /* end confdefs.h. */
3078 if ac_fn_c_try_compile "$LINENO"; then :
3079 aros_loop_interchange="yes"
3081 aros_loop_interchange="no"
3083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_interchange" >&5
3085 $as_echo "$aros_loop_interchange" >&6; }
3086 if test "x-$aros_loop_interchange" = "x-yes" ; then
3087 aros_cflags_loop_interchange=-floop-interchange
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-strip-mine" >&5
3091 $as_echo_n "checking whether ${CC} accepts -floop-strip-mine... " >&6; }
3092 CFLAGS=-floop-strip-mine
3093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3094 /* end confdefs.h. */
3104 if ac_fn_c_try_compile "$LINENO"; then :
3105 aros_loop_strip_mine="yes"
3107 aros_loop_strip_mine="no"
3109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_strip_mine" >&5
3111 $as_echo "$aros_loop_strip_mine" >&6; }
3112 if test "x-$aros_loop_strip_mine" = "x-yes" ; then
3113 aros_cflags_loop_strip_mine=-floop-strip-mine
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpeel-loops" >&5
3118 $as_echo_n "checking whether ${CC} accepts -fpeel-loops... " >&6; }
3120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3121 /* end confdefs.h. */
3131 if ac_fn_c_try_compile "$LINENO"; then :
3132 aros_peel_loops="yes"
3134 aros_peel_loops="no"
3136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_peel_loops" >&5
3138 $as_echo "$aros_peel_loops" >&6; }
3139 if test "x-$aros_peel_loops" = "x-yes" ; then
3140 aros_cflags_peel_loops=-fpeel-loops
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -funroll-loops" >&5
3144 $as_echo_n "checking whether ${CC} accepts -funroll-loops... " >&6; }
3145 CFLAGS=-funroll-loops
3146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3147 /* end confdefs.h. */
3157 if ac_fn_c_try_compile "$LINENO"; then :
3158 aros_unroll_loops="yes"
3160 aros_unroll_loops="no"
3162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unroll_loops" >&5
3164 $as_echo "$aros_unroll_loops" >&6; }
3165 if test "x-$aros_unroll_loops" = "x-yes" ; then
3166 aros_cflags_unroll_loops=-funroll-loops
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstrict-aliasing" >&5
3170 $as_echo_n "checking whether ${CC} accepts -fstrict-aliasing... " >&6; }
3171 CFLAGS=-fstrict-aliasing
3172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3173 /* end confdefs.h. */
3183 if ac_fn_c_try_compile "$LINENO"; then :
3184 aros_strict_aliasing="yes"
3186 aros_strict_aliasing="no"
3188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3190 $as_echo "$aros_strict_aliasing" >&6; }
3191 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3192 aros_cflags_strictaliasing=-fstrict-aliasing
3193 aros_cflags_nostrictaliasing=-fno-strict-aliasing
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -finline-small-functions" >&5
3197 $as_echo_n "checking whether ${CC} accepts -finline-small-functions... " >&6; }
3198 CFLAGS=-finline-small-functions
3199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3200 /* end confdefs.h. */
3210 if ac_fn_c_try_compile "$LINENO"; then :
3211 aros_inline_small_functions="yes"
3213 aros_inline_small_functions="no"
3215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_inline_small_functions" >&5
3217 $as_echo "$aros_inline_small_functions" >&6; }
3218 if test "x-$aros_inline_small_functions" = "x-yes" ; then
3219 aros_cflags_inlinesmallfunctions=-finline-small-functions
3220 aros_cflags_noinlinesmallfunctions=-fno-inline-small-functions
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fipa-cp" >&5
3224 $as_echo_n "checking whether ${CC} accepts -fipa-cp... " >&6; }
3226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3227 /* end confdefs.h. */
3237 if ac_fn_c_try_compile "$LINENO"; then :
3242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ipa_cp" >&5
3244 $as_echo "$aros_ipa_cp" >&6; }
3245 if test "x-$aros_ipa_cp" = "x-yes" ; then
3246 aros_cflags_ipacp=-fipa-cp
3247 aros_cflags_noipacp=-fno-ipa-cp
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fomit-frame-pointer" >&5
3251 $as_echo_n "checking whether ${CC} accepts -fomit-frame-pointer... " >&6; }
3252 CFLAGS=-fomit-frame-pointer
3253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3254 /* end confdefs.h. */
3264 if ac_fn_c_try_compile "$LINENO"; then :
3265 aros_omit_frame_pointer="yes"
3267 aros_omit_frame_pointer="no"
3269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_omit_frame_pointer" >&5
3271 $as_echo "$aros_omit_frame_pointer" >&6; }
3272 if test "x-$aros_omit_frame_pointer" = "x-yes" ; then
3273 aros_cflags_omitfp=-fomit-frame-pointer
3274 aros_cflags_noomitfp=-fno-omit-frame-pointer
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fprofile-arcs" >&5
3278 $as_echo_n "checking whether ${CC} accepts -fprofile-arcs... " >&6; }
3279 CFLAGS=-fprofile-arcs
3280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3281 /* end confdefs.h. */
3291 if ac_fn_c_try_compile "$LINENO"; then :
3292 aros_profile_arcs="yes"
3294 aros_profile_arcs="no"
3296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_profile_arcs" >&5
3298 $as_echo "$aros_profile_arcs" >&6; }
3299 if test "x-$aros_profile_arcs" = "x-yes" ; then
3300 aros_cflags_profilearcs=-fprofile-arcs
3301 aros_cflags_noprofilearcs=-fno-profile-arcs
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ftest-coverage" >&5
3305 $as_echo_n "checking whether ${CC} accepts -ftest-coverage... " >&6; }
3306 CFLAGS=-ftest-coverage
3307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3308 /* end confdefs.h. */
3318 if ac_fn_c_try_compile "$LINENO"; then :
3319 aros_test_coverage="yes"
3321 aros_test_coverage="no"
3323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_test_coverage" >&5
3325 $as_echo "$aros_test_coverage" >&6; }
3326 if test "x-$aros_test_coverage" = "x-yes" ; then
3327 aros_cflags_testcoverage=-ftest-coverage
3328 aros_cflags_notestcoverage=-fno-test-coverage
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -finstrument-functions" >&5
3332 $as_echo_n "checking whether ${CC} accepts -finstrument-functions... " >&6; }
3333 CFLAGS=-finstrument-functions
3334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3335 /* end confdefs.h. */
3345 if ac_fn_c_try_compile "$LINENO"; then :
3346 aros_instrument_functions="yes"
3348 aros_instrument_functions="no"
3350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_instrument_functions" >&5
3352 $as_echo "$aros_instrument_functions" >&6; }
3353 if test "x-$aros_instrument_functions" = "x-yes" ; then
3354 aros_cflags_instrfuncs=-finstrument-functions
3355 aros_cflags_noinstrfuncs=-fno-instrument-functions
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -faligned-new" >&5
3359 $as_echo_n "checking whether ${CC} accepts -faligned-new... " >&6; }
3360 CFLAGS=-faligned-new
3361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3362 /* end confdefs.h. */
3372 if ac_fn_c_try_compile "$LINENO"; then :
3373 aros_aligned_new="yes"
3375 aros_aligned_new="no"
3377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aligned_new" >&5
3379 $as_echo "$aros_aligned_new" >&6; }
3380 if test "x-$aros_aligned_new" = "x-yes" ; then
3381 aros_cflags_alignednew=-faligned-new
3382 aros_cflags_noalignednew=-fno-aligned-new
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fbuiltin" >&5
3386 $as_echo_n "checking whether ${CC} accepts -fbuiltin... " >&6; }
3388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3389 /* end confdefs.h. */
3399 if ac_fn_c_try_compile "$LINENO"; then :
3404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_builtin" >&5
3406 $as_echo "$aros_builtin" >&6; }
3407 if test "x-$aros_builtin" = "x-yes" ; then
3408 aros_cflags_builtin=-fbuiltin
3409 aros_cflags_no_builtin=-fno-builtin
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-builtin-floor" >&5
3413 $as_echo_n "checking whether ${CC} accepts -fno-builtin-floor... " >&6; }
3414 CFLAGS=-fno-builtin-floor
3415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3416 /* end confdefs.h. */
3426 if ac_fn_c_try_compile "$LINENO"; then :
3427 aros_no_builtin_floor="yes"
3429 aros_no_builtin_floor="no"
3431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_builtin_floor" >&5
3433 $as_echo "$aros_no_builtin_floor" >&6; }
3434 if test "x-$aros_no_builtin_floor" = "x-yes" ; then
3435 aros_cflags_no_builtin_floor=-fno-builtin-floor
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-builtin-vsnprintf" >&5
3439 $as_echo_n "checking whether ${CC} accepts -fno-builtin-vsnprintf... " >&6; }
3440 CFLAGS=-fno-builtin-vsnprintf
3441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3442 /* end confdefs.h. */
3452 if ac_fn_c_try_compile "$LINENO"; then :
3453 aros_no_builtin_vsnprintf="yes"
3455 aros_no_builtin_vsnprintf="no"
3457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_builtin_vsnprintf" >&5
3459 $as_echo "$aros_no_builtin_vsnprintf" >&6; }
3460 if test "x-$aros_no_builtin_vsnprintf" = "x-yes" ; then
3461 aros_cflags_no_builtin_vsnprintf=-fno-builtin-vsnprintf
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ffreestanding" >&5
3465 $as_echo_n "checking whether ${CC} accepts -ffreestanding... " >&6; }
3466 CFLAGS=-ffreestanding
3467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3468 /* end confdefs.h. */
3478 if ac_fn_c_try_compile "$LINENO"; then :
3479 aros_freestanding="yes"
3481 aros_freestanding="no"
3483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_freestanding" >&5
3485 $as_echo "$aros_freestanding" >&6; }
3486 if test "x-$aros_freestanding" = "x-yes" ; then
3487 aros_cflags_freestanding=-ffreestanding
3488 aros_cflags_no_freestanding=-fno-freestanding
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fasynchronous-unwind-tables" >&5
3492 $as_echo_n "checking whether ${CC} accepts -fasynchronous-unwind-tables... " >&6; }
3493 CFLAGS=-fasynchronous-unwind-tables
3494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3495 /* end confdefs.h. */
3505 if ac_fn_c_try_compile "$LINENO"; then :
3506 aros_asynchronous_unwind_tables="yes"
3508 aros_asynchronous_unwind_tables="no"
3510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_asynchronous_unwind_tables" >&5
3512 $as_echo "$aros_asynchronous_unwind_tables" >&6; }
3513 if test "x-$aros_asynchronous_unwind_tables" = "x-yes" ; then
3514 aros_cflags_asynchronous_unwind_tables=-fasynchronous-unwind-tables
3515 aros_cflags_no_asynchronous_unwind_tables=-fno-asynchronous-unwind-tables
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fvisibility=hidden" >&5
3519 $as_echo_n "checking whether ${CC} accepts -fvisibility=hidden... " >&6; }
3520 CFLAGS=-fvisibility=hidden
3521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3522 /* end confdefs.h. */
3532 if ac_fn_c_try_compile "$LINENO"; then :
3533 aros_visibility_hidden="yes"
3535 aros_visibility_hidden="no"
3537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_visibility_hidden" >&5
3539 $as_echo "$aros_visibility_hidden" >&6; }
3540 if test "x-$aros_visibility_hidden" = "x-yes" ; then
3541 aros_cflags_visibility_hidden=-fvisibility=hidden
3546 ac_cpp='$CXXCPP $CPPFLAGS'
3547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3551 save_cxxflags="$CXXFLAGS"
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} accepts -fpermissive" >&5
3554 $as_echo_n "checking whether ${CXX} accepts -fpermissive... " >&6; }
3555 CXXFLAGS=-fpermissive
3557 ac_cpp='$CXXCPP $CPPFLAGS'
3558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3561 if test -z "$CXX"; then
3562 if test -n "$CCC"; then
3565 if test -n "$ac_tool_prefix"; then
3566 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3568 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3569 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3571 $as_echo_n "checking for $ac_word... " >&6; }
3572 if ${ac_cv_prog_CXX+:} false; then :
3573 $as_echo_n "(cached) " >&6
3575 if test -n "$CXX"; then
3576 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3582 test -z "$as_dir" && as_dir=.
3583 for ac_exec_ext in '' $ac_executable_extensions; do
3584 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3585 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3596 if test -n "$CXX"; then
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3598 $as_echo "$CXX" >&6; }
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3601 $as_echo "no" >&6; }
3605 test -n "$CXX" && break
3608 if test -z "$CXX"; then
3610 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3612 # Extract the first word of "$ac_prog", so it can be a program name with args.
3613 set dummy $ac_prog; ac_word=$2
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3615 $as_echo_n "checking for $ac_word... " >&6; }
3616 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3617 $as_echo_n "(cached) " >&6
3619 if test -n "$ac_ct_CXX"; then
3620 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3626 test -z "$as_dir" && as_dir=.
3627 for ac_exec_ext in '' $ac_executable_extensions; do
3628 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3629 ac_cv_prog_ac_ct_CXX="$ac_prog"
3630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3639 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3640 if test -n "$ac_ct_CXX"; then
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3642 $as_echo "$ac_ct_CXX" >&6; }
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3645 $as_echo "no" >&6; }
3649 test -n "$ac_ct_CXX" && break
3652 if test "x$ac_ct_CXX" = x; then
3655 case $cross_compiling:$ac_tool_warned in
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3658 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3659 ac_tool_warned=yes ;;
3667 # Provide some information about the compiler.
3668 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3671 for ac_option in --version -v -V -qversion; do
3672 { { ac_try="$ac_compiler $ac_option >&5"
3674 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3675 *) ac_try_echo
=$ac_try;;
3677 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3678 $as_echo "$ac_try_echo"; } >&5
3679 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3681 if test -s conftest.err
; then
3683 ... rest of stderr output deleted ...
3684 10q' conftest.err
>conftest.er1
3685 cat conftest.er1
>&5
3687 rm -f conftest.er1 conftest.err
3688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3689 test $ac_status = 0; }
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3693 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3694 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3695 $as_echo_n "(cached) " >&6
3697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3698 /* end confdefs.h. */
3711 if ac_fn_cxx_try_compile
"$LINENO"; then :
3716 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3717 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3721 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3722 if test $ac_compiler_gnu = yes; then
3727 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3728 ac_save_CXXFLAGS
=$CXXFLAGS
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3730 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3731 if ${ac_cv_prog_cxx_g+:} false
; then :
3732 $as_echo_n "(cached) " >&6
3734 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3735 ac_cxx_werror_flag
=yes
3738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3739 /* end confdefs.h. */
3749 if ac_fn_cxx_try_compile
"$LINENO"; then :
3750 ac_cv_prog_cxx_g
=yes
3753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3754 /* end confdefs.h. */
3764 if ac_fn_cxx_try_compile
"$LINENO"; then :
3767 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3770 /* end confdefs.h. */
3780 if ac_fn_cxx_try_compile
"$LINENO"; then :
3781 ac_cv_prog_cxx_g
=yes
3783 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3785 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3787 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3788 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3791 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3792 if test "$ac_test_CXXFLAGS" = set; then
3793 CXXFLAGS
=$ac_save_CXXFLAGS
3794 elif test $ac_cv_prog_cxx_g = yes; then
3795 if test "$GXX" = yes; then
3801 if test "$GXX" = yes; then
3808 ac_cpp
='$CXXCPP $CPPFLAGS'
3809 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3810 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3811 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3815 /* end confdefs.h. */
3825 if ac_fn_cxx_try_compile
"$LINENO"; then :
3826 aros_permissive
="yes"
3828 aros_permissive
="no"
3830 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_permissive" >&5
3832 $as_echo "$aros_permissive" >&6; }
3833 if test "x-$aros_permissive" = "x-yes" ; then
3834 aros_cxxflags_permissive
=-fpermissive
3835 aros_cxxflags_nopermissive
=-fno-permissive
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} accepts -frtti" >&5
3839 $as_echo_n "checking whether ${CXX} accepts -frtti... " >&6; }
3841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3842 /* end confdefs.h. */
3852 if ac_fn_cxx_try_compile
"$LINENO"; then :
3857 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_rtti" >&5
3859 $as_echo "$aros_rtti" >&6; }
3860 if test "x-$aros_rtti" = "x-yes" ; then
3861 aros_cxxflags_rtti
=-frtti
3862 aros_cxxflags_nortti
=-fno-rtti
3865 CXXFLAGS
="$save_cxxflags"
3868 # Check for additional C compiler options..
3870 ac_cpp
='$CPP $CPPFLAGS'
3871 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3872 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3873 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3876 #-----------------------------------------------------------------------------
3878 # Check if the target compiler supports some include directory options:
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
3881 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
3883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3884 /* end confdefs.h. */
3894 if ac_fn_c_try_compile
"$LINENO"; then :
3899 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
3901 $as_echo "$has_iquote" >&6; }
3902 if test "x-$has_iquote" = "x-yes" ; then
3903 aros_cflags_iquote
=-iquote
3904 aros_cflags_iquote_end
=
3906 aros_cflags_iquote
=-I
3907 aros_cflags_iquote_end
=-I-
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -isystem" >&5
3911 $as_echo_n "checking whether ${CC} accepts -isystem... " >&6; }
3913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3914 /* end confdefs.h. */
3924 if ac_fn_c_try_compile
"$LINENO"; then :
3929 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_isystem" >&5
3931 $as_echo "$has_isystem" >&6; }
3932 if test "x-$has_isystem" = "x-yes" ; then
3933 aros_cflags_isystem
=-isystem
3934 aros_cflags_isystem_end
=
3936 aros_cflags_isystem
=-I
3937 aros_cflags_isystem_end
=
3940 #-----------------------------------------------------------------------------
3942 # Check if the target compiler supports some ISA options:
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -mred-zone" >&5
3946 $as_echo_n "checking whether ${CC} accepts -mred-zone... " >&6; }
3948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3949 /* end confdefs.h. */
3959 if ac_fn_c_try_compile
"$LINENO"; then :
3960 aros_no_red_zone
="yes"
3962 aros_no_red_zone
="no"
3964 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_red_zone" >&5
3966 $as_echo "$aros_no_red_zone" >&6; }
3967 if test "x-$aros_no_red_zone" = "x-yes" ; then
3968 aros_cflags_red_zone
=-mred-zone
3969 aros_cflags_no_red_zone
=-mno-red-zone
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -mms-bitfields" >&5
3973 $as_echo_n "checking whether ${CC} accepts -mms-bitfields... " >&6; }
3974 CFLAGS
=-mms-bitfields
3975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3976 /* end confdefs.h. */
3986 if ac_fn_c_try_compile
"$LINENO"; then :
3987 aros_ms_bitfields
="yes"
3989 aros_ms_bitfields
="no"
3991 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ms_bitfields" >&5
3993 $as_echo "$aros_ms_bitfields" >&6; }
3994 if test "x-$aros_ms_bitfields" = "x-yes" ; then
3995 aros_cflags_ms_bitfields
=-mms-bitfields
3996 aros_cflags_no_ms_bitfields
=-mno-ms-bitfields
3999 CFLAGS
="$save_cflags"
4001 #-----------------------------------------------------------------------------
4003 # Check if the target compiler supports some options used for de-linting:
4007 # -Wunused-command-line-argument
4008 # -Wunknown-warning-option
4009 # -Wunused-but-set-variable
4013 # -Wstrict-prototypes
4016 # -Wmisleading-indentation
4023 # -Wunused-parameter
4025 # -Wmaybe-uninitialized
4026 # -Wimplicit-function-declaration
4031 # -Wformat-contains-nul
4033 # -Waggressive-loop-optimizations
4036 # -Wdiscarded-qualifiers
4039 # -Wdiscarded-array-qualifiers
4041 # -Wint-to-pointer-cast
4042 # -Wpointer-to-int-cast
4043 # -Wunused-const-variable
4046 # -Wincompatible-pointer-types
4048 # -Wlogical-not-parentheses
4052 # -Wdeprecated-declarations
4056 # -Wunused-local-typedefs
4060 # -Wvolatile-register-var
4061 # -Wsizeof-pointer-memaccess
4063 # -Wformat-zero-length
4064 # -Wlto-type-mismatch
4065 # -Wtautological-compare
4068 # -Wstringop-overflow
4069 # -Wformat-truncation
4070 # -Wstringop-truncation
4071 # -Wshift-negative-value
4072 # -Wmissing-field-initializers
4073 # -Wimplicit-fallthrough
4074 # -Wmissing-prototypes
4076 # -Wint-in-bool-context
4080 ac_cpp
='$CPP $CPPFLAGS'
4081 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4082 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4083 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4086 save_cflags
="$CFLAGS"
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Werror" >&5
4088 $as_echo_n "checking whether ${CC} accepts -Werror... " >&6; }
4090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4091 /* end confdefs.h. */
4101 if ac_fn_c_try_compile
"$LINENO"; then :
4106 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_error" >&5
4108 $as_echo "$aros_error" >&6; }
4109 if test "x-$aros_error" = "x-yes" ; then
4110 aros_warnflags_error
=-Werror
4111 aros_nowarnflags_error
=-Wno-error
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wall" >&5
4115 $as_echo_n "checking whether ${CC} accepts -Wall... " >&6; }
4117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4118 /* end confdefs.h. */
4128 if ac_fn_c_try_compile
"$LINENO"; then :
4133 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_all" >&5
4135 $as_echo "$aros_all" >&6; }
4136 if test "x-$aros_all" = "x-yes" ; then
4137 aros_warnflags_all
=-Wall
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wrestrict" >&5
4141 $as_echo_n "checking whether ${CC} accepts -Wrestrict... " >&6; }
4143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4144 /* end confdefs.h. */
4154 if ac_fn_c_try_compile
"$LINENO"; then :
4159 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_restrict" >&5
4161 $as_echo "$aros_restrict" >&6; }
4162 if test "x-$aros_restrict" = "x-yes" ; then
4163 aros_warnflags_restrict
=-Wrestrict
4164 aros_nowarnflags_restrict
=-Wno-restrict
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-command-line-argument" >&5
4168 $as_echo_n "checking whether ${CC} accepts -Wunused-command-line-argument... " >&6; }
4169 CFLAGS
=-Wunused-command-line-argument
4170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4171 /* end confdefs.h. */
4181 if ac_fn_c_try_compile
"$LINENO"; then :
4182 aros_unused_command_line_argument
="yes"
4184 aros_unused_command_line_argument
="no"
4186 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_command_line_argument" >&5
4188 $as_echo "$aros_unused_command_line_argument" >&6; }
4189 if test "x-$aros_unused_command_line_argument" = "x-yes" ; then
4190 aros_warnflags_unused_command_line_argument
=-Wunused-command-line-argument
4191 aros_nowarnflags_unused_command_line_argument
=-Wno-unused-command-line-argument
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-warning-option" >&5
4195 $as_echo_n "checking whether ${CC} accepts -Wunknown-warning-option... " >&6; }
4196 CFLAGS
=-Wunknown-warning-option
4197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4198 /* end confdefs.h. */
4208 if ac_fn_c_try_compile
"$LINENO"; then :
4209 aros_unknown_warning_option
="yes"
4211 aros_unknown_warning_option
="no"
4213 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_warning_option" >&5
4215 $as_echo "$aros_unknown_warning_option" >&6; }
4216 if test "x-$aros_unknown_warning_option" = "x-yes" ; then
4217 aros_warnflags_unknown_warning_option
=-Wunknown-warning-option
4218 aros_nowarnflags_unknown_warning_option
=-Wno-unknown-warning-option
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
4222 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
4223 CFLAGS
=-Wunused-but-set-variable
4224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4225 /* end confdefs.h. */
4235 if ac_fn_c_try_compile
"$LINENO"; then :
4236 aros_unused_but_set_variable
="yes"
4238 aros_unused_but_set_variable
="no"
4240 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
4242 $as_echo "$aros_unused_but_set_variable" >&6; }
4243 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
4244 aros_warnflags_unused_but_set_variable
=-Wunused-but-set-variable
4245 aros_nowarnflags_unused_but_set_variable
=-Wno-unused-but-set-variable
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
4249 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
4250 CFLAGS
=-Wstrict-aliasing
4251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4252 /* end confdefs.h. */
4262 if ac_fn_c_try_compile
"$LINENO"; then :
4263 aros_strict_aliasing
="yes"
4265 aros_strict_aliasing
="no"
4267 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
4269 $as_echo "$aros_strict_aliasing" >&6; }
4270 if test "x-$aros_strict_aliasing" = "x-yes" ; then
4271 aros_warnflags_strict_aliasing
=-Wstrict-aliasing
4272 aros_nowarnflags_strict_aliasing
=-Wno-strict-aliasing
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
4276 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
4277 CFLAGS
=-Warray-bounds
4278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4279 /* end confdefs.h. */
4289 if ac_fn_c_try_compile
"$LINENO"; then :
4290 aros_array_bounds
="yes"
4292 aros_array_bounds
="no"
4294 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
4296 $as_echo "$aros_array_bounds" >&6; }
4297 if test "x-$aros_array_bounds" = "x-yes" ; then
4298 aros_warnflags_array_bounds
=-Warray-bounds
4299 aros_nowarnflags_array_bounds
=-Wno-array-bounds
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
4303 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
4304 CFLAGS
=-Wenum-compare
4305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4306 /* end confdefs.h. */
4316 if ac_fn_c_try_compile
"$LINENO"; then :
4317 aros_enum_compare
="yes"
4319 aros_enum_compare
="no"
4321 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
4323 $as_echo "$aros_enum_compare" >&6; }
4324 if test "x-$aros_enum_compare" = "x-yes" ; then
4325 aros_warnflags_enum_compare
=-Wenum-compare
4326 aros_nowarnflags_enum_compare
=-Wno-enum-compare
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
4330 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
4331 CFLAGS
=-Wstrict-prototypes
4332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4333 /* end confdefs.h. */
4343 if ac_fn_c_try_compile
"$LINENO"; then :
4344 aros_strict_prototypes
="yes"
4346 aros_strict_prototypes
="no"
4348 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
4350 $as_echo "$aros_strict_prototypes" >&6; }
4351 if test "x-$aros_strict_prototypes" = "x-yes" ; then
4352 aros_warnflags_strict_prototypes
=-Wstrict-prototypes
4353 aros_nowarnflags_strict_prototypes
=-Wno-strict-prototypes
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
4357 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
4358 CFLAGS
=-Wstrict-overflow
4359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4360 /* end confdefs.h. */
4370 if ac_fn_c_try_compile
"$LINENO"; then :
4371 aros_strict_overflow
="yes"
4373 aros_strict_overflow
="no"
4375 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
4377 $as_echo "$aros_strict_overflow" >&6; }
4378 if test "x-$aros_strict_overflow" = "x-yes" ; then
4379 aros_warnflags_strict_overflow
=-Wstrict-overflow
4380 aros_nowarnflags_strict_overflow
=-Wno-strict-overflow
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
4384 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
4385 CFLAGS
=-Wformat-security
4386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4387 /* end confdefs.h. */
4397 if ac_fn_c_try_compile
"$LINENO"; then :
4398 aros_format_security
="yes"
4400 aros_format_security
="no"
4402 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
4404 $as_echo "$aros_format_security" >&6; }
4405 if test "x-$aros_format_security" = "x-yes" ; then
4406 aros_warnflags_format_security
=-Wformat-security
4407 aros_nowarnflags_format_security
=-Wno-format-security
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
4411 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
4412 CFLAGS
=-Wmisleading-indentation
4413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4414 /* end confdefs.h. */
4424 if ac_fn_c_try_compile
"$LINENO"; then :
4425 aros_misleading_indentation
="yes"
4427 aros_misleading_indentation
="no"
4429 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
4431 $as_echo "$aros_misleading_indentation" >&6; }
4432 if test "x-$aros_misleading_indentation" = "x-yes" ; then
4433 aros_warnflags_misleading_indentation
=-Wmisleading-indentation
4434 aros_nowarnflags_misleading_indentation
=-Wno-misleading-indentation
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
4438 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
4439 CFLAGS
=-Wnonnull-compare
4440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4441 /* end confdefs.h. */
4451 if ac_fn_c_try_compile
"$LINENO"; then :
4452 aros_nonnull_compare
="yes"
4454 aros_nonnull_compare
="no"
4456 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
4458 $as_echo "$aros_nonnull_compare" >&6; }
4459 if test "x-$aros_nonnull_compare" = "x-yes" ; then
4460 aros_warnflags_nonnull_compare
=-Wnonnull-compare
4461 aros_nowarnflags_nonnull_compare
=-Wno-nonnull-compare
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
4465 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
4467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4468 /* end confdefs.h. */
4478 if ac_fn_c_try_compile
"$LINENO"; then :
4483 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
4485 $as_echo "$aros_unused" >&6; }
4486 if test "x-$aros_unused" = "x-yes" ; then
4487 aros_warnflags_unused
=-Wunused
4488 aros_nowarnflags_unused
=-Wno-unused
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-label" >&5
4492 $as_echo_n "checking whether ${CC} accepts -Wunused-label... " >&6; }
4493 CFLAGS
=-Wunused-label
4494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4495 /* end confdefs.h. */
4505 if ac_fn_c_try_compile
"$LINENO"; then :
4506 aros_unused_label
="yes"
4508 aros_unused_label
="no"
4510 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_label" >&5
4512 $as_echo "$aros_unused_label" >&6; }
4513 if test "x-$aros_unused_label" = "x-yes" ; then
4514 aros_warnflags_unused_label
=-Wunused-label
4515 aros_nowarnflags_unused_label
=-Wno-unused-label
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
4519 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
4520 CFLAGS
=-Wunused-value
4521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4522 /* end confdefs.h. */
4532 if ac_fn_c_try_compile
"$LINENO"; then :
4533 aros_unused_value
="yes"
4535 aros_unused_value
="no"
4537 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
4539 $as_echo "$aros_unused_value" >&6; }
4540 if test "x-$aros_unused_value" = "x-yes" ; then
4541 aros_warnflags_unused_value
=-Wunused-value
4542 aros_nowarnflags_unused_value
=-Wno-unused-value
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
4546 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
4547 CFLAGS
=-Wunused-variable
4548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4549 /* end confdefs.h. */
4559 if ac_fn_c_try_compile
"$LINENO"; then :
4560 aros_unused_variable
="yes"
4562 aros_unused_variable
="no"
4564 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
4566 $as_echo "$aros_unused_variable" >&6; }
4567 if test "x-$aros_unused_variable" = "x-yes" ; then
4568 aros_warnflags_unused_variable
=-Wunused-variable
4569 aros_nowarnflags_unused_variable
=-Wno-unused-variable
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
4573 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
4574 CFLAGS
=-Wunused-function
4575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4576 /* end confdefs.h. */
4586 if ac_fn_c_try_compile
"$LINENO"; then :
4587 aros_unused_function
="yes"
4589 aros_unused_function
="no"
4591 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
4593 $as_echo "$aros_unused_function" >&6; }
4594 if test "x-$aros_unused_function" = "x-yes" ; then
4595 aros_warnflags_unused_function
=-Wunused-function
4596 aros_nowarnflags_unused_function
=-Wno-unused-function
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-parameter" >&5
4600 $as_echo_n "checking whether ${CC} accepts -Wunused-parameter... " >&6; }
4601 CFLAGS
=-Wunused-parameter
4602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4603 /* end confdefs.h. */
4613 if ac_fn_c_try_compile
"$LINENO"; then :
4614 aros_unused_parameter
="yes"
4616 aros_unused_parameter
="no"
4618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_parameter" >&5
4620 $as_echo "$aros_unused_parameter" >&6; }
4621 if test "x-$aros_unused_parameter" = "x-yes" ; then
4622 aros_warnflags_unused_parameter
=-Wunused-parameter
4623 aros_nowarnflags_unused_parameter
=-Wno-unused-parameter
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
4627 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
4628 CFLAGS
=-Wuninitialized
4629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4630 /* end confdefs.h. */
4640 if ac_fn_c_try_compile
"$LINENO"; then :
4641 aros_uninitialized
="yes"
4643 aros_uninitialized
="no"
4645 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
4647 $as_echo "$aros_uninitialized" >&6; }
4648 if test "x-$aros_uninitialized" = "x-yes" ; then
4649 aros_warnflags_uninitialized
=-Wuninitialized
4650 aros_nowarnflags_uninitialized
=-Wno-uninitialized
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
4654 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
4655 CFLAGS
=-Wmaybe-uninitialized
4656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4657 /* end confdefs.h. */
4667 if ac_fn_c_try_compile
"$LINENO"; then :
4668 aros_maybe_uninitialized
="yes"
4670 aros_maybe_uninitialized
="no"
4672 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
4674 $as_echo "$aros_maybe_uninitialized" >&6; }
4675 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
4676 aros_warnflags_maybe_uninitialized
=-Wmaybe-uninitialized
4677 aros_nowarnflags_maybe_uninitialized
=-Wno-maybe-uninitialized
4679 aros_warnflags_maybe_uninitialized
=$aros_warnflags_uninitialized
4680 aros_nowarnflags_maybe_uninitialized
=$aros_nowarnflags_uninitialized
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
4684 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
4685 CFLAGS
=-Wimplicit-function-declaration
4686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4687 /* end confdefs.h. */
4697 if ac_fn_c_try_compile
"$LINENO"; then :
4698 aros_implicit_function_declaration
="yes"
4700 aros_implicit_function_declaration
="no"
4702 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
4704 $as_echo "$aros_implicit_function_declaration" >&6; }
4705 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
4706 aros_warnflags_implicit_function_declaration
=-Wimplicit-function-declaration
4707 aros_nowarnflags_implicit_function_declaration
=-Wno-implicit-function-declaration
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
4711 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
4713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4714 /* end confdefs.h. */
4724 if ac_fn_c_try_compile
"$LINENO"; then :
4729 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
4731 $as_echo "$aros_format" >&6; }
4732 if test "x-$aros_format" = "x-yes" ; then
4733 aros_warnflags_format
=-Wformat
4734 aros_nowarnflags_format
=-Wno-format
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
4738 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
4739 CFLAGS
=-Wparentheses
4740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4741 /* end confdefs.h. */
4751 if ac_fn_c_try_compile
"$LINENO"; then :
4752 aros_parentheses
="yes"
4754 aros_parentheses
="no"
4756 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
4758 $as_echo "$aros_parentheses" >&6; }
4759 if test "x-$aros_parentheses" = "x-yes" ; then
4760 aros_warnflags_parentheses
=-Wparentheses
4761 aros_nowarnflags_parentheses
=-Wno-parentheses
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
4765 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
4766 CFLAGS
=-Wchar-subscripts
4767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4768 /* end confdefs.h. */
4778 if ac_fn_c_try_compile
"$LINENO"; then :
4779 aros_char_subscripts
="yes"
4781 aros_char_subscripts
="no"
4783 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
4785 $as_echo "$aros_char_subscripts" >&6; }
4786 if test "x-$aros_char_subscripts" = "x-yes" ; then
4787 aros_warnflags_char_subscripts
=-Wchar-subscripts
4788 aros_nowarnflags_char_subscripts
=-Wno-char-subscripts
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
4792 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
4793 CFLAGS
=-Wendif-labels
4794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4795 /* end confdefs.h. */
4805 if ac_fn_c_try_compile
"$LINENO"; then :
4806 aros_endif_labels
="yes"
4808 aros_endif_labels
="no"
4810 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
4812 $as_echo "$aros_endif_labels" >&6; }
4813 if test "x-$aros_endif_labels" = "x-yes" ; then
4814 aros_warnflags_endif_labels
=-Wendif-labels
4815 aros_nowarnflags_endif_labels
=-Wno-endif-labels
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
4819 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
4820 CFLAGS
=-Wformat-contains-nul
4821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4822 /* end confdefs.h. */
4832 if ac_fn_c_try_compile
"$LINENO"; then :
4833 aros_format_contains_nul
="yes"
4835 aros_format_contains_nul
="no"
4837 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
4839 $as_echo "$aros_format_contains_nul" >&6; }
4840 if test "x-$aros_format_contains_nul" = "x-yes" ; then
4841 aros_warnflags_format_contains_nul
=-Wformat-contains-nul
4842 aros_nowarnflags_format_contains_nul
=-Wno-format-contains-nul
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
4846 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
4847 CFLAGS
=-Wimplicit-int
4848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4849 /* end confdefs.h. */
4859 if ac_fn_c_try_compile
"$LINENO"; then :
4860 aros_implicit_int
="yes"
4862 aros_implicit_int
="no"
4864 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
4866 $as_echo "$aros_implicit_int" >&6; }
4867 if test "x-$aros_implicit_int" = "x-yes" ; then
4868 aros_warnflags_implicit_int
=-Wimplicit-int
4869 aros_nowarnflags_implicit_int
=-Wno-implicit-int
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
4873 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
4874 CFLAGS
=-Waggressive-loop-optimizations
4875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4876 /* end confdefs.h. */
4886 if ac_fn_c_try_compile
"$LINENO"; then :
4887 aros_aggressive_loop_optimizations
="yes"
4889 aros_aggressive_loop_optimizations
="no"
4891 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
4893 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
4894 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
4895 aros_warnflags_aggressive_loop_optimizations
=-Waggressive-loop-optimizations
4896 aros_nowarnflags_aggressive_loop_optimizations
=-Wno-aggressive-loop-optimizations
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
4900 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
4902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4903 /* end confdefs.h. */
4913 if ac_fn_c_try_compile
"$LINENO"; then :
4918 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
4920 $as_echo "$aros_cpp" >&6; }
4921 if test "x-$aros_cpp" = "x-yes" ; then
4922 aros_warnflags_cpp
=-Wcpp
4923 aros_nowarnflags_cpp
=-Wno-cpp
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
4927 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
4929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4930 /* end confdefs.h. */
4940 if ac_fn_c_try_compile
"$LINENO"; then :
4945 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
4947 $as_echo "$aros_switch" >&6; }
4948 if test "x-$aros_switch" = "x-yes" ; then
4949 aros_warnflags_switch
=-Wswitch
4950 aros_nowarnflags_switch
=-Wno-switch
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
4954 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
4955 CFLAGS
=-Wdiscarded-qualifiers
4956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4957 /* end confdefs.h. */
4967 if ac_fn_c_try_compile
"$LINENO"; then :
4968 aros_discarded_qualifiers
="yes"
4970 aros_discarded_qualifiers
="no"
4972 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
4974 $as_echo "$aros_discarded_qualifiers" >&6; }
4975 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
4976 aros_warnflags_discarded_qualifiers
=-Wdiscarded-qualifiers
4977 aros_nowarnflags_discarded_qualifiers
=-Wno-discarded-qualifiers
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
4981 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
4982 CFLAGS
=-Wsequence-point
4983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4984 /* end confdefs.h. */
4994 if ac_fn_c_try_compile
"$LINENO"; then :
4995 aros_sequence_point
="yes"
4997 aros_sequence_point
="no"
4999 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
5001 $as_echo "$aros_sequence_point" >&6; }
5002 if test "x-$aros_sequence_point" = "x-yes" ; then
5003 aros_warnflags_sequence_point
=-Wsequence-point
5004 aros_nowarnflags_sequence_point
=-Wno-sequence-point
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
5008 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
5009 CFLAGS
=-Wunknown-pragmas
5010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5011 /* end confdefs.h. */
5021 if ac_fn_c_try_compile
"$LINENO"; then :
5022 aros_unknown_pragmas
="yes"
5024 aros_unknown_pragmas
="no"
5026 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
5028 $as_echo "$aros_unknown_pragmas" >&6; }
5029 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
5030 aros_warnflags_unknown_pragmas
=-Wunknown-pragmas
5031 aros_nowarnflags_unknown_pragmas
=-Wno-unknown-pragmas
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
5035 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
5036 CFLAGS
=-Wdiscarded-array-qualifiers
5037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5038 /* end confdefs.h. */
5048 if ac_fn_c_try_compile
"$LINENO"; then :
5049 aros_discarded_array_qualifiers
="yes"
5051 aros_discarded_array_qualifiers
="no"
5053 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
5055 $as_echo "$aros_discarded_array_qualifiers" >&6; }
5056 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
5057 aros_warnflags_discarded_array_qualifiers
=-Wdiscarded-array-qualifiers
5058 aros_nowarnflags_discarded_array_qualifiers
=-Wno-discarded-array-qualifiers
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
5062 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
5063 CFLAGS
=-Wint-conversion
5064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5065 /* end confdefs.h. */
5075 if ac_fn_c_try_compile
"$LINENO"; then :
5076 aros_int_conversion
="yes"
5078 aros_int_conversion
="no"
5080 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
5082 $as_echo "$aros_int_conversion" >&6; }
5083 if test "x-$aros_int_conversion" = "x-yes" ; then
5084 aros_warnflags_int_conversion
=-Wint-conversion
5085 aros_nowarnflags_int_conversion
=-Wno-int-conversion
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
5089 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
5090 CFLAGS
=-Wint-to-pointer-cast
5091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5092 /* end confdefs.h. */
5102 if ac_fn_c_try_compile
"$LINENO"; then :
5103 aros_int_to_pointer_cast
="yes"
5105 aros_int_to_pointer_cast
="no"
5107 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
5109 $as_echo "$aros_int_to_pointer_cast" >&6; }
5110 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
5111 aros_warnflags_int_to_pointer_cast
=-Wint-to-pointer-cast
5112 aros_nowarnflags_int_to_pointer_cast
=-Wno-int-to-pointer-cast
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
5116 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
5117 CFLAGS
=-Wpointer-to-int-cast
5118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5119 /* end confdefs.h. */
5129 if ac_fn_c_try_compile
"$LINENO"; then :
5130 aros_pointer_to_int_cast
="yes"
5132 aros_pointer_to_int_cast
="no"
5134 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
5136 $as_echo "$aros_pointer_to_int_cast" >&6; }
5137 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
5138 aros_warnflags_pointer_to_int_cast
=-Wpointer-to-int-cast
5139 aros_nowarnflags_pointer_to_int_cast
=-Wno-pointer-to-int-cast
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
5143 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
5144 CFLAGS
=-Wunused-const-variable
5145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5146 /* end confdefs.h. */
5156 if ac_fn_c_try_compile
"$LINENO"; then :
5157 aros_unused_const_variable
="yes"
5159 aros_unused_const_variable
="no"
5161 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
5163 $as_echo "$aros_unused_const_variable" >&6; }
5164 if test "x-$aros_unused_const_variable" = "x-yes" ; then
5165 aros_warnflags_unused_const_variable
=-Wunused-const-variable
5166 aros_nowarnflags_unused_const_variable
=-Wno-unused-const-variable
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
5170 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
5171 CFLAGS
=-Wwrite-strings
5172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5173 /* end confdefs.h. */
5183 if ac_fn_c_try_compile
"$LINENO"; then :
5184 aros_write_strings
="yes"
5186 aros_write_strings
="no"
5188 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
5190 $as_echo "$aros_write_strings" >&6; }
5191 if test "x-$aros_write_strings" = "x-yes" ; then
5192 aros_warnflags_write_strings
=-Wwrite-strings
5193 aros_nowarnflags_write_strings
=-Wno-write-strings
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
5197 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
5199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5200 /* end confdefs.h. */
5210 if ac_fn_c_try_compile
"$LINENO"; then :
5215 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
5217 $as_echo "$aros_comment" >&6; }
5218 if test "x-$aros_comment" = "x-yes" ; then
5219 aros_warnflags_comment
=-Wcomment
5220 aros_nowarnflags_comment
=-Wno-comment
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
5224 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
5225 CFLAGS
=-Wincompatible-pointer-types
5226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5227 /* end confdefs.h. */
5237 if ac_fn_c_try_compile
"$LINENO"; then :
5238 aros_incompatible_pointer_types
="yes"
5240 aros_incompatible_pointer_types
="no"
5242 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
5244 $as_echo "$aros_incompatible_pointer_types" >&6; }
5245 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
5246 aros_warnflags_incompatible_pointer_types
=-Wincompatible-pointer-types
5247 aros_nowarnflags_incompatible_pointer_types
=-Wno-incompatible-pointer-types
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
5251 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
5252 CFLAGS
=-Wbool-compare
5253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5254 /* end confdefs.h. */
5264 if ac_fn_c_try_compile
"$LINENO"; then :
5265 aros_bool_compare
="yes"
5267 aros_bool_compare
="no"
5269 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
5271 $as_echo "$aros_bool_compare" >&6; }
5272 if test "x-$aros_bool_compare" = "x-yes" ; then
5273 aros_warnflags_bool_compare
=-Wbool-compare
5274 aros_nowarnflags_bool_compare
=-Wno-bool-compare
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
5278 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
5279 CFLAGS
=-Wlogical-not-parentheses
5280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5281 /* end confdefs.h. */
5291 if ac_fn_c_try_compile
"$LINENO"; then :
5292 aros_logical_not_parentheses
="yes"
5294 aros_logical_not_parentheses
="no"
5296 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
5298 $as_echo "$aros_logical_not_parentheses" >&6; }
5299 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
5300 aros_warnflags_logical_not_parentheses
=-Wlogical-not-parentheses
5301 aros_nowarnflags_logical_not_parentheses
=-Wno-logical-not-parentheses
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
5305 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
5306 CFLAGS
=-Wpointer-sign
5307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5308 /* end confdefs.h. */
5318 if ac_fn_c_try_compile
"$LINENO"; then :
5319 aros_pointer_sign
="yes"
5321 aros_pointer_sign
="no"
5323 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
5325 $as_echo "$aros_pointer_sign" >&6; }
5326 if test "x-$aros_pointer_sign" = "x-yes" ; then
5327 aros_warnflags_pointer_sign
=-Wpointer-sign
5328 aros_nowarnflags_pointer_sign
=-Wno-pointer-sign
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
5332 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
5333 CFLAGS
=-Wshift-overflow
5334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5335 /* end confdefs.h. */
5345 if ac_fn_c_try_compile
"$LINENO"; then :
5346 aros_shift_overflow
="yes"
5348 aros_shift_overflow
="no"
5350 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
5352 $as_echo "$aros_shift_overflow" >&6; }
5353 if test "x-$aros_shift_overflow" = "x-yes" ; then
5354 aros_warnflags_shift_overflow
=-Wshift-overflow
5355 aros_nowarnflags_shift_overflow
=-Wno-shift-overflow
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
5359 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
5360 CFLAGS
=-Wframe-address
5361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5362 /* end confdefs.h. */
5372 if ac_fn_c_try_compile
"$LINENO"; then :
5373 aros_frame_address
="yes"
5375 aros_frame_address
="no"
5377 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
5379 $as_echo "$aros_frame_address" >&6; }
5380 if test "x-$aros_frame_address" = "x-yes" ; then
5381 aros_warnflags_frame_address
=-Wframe-address
5382 aros_nowarnflags_frame_address
=-Wno-frame-address
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
5386 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
5387 CFLAGS
=-Wdeprecated-declarations
5388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5389 /* end confdefs.h. */
5399 if ac_fn_c_try_compile
"$LINENO"; then :
5400 aros_deprecated_declarations
="yes"
5402 aros_deprecated_declarations
="no"
5404 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
5406 $as_echo "$aros_deprecated_declarations" >&6; }
5407 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
5408 aros_warnflags_deprecated_declarations
=-Wdeprecated-declarations
5409 aros_nowarnflags_deprecated_declarations
=-Wno-deprecated-declarations
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
5413 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
5414 CFLAGS
=-Wsign-compare
5415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5416 /* end confdefs.h. */
5426 if ac_fn_c_try_compile
"$LINENO"; then :
5427 aros_sign_compare
="yes"
5429 aros_sign_compare
="no"
5431 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
5433 $as_echo "$aros_sign_compare" >&6; }
5434 if test "x-$aros_sign_compare" = "x-yes" ; then
5435 aros_warnflags_sign_compare
=-Wsign-compare
5436 aros_nowarnflags_sign_compare
=-Wno-sign-compare
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
5440 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
5442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5443 /* end confdefs.h. */
5453 if ac_fn_c_try_compile
"$LINENO"; then :
5454 aros_attributes
="yes"
5456 aros_attributes
="no"
5458 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
5460 $as_echo "$aros_attributes" >&6; }
5461 if test "x-$aros_attributes" = "x-yes" ; then
5462 aros_warnflags_attributes
=-Wattributes
5463 aros_nowarnflags_attributes
=-Wno-attributes
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
5467 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
5469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5470 /* end confdefs.h. */
5480 if ac_fn_c_try_compile
"$LINENO"; then :
5485 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
5487 $as_echo "$aros_overflow" >&6; }
5488 if test "x-$aros_overflow" = "x-yes" ; then
5489 aros_warnflags_overflow
=-Woverflow
5490 aros_nowarnflags_overflow
=-Wno-overflow
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
5494 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
5495 CFLAGS
=-Wunused-local-typedefs
5496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5497 /* end confdefs.h. */
5507 if ac_fn_c_try_compile
"$LINENO"; then :
5508 aros_unused_local_typedefs
="yes"
5510 aros_unused_local_typedefs
="no"
5512 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
5514 $as_echo "$aros_unused_local_typedefs" >&6; }
5515 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
5516 aros_warnflags_unused_local_typedefs
=-Wunused-local-typedefs
5517 aros_nowarnflags_unused_local_typedefs
=-Wno-unused-local-typedefs
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
5521 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
5522 CFLAGS
=-Wmissing-braces
5523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5524 /* end confdefs.h. */
5534 if ac_fn_c_try_compile
"$LINENO"; then :
5535 aros_missing_braces
="yes"
5537 aros_missing_braces
="no"
5539 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
5541 $as_echo "$aros_missing_braces" >&6; }
5542 if test "x-$aros_missing_braces" = "x-yes" ; then
5543 aros_warnflags_missing_braces
=-Wmissing-braces
5544 aros_nowarnflags_missing_braces
=-Wno-missing-braces
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
5548 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
5550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5551 /* end confdefs.h. */
5561 if ac_fn_c_try_compile
"$LINENO"; then :
5562 aros_narrowing
="yes"
5566 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
5568 $as_echo "$aros_narrowing" >&6; }
5569 if test "x-$aros_narrowing" = "x-yes" ; then
5570 aros_warnflags_narrowing
=-Wnarrowing
5571 aros_nowarnflags_narrowing
=-Wno-narrowing
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wvolatile-register-var" >&5
5575 $as_echo_n "checking whether ${CC} accepts -Wvolatile-register-var... " >&6; }
5576 CFLAGS
=-Wvolatile-register-var
5577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5578 /* end confdefs.h. */
5588 if ac_fn_c_try_compile
"$LINENO"; then :
5589 aros_volatile_register_var
="yes"
5591 aros_volatile_register_var
="no"
5593 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_volatile_register_var" >&5
5595 $as_echo "$aros_volatile_register_var" >&6; }
5596 if test "x-$aros_volatile_register_var" = "x-yes" ; then
5597 aros_warnflags_volatile_register_var
=-Wvolatile-register-var
5598 aros_nowarnflags_volatile_register_var
=-Wno-volatile-register-var
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsizeof-pointer-memaccess" >&5
5602 $as_echo_n "checking whether ${CC} accepts -Wsizeof-pointer-memaccess... " >&6; }
5603 CFLAGS
=-Wsizeof-pointer-memaccess
5604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5605 /* end confdefs.h. */
5615 if ac_fn_c_try_compile
"$LINENO"; then :
5616 aros_sizeof_pointer_memaccess
="yes"
5618 aros_sizeof_pointer_memaccess
="no"
5620 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sizeof_pointer_memaccess" >&5
5622 $as_echo "$aros_sizeof_pointer_memaccess" >&6; }
5623 if test "x-$aros_sizeof_pointer_memaccess" = "x-yes" ; then
5624 aros_warnflags_sizeof_pointer_memaccess
=-Wsizeof-pointer-memaccess
5625 aros_nowarnflags_sizeof_pointer_memaccess
=-Wno-sizeof-pointer-memaccess
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wreturn-type" >&5
5629 $as_echo_n "checking whether ${CC} accepts -Wreturn-type... " >&6; }
5630 CFLAGS
=-Wreturn-type
5631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5632 /* end confdefs.h. */
5642 if ac_fn_c_try_compile
"$LINENO"; then :
5643 aros_return_type
="yes"
5645 aros_return_type
="no"
5647 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_return_type" >&5
5649 $as_echo "$aros_return_type" >&6; }
5650 if test "x-$aros_return_type" = "x-yes" ; then
5651 aros_warnflags_return_type
=-Wreturn-type
5652 aros_nowarnflags_return_type
=-Wno-return-type
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-zero-length" >&5
5656 $as_echo_n "checking whether ${CC} accepts -Wformat-zero-length... " >&6; }
5657 CFLAGS
=-Wformat-zero-length
5658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5659 /* end confdefs.h. */
5669 if ac_fn_c_try_compile
"$LINENO"; then :
5670 aros_format_zero_length
="yes"
5672 aros_format_zero_length
="no"
5674 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_zero_length" >&5
5676 $as_echo "$aros_format_zero_length" >&6; }
5677 if test "x-$aros_format_zero_length" = "x-yes" ; then
5678 aros_warnflags_format_zero_length
=-Wformat-zero-length
5679 aros_nowarnflags_format_zero_length
=-Wno-format-zero-length
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlto-type-mismatch" >&5
5683 $as_echo_n "checking whether ${CC} accepts -Wlto-type-mismatch... " >&6; }
5684 CFLAGS
=-Wlto-type-mismatch
5685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5686 /* end confdefs.h. */
5696 if ac_fn_c_try_compile
"$LINENO"; then :
5697 aros_lto_type_mismatch
="yes"
5699 aros_lto_type_mismatch
="no"
5701 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto_type_mismatch" >&5
5703 $as_echo "$aros_lto_type_mismatch" >&6; }
5704 if test "x-$aros_lto_type_mismatch" = "x-yes" ; then
5705 aros_warnflags_lto_type_mismatch
=-Wlto-type-mismatch
5706 aros_nowarnflags_lto_type_mismatch
=-Wno-lto-type-mismatch
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wtautological-compare" >&5
5710 $as_echo_n "checking whether ${CC} accepts -Wtautological-compare... " >&6; }
5711 CFLAGS
=-Wtautological-compare
5712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5713 /* end confdefs.h. */
5723 if ac_fn_c_try_compile
"$LINENO"; then :
5724 aros_tautological_compare
="yes"
5726 aros_tautological_compare
="no"
5728 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tautological_compare" >&5
5730 $as_echo "$aros_tautological_compare" >&6; }
5731 if test "x-$aros_tautological_compare" = "x-yes" ; then
5732 aros_warnflags_tautological_compare
=-Wtautological-compare
5733 aros_nowarnflags_tautological_compare
=-Wno-tautological-compare
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wempty-body" >&5
5737 $as_echo_n "checking whether ${CC} accepts -Wempty-body... " >&6; }
5739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5740 /* end confdefs.h. */
5750 if ac_fn_c_try_compile
"$LINENO"; then :
5751 aros_empty_body
="yes"
5753 aros_empty_body
="no"
5755 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_empty_body" >&5
5757 $as_echo "$aros_empty_body" >&6; }
5758 if test "x-$aros_empty_body" = "x-yes" ; then
5759 aros_warnflags_empty_body
=-Wempty-body
5760 aros_nowarnflags_empty_body
=-Wno-empty-body
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-overflow" >&5
5764 $as_echo_n "checking whether ${CC} accepts -Wformat-overflow... " >&6; }
5765 CFLAGS
=-Wformat-overflow
5766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5767 /* end confdefs.h. */
5777 if ac_fn_c_try_compile
"$LINENO"; then :
5778 aros_format_overflow
="yes"
5780 aros_format_overflow
="no"
5782 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_overflow" >&5
5784 $as_echo "$aros_format_overflow" >&6; }
5785 if test "x-$aros_format_overflow" = "x-yes" ; then
5786 aros_warnflags_format_overflow
=-Wformat-overflow
5787 aros_nowarnflags_format_overflow
=-Wno-format-overflow
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstringop-overflow" >&5
5791 $as_echo_n "checking whether ${CC} accepts -Wstringop-overflow... " >&6; }
5792 CFLAGS
=-Wstringop-overflow
5793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5794 /* end confdefs.h. */
5804 if ac_fn_c_try_compile
"$LINENO"; then :
5805 aros_stringop_overflow
="yes"
5807 aros_stringop_overflow
="no"
5809 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_stringop_overflow" >&5
5811 $as_echo "$aros_stringop_overflow" >&6; }
5812 if test "x-$aros_stringop_overflow" = "x-yes" ; then
5813 aros_warnflags_stringop_overflow
=-Wstringop-overflow
5814 aros_nowarnflags_stringop_overflow
=-Wno-stringop-overflow
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-truncation" >&5
5818 $as_echo_n "checking whether ${CC} accepts -Wformat-truncation... " >&6; }
5819 CFLAGS
=-Wformat-truncation
5820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5821 /* end confdefs.h. */
5831 if ac_fn_c_try_compile
"$LINENO"; then :
5832 aros_format_truncation
="yes"
5834 aros_format_truncation
="no"
5836 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_truncation" >&5
5838 $as_echo "$aros_format_truncation" >&6; }
5839 if test "x-$aros_format_truncation" = "x-yes" ; then
5840 aros_warnflags_format_truncation
=-Wformat-truncation
5841 aros_nowarnflags_format_truncation
=-Wno-format-truncation
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstringop-truncation" >&5
5845 $as_echo_n "checking whether ${CC} accepts -Wstringop-truncation... " >&6; }
5846 CFLAGS
=-Wstringop-truncation
5847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5848 /* end confdefs.h. */
5858 if ac_fn_c_try_compile
"$LINENO"; then :
5859 aros_stringop_truncation
="yes"
5861 aros_stringop_truncation
="no"
5863 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_stringop_truncation" >&5
5865 $as_echo "$aros_stringop_truncation" >&6; }
5866 if test "x-$aros_stringop_truncation" = "x-yes" ; then
5867 aros_warnflags_stringop_truncation
=-Wstringop-truncation
5868 aros_nowarnflags_stringop_truncation
=-Wno-stringop-truncation
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-negative-value" >&5
5872 $as_echo_n "checking whether ${CC} accepts -Wshift-negative-value... " >&6; }
5873 CFLAGS
=-Wshift-negative-value
5874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5875 /* end confdefs.h. */
5885 if ac_fn_c_try_compile
"$LINENO"; then :
5886 aros_shift_negative_value
="yes"
5888 aros_shift_negative_value
="no"
5890 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_negative_value" >&5
5892 $as_echo "$aros_shift_negative_value" >&6; }
5893 if test "x-$aros_shift_negative_value" = "x-yes" ; then
5894 aros_warnflags_shift_negative_value
=-Wshift-negative-value
5895 aros_nowarnflags_shift_negative_value
=-Wno-shift-negative-value
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-field-initializers" >&5
5899 $as_echo_n "checking whether ${CC} accepts -Wmissing-field-initializers... " >&6; }
5900 CFLAGS
=-Wmissing-field-initializers
5901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5902 /* end confdefs.h. */
5912 if ac_fn_c_try_compile
"$LINENO"; then :
5913 aros_missing_field_initializers
="yes"
5915 aros_missing_field_initializers
="no"
5917 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_field_initializers" >&5
5919 $as_echo "$aros_missing_field_initializers" >&6; }
5920 if test "x-$aros_missing_field_initializers" = "x-yes" ; then
5921 aros_warnflags_missing_field_initializers
=-Wmissing-field-initializers
5922 aros_nowarnflags_missing_field_initializers
=-Wno-missing-field-initializers
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-fallthrough" >&5
5926 $as_echo_n "checking whether ${CC} accepts -Wimplicit-fallthrough... " >&6; }
5927 CFLAGS
=-Wimplicit-fallthrough
5928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5929 /* end confdefs.h. */
5939 if ac_fn_c_try_compile
"$LINENO"; then :
5940 aros_implicit_fallthrough
="yes"
5942 aros_implicit_fallthrough
="no"
5944 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_fallthrough" >&5
5946 $as_echo "$aros_implicit_fallthrough" >&6; }
5947 if test "x-$aros_implicit_fallthrough" = "x-yes" ; then
5948 aros_warnflags_implicit_fallthrough
=-Wimplicit-fallthrough
5949 aros_nowarnflags_implicit_fallthrough
=-Wno-implicit-fallthrough
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-prototypes" >&5
5953 $as_echo_n "checking whether ${CC} accepts -Wmissing-prototypes... " >&6; }
5954 CFLAGS
=-Wmissing-prototypes
5955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5956 /* end confdefs.h. */
5966 if ac_fn_c_try_compile
"$LINENO"; then :
5967 aros_missing_prototypes
="yes"
5969 aros_missing_prototypes
="no"
5971 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_prototypes" >&5
5973 $as_echo "$aros_missing_prototypes" >&6; }
5974 if test "x-$aros_missing_prototypes" = "x-yes" ; then
5975 aros_warnflags_missing_prototypes
=-Wmissing-prototypes
5976 aros_nowarnflags_missing_prototypes
=-Wno-missing-prototypes
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wclass-memaccess" >&5
5980 $as_echo_n "checking whether ${CC} accepts -Wclass-memaccess... " >&6; }
5981 CFLAGS
=-Wclass-memaccess
5982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5983 /* end confdefs.h. */
5993 if ac_fn_c_try_compile
"$LINENO"; then :
5994 aros_class_memaccess
="yes"
5996 aros_class_memaccess
="no"
5998 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_class_memaccess" >&5
6000 $as_echo "$aros_class_memaccess" >&6; }
6001 if test "x-$aros_class_memaccess" = "x-yes" ; then
6002 aros_warnflags_class_memaccess
=-Wclass-memaccess
6003 aros_nowarnflags_class_memaccess
=-Wno-class-memaccess
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-in-bool-context" >&5
6007 $as_echo_n "checking whether ${CC} accepts -Wint-in-bool-context... " >&6; }
6008 CFLAGS
=-Wint-in-bool-context
6009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6010 /* end confdefs.h. */
6020 if ac_fn_c_try_compile
"$LINENO"; then :
6021 aros_int_in_bool_context
="yes"
6023 aros_int_in_bool_context
="no"
6025 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_in_bool_context" >&5
6027 $as_echo "$aros_int_in_bool_context" >&6; }
6028 if test "x-$aros_int_in_bool_context" = "x-yes" ; then
6029 aros_warnflags_int_in_bool_context
=-Wint-in-bool-context
6030 aros_nowarnflags_int_in_bool_context
=-Wno-int-in-bool-context
6032 CFLAGS
="$save_cflags"
6034 # Check the C++ warnings
6036 ac_cpp
='$CXXCPP $CPPFLAGS'
6037 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6038 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6039 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6041 save_cxxflags
="$CXXFLAGS"
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} accepts -Wconversion-null" >&5
6044 $as_echo_n "checking whether ${CXX} accepts -Wconversion-null... " >&6; }
6045 CXXFLAGS
=-Wconversion-null
6046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6047 /* end confdefs.h. */
6057 if ac_fn_cxx_try_compile
"$LINENO"; then :
6058 aros_conversion_null
="yes"
6060 aros_conversion_null
="no"
6062 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
6064 $as_echo "$aros_conversion_null" >&6; }
6065 if test "x-$aros_conversion_null" = "x-yes" ; then
6066 aros_warnflags_conversion_null
=-Wconversion-null
6067 aros_nowarnflags_conversion_null
=-Wno-conversion-null
6070 CXXFLAGS
="$save_cxxflags"
6073 ac_cpp
='$CPP $CPPFLAGS'
6074 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6075 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6076 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6079 #########################################################
6081 # Now check what we need to use with the toolchain
6083 cat >$AROS_DEVELOPER/include
/__testsincdir.h
<<_ACEOF
6084 /* Copyright (c) The AROS Dev Team */
6085 #define _TESTINCFOUND
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need to use --sysroot" >&5
6089 $as_echo_n "checking if we need to use --sysroot... " >&6; }
6090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6091 /* end confdefs.h. */
6093 #include <__testsincdir.h>
6094 #ifndef _TESTINCFOUND
6095 error: Couldnt find include!
6106 if ac_fn_c_try_compile
"$LINENO"; then :
6107 toolchain_needs_sysroot
=no
6109 toolchain_needs_sysroot
=yes
6111 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolchain_needs_sysroot" >&5
6113 $as_echo "$toolchain_needs_sysroot" >&6; }
6115 if test "$toolchain_needs_sysroot" = "yes" ; then
6116 aros_toolchain_sysroot
="--sysroot $""(AROS_DEVELOPER)"
6119 #AC_MSG_CHECKING([if we need to use --isysroot])
6120 #AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
6122 # (#include <__testsincdir.h>
6123 # #ifndef _TESTINCFOUND
6124 # error: Couldnt find include!
6127 # [toolchain_needs_isysroot=no],
6128 # [toolchain_needs_isysroot=yes])
6129 #AC_MSG_RESULT($toolchain_needs_isysroot)
6131 #if test "$toolchain_needs_isysroot" = "yes" ; then
6132 # aros_toolchain_isysroot="-isysroot $""(AROS_SDK)"
6133 # aros_toolchain_iarchdir="-I $""(AROS_SDK)/$""(AROS_TARGET_CPU)-aros/include"
6135 rm -f $AROS_DEVELOPER/include
/__testsincdir.h
6138 # export the feature flags...
6202 # export the feature options...
6210 # ...and warning flags...
6358 # Additional toolchain support ...
6361 ac_config_files
="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in"
6364 cat >confcache
<<\_ACEOF
6365 # This file is a shell script that caches the results of configure
6366 # tests run on this system so they can be shared between configure
6367 # scripts and configure runs, see configure's option --config-cache.
6368 # It is not useful on other systems. If it contains results you don't
6369 # want to keep, you may remove or edit it.
6371 # config.status only pays attention to the cache file if you give it
6372 # the --recheck option to rerun configure.
6374 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6375 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6380 # The following way of writing the cache mishandles newlines in values,
6381 # but we know of no workaround that is simple, portable, and efficient.
6382 # So, we kill variables containing newlines.
6383 # Ultrix sh set writes to stderr and can't be redirected directly,
6384 # and sets the high bit in the cache file unless we assign to the vars.
6386 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6387 eval ac_val
=\$
$ac_var
6391 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6392 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6395 _ | IFS | as_nl
) ;; #(
6396 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
6397 *) { eval $ac_var=; unset $ac_var;} ;;
6403 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6404 *${as_nl}ac_space
=\
*)
6405 # `set' does not quote correctly, so add quotes: double-quote
6406 # substitution turns \\\\ into \\, and sed turns \\ into \.
6409 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6412 # `set' quotes correctly as required by POSIX, so do not add quotes.
6413 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6422 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6424 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6426 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
6427 if test -w "$cache_file"; then
6428 if test "x$cache_file" != "x/dev/null"; then
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6430 $as_echo "$as_me: updating cache $cache_file" >&6;}
6431 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
6432 cat confcache
>"$cache_file"
6434 case $cache_file in #(
6436 mv -f confcache
"$cache_file"$$
&&
6437 mv -f "$cache_file"$$
"$cache_file" ;; #(
6439 mv -f confcache
"$cache_file" ;;
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6445 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6450 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6451 # Let make expand exec_prefix.
6452 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6454 # Transform confdefs.h into DEFS.
6455 # Protect against shell expansion while executing Makefile rules.
6456 # Protect against Makefile macro expansion.
6458 # If the first sed substitution is executed (which looks for macros that
6459 # take arguments), then branch to the quote section. Otherwise,
6460 # look for a macro that doesn't take arguments.
6470 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
6472 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
6476 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
6489 DEFS
=`sed -n "$ac_script" confdefs.h`
6495 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6496 # 1. Remove the extension, and $U if already installed.
6497 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
6498 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
6499 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6500 # will be set to the directory where LIBOBJS objects are built.
6501 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6502 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
6506 LTLIBOBJS
=$ac_ltlibobjs
6510 : "${CONFIG_STATUS=./config.status}"
6512 ac_clean_files_save
=$ac_clean_files
6513 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6515 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6517 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6519 # Generated by $as_me.
6520 # Run this file to recreate the current configuration.
6521 # Compiler output produced by configure, useful for debugging
6522 # configure, is in config.log if it exists.
6528 SHELL=\${CONFIG_SHELL-$SHELL}
6531 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
6532 ## -------------------- ##
6533 ## M4sh Initialization. ##
6534 ## -------------------- ##
6536 # Be more Bourne compatible
6537 DUALCASE
=1; export DUALCASE
# for MKS sh
6538 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
6541 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6542 # is contrary to our usage. Disable this feature.
6543 alias -g '${1+"$@"}'='"$@"'
6544 setopt NO_GLOB_SUBST
6546 case `(set -o) 2>/dev/null` in #(
6558 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6559 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6560 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6561 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6562 # Prefer a ksh shell builtin over an external printf program on Solaris,
6563 # but without wasting forks for bash or zsh.
6564 if test -z "$BASH_VERSION$ZSH_VERSION" \
6565 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6566 as_echo='print
-r --'
6567 as_echo_n='print
-rn --'
6568 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6569 as_echo='printf %s
\n'
6570 as_echo_n='printf %s
'
6572 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6573 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
6574 as_echo_n='/usr
/ucb
/echo -n'
6576 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6577 as_echo_n_body='eval
6581 expr "X$arg" : "X\\(.*\\)$as_nl";
6582 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6584 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
6586 export as_echo_n_body
6587 as_echo_n='sh
-c $as_echo_n_body as_echo
'
6590 as_echo='sh
-c $as_echo_body as_echo
'
6593 # The user is always right.
6594 if test "${PATH_SEPARATOR+set}" != set; then
6596 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6597 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6604 # We need space, tab and new line, in precisely that order. Quoting is
6605 # there to prevent editors from complaining about space-tab.
6606 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6607 # splitting by setting IFS to empty value.)
6610 # Find who we are. Look in the path if we contain no directory separator.
6613 *[\\/]* ) as_myself=$0 ;;
6614 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6618 test -z "$as_dir" && as_dir=.
6619 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6625 # We did not find ourselves, most probably we were run as `sh COMMAND'
6626 # in which case we are not to be found in the path.
6627 if test "x$as_myself" = x
; then
6630 if test ! -f "$as_myself"; then
6631 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6635 # Unset variables that we do not need and which cause bugs (e.g. in
6636 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6637 # suppresses any "Segmentation fault" message there. '((' could
6638 # trigger a bug in pdksh 5.2.14.
6639 for as_var
in BASH_ENV ENV MAIL MAILPATH
6640 do eval test x\
${$as_var+set} = xset \
6641 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
6654 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
6657 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6658 # ----------------------------------------
6659 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6660 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6661 # script with STATUS, using 1 if that was 0.
6664 as_status
=$1; test $as_status -eq 0 && as_status
=1
6666 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
6667 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6669 $as_echo "$as_me: error: $2" >&2
6670 as_fn_exit
$as_status
6674 # as_fn_set_status STATUS
6675 # -----------------------
6676 # Set $? to STATUS, without forking.
6680 } # as_fn_set_status
6684 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6694 # Portably unset VAR.
6697 { eval $1=; unset $1;}
6699 as_unset
=as_fn_unset
6700 # as_fn_append VAR VALUE
6701 # ----------------------
6702 # Append the text in VALUE to the end of the definition contained in VAR. Take
6703 # advantage of any shell optimizations that allow amortized linear growth over
6704 # repeated appends, instead of the typical quadratic growth present in naive
6706 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
6707 eval 'as_fn_append ()
6718 # as_fn_arith ARG...
6719 # ------------------
6720 # Perform arithmetic evaluation on the ARGs, and store the result in the
6721 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6722 # must be portable across $(()) and expr.
6723 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
6724 eval 'as_fn_arith ()
6731 as_val
=`expr "$@" || test $? -eq 1`
6736 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
6737 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6743 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6744 as_basename
=basename
6749 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
6755 as_me
=`$as_basename -- "$0" ||
6756 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6757 X"$0" : 'X\(//\)$' \| \
6758 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6760 sed '/^.*\/\([^/][^/]*\)\/*$/{
6774 # Avoid depending upon Character Ranges.
6775 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6776 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6777 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6778 as_cr_digits
='0123456789'
6779 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6781 ECHO_C
= ECHO_N
= ECHO_T
=
6782 case `echo -n x` in #(((((
6784 case `echo 'xy\c'` in
6785 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
6787 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
6794 rm -f conf$$ conf$$.exe conf$$.
file
6795 if test -d conf$$.dir
; then
6796 rm -f conf$$.dir
/conf$$.
file
6799 mkdir conf$$.dir
2>/dev
/null
6801 if (echo >conf$$.
file) 2>/dev
/null
; then
6802 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6804 # ... but there are two gotchas:
6805 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6806 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6807 # In both cases, we have to default to `cp -pR'.
6808 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
6810 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6818 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
6819 rmdir conf$$.dir
2>/dev
/null
6824 # Create "$as_dir" as a directory, including parents if necessary.
6829 -*) as_dir
=.
/$as_dir;;
6831 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
6835 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6836 *) as_qdir
=$as_dir;;
6838 as_dirs
="'$as_qdir' $as_dirs"
6839 as_dir
=`$as_dirname -- "$as_dir" ||
6840 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6841 X"$as_dir" : 'X\(//\)[^/]' \| \
6842 X"$as_dir" : 'X\(//\)$' \| \
6843 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6844 $as_echo X"$as_dir" |
6845 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6862 test -d "$as_dir" && break
6864 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
6865 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
6869 if mkdir
-p .
2>/dev
/null
; then
6870 as_mkdir_p
='mkdir -p "$as_dir"'
6872 test -d .
/-p && rmdir .
/-p
6877 # as_fn_executable_p FILE
6878 # -----------------------
6879 # Test if FILE is an executable regular file.
6880 as_fn_executable_p
()
6882 test -f "$1" && test -x "$1"
6883 } # as_fn_executable_p
6885 as_executable_p
=as_fn_executable_p
6887 # Sed expression to map a string onto a valid CPP name.
6888 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6890 # Sed expression to map a string onto a valid variable name.
6891 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6895 ## ----------------------------------- ##
6896 ## Main body of $CONFIG_STATUS script. ##
6897 ## ----------------------------------- ##
6899 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
6901 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6902 # Save the log message, to keep $0 and so on meaningful, and to
6903 # report actual input values of CONFIG_FILES etc. instead of their
6904 # values after options handling.
6906 This file was extended by $as_me, which was
6907 generated by GNU Autoconf 2.69. Invocation command line was
6909 CONFIG_FILES = $CONFIG_FILES
6910 CONFIG_HEADERS = $CONFIG_HEADERS
6911 CONFIG_LINKS = $CONFIG_LINKS
6912 CONFIG_COMMANDS = $CONFIG_COMMANDS
6915 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6920 case $ac_config_files in *"
6921 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
6926 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6927 # Files that config.status was made for.
6928 config_files="$ac_config_files"
6932 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6934 \`$as_me' instantiates files and other configuration actions
6935 from templates according to the current configuration. Unless the files
6936 and actions are specified as TAGs, all are instantiated by default.
6938 Usage: $0 [OPTION]... [TAG]...
6940 -h, --help print this help, then exit
6941 -V, --version print version number and configuration settings, then exit
6942 --config print configuration, then exit
6943 -q, --quiet, --silent
6944 do not print progress messages
6945 -d, --debug don't remove temporary files
6946 --recheck update $as_me by reconfiguring in the same conditions
6947 --file=FILE[:TEMPLATE]
6948 instantiate the configuration file FILE
6950 Configuration files:
6953 Report bugs to the package provider."
6956 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6957 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6960 configured by $0, generated by GNU Autoconf 2.69,
6961 with options \\"\$ac_cs_config\\"
6963 Copyright (C) 2012 Free Software Foundation, Inc.
6964 This config.status script is free software; the Free Software Foundation
6965 gives unlimited permission to copy, distribute and modify it."
6969 test -n "\$AWK" || AWK=awk
6972 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6973 # The default lists apply if the user does not specify any file.
6979 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6980 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
6984 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6996 # Handling of the options.
6997 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6999 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7000 $as_echo "$ac_cs_version"; exit ;;
7001 --config |
--confi |
--conf |
--con |
--co |
--c )
7002 $as_echo "$ac_cs_config"; exit ;;
7003 --debug |
--debu |
--deb |
--de |
--d |
-d )
7005 --file |
--fil |
--fi |
--f )
7008 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7009 '') as_fn_error $?
"missing file argument" ;;
7011 as_fn_append CONFIG_FILES
" '$ac_optarg'"
7012 ac_need_defaults
=false
;;
7013 --he |
--h |
--help |
--hel |
-h )
7014 $as_echo "$ac_cs_usage"; exit ;;
7015 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7016 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7020 -*) as_fn_error $?
"unrecognized option: \`$1'
7021 Try \`$0 --help' for more information." ;;
7023 *) as_fn_append ac_config_targets
" $1"
7024 ac_need_defaults
=false
;;
7030 ac_configure_extra_args
=
7032 if $ac_cs_silent; then
7034 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7038 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7039 if \$ac_cs_recheck; then
7040 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7042 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7043 CONFIG_SHELL='$SHELL'
7049 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7053 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7054 ## Running $as_me. ##
7060 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7063 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7065 # Handling of arguments.
7066 for ac_config_target
in $ac_config_targets
7068 case $ac_config_target in
7069 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in" ;;
7071 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7076 # If the user did not use the arguments to specify the items to instantiate,
7077 # then the envvar interface is used. Set only those that are not.
7078 # We use the long form for the default assignment because of an extremely
7079 # bizarre bug on SunOS 4.1.3.
7080 if $ac_need_defaults; then
7081 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7084 # Have a temporary directory for convenience. Make it in the build tree
7085 # simply because there is no reason against having it here, and in addition,
7086 # creating and moving files from /tmp can sometimes cause problems.
7087 # Hook for its removal unless debugging.
7088 # Note that there is a small window in which the directory will not be cleaned:
7089 # after its creation but before its name has been assigned to `$tmp'.
7093 trap 'exit_status=$?
7095 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7097 trap 'as_fn_exit 1' 1 2 13 15
7099 # Create a (secure) tmp directory for tmp files.
7102 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7106 tmp
=.
/conf$$
-$RANDOM
7107 (umask 077 && mkdir
"$tmp")
7108 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
7111 # Set up the scripts for CONFIG_FILES section.
7112 # No need to generate them if there are no CONFIG_FILES.
7113 # This happens for instance with `./config.status config.h'.
7114 if test -n "$CONFIG_FILES"; then
7117 ac_cr
=`echo X | tr X '\015'`
7118 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7119 # But we know of no other shell where ac_cr would be empty at this
7120 # point, so we can use a bashism as a fallback.
7121 if test "x$ac_cr" = x
; then
7122 eval ac_cr
=\$
\'\\r
\'
7124 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7125 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7131 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7136 echo "cat >conf$$subs.awk <<_ACEOF" &&
7137 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7140 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7141 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7143 for ac_last_try in false false false false false :; do
7144 . ./conf$$subs.sh ||
7145 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7147 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
7148 if test $ac_delim_n = $ac_delim_num; then
7150 elif $ac_last_try; then
7151 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7153 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7158 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7159 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
7163 s/^/S["/; s
/!.
*/"]=/
7173 s/\(.\{148\}\)..*/\1/
7175 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
7180 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7187 s/\(.\{148\}\)..*/\1/
7189 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
7193 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7198 ' <conf$$subs.awk | sed '
7203 ' >>$CONFIG_STATUS || ac_write_fail=1
7204 rm -f conf$$subs.awk
7205 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7207 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
7208 for (key in S) S_is_set[key] = 1
7214 nfields = split(line, field, "@
")
7216 len = length(field[1])
7217 for (i = 2; i < nfields; i++) {
7219 keylen = length(key)
7220 if (S_is_set[key]) {
7222 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7223 len += length(value) + length(field[++i])
7234 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7235 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7236 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
7239 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
7240 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
7243 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7244 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
7245 # trailing colons and then remove the whole line if VPATH becomes empty
7246 # (actually we leave an empty line to preserve line numbers).
7247 if test "x
$srcdir" = x.; then
7248 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7266 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7267 fi # test -n "$CONFIG_FILES"
7270 eval set X " :F
$CONFIG_FILES "
7275 :[FHLC]) ac_mode=$ac_tag; continue;;
7277 case $ac_mode$ac_tag in
7279 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
7280 :[FH]-) ac_tag=-:-;;
7281 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7298 -) ac_f="$ac_tmp/stdin";;
7299 *) # Look for the file first in the build tree, then in the source tree
7300 # (if the path is not absolute). The absolute path cannot be DOS-style,
7301 # because $ac_f cannot contain `:'.
7305 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7307 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7309 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
7310 as_fn_append ac_file_inputs " '$ac_f'"
7313 # Let's still pretend it is `configure' which instantiates (i.e., don't
7314 # use $as_me), people would be surprised to read:
7315 # /* config.h. Generated by config.status. */
7316 configure_input='Generated from '`
7317 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7319 if test x"$ac_file" != x-; then
7320 configure_input="$ac_file.
$configure_input"
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
7322 $as_echo "$as_me: creating
$ac_file" >&6;}
7324 # Neutralize special characters interpreted by sed in replacement strings.
7325 case $configure_input in #(
7326 *\&* | *\|* | *\\* )
7327 ac_sed_conf_input=`$as_echo "$configure_input" |
7328 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7329 *) ac_sed_conf_input=$configure_input;;
7333 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
7334 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
7339 ac_dir=`$as_dirname -- "$ac_file" ||
7340 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7341 X"$ac_file" : 'X\(//\)[^/]' \| \
7342 X"$ac_file" : 'X\(//\)$' \| \
7343 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7344 $as_echo X"$ac_file" |
7345 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7362 as_dir="$ac_dir"; as_fn_mkdir_p
7366 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7368 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7369 # A "..
" for each directory in $ac_dir_suffix.
7370 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7371 case $ac_top_builddir_sub in
7372 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7373 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7376 ac_abs_top_builddir=$ac_pwd
7377 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7378 # for backward compatibility:
7379 ac_top_builddir=$ac_top_build_prefix
7382 .) # We are building in place.
7384 ac_top_srcdir=$ac_top_builddir_sub
7385 ac_abs_top_srcdir=$ac_pwd ;;
7386 [\\/]* | ?:[\\/]* ) # Absolute name.
7387 ac_srcdir=$srcdir$ac_dir_suffix;
7388 ac_top_srcdir=$srcdir
7389 ac_abs_top_srcdir=$srcdir ;;
7391 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7392 ac_top_srcdir=$ac_top_build_prefix$srcdir
7393 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7395 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7406 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7407 # If the template does not know about datarootdir, expand it.
7408 # FIXME: This hack should be removed a few years after 2.60.
7409 ac_datarootdir_hack=; ac_datarootdir_seen=
7420 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
7421 *datarootdir*) ac_datarootdir_seen=yes;;
7422 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
7424 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
7426 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7427 ac_datarootdir_hack='
7428 s&@datadir@&$datadir&g
7429 s&@docdir@&$docdir&g
7430 s&@infodir@&$infodir&g
7431 s&@localedir@&$localedir&g
7432 s&@mandir@&$mandir&g
7433 s&\\\${datarootdir}&$datarootdir&g' ;;
7437 # Neutralize VPATH when `$srcdir' = `.'.
7438 # Shell code in configure.ac might set extrasub.
7439 # FIXME: do we really want to maintain this feature?
7440 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7441 ac_sed_extra="$ac_vpsub
7444 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7446 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7447 s|@configure_input@|
$ac_sed_conf_input|
;t t
7448 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
7449 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
7450 s
&@srcdir@
&$ac_srcdir&;t t
7451 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
7452 s
&@top_srcdir@
&$ac_top_srcdir&;t t
7453 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
7454 s
&@builddir@
&$ac_builddir&;t t
7455 s
&@abs_builddir@
&$ac_abs_builddir&;t t
7456 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
7457 $ac_datarootdir_hack
7459 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
7460 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
7462 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7463 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
7464 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7465 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
7467 which seems to be undefined. Please make sure it is defined" >&5
7468 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
7469 which seems to be undefined. Please make sure it is defined" >&2;}
7471 rm -f "$ac_tmp/stdin"
7473 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7474 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7476 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7488 ac_clean_files=$ac_clean_files_save
7490 test $ac_write_fail = 0 ||
7491 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7494 # configure is writing to config.log, and then calls config.status.
7495 # config.status does its own redirection, appending to config.log.
7496 # Unfortunately, on DOS this fails, as config.log is still kept open
7497 # by configure, so config.status won't be able to
write to it
; its
7498 # output is simply discarded. So we exec the FD to /dev/null,
7499 # effectively closing config.log, so it can be properly (re)opened and
7500 # appended to by config.status. When coming back to configure, we
7501 # need to make the FD available again.
7502 if test "$no_create" != yes; then
7504 ac_config_status_args
=
7505 test "$silent" = yes &&
7506 ac_config_status_args
="$ac_config_status_args --quiet"
7508 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7510 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7511 # would make configure fail if this is the last instruction.
7512 $ac_cs_success || as_fn_exit
1
7514 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7516 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}