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_no_asynchronous_unwind_tables
742 aros_cflags_asynchronous_unwind_tables
743 aros_cflags_no_freestanding
744 aros_cflags_freestanding
745 aros_cflags_no_builtin_vsnprintf
746 aros_cflags_no_builtin_floor
747 aros_cflags_no_builtin
749 aros_cflags_noalignednew
750 aros_cflags_alignednew
751 aros_cflags_noinstrfuncs
752 aros_cflags_instrfuncs
753 aros_cflags_notestcoverage
754 aros_cflags_testcoverage
755 aros_cflags_noprofilearcs
756 aros_cflags_profilearcs
761 aros_cflags_noinlinesmallfunctions
762 aros_cflags_inlinesmallfunctions
763 aros_cflags_nostrictaliasing
764 aros_cflags_strictaliasing
765 aros_cflags_unroll_loops
766 aros_cflags_peel_loops
767 aros_cflags_loop_strip_mine
768 aros_cflags_loop_interchange
769 aros_cflags_loop_block
770 aros_cflags_whole_program
773 aros_cflags_fast_math
776 aros_cxxflags_nopermissive
777 aros_cxxflags_permissive
778 aros_cflags_noexceptions
779 aros_cflags_exceptions
818 program_transform_name
831 enable_option_checking
834 ac_precious_vars
='build_alias
847 # Initialize some variables set by options.
849 ac_init_version
=false
850 ac_unrecognized_opts
=
852 # The variables have the same names as the options, with
853 # dashes changed to underlines.
861 program_transform_name
=s
,x
,x
,
869 # Installation directory options.
870 # These are left unexpanded so users can "make install exec_prefix=/foo"
871 # and all the variables that are supposed to be based on exec_prefix
872 # by default will actually change.
873 # Use braces instead of parens because sh, perl, etc. also accept them.
874 # (The list follows the same order as the GNU Coding Standards.)
875 bindir
='${exec_prefix}/bin'
876 sbindir
='${exec_prefix}/sbin'
877 libexecdir
='${exec_prefix}/libexec'
878 datarootdir
='${prefix}/share'
879 datadir
='${datarootdir}'
880 sysconfdir
='${prefix}/etc'
881 sharedstatedir
='${prefix}/com'
882 localstatedir
='${prefix}/var'
883 runstatedir
='${localstatedir}/run'
884 includedir
='${prefix}/include'
885 oldincludedir
='/usr/include'
886 docdir
='${datarootdir}/doc/${PACKAGE}'
887 infodir
='${datarootdir}/info'
892 libdir
='${exec_prefix}/lib'
893 localedir
='${datarootdir}/locale'
894 mandir
='${datarootdir}/man'
900 # If the previous option needs an argument, assign it.
901 if test -n "$ac_prev"; then
902 eval $ac_prev=\
$ac_option
908 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
913 # Accept the important Cygnus configure options, so we can diagnose typos.
915 case $ac_dashdash$ac_option in
919 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
921 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
924 -build |
--build |
--buil |
--bui |
--bu)
925 ac_prev
=build_alias
;;
926 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
927 build_alias
=$ac_optarg ;;
929 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
930 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
931 ac_prev
=cache_file
;;
932 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
933 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
934 cache_file
=$ac_optarg ;;
937 cache_file
=config.cache
;;
939 -datadir |
--datadir |
--datadi |
--datad)
941 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
942 datadir
=$ac_optarg ;;
944 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
945 |
--dataroo |
--dataro |
--datar)
946 ac_prev
=datarootdir
;;
947 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
948 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
949 datarootdir
=$ac_optarg ;;
951 -disable-* |
--disable-*)
952 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
953 # Reject names that are not valid shell variable names.
954 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
955 as_fn_error $?
"invalid feature name: $ac_useropt"
956 ac_useropt_orig
=$ac_useropt
957 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
958 case $ac_user_opts in
962 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
963 ac_unrecognized_sep
=', ';;
965 eval enable_
$ac_useropt=no
;;
967 -docdir |
--docdir |
--docdi |
--doc |
--do)
969 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
972 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
974 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
977 -enable-* |
--enable-*)
978 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
979 # Reject names that are not valid shell variable names.
980 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
981 as_fn_error $?
"invalid feature name: $ac_useropt"
982 ac_useropt_orig
=$ac_useropt
983 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
984 case $ac_user_opts in
988 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
989 ac_unrecognized_sep
=', ';;
991 eval enable_
$ac_useropt=\
$ac_optarg ;;
993 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
994 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
995 |
--exec |
--exe |
--ex)
996 ac_prev
=exec_prefix
;;
997 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
998 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
999 |
--exec=* |
--exe=* |
--ex=*)
1000 exec_prefix
=$ac_optarg ;;
1002 -gas |
--gas |
--ga |
--g)
1003 # Obsolete; use --with-gas.
1006 -help |
--help |
--hel |
--he |
-h)
1007 ac_init_help
=long
;;
1008 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1009 ac_init_help
=recursive
;;
1010 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1011 ac_init_help
=short
;;
1013 -host |
--host |
--hos |
--ho)
1014 ac_prev
=host_alias
;;
1015 -host=* |
--host=* |
--hos=* |
--ho=*)
1016 host_alias
=$ac_optarg ;;
1018 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1020 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1022 htmldir
=$ac_optarg ;;
1024 -includedir |
--includedir |
--includedi |
--included |
--include \
1025 |
--includ |
--inclu |
--incl |
--inc)
1026 ac_prev
=includedir
;;
1027 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1028 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1029 includedir
=$ac_optarg ;;
1031 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1033 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1034 infodir
=$ac_optarg ;;
1036 -libdir |
--libdir |
--libdi |
--libd)
1038 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1039 libdir
=$ac_optarg ;;
1041 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1042 |
--libexe |
--libex |
--libe)
1043 ac_prev
=libexecdir
;;
1044 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1045 |
--libexe=* |
--libex=* |
--libe=*)
1046 libexecdir
=$ac_optarg ;;
1048 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1049 ac_prev
=localedir
;;
1050 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1051 localedir
=$ac_optarg ;;
1053 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1054 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1055 ac_prev
=localstatedir
;;
1056 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1057 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1058 localstatedir
=$ac_optarg ;;
1060 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1062 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1063 mandir
=$ac_optarg ;;
1065 -nfp |
--nfp |
--nf)
1066 # Obsolete; use --without-fp.
1069 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1070 |
--no-cr |
--no-c |
-n)
1073 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1074 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1077 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1078 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1079 |
--oldin |
--oldi |
--old |
--ol |
--o)
1080 ac_prev
=oldincludedir
;;
1081 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1082 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1083 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1084 oldincludedir
=$ac_optarg ;;
1086 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1088 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1089 prefix
=$ac_optarg ;;
1091 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1092 |
--program-pre |
--program-pr |
--program-p)
1093 ac_prev
=program_prefix
;;
1094 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1095 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1096 program_prefix
=$ac_optarg ;;
1098 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1099 |
--program-suf |
--program-su |
--program-s)
1100 ac_prev
=program_suffix
;;
1101 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1102 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1103 program_suffix
=$ac_optarg ;;
1105 -program-transform-name |
--program-transform-name \
1106 |
--program-transform-nam |
--program-transform-na \
1107 |
--program-transform-n |
--program-transform- \
1108 |
--program-transform |
--program-transfor \
1109 |
--program-transfo |
--program-transf \
1110 |
--program-trans |
--program-tran \
1111 |
--progr-tra |
--program-tr |
--program-t)
1112 ac_prev
=program_transform_name
;;
1113 -program-transform-name=* |
--program-transform-name=* \
1114 |
--program-transform-nam=* |
--program-transform-na=* \
1115 |
--program-transform-n=* |
--program-transform-=* \
1116 |
--program-transform=* |
--program-transfor=* \
1117 |
--program-transfo=* |
--program-transf=* \
1118 |
--program-trans=* |
--program-tran=* \
1119 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1120 program_transform_name
=$ac_optarg ;;
1122 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1124 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1125 pdfdir
=$ac_optarg ;;
1127 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1129 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1132 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1133 |
-silent |
--silent |
--silen |
--sile |
--sil)
1136 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1137 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1138 |
--run |
--ru |
--r)
1139 ac_prev
=runstatedir
;;
1140 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1141 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1142 |
--run=* |
--ru=* |
--r=*)
1143 runstatedir
=$ac_optarg ;;
1145 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1147 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1149 sbindir
=$ac_optarg ;;
1151 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1152 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1153 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1155 ac_prev
=sharedstatedir
;;
1156 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1157 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1158 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1160 sharedstatedir
=$ac_optarg ;;
1162 -site |
--site |
--sit)
1164 -site=* |
--site=* |
--sit=*)
1167 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1169 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1170 srcdir
=$ac_optarg ;;
1172 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1173 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1174 ac_prev
=sysconfdir
;;
1175 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1176 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1177 sysconfdir
=$ac_optarg ;;
1179 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1180 ac_prev
=target_alias
;;
1181 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1182 target_alias
=$ac_optarg ;;
1184 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1187 -version |
--version |
--versio |
--versi |
--vers |
-V)
1188 ac_init_version
=: ;;
1191 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1192 # Reject names that are not valid shell variable names.
1193 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1194 as_fn_error $?
"invalid package name: $ac_useropt"
1195 ac_useropt_orig
=$ac_useropt
1196 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1197 case $ac_user_opts in
1201 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1202 ac_unrecognized_sep
=', ';;
1204 eval with_
$ac_useropt=\
$ac_optarg ;;
1206 -without-* |
--without-*)
1207 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1208 # Reject names that are not valid shell variable names.
1209 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1210 as_fn_error $?
"invalid package name: $ac_useropt"
1211 ac_useropt_orig
=$ac_useropt
1212 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1213 case $ac_user_opts in
1217 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1218 ac_unrecognized_sep
=', ';;
1220 eval with_
$ac_useropt=no
;;
1223 # Obsolete; use --with-x.
1226 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1227 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1228 ac_prev
=x_includes
;;
1229 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1230 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1231 x_includes
=$ac_optarg ;;
1233 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1234 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1235 ac_prev
=x_libraries
;;
1236 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1237 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1238 x_libraries
=$ac_optarg ;;
1240 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1241 Try \`$0 --help' for more information"
1245 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1246 # Reject names that are not valid shell variable names.
1247 case $ac_envvar in #(
1248 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1249 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1251 eval $ac_envvar=\
$ac_optarg
1252 export $ac_envvar ;;
1255 # FIXME: should be removed in autoconf 3.0.
1256 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1257 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1258 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1259 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1265 if test -n "$ac_prev"; then
1266 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1267 as_fn_error $?
"missing argument to $ac_option"
1270 if test -n "$ac_unrecognized_opts"; then
1271 case $enable_option_checking in
1273 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1274 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1278 # Check all directory arguments for consistency.
1279 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1280 datadir sysconfdir sharedstatedir localstatedir includedir \
1281 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1282 libdir localedir mandir runstatedir
1284 eval ac_val
=\$
$ac_var
1285 # Remove trailing slashes.
1288 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1289 eval $ac_var=\
$ac_val;;
1291 # Be sure to have absolute directory names.
1293 [\\/$
]* | ?
:[\\/]* ) continue;;
1294 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1296 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1299 # There might be people who depend on the old broken behavior: `$host'
1300 # used to hold the argument of --host etc.
1301 # FIXME: To remove some day.
1304 target
=$target_alias
1306 # FIXME: To remove some day.
1307 if test "x$host_alias" != x
; then
1308 if test "x$build_alias" = x
; then
1309 cross_compiling
=maybe
1310 elif test "x$build_alias" != "x$host_alias"; then
1316 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1318 test "$silent" = yes && exec 6>/dev
/null
1321 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1322 ac_ls_di
=`ls -di .` &&
1323 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1324 as_fn_error $?
"working directory cannot be determined"
1325 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1326 as_fn_error $?
"pwd does not report name of working directory"
1329 # Find the source files, if location was not specified.
1330 if test -z "$srcdir"; then
1331 ac_srcdir_defaulted
=yes
1332 # Try the directory containing this script, then the parent directory.
1333 ac_confdir
=`$as_dirname -- "$as_myself" ||
1334 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1335 X"$as_myself" : 'X\(//\)[^/]' \| \
1336 X"$as_myself" : 'X\(//\)$' \| \
1337 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1338 $as_echo X"$as_myself" |
1339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1357 if test ! -r "$srcdir/$ac_unique_file"; then
1361 ac_srcdir_defaulted
=no
1363 if test ! -r "$srcdir/$ac_unique_file"; then
1364 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1365 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1367 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1369 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1371 # When building in place, set srcdir=.
1372 if test "$ac_abs_confdir" = "$ac_pwd"; then
1375 # Remove unnecessary trailing slashes from srcdir.
1376 # Double slashes in file names in object file debugging info
1377 # mess up M-x gdb in Emacs.
1379 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1381 for ac_var
in $ac_precious_vars; do
1382 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1383 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1384 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1385 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1389 # Report the --help message.
1391 if test "$ac_init_help" = "long"; then
1392 # Omit some internal or obsolete options to make the list less imposing.
1393 # This message is too long to be a string in the A/UX 3.1 sh.
1395 \`configure' configures this package to adapt to many kinds of systems.
1397 Usage: $0 [OPTION]... [VAR=VALUE]...
1399 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1400 VAR=VALUE. See below for descriptions of some of the useful variables.
1402 Defaults for the options are specified in brackets.
1405 -h, --help display this help and exit
1406 --help=short display options specific to this package
1407 --help=recursive display the short help of all the included packages
1408 -V, --version display version information and exit
1409 -q, --quiet, --silent do not print \`checking ...' messages
1410 --cache-file=FILE cache test results in FILE [disabled]
1411 -C, --config-cache alias for \`--cache-file=config.cache'
1412 -n, --no-create do not create output files
1413 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1415 Installation directories:
1416 --prefix=PREFIX install architecture-independent files in PREFIX
1417 [$ac_default_prefix]
1418 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1421 By default, \`make install' will install all the files in
1422 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1423 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1424 for instance \`--prefix=\$HOME'.
1426 For better control, use the options below.
1428 Fine tuning of the installation directories:
1429 --bindir=DIR user executables [EPREFIX/bin]
1430 --sbindir=DIR system admin executables [EPREFIX/sbin]
1431 --libexecdir=DIR program executables [EPREFIX/libexec]
1432 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1433 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1434 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1435 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1436 --libdir=DIR object code libraries [EPREFIX/lib]
1437 --includedir=DIR C header files [PREFIX/include]
1438 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1439 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1440 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1441 --infodir=DIR info documentation [DATAROOTDIR/info]
1442 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1443 --mandir=DIR man documentation [DATAROOTDIR/man]
1444 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1445 --htmldir=DIR html documentation [DOCDIR]
1446 --dvidir=DIR dvi documentation [DOCDIR]
1447 --pdfdir=DIR pdf documentation [DOCDIR]
1448 --psdir=DIR ps documentation [DOCDIR]
1455 if test -n "$ac_init_help"; then
1460 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1461 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1462 --with-config-dir=VERSION
1463 Location of generated target config files
1465 Some influential environment variables
:
1466 CC C compiler
command
1467 CFLAGS C compiler flags
1468 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1469 nonstandard directory
<lib dir
>
1470 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1471 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1472 you have headers
in a nonstandard directory
<include dir
>
1473 CXX C
++ compiler
command
1474 CXXFLAGS C
++ compiler flags
1476 Use these variables to override the choices made by
`configure' or to help
1477 it to find libraries and programs with nonstandard names/locations.
1479 Report bugs to the package provider.
1484 if test "$ac_init_help" = "recursive"; then
1485 # If there are subdirs, report their specific --help.
1486 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1487 test -d "$ac_dir" ||
1488 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1493 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1495 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1496 # A ".." for each directory in $ac_dir_suffix.
1497 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1498 case $ac_top_builddir_sub in
1499 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1500 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1503 ac_abs_top_builddir=$ac_pwd
1504 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1505 # for backward compatibility:
1506 ac_top_builddir=$ac_top_build_prefix
1509 .) # We are building in place.
1511 ac_top_srcdir=$ac_top_builddir_sub
1512 ac_abs_top_srcdir=$ac_pwd ;;
1513 [\\/]* | ?:[\\/]* ) # Absolute name.
1514 ac_srcdir=$srcdir$ac_dir_suffix;
1515 ac_top_srcdir=$srcdir
1516 ac_abs_top_srcdir=$srcdir ;;
1518 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1519 ac_top_srcdir=$ac_top_build_prefix$srcdir
1520 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1522 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1524 cd "$ac_dir" || { ac_status=$?; continue; }
1525 # Check for guested configure.
1526 if test -f "$ac_srcdir/configure.gnu"; then
1528 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1529 elif test -f "$ac_srcdir/configure"; then
1531 $SHELL "$ac_srcdir/configure" --help=recursive
1533 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1535 cd "$ac_pwd" || { ac_status=$?; break; }
1539 test -n "$ac_init_help" && exit $ac_status
1540 if $ac_init_version; then
1543 generated by GNU Autoconf 2.69
1545 Copyright (C) 2012 Free Software Foundation, Inc.
1546 This configure script is free software; the Free Software Foundation
1547 gives unlimited permission to copy, distribute and modify it.
1552 ## ------------------------ ##
1553 ## Autoconf initialization. ##
1554 ## ------------------------ ##
1556 # ac_fn_c_try_compile LINENO
1557 # --------------------------
1558 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1559 ac_fn_c_try_compile ()
1561 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1562 rm -f conftest.$ac_objext
1563 if { { ac_try="$ac_compile"
1565 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1566 *) ac_try_echo
=$ac_try;;
1568 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1569 $as_echo "$ac_try_echo"; } >&5
1570 (eval "$ac_compile") 2>conftest.err
1572 if test -s conftest.err
; then
1573 grep -v '^ *+' conftest.err
>conftest.er1
1574 cat conftest.er1
>&5
1575 mv -f conftest.er1 conftest.err
1577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1578 test $ac_status = 0; } && {
1579 test -z "$ac_c_werror_flag" ||
1580 test ! -s conftest.err
1581 } && test -s conftest.
$ac_objext; then :
1584 $as_echo "$as_me: failed program was:" >&5
1585 sed 's/^/| /' conftest.
$ac_ext >&5
1589 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1590 as_fn_set_status
$ac_retval
1592 } # ac_fn_c_try_compile
1594 # ac_fn_cxx_try_compile LINENO
1595 # ----------------------------
1596 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1597 ac_fn_cxx_try_compile
()
1599 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1600 rm -f conftest.
$ac_objext
1601 if { { ac_try
="$ac_compile"
1603 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1604 *) ac_try_echo=$ac_try;;
1606 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1607 $as_echo "$ac_try_echo"; } >&5
1608 (eval "$ac_compile") 2>conftest.err
1610 if test -s conftest.err; then
1611 grep -v '^ *+' conftest.err >conftest.er1
1612 cat conftest.er1 >&5
1613 mv -f conftest.er1 conftest.err
1615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1616 test $ac_status = 0; } && {
1617 test -z "$ac_cxx_werror_flag" ||
1618 test ! -s conftest.err
1619 } && test -s conftest.$ac_objext; then :
1622 $as_echo "$as_me: failed program was:" >&5
1623 sed 's/^/| /' conftest.$ac_ext >&5
1627 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1628 as_fn_set_status $ac_retval
1630 } # ac_fn_cxx_try_compile
1631 cat >config.log <<_ACEOF
1632 This file contains any messages produced by compilers while
1633 running configure, to aid debugging if configure makes a mistake.
1635 It was created by $as_me, which was
1636 generated by GNU Autoconf 2.69. Invocation command line was
1648 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1649 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1650 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1651 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1652 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1654 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1655 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1657 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1658 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1659 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1660 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1661 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1662 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1663 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1671 test -z "$as_dir" && as_dir=.
1672 $as_echo "PATH: $as_dir"
1688 # Keep a trace of the command line.
1689 # Strip out --no-create and --no-recursion so they do not pile up.
1690 # Strip out --silent because we don't want to record it for future runs.
1691 # Also quote any args containing shell meta-characters.
1692 # Make two passes to allow for proper duplicate-argument suppression.
1696 ac_must_keep_next=false
1702 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1703 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1704 | -silent | --silent | --silen | --sile | --sil)
1707 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1710 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1712 as_fn_append ac_configure_args1 " '$ac_arg'"
1713 if test $ac_must_keep_next = true; then
1714 ac_must_keep_next=false # Got value, back to normal.
1717 *=* | --config-cache | -C | -disable-* | --disable-* \
1718 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1719 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1720 | -with-* | --with-* | -without-* | --without-* | --x)
1721 case "$ac_configure_args0 " in
1722 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1725 -* ) ac_must_keep_next=true ;;
1728 as_fn_append ac_configure_args " '$ac_arg'"
1733 { ac_configure_args0=; unset ac_configure_args0;}
1734 { ac_configure_args1=; unset ac_configure_args1;}
1736 # When interrupted or exit'd, cleanup temporary files, and complete
1737 # config.log. We remove comments because anyway the quotes in there
1738 # would cause problems or look ugly.
1739 # WARNING: Use '\'' to represent an apostrophe within the trap.
1740 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1741 trap 'exit_status=$?
1742 # Save into config.log some information that might help in debugging.
1746 $as_echo "## ---------------- ##
1747 ## Cache variables. ##
1748 ## ---------------- ##"
1750 # The following way of writing the cache mishandles newlines in values,
1752 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1753 eval ac_val=\$$ac_var
1757 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1758 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1761 _ | IFS | as_nl) ;; #(
1762 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1763 *) { eval $ac_var=; unset $ac_var;} ;;
1768 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1769 *${as_nl}ac_space=\ *)
1771 "s/'\''/'\''\\\\'\'''\''/g;
1772 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1775 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1782 $as_echo "## ----------------- ##
1783 ## Output variables. ##
1784 ## ----------------- ##"
1786 for ac_var in $ac_subst_vars
1788 eval ac_val=\$$ac_var
1790 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1792 $as_echo "$ac_var='\''$ac_val'\''"
1796 if test -n "$ac_subst_files"; then
1797 $as_echo "## ------------------- ##
1798 ## File substitutions. ##
1799 ## ------------------- ##"
1801 for ac_var in $ac_subst_files
1803 eval ac_val=\$$ac_var
1805 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1807 $as_echo "$ac_var='\''$ac_val'\''"
1812 if test -s confdefs.h; then
1813 $as_echo "## ----------- ##
1820 test "$ac_signal" != 0 &&
1821 $as_echo "$as_me: caught signal $ac_signal"
1822 $as_echo "$as_me: exit $exit_status"
1824 rm -f core *.core core.conftest.* &&
1825 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1828 for ac_signal in 1 2 13 15; do
1829 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1833 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1834 rm -f -r conftest* confdefs.h
1836 $as_echo "/* confdefs.h */" > confdefs.h
1838 # Predefined preprocessor variables.
1840 cat >>confdefs.h <<_ACEOF
1841 #define PACKAGE_NAME "$PACKAGE_NAME"
1844 cat >>confdefs.h <<_ACEOF
1845 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1848 cat >>confdefs.h <<_ACEOF
1849 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1852 cat >>confdefs.h <<_ACEOF
1853 #define PACKAGE_STRING "$PACKAGE_STRING"
1856 cat >>confdefs.h <<_ACEOF
1857 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1860 cat >>confdefs.h <<_ACEOF
1861 #define PACKAGE_URL "$PACKAGE_URL"
1865 # Let the site file select an alternate cache file if it wants to.
1866 # Prefer an explicitly selected file to automatically selected ones.
1869 if test -n "$CONFIG_SITE"; then
1870 # We do not want a PATH search for config.site.
1871 case $CONFIG_SITE in #((
1872 -*) ac_site_file1=./$CONFIG_SITE;;
1873 */*) ac_site_file1=$CONFIG_SITE;;
1874 *) ac_site_file1=./$CONFIG_SITE;;
1876 elif test "x$prefix" != xNONE; then
1877 ac_site_file1=$prefix/share/config.site
1878 ac_site_file2=$prefix/etc/config.site
1880 ac_site_file1=$ac_default_prefix/share/config.site
1881 ac_site_file2=$ac_default_prefix/etc/config.site
1883 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1885 test "x$ac_site_file" = xNONE && continue
1886 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1888 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1889 sed 's/^/| /' "$ac_site_file" >&5
1891 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1892 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1893 as_fn_error $? "failed to load site
script $ac_site_file
1894 See \
`config.log' for more details" "$LINENO" 5; }
1898 if test -r "$cache_file"; then
1899 # Some versions of bash will fail to source /dev/null (special files
1900 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1901 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1903 $as_echo "$as_me: loading cache $cache_file" >&6;}
1905 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1906 *) . "./$cache_file";;
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1911 $as_echo "$as_me: creating cache $cache_file" >&6;}
1915 # Check that the precious variables saved in the cache have kept the same
1917 ac_cache_corrupted=false
1918 for ac_var in $ac_precious_vars; do
1919 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1920 eval ac_new_set=\$ac_env_${ac_var}_set
1921 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1922 eval ac_new_val=\$ac_env_${ac_var}_value
1923 case $ac_old_set,$ac_new_set in
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1926 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1927 ac_cache_corrupted=: ;;
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
1930 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1931 ac_cache_corrupted=: ;;
1934 if test "x$ac_old_val" != "x$ac_new_val"; then
1935 # differences in whitespace do not lead to failure.
1936 ac_old_val_w=`echo x
$ac_old_val`
1937 ac_new_val_w=`echo x
$ac_new_val`
1938 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1940 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1941 ac_cache_corrupted=:
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1944 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1945 eval $ac_var=\$ac_old_val
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1948 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1950 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1953 # Pass precious variables to config.status.
1954 if test "$ac_new_set" = set; then
1956 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1957 *) ac_arg=$ac_var=$ac_new_val ;;
1959 case " $ac_configure_args " in
1960 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1961 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1965 if $ac_cache_corrupted; then
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
1967 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1969 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1970 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
1972 ## -------------------- ##
1973 ## Main body of script. ##
1974 ## -------------------- ##
1977 ac_cpp='$CPP $CPPFLAGS'
1978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1985 for ac_dir in ../scripts/autoconf "$srcdir"/../scripts/autoconf; do
1986 if test -f "$ac_dir/install-sh"; then
1988 ac_install_sh="$ac_aux_dir/install-sh -c"
1990 elif test -f "$ac_dir/install.sh"; then
1992 ac_install_sh="$ac_aux_dir/install.sh -c"
1994 elif test -f "$ac_dir/shtool"; then
1996 ac_install_sh="$ac_aux_dir/shtool install -c"
2000 if test -z "$ac_aux_dir"; then
2001 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../scripts/autoconf \"$srcdir\"/../scripts/autoconf" "$LINENO" 5
2004 # These three variables are undocumented and unsupported,
2005 # and are intended to be withdrawn in a future Autoconf release.
2006 # They can cause serious problems if a builder's source tree is in a directory
2007 # whose full name contains unusual characters.
2008 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2009 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2010 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2014 AROS_BUILDDIR=`${PWDCMD-pwd}`
2015 AROS_BUILDDIR_UNIX=${PWD}
2017 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2020 NOLINKFLAGS="-nostdlib -nostartfiles"
2021 LDFLAGS=$NOLINKFLAGS
2022 # The first step is to find the binaries.
2024 ac_cpp='$CPP $CPPFLAGS'
2025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2028 if test -n "$ac_tool_prefix"; then
2029 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2030 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2032 $as_echo_n "checking for $ac_word... " >&6; }
2033 if ${ac_cv_prog_CC+:} false; then :
2034 $as_echo_n "(cached) " >&6
2036 if test -n "$CC"; then
2037 ac_cv_prog_CC="$CC" # Let the user override the test.
2039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2043 test -z "$as_dir" && as_dir=.
2044 for ac_exec_ext in '' $ac_executable_extensions; do
2045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2046 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2057 if test -n "$CC"; then
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2059 $as_echo "$CC" >&6; }
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2062 $as_echo "no" >&6; }
2067 if test -z "$ac_cv_prog_CC"; then
2069 # Extract the first word of "gcc", so it can be a program name with args.
2070 set dummy gcc; ac_word=$2
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2072 $as_echo_n "checking for $ac_word... " >&6; }
2073 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2074 $as_echo_n "(cached) " >&6
2076 if test -n "$ac_ct_CC"; then
2077 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2083 test -z "$as_dir" && as_dir=.
2084 for ac_exec_ext in '' $ac_executable_extensions; do
2085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2086 ac_cv_prog_ac_ct_CC="gcc"
2087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2096 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2097 if test -n "$ac_ct_CC"; then
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2099 $as_echo "$ac_ct_CC" >&6; }
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2102 $as_echo "no" >&6; }
2105 if test "x$ac_ct_CC" = x; then
2108 case $cross_compiling:$ac_tool_warned in
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2111 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2112 ac_tool_warned=yes ;;
2120 if test -z "$CC"; then
2121 if test -n "$ac_tool_prefix"; then
2122 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2123 set dummy ${ac_tool_prefix}cc; ac_word=$2
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2125 $as_echo_n "checking for $ac_word... " >&6; }
2126 if ${ac_cv_prog_CC+:} false; then :
2127 $as_echo_n "(cached) " >&6
2129 if test -n "$CC"; then
2130 ac_cv_prog_CC="$CC" # Let the user override the test.
2132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2136 test -z "$as_dir" && as_dir=.
2137 for ac_exec_ext in '' $ac_executable_extensions; do
2138 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2139 ac_cv_prog_CC="${ac_tool_prefix}cc"
2140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2150 if test -n "$CC"; then
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2152 $as_echo "$CC" >&6; }
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2155 $as_echo "no" >&6; }
2161 if test -z "$CC"; then
2162 # Extract the first word of "cc", so it can be a program name with args.
2163 set dummy cc; ac_word=$2
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2165 $as_echo_n "checking for $ac_word... " >&6; }
2166 if ${ac_cv_prog_CC+:} false; then :
2167 $as_echo_n "(cached) " >&6
2169 if test -n "$CC"; then
2170 ac_cv_prog_CC="$CC" # Let the user override the test.
2173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2177 test -z "$as_dir" && as_dir=.
2178 for ac_exec_ext in '' $ac_executable_extensions; do
2179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2180 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2181 ac_prog_rejected=yes
2185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2192 if test $ac_prog_rejected = yes; then
2193 # We found a bogon in the path, so make sure we never use it.
2194 set dummy $ac_cv_prog_CC
2196 if test $# != 0; then
2197 # We chose a different compiler from the bogus one.
2198 # However, it has the same basename, so the bogon will be chosen
2199 # first if we set CC to just the basename; use the full file name.
2201 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2207 if test -n "$CC"; then
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2209 $as_echo "$CC" >&6; }
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2212 $as_echo "no" >&6; }
2217 if test -z "$CC"; then
2218 if test -n "$ac_tool_prefix"; then
2219 for ac_prog in cl.exe
2221 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2222 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2224 $as_echo_n "checking for $ac_word... " >&6; }
2225 if ${ac_cv_prog_CC+:} false; then :
2226 $as_echo_n "(cached) " >&6
2228 if test -n "$CC"; then
2229 ac_cv_prog_CC="$CC" # Let the user override the test.
2231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2235 test -z "$as_dir" && as_dir=.
2236 for ac_exec_ext in '' $ac_executable_extensions; do
2237 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2238 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2249 if test -n "$CC"; then
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2251 $as_echo "$CC" >&6; }
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2254 $as_echo "no" >&6; }
2258 test -n "$CC" && break
2261 if test -z "$CC"; then
2263 for ac_prog in cl.exe
2265 # Extract the first word of "$ac_prog", so it can be a program name with args.
2266 set dummy $ac_prog; ac_word=$2
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2268 $as_echo_n "checking for $ac_word... " >&6; }
2269 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2270 $as_echo_n "(cached) " >&6
2272 if test -n "$ac_ct_CC"; then
2273 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2279 test -z "$as_dir" && as_dir=.
2280 for ac_exec_ext in '' $ac_executable_extensions; do
2281 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2282 ac_cv_prog_ac_ct_CC="$ac_prog"
2283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2292 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2293 if test -n "$ac_ct_CC"; then
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2295 $as_echo "$ac_ct_CC" >&6; }
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2298 $as_echo "no" >&6; }
2302 test -n "$ac_ct_CC" && break
2305 if test "x$ac_ct_CC" = x; then
2308 case $cross_compiling:$ac_tool_warned in
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2311 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2312 ac_tool_warned=yes ;;
2321 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2322 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2323 as_fn_error $? "no acceptable C compiler found
in \
$PATH
2324 See \
`config.log' for more details" "$LINENO" 5; }
2326 # Provide some information about the compiler.
2327 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2330 for ac_option in --version -v -V -qversion; do
2331 { { ac_try="$ac_compiler $ac_option >&5"
2333 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2334 *) ac_try_echo
=$ac_try;;
2336 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2337 $as_echo "$ac_try_echo"; } >&5
2338 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2340 if test -s conftest.err
; then
2342 ... rest of stderr output deleted ...
2343 10q' conftest.err
>conftest.er1
2344 cat conftest.er1
>&5
2346 rm -f conftest.er1 conftest.err
2347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2348 test $ac_status = 0; }
2351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2352 /* end confdefs.h. */
2362 ac_clean_files_save
=$ac_clean_files
2363 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2364 # Try to create an executable without -o first, disregard a.out.
2365 # It will help us diagnose broken compilers, and finding out an intuition
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2368 $as_echo_n "checking whether the C compiler works... " >&6; }
2369 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2371 # The possible output files:
2372 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2375 for ac_file
in $ac_files
2378 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2379 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2384 if { { ac_try
="$ac_link_default"
2386 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2387 *) ac_try_echo=$ac_try;;
2389 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2390 $as_echo "$ac_try_echo"; } >&5
2391 (eval "$ac_link_default") 2>&5
2393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2394 test $ac_status = 0; }; then :
2395 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2396 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2397 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2398 # so that the user can short-circuit this test for compilers unknown to
2400 for ac_file in $ac_files ''
2402 test -f "$ac_file" || continue
2404 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2407 # We found the default executable, but exeext='' is most
2411 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2413 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2415 # We set ac_cv_exeext here because the later test for it is not
2416 # safe: cross compilers may not add the suffix if given an `-o'
2417 # argument, so we may need to know it at that point already.
2418 # Even if this section looks crufty: it has the advantage of
2425 test "$ac_cv_exeext" = no && ac_cv_exeext=
2430 if test -z "$ac_file"; then :
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2432 $as_echo "no" >&6; }
2433 $as_echo "$as_me: failed program was:" >&5
2434 sed 's
/^
/|
/' conftest.$ac_ext >&5
2436 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2437 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2438 as_fn_error 77 "C compiler cannot create executables
2439 See \`config.log
' for more details" "$LINENO" 5; }
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2442 $as_echo "yes" >&6; }
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2445 $as_echo_n "checking for C compiler default output file name... " >&6; }
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2447 $as_echo "$ac_file" >&6; }
2448 ac_exeext=$ac_cv_exeext
2450 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2451 ac_clean_files=$ac_clean_files_save
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2453 $as_echo_n "checking for suffix of executables... " >&6; }
2454 if { { ac_try="$ac_link"
2456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2457 *) ac_try_echo=$ac_try;;
2459 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2460 $as_echo "$ac_try_echo"; } >&5
2461 (eval "$ac_link") 2>&5
2463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2464 test $ac_status = 0; }; then :
2465 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2466 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2467 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2469 for ac_file
in conftest.exe conftest conftest.
*; do
2470 test -f "$ac_file" ||
continue
2472 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2473 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2479 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2480 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2481 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2482 See \`config.log' for more details" "$LINENO" 5; }
2484 rm -f conftest conftest
$ac_cv_exeext
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2486 $as_echo "$ac_cv_exeext" >&6; }
2488 rm -f conftest.
$ac_ext
2489 EXEEXT
=$ac_cv_exeext
2491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2492 /* end confdefs.h. */
2497 FILE *f = fopen ("conftest.out", "w");
2498 return ferror (f) || fclose (f) != 0;
2504 ac_clean_files
="$ac_clean_files conftest.out"
2505 # Check that the compiler produces executables we can run. If not, either
2506 # the compiler is broken, or we cross compile.
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2508 $as_echo_n "checking whether we are cross compiling... " >&6; }
2509 if test "$cross_compiling" != yes; then
2510 { { ac_try
="$ac_link"
2512 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2513 *) ac_try_echo=$ac_try;;
2515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2516 $as_echo "$ac_try_echo"; } >&5
2517 (eval "$ac_link") 2>&5
2519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2520 test $ac_status = 0; }
2521 if { ac_try='./conftest$ac_cv_exeext'
2522 { { case "(($ac_try" in
2523 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2524 *) ac_try_echo
=$ac_try;;
2526 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2527 $as_echo "$ac_try_echo"; } >&5
2528 (eval "$ac_try") 2>&5
2530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2531 test $ac_status = 0; }; }; then
2534 if test "$cross_compiling" = maybe
; then
2537 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2538 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2539 as_fn_error $?
"cannot run C compiled programs.
2540 If you meant to cross compile, use \`--host'.
2541 See \`config.log' for more details" "$LINENO" 5; }
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2546 $as_echo "$cross_compiling" >&6; }
2548 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2549 ac_clean_files
=$ac_clean_files_save
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2551 $as_echo_n "checking for suffix of object files... " >&6; }
2552 if ${ac_cv_objext+:} false
; then :
2553 $as_echo_n "(cached) " >&6
2555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2556 /* end confdefs.h. */
2566 rm -f conftest.o conftest.obj
2567 if { { ac_try
="$ac_compile"
2569 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2570 *) ac_try_echo=$ac_try;;
2572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2573 $as_echo "$ac_try_echo"; } >&5
2574 (eval "$ac_compile") 2>&5
2576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2577 test $ac_status = 0; }; then :
2578 for ac_file in conftest.o conftest.obj conftest.*; do
2579 test -f "$ac_file" || continue;
2581 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2582 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2587 $as_echo "$as_me: failed program was:" >&5
2588 sed 's/^/| /' conftest.$ac_ext >&5
2590 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2591 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2592 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2593 See \
`config.log' for more details" "$LINENO" 5; }
2595 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2598 $as_echo "$ac_cv_objext" >&6; }
2599 OBJEXT=$ac_cv_objext
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2602 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2603 if ${ac_cv_c_compiler_gnu+:} false; then :
2604 $as_echo_n "(cached) " >&6
2606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2607 /* end confdefs.h. */
2620 if ac_fn_c_try_compile "$LINENO"; then :
2625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2626 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2630 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2631 if test $ac_compiler_gnu = yes; then
2636 ac_test_CFLAGS=${CFLAGS+set}
2637 ac_save_CFLAGS=$CFLAGS
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2639 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2640 if ${ac_cv_prog_cc_g+:} false; then :
2641 $as_echo_n "(cached) " >&6
2643 ac_save_c_werror_flag=$ac_c_werror_flag
2644 ac_c_werror_flag=yes
2647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2648 /* end confdefs.h. */
2658 if ac_fn_c_try_compile "$LINENO"; then :
2662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2663 /* end confdefs.h. */
2673 if ac_fn_c_try_compile "$LINENO"; then :
2676 ac_c_werror_flag=$ac_save_c_werror_flag
2678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2679 /* end confdefs.h. */
2689 if ac_fn_c_try_compile "$LINENO"; then :
2692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2697 ac_c_werror_flag=$ac_save_c_werror_flag
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2700 $as_echo "$ac_cv_prog_cc_g" >&6; }
2701 if test "$ac_test_CFLAGS" = set; then
2702 CFLAGS=$ac_save_CFLAGS
2703 elif test $ac_cv_prog_cc_g = yes; then
2704 if test "$GCC" = yes; then
2710 if test "$GCC" = yes; then
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2717 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2718 if ${ac_cv_prog_cc_c89+:} false; then :
2719 $as_echo_n "(cached) " >&6
2721 ac_cv_prog_cc_c89=no
2723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2724 /* end confdefs.h. */
2728 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2729 struct buf { int x; };
2730 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2731 static char *e (p, i)
2737 static char *f (char * (*g) (char **, int), char **p, ...)
2742 s = g (p, va_arg (v,int));
2747 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2748 function prototypes and stuff, but not '\xHH' hex character constants.
2749 These don't provoke an error unfortunately, instead are silently treated
2750 as 'x'. The following induces an error, until -std is added to get
2751 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2752 array size at least. It's necessary to write '\x00'==0 to get something
2753 that's true only with -std. */
2754 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2756 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2757 inside strings and character constants. */
2759 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2761 int test (int i, double x);
2762 struct s1 {int (*f) (int a);};
2763 struct s2 {int (*f) (double a);};
2764 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2770 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2775 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2776 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2778 CC="$ac_save_CC $ac_arg"
2779 if ac_fn_c_try_compile "$LINENO"; then :
2780 ac_cv_prog_cc_c89=$ac_arg
2782 rm -f core conftest.err conftest.$ac_objext
2783 test "x$ac_cv_prog_cc_c89" != "xno" && break
2785 rm -f conftest.$ac_ext
2790 case "x$ac_cv_prog_cc_c89" in
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2793 $as_echo "none needed" >&6; } ;;
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2796 $as_echo "unsupported" >&6; } ;;
2798 CC="$CC $ac_cv_prog_cc_c89"
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2800 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2802 if test "x$ac_cv_prog_cc_c89" != xno; then :
2807 ac_cpp='$CPP $CPPFLAGS'
2808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2814 $as_echo_n "checking target config location... " >&6; }
2816 # Check whether --with-config-dir was given.
2817 if test "${with_config_dir+set}" = set; then :
2818 withval=$with_config_dir; targetcfg_dir="$withval"
2823 if test "$targetcfg_dir" = ""; then
2824 as_fn_error $? "missing config directory!" "$LINENO" 5
2826 aros_targetcfg_dir="$targetcfg_dir"
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2829 $as_echo "$aros_targetcfg_dir" >&6; }
2831 #-----------------------------------------------------------------------------
2833 # Check if the target compiler supports some features:
2840 # -floop-interchange
2844 # -finline-small-functions
2847 # -fomit-frame-pointer
2850 # -finstrument-functions
2854 # -fno-builtin-floor
2855 # -fno-builtin-vsnprintf
2858 # -fasynchronous-unwind-tables
2866 ac_cpp='$CPP $CPPFLAGS'
2867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2872 save_cflags="$CFLAGS"
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fexceptions" >&5
2874 $as_echo_n "checking whether ${CC} accepts -fexceptions... " >&6; }
2877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2878 /* end confdefs.h. */
2888 if ac_fn_c_try_compile "$LINENO"; then :
2889 aros_exceptions="yes"
2891 aros_exceptions="no"
2893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_exceptions" >&5
2895 $as_echo "$aros_exceptions" >&6; }
2896 if test "x-$aros_exceptions" = "x-yes" ; then
2897 aros_cflags_exceptions=-fexceptions
2898 aros_cflags_noexceptions=-fno-exceptions
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ffast-math" >&5
2902 $as_echo_n "checking whether ${CC} accepts -ffast-math... " >&6; }
2904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2905 /* end confdefs.h. */
2915 if ac_fn_c_try_compile "$LINENO"; then :
2916 aros_fast_math="yes"
2920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_fast_math" >&5
2922 $as_echo "$aros_fast_math" >&6; }
2923 if test "x-$aros_fast_math" = "x-yes" ; then
2924 aros_cflags_fast_math=-ffast-math
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -flto" >&5
2928 $as_echo_n "checking whether ${CC} accepts -flto... " >&6; }
2930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2931 /* end confdefs.h. */
2941 if ac_fn_c_try_compile "$LINENO"; then :
2946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto" >&5
2948 $as_echo "$aros_lto" >&6; }
2949 if test "x-$aros_lto" = "x-yes" ; then
2950 aros_cflags_lto=-flto
2951 aros_cflags_nolto=-fno-lto
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fwhole-program" >&5
2954 $as_echo_n "checking whether ${CC} accepts -fwhole-program... " >&6; }
2955 CFLAGS=-fwhole-program
2956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2957 /* end confdefs.h. */
2967 if ac_fn_c_try_compile "$LINENO"; then :
2968 aros_whole_program="yes"
2970 aros_whole_program="no"
2972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_whole_program" >&5
2974 $as_echo "$aros_whole_program" >&6; }
2975 if test "x-$aros_whole_program" = "x-yes" ; then
2976 aros_cflags_whole_program=-fwhole-program
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-block" >&5
2980 $as_echo_n "checking whether ${CC} accepts -floop-block... " >&6; }
2982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2983 /* end confdefs.h. */
2993 if ac_fn_c_try_compile "$LINENO"; then :
2994 aros_loop_block="yes"
2996 aros_loop_block="no"
2998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_block" >&5
3000 $as_echo "$aros_loop_block" >&6; }
3001 if test "x-$aros_loop_block" = "x-yes" ; then
3002 aros_cflags_loop_block=-floop-block
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-interchange" >&5
3006 $as_echo_n "checking whether ${CC} accepts -floop-interchange... " >&6; }
3007 CFLAGS=-floop-interchange
3008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3009 /* end confdefs.h. */
3019 if ac_fn_c_try_compile "$LINENO"; then :
3020 aros_loop_interchange="yes"
3022 aros_loop_interchange="no"
3024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_interchange" >&5
3026 $as_echo "$aros_loop_interchange" >&6; }
3027 if test "x-$aros_loop_interchange" = "x-yes" ; then
3028 aros_cflags_loop_interchange=-floop-interchange
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-strip-mine" >&5
3032 $as_echo_n "checking whether ${CC} accepts -floop-strip-mine... " >&6; }
3033 CFLAGS=-floop-strip-mine
3034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3035 /* end confdefs.h. */
3045 if ac_fn_c_try_compile "$LINENO"; then :
3046 aros_loop_strip_mine="yes"
3048 aros_loop_strip_mine="no"
3050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_strip_mine" >&5
3052 $as_echo "$aros_loop_strip_mine" >&6; }
3053 if test "x-$aros_loop_strip_mine" = "x-yes" ; then
3054 aros_cflags_loop_strip_mine=-floop-strip-mine
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpeel-loops" >&5
3059 $as_echo_n "checking whether ${CC} accepts -fpeel-loops... " >&6; }
3061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3062 /* end confdefs.h. */
3072 if ac_fn_c_try_compile "$LINENO"; then :
3073 aros_peel_loops="yes"
3075 aros_peel_loops="no"
3077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_peel_loops" >&5
3079 $as_echo "$aros_peel_loops" >&6; }
3080 if test "x-$aros_peel_loops" = "x-yes" ; then
3081 aros_cflags_peel_loops=-fpeel-loops
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -funroll-loops" >&5
3085 $as_echo_n "checking whether ${CC} accepts -funroll-loops... " >&6; }
3086 CFLAGS=-funroll-loops
3087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3088 /* end confdefs.h. */
3098 if ac_fn_c_try_compile "$LINENO"; then :
3099 aros_unroll_loops="yes"
3101 aros_unroll_loops="no"
3103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unroll_loops" >&5
3105 $as_echo "$aros_unroll_loops" >&6; }
3106 if test "x-$aros_unroll_loops" = "x-yes" ; then
3107 aros_cflags_unroll_loops=-funroll-loops
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstrict-aliasing" >&5
3111 $as_echo_n "checking whether ${CC} accepts -fstrict-aliasing... " >&6; }
3112 CFLAGS=-fstrict-aliasing
3113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3114 /* end confdefs.h. */
3124 if ac_fn_c_try_compile "$LINENO"; then :
3125 aros_strict_aliasing="yes"
3127 aros_strict_aliasing="no"
3129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3131 $as_echo "$aros_strict_aliasing" >&6; }
3132 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3133 aros_cflags_strictaliasing=-fstrict-aliasing
3134 aros_cflags_nostrictaliasing=-fno-strict-aliasing
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -finline-small-functions" >&5
3138 $as_echo_n "checking whether ${CC} accepts -finline-small-functions... " >&6; }
3139 CFLAGS=-finline-small-functions
3140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3141 /* end confdefs.h. */
3151 if ac_fn_c_try_compile "$LINENO"; then :
3152 aros_inline_small_functions="yes"
3154 aros_inline_small_functions="no"
3156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_inline_small_functions" >&5
3158 $as_echo "$aros_inline_small_functions" >&6; }
3159 if test "x-$aros_inline_small_functions" = "x-yes" ; then
3160 aros_cflags_inlinesmallfunctions=-finline-small-functions
3161 aros_cflags_noinlinesmallfunctions=-fno-inline-small-functions
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fipa-cp" >&5
3165 $as_echo_n "checking whether ${CC} accepts -fipa-cp... " >&6; }
3167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3168 /* end confdefs.h. */
3178 if ac_fn_c_try_compile "$LINENO"; then :
3183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ipa_cp" >&5
3185 $as_echo "$aros_ipa_cp" >&6; }
3186 if test "x-$aros_ipa_cp" = "x-yes" ; then
3187 aros_cflags_ipacp=-fipa-cp
3188 aros_cflags_noipacp=-fno-ipa-cp
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fomit-frame-pointer" >&5
3192 $as_echo_n "checking whether ${CC} accepts -fomit-frame-pointer... " >&6; }
3193 CFLAGS=-fomit-frame-pointer
3194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3195 /* end confdefs.h. */
3205 if ac_fn_c_try_compile "$LINENO"; then :
3206 aros_omit_frame_pointer="yes"
3208 aros_omit_frame_pointer="no"
3210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_omit_frame_pointer" >&5
3212 $as_echo "$aros_omit_frame_pointer" >&6; }
3213 if test "x-$aros_omit_frame_pointer" = "x-yes" ; then
3214 aros_cflags_omitfp=-fomit-frame-pointer
3215 aros_cflags_noomitfp=-fno-omit-frame-pointer
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fprofile-arcs" >&5
3219 $as_echo_n "checking whether ${CC} accepts -fprofile-arcs... " >&6; }
3220 CFLAGS=-fprofile-arcs
3221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3222 /* end confdefs.h. */
3232 if ac_fn_c_try_compile "$LINENO"; then :
3233 aros_profile_arcs="yes"
3235 aros_profile_arcs="no"
3237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_profile_arcs" >&5
3239 $as_echo "$aros_profile_arcs" >&6; }
3240 if test "x-$aros_profile_arcs" = "x-yes" ; then
3241 aros_cflags_profilearcs=-fprofile-arcs
3242 aros_cflags_noprofilearcs=-fno-profile-arcs
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ftest-coverage" >&5
3246 $as_echo_n "checking whether ${CC} accepts -ftest-coverage... " >&6; }
3247 CFLAGS=-ftest-coverage
3248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3249 /* end confdefs.h. */
3259 if ac_fn_c_try_compile "$LINENO"; then :
3260 aros_test_coverage="yes"
3262 aros_test_coverage="no"
3264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_test_coverage" >&5
3266 $as_echo "$aros_test_coverage" >&6; }
3267 if test "x-$aros_test_coverage" = "x-yes" ; then
3268 aros_cflags_testcoverage=-ftest-coverage
3269 aros_cflags_notestcoverage=-fno-test-coverage
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -finstrument-functions" >&5
3273 $as_echo_n "checking whether ${CC} accepts -finstrument-functions... " >&6; }
3274 CFLAGS=-finstrument-functions
3275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3276 /* end confdefs.h. */
3286 if ac_fn_c_try_compile "$LINENO"; then :
3287 aros_instrument_functions="yes"
3289 aros_instrument_functions="no"
3291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_instrument_functions" >&5
3293 $as_echo "$aros_instrument_functions" >&6; }
3294 if test "x-$aros_instrument_functions" = "x-yes" ; then
3295 aros_cflags_instrfuncs=-finstrument-functions
3296 aros_cflags_noinstrfuncs=-fno-instrument-functions
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -faligned-new" >&5
3300 $as_echo_n "checking whether ${CC} accepts -faligned-new... " >&6; }
3301 CFLAGS=-faligned-new
3302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3303 /* end confdefs.h. */
3313 if ac_fn_c_try_compile "$LINENO"; then :
3314 aros_aligned_new="yes"
3316 aros_aligned_new="no"
3318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aligned_new" >&5
3320 $as_echo "$aros_aligned_new" >&6; }
3321 if test "x-$aros_aligned_new" = "x-yes" ; then
3322 aros_cflags_alignednew=-faligned-new
3323 aros_cflags_noalignednew=-fno-aligned-new
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fbuiltin" >&5
3327 $as_echo_n "checking whether ${CC} accepts -fbuiltin... " >&6; }
3329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3330 /* end confdefs.h. */
3340 if ac_fn_c_try_compile "$LINENO"; then :
3345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_builtin" >&5
3347 $as_echo "$aros_builtin" >&6; }
3348 if test "x-$aros_builtin" = "x-yes" ; then
3349 aros_cflags_builtin=-fbuiltin
3350 aros_cflags_no_builtin=-fno-builtin
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-builtin-floor" >&5
3354 $as_echo_n "checking whether ${CC} accepts -fno-builtin-floor... " >&6; }
3355 CFLAGS=-fno-builtin-floor
3356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3357 /* end confdefs.h. */
3367 if ac_fn_c_try_compile "$LINENO"; then :
3368 aros_no_builtin_floor="yes"
3370 aros_no_builtin_floor="no"
3372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_builtin_floor" >&5
3374 $as_echo "$aros_no_builtin_floor" >&6; }
3375 if test "x-$aros_no_builtin_floor" = "x-yes" ; then
3376 aros_cflags_no_builtin_floor=-fno-builtin-floor
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-builtin-vsnprintf" >&5
3380 $as_echo_n "checking whether ${CC} accepts -fno-builtin-vsnprintf... " >&6; }
3381 CFLAGS=-fno-builtin-vsnprintf
3382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3383 /* end confdefs.h. */
3393 if ac_fn_c_try_compile "$LINENO"; then :
3394 aros_no_builtin_vsnprintf="yes"
3396 aros_no_builtin_vsnprintf="no"
3398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_builtin_vsnprintf" >&5
3400 $as_echo "$aros_no_builtin_vsnprintf" >&6; }
3401 if test "x-$aros_no_builtin_vsnprintf" = "x-yes" ; then
3402 aros_cflags_no_builtin_vsnprintf=-fno-builtin-vsnprintf
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ffreestanding" >&5
3406 $as_echo_n "checking whether ${CC} accepts -ffreestanding... " >&6; }
3407 CFLAGS=-ffreestanding
3408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3409 /* end confdefs.h. */
3419 if ac_fn_c_try_compile "$LINENO"; then :
3420 aros_freestanding="yes"
3422 aros_freestanding="no"
3424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_freestanding" >&5
3426 $as_echo "$aros_freestanding" >&6; }
3427 if test "x-$aros_freestanding" = "x-yes" ; then
3428 aros_cflags_freestanding=-ffreestanding
3429 aros_cflags_no_freestanding=-fno-freestanding
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fasynchronous-unwind-tables" >&5
3433 $as_echo_n "checking whether ${CC} accepts -fasynchronous-unwind-tables... " >&6; }
3434 CFLAGS=-fasynchronous-unwind-tables
3435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3436 /* end confdefs.h. */
3446 if ac_fn_c_try_compile "$LINENO"; then :
3447 aros_asynchronous_unwind_tables="yes"
3449 aros_asynchronous_unwind_tables="no"
3451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_asynchronous_unwind_tables" >&5
3453 $as_echo "$aros_asynchronous_unwind_tables" >&6; }
3454 if test "x-$aros_asynchronous_unwind_tables" = "x-yes" ; then
3455 aros_cflags_asynchronous_unwind_tables=-fasynchronous-unwind-tables
3456 aros_cflags_no_asynchronous_unwind_tables=-fno-asynchronous-unwind-tables
3461 ac_cpp='$CXXCPP $CPPFLAGS'
3462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3466 save_cxxflags="$CXXFLAGS"
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} accepts -fpermissive" >&5
3469 $as_echo_n "checking whether ${CXX} accepts -fpermissive... " >&6; }
3470 CXXFLAGS=-fpermissive
3472 ac_cpp='$CXXCPP $CPPFLAGS'
3473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3476 if test -z "$CXX"; then
3477 if test -n "$CCC"; then
3480 if test -n "$ac_tool_prefix"; then
3481 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3483 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3484 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3486 $as_echo_n "checking for $ac_word... " >&6; }
3487 if ${ac_cv_prog_CXX+:} false; then :
3488 $as_echo_n "(cached) " >&6
3490 if test -n "$CXX"; then
3491 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3497 test -z "$as_dir" && as_dir=.
3498 for ac_exec_ext in '' $ac_executable_extensions; do
3499 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3500 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3511 if test -n "$CXX"; then
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3513 $as_echo "$CXX" >&6; }
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3516 $as_echo "no" >&6; }
3520 test -n "$CXX" && break
3523 if test -z "$CXX"; then
3525 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3527 # Extract the first word of "$ac_prog", so it can be a program name with args.
3528 set dummy $ac_prog; ac_word=$2
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3530 $as_echo_n "checking for $ac_word... " >&6; }
3531 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3532 $as_echo_n "(cached) " >&6
3534 if test -n "$ac_ct_CXX"; then
3535 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3541 test -z "$as_dir" && as_dir=.
3542 for ac_exec_ext in '' $ac_executable_extensions; do
3543 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3544 ac_cv_prog_ac_ct_CXX="$ac_prog"
3545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3554 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3555 if test -n "$ac_ct_CXX"; then
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3557 $as_echo "$ac_ct_CXX" >&6; }
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3560 $as_echo "no" >&6; }
3564 test -n "$ac_ct_CXX" && break
3567 if test "x$ac_ct_CXX" = x; then
3570 case $cross_compiling:$ac_tool_warned in
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3573 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3574 ac_tool_warned=yes ;;
3582 # Provide some information about the compiler.
3583 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3586 for ac_option in --version -v -V -qversion; do
3587 { { ac_try="$ac_compiler $ac_option >&5"
3589 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3590 *) ac_try_echo
=$ac_try;;
3592 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3593 $as_echo "$ac_try_echo"; } >&5
3594 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3596 if test -s conftest.err
; then
3598 ... rest of stderr output deleted ...
3599 10q' conftest.err
>conftest.er1
3600 cat conftest.er1
>&5
3602 rm -f conftest.er1 conftest.err
3603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3604 test $ac_status = 0; }
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3608 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3609 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3610 $as_echo_n "(cached) " >&6
3612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3613 /* end confdefs.h. */
3626 if ac_fn_cxx_try_compile
"$LINENO"; then :
3631 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3632 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3636 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3637 if test $ac_compiler_gnu = yes; then
3642 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3643 ac_save_CXXFLAGS
=$CXXFLAGS
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3645 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3646 if ${ac_cv_prog_cxx_g+:} false
; then :
3647 $as_echo_n "(cached) " >&6
3649 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3650 ac_cxx_werror_flag
=yes
3653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3654 /* end confdefs.h. */
3664 if ac_fn_cxx_try_compile
"$LINENO"; then :
3665 ac_cv_prog_cxx_g
=yes
3668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3669 /* end confdefs.h. */
3679 if ac_fn_cxx_try_compile
"$LINENO"; then :
3682 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3685 /* end confdefs.h. */
3695 if ac_fn_cxx_try_compile
"$LINENO"; then :
3696 ac_cv_prog_cxx_g
=yes
3698 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3700 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3702 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3703 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3706 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3707 if test "$ac_test_CXXFLAGS" = set; then
3708 CXXFLAGS
=$ac_save_CXXFLAGS
3709 elif test $ac_cv_prog_cxx_g = yes; then
3710 if test "$GXX" = yes; then
3716 if test "$GXX" = yes; then
3723 ac_cpp
='$CXXCPP $CPPFLAGS'
3724 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3725 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3726 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3730 /* end confdefs.h. */
3740 if ac_fn_cxx_try_compile
"$LINENO"; then :
3741 aros_permissive
="yes"
3743 aros_permissive
="no"
3745 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_permissive" >&5
3747 $as_echo "$aros_permissive" >&6; }
3748 if test "x-$aros_permissive" = "x-yes" ; then
3749 aros_cxxflags_permissive
=-fpermissive
3750 aros_cxxflags_nopermissive
=-fno-permissive
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} accepts -frtti" >&5
3754 $as_echo_n "checking whether ${CXX} accepts -frtti... " >&6; }
3756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3757 /* end confdefs.h. */
3767 if ac_fn_cxx_try_compile
"$LINENO"; then :
3772 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_rtti" >&5
3774 $as_echo "$aros_rtti" >&6; }
3775 if test "x-$aros_rtti" = "x-yes" ; then
3776 aros_cxxflags_rtti
=-frtti
3777 aros_cxxflags_nortti
=-fno-rtti
3780 CXXFLAGS
="$save_cxxflags"
3783 # Check for additional C compiler options..
3785 ac_cpp
='$CPP $CPPFLAGS'
3786 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3787 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3788 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3791 #-----------------------------------------------------------------------------
3793 # Check if the target compiler supports some include directory options:
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
3796 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
3798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3799 /* end confdefs.h. */
3809 if ac_fn_c_try_compile
"$LINENO"; then :
3814 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
3816 $as_echo "$has_iquote" >&6; }
3817 if test "x-$has_iquote" = "x-yes" ; then
3818 aros_cflags_iquote
=-iquote
3819 aros_cflags_iquote_end
=
3821 aros_cflags_iquote
=-I
3822 aros_cflags_iquote_end
=-I-
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -isystem" >&5
3826 $as_echo_n "checking whether ${CC} accepts -isystem... " >&6; }
3828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3829 /* end confdefs.h. */
3839 if ac_fn_c_try_compile
"$LINENO"; then :
3844 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_isystem" >&5
3846 $as_echo "$has_isystem" >&6; }
3847 if test "x-$has_isystem" = "x-yes" ; then
3848 aros_cflags_isystem
=-isystem
3849 aros_cflags_isystem_end
=
3851 aros_cflags_isystem
=-I
3852 aros_cflags_isystem_end
=
3855 #-----------------------------------------------------------------------------
3857 # Check if the target compiler supports some ISA options:
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -mred-zone" >&5
3861 $as_echo_n "checking whether ${CC} accepts -mred-zone... " >&6; }
3863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3864 /* end confdefs.h. */
3874 if ac_fn_c_try_compile
"$LINENO"; then :
3875 aros_no_red_zone
="yes"
3877 aros_no_red_zone
="no"
3879 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_red_zone" >&5
3881 $as_echo "$aros_no_red_zone" >&6; }
3882 if test "x-$aros_no_red_zone" = "x-yes" ; then
3883 aros_cflags_red_zone
=-mred-zone
3884 aros_cflags_no_red_zone
=-mno-red-zone
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -mms-bitfields" >&5
3888 $as_echo_n "checking whether ${CC} accepts -mms-bitfields... " >&6; }
3889 CFLAGS
=-mms-bitfields
3890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3891 /* end confdefs.h. */
3901 if ac_fn_c_try_compile
"$LINENO"; then :
3902 aros_ms_bitfields
="yes"
3904 aros_ms_bitfields
="no"
3906 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ms_bitfields" >&5
3908 $as_echo "$aros_ms_bitfields" >&6; }
3909 if test "x-$aros_ms_bitfields" = "x-yes" ; then
3910 aros_cflags_ms_bitfields
=-mms-bitfields
3911 aros_cflags_no_ms_bitfields
=-mno-ms-bitfields
3914 CFLAGS
="$save_cflags"
3916 #-----------------------------------------------------------------------------
3918 # Check if the target compiler supports some options used for de-linting:
3922 # -Wunused-command-line-argument
3923 # -Wunknown-warning-option
3924 # -Wunused-but-set-variable
3928 # -Wstrict-prototypes
3931 # -Wmisleading-indentation
3938 # -Wunused-parameter
3940 # -Wmaybe-uninitialized
3941 # -Wimplicit-function-declaration
3946 # -Wformat-contains-nul
3948 # -Waggressive-loop-optimizations
3951 # -Wdiscarded-qualifiers
3954 # -Wdiscarded-array-qualifiers
3956 # -Wint-to-pointer-cast
3957 # -Wpointer-to-int-cast
3958 # -Wunused-const-variable
3961 # -Wincompatible-pointer-types
3963 # -Wlogical-not-parentheses
3967 # -Wdeprecated-declarations
3971 # -Wunused-local-typedefs
3975 # -Wvolatile-register-var
3976 # -Wsizeof-pointer-memaccess
3978 # -Wformat-zero-length
3979 # -Wlto-type-mismatch
3980 # -Wtautological-compare
3983 # -Wstringop-overflow
3984 # -Wformat-truncation
3985 # -Wstringop-truncation
3986 # -Wshift-negative-value
3987 # -Wmissing-field-initializers
3988 # -Wimplicit-fallthrough
3989 # -Wmissing-prototypes
3991 # -Wint-in-bool-context
3995 ac_cpp
='$CPP $CPPFLAGS'
3996 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3997 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3998 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4001 save_cflags
="$CFLAGS"
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Werror" >&5
4003 $as_echo_n "checking whether ${CC} accepts -Werror... " >&6; }
4005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4006 /* end confdefs.h. */
4016 if ac_fn_c_try_compile
"$LINENO"; then :
4021 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_error" >&5
4023 $as_echo "$aros_error" >&6; }
4024 if test "x-$aros_error" = "x-yes" ; then
4025 aros_warnflags_error
=-Werror
4026 aros_nowarnflags_error
=-Wno-error
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wall" >&5
4030 $as_echo_n "checking whether ${CC} accepts -Wall... " >&6; }
4032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4033 /* end confdefs.h. */
4043 if ac_fn_c_try_compile
"$LINENO"; then :
4048 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_all" >&5
4050 $as_echo "$aros_all" >&6; }
4051 if test "x-$aros_all" = "x-yes" ; then
4052 aros_warnflags_all
=-Wall
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wrestrict" >&5
4056 $as_echo_n "checking whether ${CC} accepts -Wrestrict... " >&6; }
4058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4059 /* end confdefs.h. */
4069 if ac_fn_c_try_compile
"$LINENO"; then :
4074 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_restrict" >&5
4076 $as_echo "$aros_restrict" >&6; }
4077 if test "x-$aros_restrict" = "x-yes" ; then
4078 aros_warnflags_restrict
=-Wrestrict
4079 aros_nowarnflags_restrict
=-Wno-restrict
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-command-line-argument" >&5
4083 $as_echo_n "checking whether ${CC} accepts -Wunused-command-line-argument... " >&6; }
4084 CFLAGS
=-Wunused-command-line-argument
4085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4086 /* end confdefs.h. */
4096 if ac_fn_c_try_compile
"$LINENO"; then :
4097 aros_unused_command_line_argument
="yes"
4099 aros_unused_command_line_argument
="no"
4101 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_command_line_argument" >&5
4103 $as_echo "$aros_unused_command_line_argument" >&6; }
4104 if test "x-$aros_unused_command_line_argument" = "x-yes" ; then
4105 aros_warnflags_unused_command_line_argument
=-Wunused-command-line-argument
4106 aros_nowarnflags_unused_command_line_argument
=-Wno-unused-command-line-argument
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-warning-option" >&5
4110 $as_echo_n "checking whether ${CC} accepts -Wunknown-warning-option... " >&6; }
4111 CFLAGS
=-Wunknown-warning-option
4112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4113 /* end confdefs.h. */
4123 if ac_fn_c_try_compile
"$LINENO"; then :
4124 aros_unknown_warning_option
="yes"
4126 aros_unknown_warning_option
="no"
4128 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_warning_option" >&5
4130 $as_echo "$aros_unknown_warning_option" >&6; }
4131 if test "x-$aros_unknown_warning_option" = "x-yes" ; then
4132 aros_warnflags_unknown_warning_option
=-Wunknown-warning-option
4133 aros_nowarnflags_unknown_warning_option
=-Wno-unknown-warning-option
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
4137 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
4138 CFLAGS
=-Wunused-but-set-variable
4139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4140 /* end confdefs.h. */
4150 if ac_fn_c_try_compile
"$LINENO"; then :
4151 aros_unused_but_set_variable
="yes"
4153 aros_unused_but_set_variable
="no"
4155 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
4157 $as_echo "$aros_unused_but_set_variable" >&6; }
4158 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
4159 aros_warnflags_unused_but_set_variable
=-Wunused-but-set-variable
4160 aros_nowarnflags_unused_but_set_variable
=-Wno-unused-but-set-variable
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
4164 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
4165 CFLAGS
=-Wstrict-aliasing
4166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4167 /* end confdefs.h. */
4177 if ac_fn_c_try_compile
"$LINENO"; then :
4178 aros_strict_aliasing
="yes"
4180 aros_strict_aliasing
="no"
4182 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
4184 $as_echo "$aros_strict_aliasing" >&6; }
4185 if test "x-$aros_strict_aliasing" = "x-yes" ; then
4186 aros_warnflags_strict_aliasing
=-Wstrict-aliasing
4187 aros_nowarnflags_strict_aliasing
=-Wno-strict-aliasing
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
4191 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
4192 CFLAGS
=-Warray-bounds
4193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4194 /* end confdefs.h. */
4204 if ac_fn_c_try_compile
"$LINENO"; then :
4205 aros_array_bounds
="yes"
4207 aros_array_bounds
="no"
4209 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
4211 $as_echo "$aros_array_bounds" >&6; }
4212 if test "x-$aros_array_bounds" = "x-yes" ; then
4213 aros_warnflags_array_bounds
=-Warray-bounds
4214 aros_nowarnflags_array_bounds
=-Wno-array-bounds
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
4218 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
4219 CFLAGS
=-Wenum-compare
4220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4221 /* end confdefs.h. */
4231 if ac_fn_c_try_compile
"$LINENO"; then :
4232 aros_enum_compare
="yes"
4234 aros_enum_compare
="no"
4236 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
4238 $as_echo "$aros_enum_compare" >&6; }
4239 if test "x-$aros_enum_compare" = "x-yes" ; then
4240 aros_warnflags_enum_compare
=-Wenum-compare
4241 aros_nowarnflags_enum_compare
=-Wno-enum-compare
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
4245 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
4246 CFLAGS
=-Wstrict-prototypes
4247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4248 /* end confdefs.h. */
4258 if ac_fn_c_try_compile
"$LINENO"; then :
4259 aros_strict_prototypes
="yes"
4261 aros_strict_prototypes
="no"
4263 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
4265 $as_echo "$aros_strict_prototypes" >&6; }
4266 if test "x-$aros_strict_prototypes" = "x-yes" ; then
4267 aros_warnflags_strict_prototypes
=-Wstrict-prototypes
4268 aros_nowarnflags_strict_prototypes
=-Wno-strict-prototypes
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
4272 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
4273 CFLAGS
=-Wstrict-overflow
4274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4275 /* end confdefs.h. */
4285 if ac_fn_c_try_compile
"$LINENO"; then :
4286 aros_strict_overflow
="yes"
4288 aros_strict_overflow
="no"
4290 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
4292 $as_echo "$aros_strict_overflow" >&6; }
4293 if test "x-$aros_strict_overflow" = "x-yes" ; then
4294 aros_warnflags_strict_overflow
=-Wstrict-overflow
4295 aros_nowarnflags_strict_overflow
=-Wno-strict-overflow
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
4299 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
4300 CFLAGS
=-Wformat-security
4301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4302 /* end confdefs.h. */
4312 if ac_fn_c_try_compile
"$LINENO"; then :
4313 aros_format_security
="yes"
4315 aros_format_security
="no"
4317 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
4319 $as_echo "$aros_format_security" >&6; }
4320 if test "x-$aros_format_security" = "x-yes" ; then
4321 aros_warnflags_format_security
=-Wformat-security
4322 aros_nowarnflags_format_security
=-Wno-format-security
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
4326 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
4327 CFLAGS
=-Wmisleading-indentation
4328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4329 /* end confdefs.h. */
4339 if ac_fn_c_try_compile
"$LINENO"; then :
4340 aros_misleading_indentation
="yes"
4342 aros_misleading_indentation
="no"
4344 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
4346 $as_echo "$aros_misleading_indentation" >&6; }
4347 if test "x-$aros_misleading_indentation" = "x-yes" ; then
4348 aros_warnflags_misleading_indentation
=-Wmisleading-indentation
4349 aros_nowarnflags_misleading_indentation
=-Wno-misleading-indentation
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
4353 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
4354 CFLAGS
=-Wnonnull-compare
4355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4356 /* end confdefs.h. */
4366 if ac_fn_c_try_compile
"$LINENO"; then :
4367 aros_nonnull_compare
="yes"
4369 aros_nonnull_compare
="no"
4371 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
4373 $as_echo "$aros_nonnull_compare" >&6; }
4374 if test "x-$aros_nonnull_compare" = "x-yes" ; then
4375 aros_warnflags_nonnull_compare
=-Wnonnull-compare
4376 aros_nowarnflags_nonnull_compare
=-Wno-nonnull-compare
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
4380 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
4382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4383 /* end confdefs.h. */
4393 if ac_fn_c_try_compile
"$LINENO"; then :
4398 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
4400 $as_echo "$aros_unused" >&6; }
4401 if test "x-$aros_unused" = "x-yes" ; then
4402 aros_warnflags_unused
=-Wunused
4403 aros_nowarnflags_unused
=-Wno-unused
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-label" >&5
4407 $as_echo_n "checking whether ${CC} accepts -Wunused-label... " >&6; }
4408 CFLAGS
=-Wunused-label
4409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4410 /* end confdefs.h. */
4420 if ac_fn_c_try_compile
"$LINENO"; then :
4421 aros_unused_label
="yes"
4423 aros_unused_label
="no"
4425 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_label" >&5
4427 $as_echo "$aros_unused_label" >&6; }
4428 if test "x-$aros_unused_label" = "x-yes" ; then
4429 aros_warnflags_unused_label
=-Wunused-label
4430 aros_nowarnflags_unused_label
=-Wno-unused-label
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
4434 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
4435 CFLAGS
=-Wunused-value
4436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4437 /* end confdefs.h. */
4447 if ac_fn_c_try_compile
"$LINENO"; then :
4448 aros_unused_value
="yes"
4450 aros_unused_value
="no"
4452 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
4454 $as_echo "$aros_unused_value" >&6; }
4455 if test "x-$aros_unused_value" = "x-yes" ; then
4456 aros_warnflags_unused_value
=-Wunused-value
4457 aros_nowarnflags_unused_value
=-Wno-unused-value
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
4461 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
4462 CFLAGS
=-Wunused-variable
4463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4464 /* end confdefs.h. */
4474 if ac_fn_c_try_compile
"$LINENO"; then :
4475 aros_unused_variable
="yes"
4477 aros_unused_variable
="no"
4479 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
4481 $as_echo "$aros_unused_variable" >&6; }
4482 if test "x-$aros_unused_variable" = "x-yes" ; then
4483 aros_warnflags_unused_variable
=-Wunused-variable
4484 aros_nowarnflags_unused_variable
=-Wno-unused-variable
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
4488 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
4489 CFLAGS
=-Wunused-function
4490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4491 /* end confdefs.h. */
4501 if ac_fn_c_try_compile
"$LINENO"; then :
4502 aros_unused_function
="yes"
4504 aros_unused_function
="no"
4506 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
4508 $as_echo "$aros_unused_function" >&6; }
4509 if test "x-$aros_unused_function" = "x-yes" ; then
4510 aros_warnflags_unused_function
=-Wunused-function
4511 aros_nowarnflags_unused_function
=-Wno-unused-function
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-parameter" >&5
4515 $as_echo_n "checking whether ${CC} accepts -Wunused-parameter... " >&6; }
4516 CFLAGS
=-Wunused-parameter
4517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4518 /* end confdefs.h. */
4528 if ac_fn_c_try_compile
"$LINENO"; then :
4529 aros_unused_parameter
="yes"
4531 aros_unused_parameter
="no"
4533 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_parameter" >&5
4535 $as_echo "$aros_unused_parameter" >&6; }
4536 if test "x-$aros_unused_parameter" = "x-yes" ; then
4537 aros_warnflags_unused_parameter
=-Wunused-parameter
4538 aros_nowarnflags_unused_parameter
=-Wno-unused-parameter
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
4542 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
4543 CFLAGS
=-Wuninitialized
4544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4545 /* end confdefs.h. */
4555 if ac_fn_c_try_compile
"$LINENO"; then :
4556 aros_uninitialized
="yes"
4558 aros_uninitialized
="no"
4560 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
4562 $as_echo "$aros_uninitialized" >&6; }
4563 if test "x-$aros_uninitialized" = "x-yes" ; then
4564 aros_warnflags_uninitialized
=-Wuninitialized
4565 aros_nowarnflags_uninitialized
=-Wno-uninitialized
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
4569 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
4570 CFLAGS
=-Wmaybe-uninitialized
4571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4572 /* end confdefs.h. */
4582 if ac_fn_c_try_compile
"$LINENO"; then :
4583 aros_maybe_uninitialized
="yes"
4585 aros_maybe_uninitialized
="no"
4587 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
4589 $as_echo "$aros_maybe_uninitialized" >&6; }
4590 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
4591 aros_warnflags_maybe_uninitialized
=-Wmaybe-uninitialized
4592 aros_nowarnflags_maybe_uninitialized
=-Wno-maybe-uninitialized
4594 aros_warnflags_maybe_uninitialized
=$aros_warnflags_uninitialized
4595 aros_nowarnflags_maybe_uninitialized
=$aros_nowarnflags_uninitialized
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
4599 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
4600 CFLAGS
=-Wimplicit-function-declaration
4601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4602 /* end confdefs.h. */
4612 if ac_fn_c_try_compile
"$LINENO"; then :
4613 aros_implicit_function_declaration
="yes"
4615 aros_implicit_function_declaration
="no"
4617 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
4619 $as_echo "$aros_implicit_function_declaration" >&6; }
4620 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
4621 aros_warnflags_implicit_function_declaration
=-Wimplicit-function-declaration
4622 aros_nowarnflags_implicit_function_declaration
=-Wno-implicit-function-declaration
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
4626 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
4628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4629 /* end confdefs.h. */
4639 if ac_fn_c_try_compile
"$LINENO"; then :
4644 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
4646 $as_echo "$aros_format" >&6; }
4647 if test "x-$aros_format" = "x-yes" ; then
4648 aros_warnflags_format
=-Wformat
4649 aros_nowarnflags_format
=-Wno-format
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
4653 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
4654 CFLAGS
=-Wparentheses
4655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4656 /* end confdefs.h. */
4666 if ac_fn_c_try_compile
"$LINENO"; then :
4667 aros_parentheses
="yes"
4669 aros_parentheses
="no"
4671 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
4673 $as_echo "$aros_parentheses" >&6; }
4674 if test "x-$aros_parentheses" = "x-yes" ; then
4675 aros_warnflags_parentheses
=-Wparentheses
4676 aros_nowarnflags_parentheses
=-Wno-parentheses
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
4680 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
4681 CFLAGS
=-Wchar-subscripts
4682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4683 /* end confdefs.h. */
4693 if ac_fn_c_try_compile
"$LINENO"; then :
4694 aros_char_subscripts
="yes"
4696 aros_char_subscripts
="no"
4698 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
4700 $as_echo "$aros_char_subscripts" >&6; }
4701 if test "x-$aros_char_subscripts" = "x-yes" ; then
4702 aros_warnflags_char_subscripts
=-Wchar-subscripts
4703 aros_nowarnflags_char_subscripts
=-Wno-char-subscripts
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
4707 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
4708 CFLAGS
=-Wendif-labels
4709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4710 /* end confdefs.h. */
4720 if ac_fn_c_try_compile
"$LINENO"; then :
4721 aros_endif_labels
="yes"
4723 aros_endif_labels
="no"
4725 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
4727 $as_echo "$aros_endif_labels" >&6; }
4728 if test "x-$aros_endif_labels" = "x-yes" ; then
4729 aros_warnflags_endif_labels
=-Wendif-labels
4730 aros_nowarnflags_endif_labels
=-Wno-endif-labels
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
4734 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
4735 CFLAGS
=-Wformat-contains-nul
4736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4737 /* end confdefs.h. */
4747 if ac_fn_c_try_compile
"$LINENO"; then :
4748 aros_format_contains_nul
="yes"
4750 aros_format_contains_nul
="no"
4752 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
4754 $as_echo "$aros_format_contains_nul" >&6; }
4755 if test "x-$aros_format_contains_nul" = "x-yes" ; then
4756 aros_warnflags_format_contains_nul
=-Wformat-contains-nul
4757 aros_nowarnflags_format_contains_nul
=-Wno-format-contains-nul
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
4761 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
4762 CFLAGS
=-Wimplicit-int
4763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4764 /* end confdefs.h. */
4774 if ac_fn_c_try_compile
"$LINENO"; then :
4775 aros_implicit_int
="yes"
4777 aros_implicit_int
="no"
4779 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
4781 $as_echo "$aros_implicit_int" >&6; }
4782 if test "x-$aros_implicit_int" = "x-yes" ; then
4783 aros_warnflags_implicit_int
=-Wimplicit-int
4784 aros_nowarnflags_implicit_int
=-Wno-implicit-int
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
4788 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
4789 CFLAGS
=-Waggressive-loop-optimizations
4790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4791 /* end confdefs.h. */
4801 if ac_fn_c_try_compile
"$LINENO"; then :
4802 aros_aggressive_loop_optimizations
="yes"
4804 aros_aggressive_loop_optimizations
="no"
4806 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
4808 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
4809 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
4810 aros_warnflags_aggressive_loop_optimizations
=-Waggressive-loop-optimizations
4811 aros_nowarnflags_aggressive_loop_optimizations
=-Wno-aggressive-loop-optimizations
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
4815 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
4817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4818 /* end confdefs.h. */
4828 if ac_fn_c_try_compile
"$LINENO"; then :
4833 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
4835 $as_echo "$aros_cpp" >&6; }
4836 if test "x-$aros_cpp" = "x-yes" ; then
4837 aros_warnflags_cpp
=-Wcpp
4838 aros_nowarnflags_cpp
=-Wno-cpp
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
4842 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
4844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4845 /* end confdefs.h. */
4855 if ac_fn_c_try_compile
"$LINENO"; then :
4860 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
4862 $as_echo "$aros_switch" >&6; }
4863 if test "x-$aros_switch" = "x-yes" ; then
4864 aros_warnflags_switch
=-Wswitch
4865 aros_nowarnflags_switch
=-Wno-switch
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
4869 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
4870 CFLAGS
=-Wdiscarded-qualifiers
4871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4872 /* end confdefs.h. */
4882 if ac_fn_c_try_compile
"$LINENO"; then :
4883 aros_discarded_qualifiers
="yes"
4885 aros_discarded_qualifiers
="no"
4887 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
4889 $as_echo "$aros_discarded_qualifiers" >&6; }
4890 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
4891 aros_warnflags_discarded_qualifiers
=-Wdiscarded-qualifiers
4892 aros_nowarnflags_discarded_qualifiers
=-Wno-discarded-qualifiers
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
4896 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
4897 CFLAGS
=-Wsequence-point
4898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4899 /* end confdefs.h. */
4909 if ac_fn_c_try_compile
"$LINENO"; then :
4910 aros_sequence_point
="yes"
4912 aros_sequence_point
="no"
4914 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
4916 $as_echo "$aros_sequence_point" >&6; }
4917 if test "x-$aros_sequence_point" = "x-yes" ; then
4918 aros_warnflags_sequence_point
=-Wsequence-point
4919 aros_nowarnflags_sequence_point
=-Wno-sequence-point
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
4923 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
4924 CFLAGS
=-Wunknown-pragmas
4925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4926 /* end confdefs.h. */
4936 if ac_fn_c_try_compile
"$LINENO"; then :
4937 aros_unknown_pragmas
="yes"
4939 aros_unknown_pragmas
="no"
4941 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
4943 $as_echo "$aros_unknown_pragmas" >&6; }
4944 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
4945 aros_warnflags_unknown_pragmas
=-Wunknown-pragmas
4946 aros_nowarnflags_unknown_pragmas
=-Wno-unknown-pragmas
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
4950 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
4951 CFLAGS
=-Wdiscarded-array-qualifiers
4952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4953 /* end confdefs.h. */
4963 if ac_fn_c_try_compile
"$LINENO"; then :
4964 aros_discarded_array_qualifiers
="yes"
4966 aros_discarded_array_qualifiers
="no"
4968 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
4970 $as_echo "$aros_discarded_array_qualifiers" >&6; }
4971 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
4972 aros_warnflags_discarded_array_qualifiers
=-Wdiscarded-array-qualifiers
4973 aros_nowarnflags_discarded_array_qualifiers
=-Wno-discarded-array-qualifiers
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
4977 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
4978 CFLAGS
=-Wint-conversion
4979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4980 /* end confdefs.h. */
4990 if ac_fn_c_try_compile
"$LINENO"; then :
4991 aros_int_conversion
="yes"
4993 aros_int_conversion
="no"
4995 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
4997 $as_echo "$aros_int_conversion" >&6; }
4998 if test "x-$aros_int_conversion" = "x-yes" ; then
4999 aros_warnflags_int_conversion
=-Wint-conversion
5000 aros_nowarnflags_int_conversion
=-Wno-int-conversion
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
5004 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
5005 CFLAGS
=-Wint-to-pointer-cast
5006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5007 /* end confdefs.h. */
5017 if ac_fn_c_try_compile
"$LINENO"; then :
5018 aros_int_to_pointer_cast
="yes"
5020 aros_int_to_pointer_cast
="no"
5022 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
5024 $as_echo "$aros_int_to_pointer_cast" >&6; }
5025 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
5026 aros_warnflags_int_to_pointer_cast
=-Wint-to-pointer-cast
5027 aros_nowarnflags_int_to_pointer_cast
=-Wno-int-to-pointer-cast
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
5031 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
5032 CFLAGS
=-Wpointer-to-int-cast
5033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5034 /* end confdefs.h. */
5044 if ac_fn_c_try_compile
"$LINENO"; then :
5045 aros_pointer_to_int_cast
="yes"
5047 aros_pointer_to_int_cast
="no"
5049 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
5051 $as_echo "$aros_pointer_to_int_cast" >&6; }
5052 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
5053 aros_warnflags_pointer_to_int_cast
=-Wpointer-to-int-cast
5054 aros_nowarnflags_pointer_to_int_cast
=-Wno-pointer-to-int-cast
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
5058 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
5059 CFLAGS
=-Wunused-const-variable
5060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5061 /* end confdefs.h. */
5071 if ac_fn_c_try_compile
"$LINENO"; then :
5072 aros_unused_const_variable
="yes"
5074 aros_unused_const_variable
="no"
5076 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
5078 $as_echo "$aros_unused_const_variable" >&6; }
5079 if test "x-$aros_unused_const_variable" = "x-yes" ; then
5080 aros_warnflags_unused_const_variable
=-Wunused-const-variable
5081 aros_nowarnflags_unused_const_variable
=-Wno-unused-const-variable
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
5085 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
5086 CFLAGS
=-Wwrite-strings
5087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5088 /* end confdefs.h. */
5098 if ac_fn_c_try_compile
"$LINENO"; then :
5099 aros_write_strings
="yes"
5101 aros_write_strings
="no"
5103 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
5105 $as_echo "$aros_write_strings" >&6; }
5106 if test "x-$aros_write_strings" = "x-yes" ; then
5107 aros_warnflags_write_strings
=-Wwrite-strings
5108 aros_nowarnflags_write_strings
=-Wno-write-strings
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
5112 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
5114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5115 /* end confdefs.h. */
5125 if ac_fn_c_try_compile
"$LINENO"; then :
5130 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
5132 $as_echo "$aros_comment" >&6; }
5133 if test "x-$aros_comment" = "x-yes" ; then
5134 aros_warnflags_comment
=-Wcomment
5135 aros_nowarnflags_comment
=-Wno-comment
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
5139 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
5140 CFLAGS
=-Wincompatible-pointer-types
5141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5142 /* end confdefs.h. */
5152 if ac_fn_c_try_compile
"$LINENO"; then :
5153 aros_incompatible_pointer_types
="yes"
5155 aros_incompatible_pointer_types
="no"
5157 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
5159 $as_echo "$aros_incompatible_pointer_types" >&6; }
5160 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
5161 aros_warnflags_incompatible_pointer_types
=-Wincompatible-pointer-types
5162 aros_nowarnflags_incompatible_pointer_types
=-Wno-incompatible-pointer-types
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
5166 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
5167 CFLAGS
=-Wbool-compare
5168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5169 /* end confdefs.h. */
5179 if ac_fn_c_try_compile
"$LINENO"; then :
5180 aros_bool_compare
="yes"
5182 aros_bool_compare
="no"
5184 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
5186 $as_echo "$aros_bool_compare" >&6; }
5187 if test "x-$aros_bool_compare" = "x-yes" ; then
5188 aros_warnflags_bool_compare
=-Wbool-compare
5189 aros_nowarnflags_bool_compare
=-Wno-bool-compare
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
5193 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
5194 CFLAGS
=-Wlogical-not-parentheses
5195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5196 /* end confdefs.h. */
5206 if ac_fn_c_try_compile
"$LINENO"; then :
5207 aros_logical_not_parentheses
="yes"
5209 aros_logical_not_parentheses
="no"
5211 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
5213 $as_echo "$aros_logical_not_parentheses" >&6; }
5214 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
5215 aros_warnflags_logical_not_parentheses
=-Wlogical-not-parentheses
5216 aros_nowarnflags_logical_not_parentheses
=-Wno-logical-not-parentheses
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
5220 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
5221 CFLAGS
=-Wpointer-sign
5222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5223 /* end confdefs.h. */
5233 if ac_fn_c_try_compile
"$LINENO"; then :
5234 aros_pointer_sign
="yes"
5236 aros_pointer_sign
="no"
5238 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
5240 $as_echo "$aros_pointer_sign" >&6; }
5241 if test "x-$aros_pointer_sign" = "x-yes" ; then
5242 aros_warnflags_pointer_sign
=-Wpointer-sign
5243 aros_nowarnflags_pointer_sign
=-Wno-pointer-sign
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
5247 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
5248 CFLAGS
=-Wshift-overflow
5249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5250 /* end confdefs.h. */
5260 if ac_fn_c_try_compile
"$LINENO"; then :
5261 aros_shift_overflow
="yes"
5263 aros_shift_overflow
="no"
5265 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
5267 $as_echo "$aros_shift_overflow" >&6; }
5268 if test "x-$aros_shift_overflow" = "x-yes" ; then
5269 aros_warnflags_shift_overflow
=-Wshift-overflow
5270 aros_nowarnflags_shift_overflow
=-Wno-shift-overflow
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
5274 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
5275 CFLAGS
=-Wframe-address
5276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5277 /* end confdefs.h. */
5287 if ac_fn_c_try_compile
"$LINENO"; then :
5288 aros_frame_address
="yes"
5290 aros_frame_address
="no"
5292 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
5294 $as_echo "$aros_frame_address" >&6; }
5295 if test "x-$aros_frame_address" = "x-yes" ; then
5296 aros_warnflags_frame_address
=-Wframe-address
5297 aros_nowarnflags_frame_address
=-Wno-frame-address
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
5301 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
5302 CFLAGS
=-Wdeprecated-declarations
5303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5304 /* end confdefs.h. */
5314 if ac_fn_c_try_compile
"$LINENO"; then :
5315 aros_deprecated_declarations
="yes"
5317 aros_deprecated_declarations
="no"
5319 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
5321 $as_echo "$aros_deprecated_declarations" >&6; }
5322 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
5323 aros_warnflags_deprecated_declarations
=-Wdeprecated-declarations
5324 aros_nowarnflags_deprecated_declarations
=-Wno-deprecated-declarations
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
5328 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
5329 CFLAGS
=-Wsign-compare
5330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5331 /* end confdefs.h. */
5341 if ac_fn_c_try_compile
"$LINENO"; then :
5342 aros_sign_compare
="yes"
5344 aros_sign_compare
="no"
5346 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
5348 $as_echo "$aros_sign_compare" >&6; }
5349 if test "x-$aros_sign_compare" = "x-yes" ; then
5350 aros_warnflags_sign_compare
=-Wsign-compare
5351 aros_nowarnflags_sign_compare
=-Wno-sign-compare
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
5355 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
5357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5358 /* end confdefs.h. */
5368 if ac_fn_c_try_compile
"$LINENO"; then :
5369 aros_attributes
="yes"
5371 aros_attributes
="no"
5373 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
5375 $as_echo "$aros_attributes" >&6; }
5376 if test "x-$aros_attributes" = "x-yes" ; then
5377 aros_warnflags_attributes
=-Wattributes
5378 aros_nowarnflags_attributes
=-Wno-attributes
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
5382 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
5384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5385 /* end confdefs.h. */
5395 if ac_fn_c_try_compile
"$LINENO"; then :
5400 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
5402 $as_echo "$aros_overflow" >&6; }
5403 if test "x-$aros_overflow" = "x-yes" ; then
5404 aros_warnflags_overflow
=-Woverflow
5405 aros_nowarnflags_overflow
=-Wno-overflow
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
5409 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
5410 CFLAGS
=-Wunused-local-typedefs
5411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5412 /* end confdefs.h. */
5422 if ac_fn_c_try_compile
"$LINENO"; then :
5423 aros_unused_local_typedefs
="yes"
5425 aros_unused_local_typedefs
="no"
5427 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
5429 $as_echo "$aros_unused_local_typedefs" >&6; }
5430 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
5431 aros_warnflags_unused_local_typedefs
=-Wunused-local-typedefs
5432 aros_nowarnflags_unused_local_typedefs
=-Wno-unused-local-typedefs
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
5436 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
5437 CFLAGS
=-Wmissing-braces
5438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5439 /* end confdefs.h. */
5449 if ac_fn_c_try_compile
"$LINENO"; then :
5450 aros_missing_braces
="yes"
5452 aros_missing_braces
="no"
5454 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
5456 $as_echo "$aros_missing_braces" >&6; }
5457 if test "x-$aros_missing_braces" = "x-yes" ; then
5458 aros_warnflags_missing_braces
=-Wmissing-braces
5459 aros_nowarnflags_missing_braces
=-Wno-missing-braces
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
5463 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
5465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5466 /* end confdefs.h. */
5476 if ac_fn_c_try_compile
"$LINENO"; then :
5477 aros_narrowing
="yes"
5481 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
5483 $as_echo "$aros_narrowing" >&6; }
5484 if test "x-$aros_narrowing" = "x-yes" ; then
5485 aros_warnflags_narrowing
=-Wnarrowing
5486 aros_nowarnflags_narrowing
=-Wno-narrowing
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wvolatile-register-var" >&5
5490 $as_echo_n "checking whether ${CC} accepts -Wvolatile-register-var... " >&6; }
5491 CFLAGS
=-Wvolatile-register-var
5492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5493 /* end confdefs.h. */
5503 if ac_fn_c_try_compile
"$LINENO"; then :
5504 aros_volatile_register_var
="yes"
5506 aros_volatile_register_var
="no"
5508 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_volatile_register_var" >&5
5510 $as_echo "$aros_volatile_register_var" >&6; }
5511 if test "x-$aros_volatile_register_var" = "x-yes" ; then
5512 aros_warnflags_volatile_register_var
=-Wvolatile-register-var
5513 aros_nowarnflags_volatile_register_var
=-Wno-volatile-register-var
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsizeof-pointer-memaccess" >&5
5517 $as_echo_n "checking whether ${CC} accepts -Wsizeof-pointer-memaccess... " >&6; }
5518 CFLAGS
=-Wsizeof-pointer-memaccess
5519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5520 /* end confdefs.h. */
5530 if ac_fn_c_try_compile
"$LINENO"; then :
5531 aros_sizeof_pointer_memaccess
="yes"
5533 aros_sizeof_pointer_memaccess
="no"
5535 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sizeof_pointer_memaccess" >&5
5537 $as_echo "$aros_sizeof_pointer_memaccess" >&6; }
5538 if test "x-$aros_sizeof_pointer_memaccess" = "x-yes" ; then
5539 aros_warnflags_sizeof_pointer_memaccess
=-Wsizeof-pointer-memaccess
5540 aros_nowarnflags_sizeof_pointer_memaccess
=-Wno-sizeof-pointer-memaccess
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wreturn-type" >&5
5544 $as_echo_n "checking whether ${CC} accepts -Wreturn-type... " >&6; }
5545 CFLAGS
=-Wreturn-type
5546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5547 /* end confdefs.h. */
5557 if ac_fn_c_try_compile
"$LINENO"; then :
5558 aros_return_type
="yes"
5560 aros_return_type
="no"
5562 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_return_type" >&5
5564 $as_echo "$aros_return_type" >&6; }
5565 if test "x-$aros_return_type" = "x-yes" ; then
5566 aros_warnflags_return_type
=-Wreturn-type
5567 aros_nowarnflags_return_type
=-Wno-return-type
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-zero-length" >&5
5571 $as_echo_n "checking whether ${CC} accepts -Wformat-zero-length... " >&6; }
5572 CFLAGS
=-Wformat-zero-length
5573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5574 /* end confdefs.h. */
5584 if ac_fn_c_try_compile
"$LINENO"; then :
5585 aros_format_zero_length
="yes"
5587 aros_format_zero_length
="no"
5589 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_zero_length" >&5
5591 $as_echo "$aros_format_zero_length" >&6; }
5592 if test "x-$aros_format_zero_length" = "x-yes" ; then
5593 aros_warnflags_format_zero_length
=-Wformat-zero-length
5594 aros_nowarnflags_format_zero_length
=-Wno-format-zero-length
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlto-type-mismatch" >&5
5598 $as_echo_n "checking whether ${CC} accepts -Wlto-type-mismatch... " >&6; }
5599 CFLAGS
=-Wlto-type-mismatch
5600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5601 /* end confdefs.h. */
5611 if ac_fn_c_try_compile
"$LINENO"; then :
5612 aros_lto_type_mismatch
="yes"
5614 aros_lto_type_mismatch
="no"
5616 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto_type_mismatch" >&5
5618 $as_echo "$aros_lto_type_mismatch" >&6; }
5619 if test "x-$aros_lto_type_mismatch" = "x-yes" ; then
5620 aros_warnflags_lto_type_mismatch
=-Wlto-type-mismatch
5621 aros_nowarnflags_lto_type_mismatch
=-Wno-lto-type-mismatch
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wtautological-compare" >&5
5625 $as_echo_n "checking whether ${CC} accepts -Wtautological-compare... " >&6; }
5626 CFLAGS
=-Wtautological-compare
5627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5628 /* end confdefs.h. */
5638 if ac_fn_c_try_compile
"$LINENO"; then :
5639 aros_tautological_compare
="yes"
5641 aros_tautological_compare
="no"
5643 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tautological_compare" >&5
5645 $as_echo "$aros_tautological_compare" >&6; }
5646 if test "x-$aros_tautological_compare" = "x-yes" ; then
5647 aros_warnflags_tautological_compare
=-Wtautological-compare
5648 aros_nowarnflags_tautological_compare
=-Wno-tautological-compare
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wempty-body" >&5
5652 $as_echo_n "checking whether ${CC} accepts -Wempty-body... " >&6; }
5654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5655 /* end confdefs.h. */
5665 if ac_fn_c_try_compile
"$LINENO"; then :
5666 aros_empty_body
="yes"
5668 aros_empty_body
="no"
5670 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_empty_body" >&5
5672 $as_echo "$aros_empty_body" >&6; }
5673 if test "x-$aros_empty_body" = "x-yes" ; then
5674 aros_warnflags_empty_body
=-Wempty-body
5675 aros_nowarnflags_empty_body
=-Wno-empty-body
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-overflow" >&5
5679 $as_echo_n "checking whether ${CC} accepts -Wformat-overflow... " >&6; }
5680 CFLAGS
=-Wformat-overflow
5681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5682 /* end confdefs.h. */
5692 if ac_fn_c_try_compile
"$LINENO"; then :
5693 aros_format_overflow
="yes"
5695 aros_format_overflow
="no"
5697 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_overflow" >&5
5699 $as_echo "$aros_format_overflow" >&6; }
5700 if test "x-$aros_format_overflow" = "x-yes" ; then
5701 aros_warnflags_format_overflow
=-Wformat-overflow
5702 aros_nowarnflags_format_overflow
=-Wno-format-overflow
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstringop-overflow" >&5
5706 $as_echo_n "checking whether ${CC} accepts -Wstringop-overflow... " >&6; }
5707 CFLAGS
=-Wstringop-overflow
5708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5709 /* end confdefs.h. */
5719 if ac_fn_c_try_compile
"$LINENO"; then :
5720 aros_stringop_overflow
="yes"
5722 aros_stringop_overflow
="no"
5724 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_stringop_overflow" >&5
5726 $as_echo "$aros_stringop_overflow" >&6; }
5727 if test "x-$aros_stringop_overflow" = "x-yes" ; then
5728 aros_warnflags_stringop_overflow
=-Wstringop-overflow
5729 aros_nowarnflags_stringop_overflow
=-Wno-stringop-overflow
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-truncation" >&5
5733 $as_echo_n "checking whether ${CC} accepts -Wformat-truncation... " >&6; }
5734 CFLAGS
=-Wformat-truncation
5735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5736 /* end confdefs.h. */
5746 if ac_fn_c_try_compile
"$LINENO"; then :
5747 aros_format_truncation
="yes"
5749 aros_format_truncation
="no"
5751 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_truncation" >&5
5753 $as_echo "$aros_format_truncation" >&6; }
5754 if test "x-$aros_format_truncation" = "x-yes" ; then
5755 aros_warnflags_format_truncation
=-Wformat-truncation
5756 aros_nowarnflags_format_truncation
=-Wno-format-truncation
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstringop-truncation" >&5
5760 $as_echo_n "checking whether ${CC} accepts -Wstringop-truncation... " >&6; }
5761 CFLAGS
=-Wstringop-truncation
5762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5763 /* end confdefs.h. */
5773 if ac_fn_c_try_compile
"$LINENO"; then :
5774 aros_stringop_truncation
="yes"
5776 aros_stringop_truncation
="no"
5778 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_stringop_truncation" >&5
5780 $as_echo "$aros_stringop_truncation" >&6; }
5781 if test "x-$aros_stringop_truncation" = "x-yes" ; then
5782 aros_warnflags_stringop_truncation
=-Wstringop-truncation
5783 aros_nowarnflags_stringop_truncation
=-Wno-stringop-truncation
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-negative-value" >&5
5787 $as_echo_n "checking whether ${CC} accepts -Wshift-negative-value... " >&6; }
5788 CFLAGS
=-Wshift-negative-value
5789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5790 /* end confdefs.h. */
5800 if ac_fn_c_try_compile
"$LINENO"; then :
5801 aros_shift_negative_value
="yes"
5803 aros_shift_negative_value
="no"
5805 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_negative_value" >&5
5807 $as_echo "$aros_shift_negative_value" >&6; }
5808 if test "x-$aros_shift_negative_value" = "x-yes" ; then
5809 aros_warnflags_shift_negative_value
=-Wshift-negative-value
5810 aros_nowarnflags_shift_negative_value
=-Wno-shift-negative-value
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-field-initializers" >&5
5814 $as_echo_n "checking whether ${CC} accepts -Wmissing-field-initializers... " >&6; }
5815 CFLAGS
=-Wmissing-field-initializers
5816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5817 /* end confdefs.h. */
5827 if ac_fn_c_try_compile
"$LINENO"; then :
5828 aros_missing_field_initializers
="yes"
5830 aros_missing_field_initializers
="no"
5832 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_field_initializers" >&5
5834 $as_echo "$aros_missing_field_initializers" >&6; }
5835 if test "x-$aros_missing_field_initializers" = "x-yes" ; then
5836 aros_warnflags_missing_field_initializers
=-Wmissing-field-initializers
5837 aros_nowarnflags_missing_field_initializers
=-Wno-missing-field-initializers
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-fallthrough" >&5
5841 $as_echo_n "checking whether ${CC} accepts -Wimplicit-fallthrough... " >&6; }
5842 CFLAGS
=-Wimplicit-fallthrough
5843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5844 /* end confdefs.h. */
5854 if ac_fn_c_try_compile
"$LINENO"; then :
5855 aros_implicit_fallthrough
="yes"
5857 aros_implicit_fallthrough
="no"
5859 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_fallthrough" >&5
5861 $as_echo "$aros_implicit_fallthrough" >&6; }
5862 if test "x-$aros_implicit_fallthrough" = "x-yes" ; then
5863 aros_warnflags_implicit_fallthrough
=-Wimplicit-fallthrough
5864 aros_nowarnflags_implicit_fallthrough
=-Wno-implicit-fallthrough
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-prototypes" >&5
5868 $as_echo_n "checking whether ${CC} accepts -Wmissing-prototypes... " >&6; }
5869 CFLAGS
=-Wmissing-prototypes
5870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5871 /* end confdefs.h. */
5881 if ac_fn_c_try_compile
"$LINENO"; then :
5882 aros_missing_prototypes
="yes"
5884 aros_missing_prototypes
="no"
5886 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_prototypes" >&5
5888 $as_echo "$aros_missing_prototypes" >&6; }
5889 if test "x-$aros_missing_prototypes" = "x-yes" ; then
5890 aros_warnflags_missing_prototypes
=-Wmissing-prototypes
5891 aros_nowarnflags_missing_prototypes
=-Wno-missing-prototypes
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wclass-memaccess" >&5
5895 $as_echo_n "checking whether ${CC} accepts -Wclass-memaccess... " >&6; }
5896 CFLAGS
=-Wclass-memaccess
5897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5898 /* end confdefs.h. */
5908 if ac_fn_c_try_compile
"$LINENO"; then :
5909 aros_class_memaccess
="yes"
5911 aros_class_memaccess
="no"
5913 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_class_memaccess" >&5
5915 $as_echo "$aros_class_memaccess" >&6; }
5916 if test "x-$aros_class_memaccess" = "x-yes" ; then
5917 aros_warnflags_class_memaccess
=-Wclass-memaccess
5918 aros_nowarnflags_class_memaccess
=-Wno-class-memaccess
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-in-bool-context" >&5
5922 $as_echo_n "checking whether ${CC} accepts -Wint-in-bool-context... " >&6; }
5923 CFLAGS
=-Wint-in-bool-context
5924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5925 /* end confdefs.h. */
5935 if ac_fn_c_try_compile
"$LINENO"; then :
5936 aros_int_in_bool_context
="yes"
5938 aros_int_in_bool_context
="no"
5940 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_in_bool_context" >&5
5942 $as_echo "$aros_int_in_bool_context" >&6; }
5943 if test "x-$aros_int_in_bool_context" = "x-yes" ; then
5944 aros_warnflags_int_in_bool_context
=-Wint-in-bool-context
5945 aros_nowarnflags_int_in_bool_context
=-Wno-int-in-bool-context
5947 CFLAGS
="$save_cflags"
5949 # Check the C++ warnings
5951 ac_cpp
='$CXXCPP $CPPFLAGS'
5952 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5953 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5954 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5956 save_cxxflags
="$CXXFLAGS"
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} accepts -Wconversion-null" >&5
5959 $as_echo_n "checking whether ${CXX} accepts -Wconversion-null... " >&6; }
5960 CXXFLAGS
=-Wconversion-null
5961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5962 /* end confdefs.h. */
5972 if ac_fn_cxx_try_compile
"$LINENO"; then :
5973 aros_conversion_null
="yes"
5975 aros_conversion_null
="no"
5977 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
5979 $as_echo "$aros_conversion_null" >&6; }
5980 if test "x-$aros_conversion_null" = "x-yes" ; then
5981 aros_warnflags_conversion_null
=-Wconversion-null
5982 aros_nowarnflags_conversion_null
=-Wno-conversion-null
5985 CXXFLAGS
="$save_cxxflags"
5988 ac_cpp
='$CPP $CPPFLAGS'
5989 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5990 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5991 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5994 #########################################################
5996 # Now check what we need to use with the toolchain
5998 cat >$AROS_DEVELOPER/include
/__testsincdir.h
<<_ACEOF
5999 /* Copyright (c) The AROS Dev Team */
6000 #define _TESTINCFOUND
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need to use --sysroot" >&5
6004 $as_echo_n "checking if we need to use --sysroot... " >&6; }
6005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6006 /* end confdefs.h. */
6008 #include <__testsincdir.h>
6009 #ifndef _TESTINCFOUND
6010 error: Couldnt find include!
6021 if ac_fn_c_try_compile
"$LINENO"; then :
6022 toolchain_needs_sysroot
=no
6024 toolchain_needs_sysroot
=yes
6026 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolchain_needs_sysroot" >&5
6028 $as_echo "$toolchain_needs_sysroot" >&6; }
6030 if test "$toolchain_needs_sysroot" = "yes" ; then
6031 aros_toolchain_sysroot
="--sysroot $""(AROS_DEVELOPER)"
6034 #AC_MSG_CHECKING([if we need to use --isysroot])
6035 #AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
6037 # (#include <__testsincdir.h>
6038 # #ifndef _TESTINCFOUND
6039 # error: Couldnt find include!
6042 # [toolchain_needs_isysroot=no],
6043 # [toolchain_needs_isysroot=yes])
6044 #AC_MSG_RESULT($toolchain_needs_isysroot)
6046 #if test "$toolchain_needs_isysroot" = "yes" ; then
6047 # aros_toolchain_isysroot="-isysroot $""(AROS_SDK)"
6048 # aros_toolchain_iarchdir="-I $""(AROS_SDK)/$""(AROS_TARGET_CPU)-aros/include"
6050 rm -f $AROS_DEVELOPER/include
/__testsincdir.h
6053 # export the feature flags...
6113 # export the feature options...
6121 # ...and warning flags...
6269 # Additional toolchain support ...
6272 ac_config_files
="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in"
6275 cat >confcache
<<\_ACEOF
6276 # This file is a shell script that caches the results of configure
6277 # tests run on this system so they can be shared between configure
6278 # scripts and configure runs, see configure's option --config-cache.
6279 # It is not useful on other systems. If it contains results you don't
6280 # want to keep, you may remove or edit it.
6282 # config.status only pays attention to the cache file if you give it
6283 # the --recheck option to rerun configure.
6285 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6286 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6291 # The following way of writing the cache mishandles newlines in values,
6292 # but we know of no workaround that is simple, portable, and efficient.
6293 # So, we kill variables containing newlines.
6294 # Ultrix sh set writes to stderr and can't be redirected directly,
6295 # and sets the high bit in the cache file unless we assign to the vars.
6297 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6298 eval ac_val
=\$
$ac_var
6302 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6303 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6306 _ | IFS | as_nl
) ;; #(
6307 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
6308 *) { eval $ac_var=; unset $ac_var;} ;;
6314 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6315 *${as_nl}ac_space
=\
*)
6316 # `set' does not quote correctly, so add quotes: double-quote
6317 # substitution turns \\\\ into \\, and sed turns \\ into \.
6320 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6323 # `set' quotes correctly as required by POSIX, so do not add quotes.
6324 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6333 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6335 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6337 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
6338 if test -w "$cache_file"; then
6339 if test "x$cache_file" != "x/dev/null"; then
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6341 $as_echo "$as_me: updating cache $cache_file" >&6;}
6342 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
6343 cat confcache
>"$cache_file"
6345 case $cache_file in #(
6347 mv -f confcache
"$cache_file"$$
&&
6348 mv -f "$cache_file"$$
"$cache_file" ;; #(
6350 mv -f confcache
"$cache_file" ;;
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6356 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6361 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6362 # Let make expand exec_prefix.
6363 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6365 # Transform confdefs.h into DEFS.
6366 # Protect against shell expansion while executing Makefile rules.
6367 # Protect against Makefile macro expansion.
6369 # If the first sed substitution is executed (which looks for macros that
6370 # take arguments), then branch to the quote section. Otherwise,
6371 # look for a macro that doesn't take arguments.
6381 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
6383 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
6387 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
6400 DEFS
=`sed -n "$ac_script" confdefs.h`
6406 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6407 # 1. Remove the extension, and $U if already installed.
6408 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
6409 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
6410 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6411 # will be set to the directory where LIBOBJS objects are built.
6412 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6413 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
6417 LTLIBOBJS
=$ac_ltlibobjs
6421 : "${CONFIG_STATUS=./config.status}"
6423 ac_clean_files_save
=$ac_clean_files
6424 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6426 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6428 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6430 # Generated by $as_me.
6431 # Run this file to recreate the current configuration.
6432 # Compiler output produced by configure, useful for debugging
6433 # configure, is in config.log if it exists.
6439 SHELL=\${CONFIG_SHELL-$SHELL}
6442 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
6443 ## -------------------- ##
6444 ## M4sh Initialization. ##
6445 ## -------------------- ##
6447 # Be more Bourne compatible
6448 DUALCASE
=1; export DUALCASE
# for MKS sh
6449 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
6452 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6453 # is contrary to our usage. Disable this feature.
6454 alias -g '${1+"$@"}'='"$@"'
6455 setopt NO_GLOB_SUBST
6457 case `(set -o) 2>/dev/null` in #(
6469 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6470 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6471 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6472 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6473 # Prefer a ksh shell builtin over an external printf program on Solaris,
6474 # but without wasting forks for bash or zsh.
6475 if test -z "$BASH_VERSION$ZSH_VERSION" \
6476 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6477 as_echo='print
-r --'
6478 as_echo_n='print
-rn --'
6479 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6480 as_echo='printf %s
\n'
6481 as_echo_n='printf %s
'
6483 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6484 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
6485 as_echo_n='/usr
/ucb
/echo -n'
6487 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6488 as_echo_n_body='eval
6492 expr "X$arg" : "X\\(.*\\)$as_nl";
6493 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6495 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
6497 export as_echo_n_body
6498 as_echo_n='sh
-c $as_echo_n_body as_echo
'
6501 as_echo='sh
-c $as_echo_body as_echo
'
6504 # The user is always right.
6505 if test "${PATH_SEPARATOR+set}" != set; then
6507 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6508 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6515 # We need space, tab and new line, in precisely that order. Quoting is
6516 # there to prevent editors from complaining about space-tab.
6517 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6518 # splitting by setting IFS to empty value.)
6521 # Find who we are. Look in the path if we contain no directory separator.
6524 *[\\/]* ) as_myself=$0 ;;
6525 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6529 test -z "$as_dir" && as_dir=.
6530 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6536 # We did not find ourselves, most probably we were run as `sh COMMAND'
6537 # in which case we are not to be found in the path.
6538 if test "x$as_myself" = x
; then
6541 if test ! -f "$as_myself"; then
6542 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6546 # Unset variables that we do not need and which cause bugs (e.g. in
6547 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6548 # suppresses any "Segmentation fault" message there. '((' could
6549 # trigger a bug in pdksh 5.2.14.
6550 for as_var
in BASH_ENV ENV MAIL MAILPATH
6551 do eval test x\
${$as_var+set} = xset \
6552 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
6565 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
6568 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6569 # ----------------------------------------
6570 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6571 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6572 # script with STATUS, using 1 if that was 0.
6575 as_status
=$1; test $as_status -eq 0 && as_status
=1
6577 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
6578 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6580 $as_echo "$as_me: error: $2" >&2
6581 as_fn_exit
$as_status
6585 # as_fn_set_status STATUS
6586 # -----------------------
6587 # Set $? to STATUS, without forking.
6591 } # as_fn_set_status
6595 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6605 # Portably unset VAR.
6608 { eval $1=; unset $1;}
6610 as_unset
=as_fn_unset
6611 # as_fn_append VAR VALUE
6612 # ----------------------
6613 # Append the text in VALUE to the end of the definition contained in VAR. Take
6614 # advantage of any shell optimizations that allow amortized linear growth over
6615 # repeated appends, instead of the typical quadratic growth present in naive
6617 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
6618 eval 'as_fn_append ()
6629 # as_fn_arith ARG...
6630 # ------------------
6631 # Perform arithmetic evaluation on the ARGs, and store the result in the
6632 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6633 # must be portable across $(()) and expr.
6634 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
6635 eval 'as_fn_arith ()
6642 as_val
=`expr "$@" || test $? -eq 1`
6647 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
6648 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6654 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6655 as_basename
=basename
6660 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
6666 as_me
=`$as_basename -- "$0" ||
6667 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6668 X"$0" : 'X\(//\)$' \| \
6669 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6671 sed '/^.*\/\([^/][^/]*\)\/*$/{
6685 # Avoid depending upon Character Ranges.
6686 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6687 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6688 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6689 as_cr_digits
='0123456789'
6690 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6692 ECHO_C
= ECHO_N
= ECHO_T
=
6693 case `echo -n x` in #(((((
6695 case `echo 'xy\c'` in
6696 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
6698 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
6705 rm -f conf$$ conf$$.exe conf$$.
file
6706 if test -d conf$$.dir
; then
6707 rm -f conf$$.dir
/conf$$.
file
6710 mkdir conf$$.dir
2>/dev
/null
6712 if (echo >conf$$.
file) 2>/dev
/null
; then
6713 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6715 # ... but there are two gotchas:
6716 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6717 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6718 # In both cases, we have to default to `cp -pR'.
6719 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
6721 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6729 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
6730 rmdir conf$$.dir
2>/dev
/null
6735 # Create "$as_dir" as a directory, including parents if necessary.
6740 -*) as_dir
=.
/$as_dir;;
6742 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
6746 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6747 *) as_qdir
=$as_dir;;
6749 as_dirs
="'$as_qdir' $as_dirs"
6750 as_dir
=`$as_dirname -- "$as_dir" ||
6751 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6752 X"$as_dir" : 'X\(//\)[^/]' \| \
6753 X"$as_dir" : 'X\(//\)$' \| \
6754 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6755 $as_echo X"$as_dir" |
6756 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6773 test -d "$as_dir" && break
6775 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
6776 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
6780 if mkdir
-p .
2>/dev
/null
; then
6781 as_mkdir_p
='mkdir -p "$as_dir"'
6783 test -d .
/-p && rmdir .
/-p
6788 # as_fn_executable_p FILE
6789 # -----------------------
6790 # Test if FILE is an executable regular file.
6791 as_fn_executable_p
()
6793 test -f "$1" && test -x "$1"
6794 } # as_fn_executable_p
6796 as_executable_p
=as_fn_executable_p
6798 # Sed expression to map a string onto a valid CPP name.
6799 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6801 # Sed expression to map a string onto a valid variable name.
6802 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6806 ## ----------------------------------- ##
6807 ## Main body of $CONFIG_STATUS script. ##
6808 ## ----------------------------------- ##
6810 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
6812 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6813 # Save the log message, to keep $0 and so on meaningful, and to
6814 # report actual input values of CONFIG_FILES etc. instead of their
6815 # values after options handling.
6817 This file was extended by $as_me, which was
6818 generated by GNU Autoconf 2.69. Invocation command line was
6820 CONFIG_FILES = $CONFIG_FILES
6821 CONFIG_HEADERS = $CONFIG_HEADERS
6822 CONFIG_LINKS = $CONFIG_LINKS
6823 CONFIG_COMMANDS = $CONFIG_COMMANDS
6826 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6831 case $ac_config_files in *"
6832 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
6837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6838 # Files that config.status was made for.
6839 config_files="$ac_config_files"
6843 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6845 \`$as_me' instantiates files and other configuration actions
6846 from templates according to the current configuration. Unless the files
6847 and actions are specified as TAGs, all are instantiated by default.
6849 Usage: $0 [OPTION]... [TAG]...
6851 -h, --help print this help, then exit
6852 -V, --version print version number and configuration settings, then exit
6853 --config print configuration, then exit
6854 -q, --quiet, --silent
6855 do not print progress messages
6856 -d, --debug don't remove temporary files
6857 --recheck update $as_me by reconfiguring in the same conditions
6858 --file=FILE[:TEMPLATE]
6859 instantiate the configuration file FILE
6861 Configuration files:
6864 Report bugs to the package provider."
6867 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6868 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6871 configured by $0, generated by GNU Autoconf 2.69,
6872 with options \\"\$ac_cs_config\\"
6874 Copyright (C) 2012 Free Software Foundation, Inc.
6875 This config.status script is free software; the Free Software Foundation
6876 gives unlimited permission to copy, distribute and modify it."
6880 test -n "\$AWK" || AWK=awk
6883 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6884 # The default lists apply if the user does not specify any file.
6890 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6891 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
6895 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6907 # Handling of the options.
6908 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6910 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
6911 $as_echo "$ac_cs_version"; exit ;;
6912 --config |
--confi |
--conf |
--con |
--co |
--c )
6913 $as_echo "$ac_cs_config"; exit ;;
6914 --debug |
--debu |
--deb |
--de |
--d |
-d )
6916 --file |
--fil |
--fi |
--f )
6919 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6920 '') as_fn_error $?
"missing file argument" ;;
6922 as_fn_append CONFIG_FILES
" '$ac_optarg'"
6923 ac_need_defaults
=false
;;
6924 --he |
--h |
--help |
--hel |
-h )
6925 $as_echo "$ac_cs_usage"; exit ;;
6926 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6927 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6931 -*) as_fn_error $?
"unrecognized option: \`$1'
6932 Try \`$0 --help' for more information." ;;
6934 *) as_fn_append ac_config_targets
" $1"
6935 ac_need_defaults
=false
;;
6941 ac_configure_extra_args
=
6943 if $ac_cs_silent; then
6945 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6949 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6950 if \$ac_cs_recheck; then
6951 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6953 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6954 CONFIG_SHELL='$SHELL'
6960 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6964 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6965 ## Running $as_me. ##
6971 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6974 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6976 # Handling of arguments.
6977 for ac_config_target
in $ac_config_targets
6979 case $ac_config_target in
6980 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in" ;;
6982 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6987 # If the user did not use the arguments to specify the items to instantiate,
6988 # then the envvar interface is used. Set only those that are not.
6989 # We use the long form for the default assignment because of an extremely
6990 # bizarre bug on SunOS 4.1.3.
6991 if $ac_need_defaults; then
6992 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6995 # Have a temporary directory for convenience. Make it in the build tree
6996 # simply because there is no reason against having it here, and in addition,
6997 # creating and moving files from /tmp can sometimes cause problems.
6998 # Hook for its removal unless debugging.
6999 # Note that there is a small window in which the directory will not be cleaned:
7000 # after its creation but before its name has been assigned to `$tmp'.
7004 trap 'exit_status=$?
7006 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7008 trap 'as_fn_exit 1' 1 2 13 15
7010 # Create a (secure) tmp directory for tmp files.
7013 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7017 tmp
=.
/conf$$
-$RANDOM
7018 (umask 077 && mkdir
"$tmp")
7019 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
7022 # Set up the scripts for CONFIG_FILES section.
7023 # No need to generate them if there are no CONFIG_FILES.
7024 # This happens for instance with `./config.status config.h'.
7025 if test -n "$CONFIG_FILES"; then
7028 ac_cr
=`echo X | tr X '\015'`
7029 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7030 # But we know of no other shell where ac_cr would be empty at this
7031 # point, so we can use a bashism as a fallback.
7032 if test "x$ac_cr" = x
; then
7033 eval ac_cr
=\$
\'\\r
\'
7035 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7036 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7042 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7047 echo "cat >conf$$subs.awk <<_ACEOF" &&
7048 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7051 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7052 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7054 for ac_last_try in false false false false false :; do
7055 . ./conf$$subs.sh ||
7056 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7058 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
7059 if test $ac_delim_n = $ac_delim_num; then
7061 elif $ac_last_try; then
7062 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7064 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7069 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7070 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
7074 s/^/S["/; s
/!.
*/"]=/
7084 s/\(.\{148\}\)..*/\1/
7086 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
7091 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7098 s/\(.\{148\}\)..*/\1/
7100 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
7104 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7109 ' <conf$$subs.awk | sed '
7114 ' >>$CONFIG_STATUS || ac_write_fail=1
7115 rm -f conf$$subs.awk
7116 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7118 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
7119 for (key in S) S_is_set[key] = 1
7125 nfields = split(line, field, "@
")
7127 len = length(field[1])
7128 for (i = 2; i < nfields; i++) {
7130 keylen = length(key)
7131 if (S_is_set[key]) {
7133 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7134 len += length(value) + length(field[++i])
7145 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7146 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7147 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
7150 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
7151 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
7154 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7155 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
7156 # trailing colons and then remove the whole line if VPATH becomes empty
7157 # (actually we leave an empty line to preserve line numbers).
7158 if test "x
$srcdir" = x.; then
7159 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7177 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7178 fi # test -n "$CONFIG_FILES"
7181 eval set X " :F
$CONFIG_FILES "
7186 :[FHLC]) ac_mode=$ac_tag; continue;;
7188 case $ac_mode$ac_tag in
7190 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
7191 :[FH]-) ac_tag=-:-;;
7192 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7209 -) ac_f="$ac_tmp/stdin";;
7210 *) # Look for the file first in the build tree, then in the source tree
7211 # (if the path is not absolute). The absolute path cannot be DOS-style,
7212 # because $ac_f cannot contain `:'.
7216 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7218 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7220 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
7221 as_fn_append ac_file_inputs " '$ac_f'"
7224 # Let's still pretend it is `configure' which instantiates (i.e., don't
7225 # use $as_me), people would be surprised to read:
7226 # /* config.h. Generated by config.status. */
7227 configure_input='Generated from '`
7228 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7230 if test x"$ac_file" != x-; then
7231 configure_input="$ac_file.
$configure_input"
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
7233 $as_echo "$as_me: creating
$ac_file" >&6;}
7235 # Neutralize special characters interpreted by sed in replacement strings.
7236 case $configure_input in #(
7237 *\&* | *\|* | *\\* )
7238 ac_sed_conf_input=`$as_echo "$configure_input" |
7239 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7240 *) ac_sed_conf_input=$configure_input;;
7244 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
7245 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
7250 ac_dir=`$as_dirname -- "$ac_file" ||
7251 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7252 X"$ac_file" : 'X\(//\)[^/]' \| \
7253 X"$ac_file" : 'X\(//\)$' \| \
7254 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7255 $as_echo X"$ac_file" |
7256 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7273 as_dir="$ac_dir"; as_fn_mkdir_p
7277 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7279 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7280 # A "..
" for each directory in $ac_dir_suffix.
7281 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7282 case $ac_top_builddir_sub in
7283 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7284 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7287 ac_abs_top_builddir=$ac_pwd
7288 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7289 # for backward compatibility:
7290 ac_top_builddir=$ac_top_build_prefix
7293 .) # We are building in place.
7295 ac_top_srcdir=$ac_top_builddir_sub
7296 ac_abs_top_srcdir=$ac_pwd ;;
7297 [\\/]* | ?:[\\/]* ) # Absolute name.
7298 ac_srcdir=$srcdir$ac_dir_suffix;
7299 ac_top_srcdir=$srcdir
7300 ac_abs_top_srcdir=$srcdir ;;
7302 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7303 ac_top_srcdir=$ac_top_build_prefix$srcdir
7304 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7306 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7317 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7318 # If the template does not know about datarootdir, expand it.
7319 # FIXME: This hack should be removed a few years after 2.60.
7320 ac_datarootdir_hack=; ac_datarootdir_seen=
7331 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
7332 *datarootdir*) ac_datarootdir_seen=yes;;
7333 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
7335 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
7337 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7338 ac_datarootdir_hack='
7339 s&@datadir@&$datadir&g
7340 s&@docdir@&$docdir&g
7341 s&@infodir@&$infodir&g
7342 s&@localedir@&$localedir&g
7343 s&@mandir@&$mandir&g
7344 s&\\\${datarootdir}&$datarootdir&g' ;;
7348 # Neutralize VPATH when `$srcdir' = `.'.
7349 # Shell code in configure.ac might set extrasub.
7350 # FIXME: do we really want to maintain this feature?
7351 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7352 ac_sed_extra="$ac_vpsub
7355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7357 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7358 s|@configure_input@|
$ac_sed_conf_input|
;t t
7359 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
7360 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
7361 s
&@srcdir@
&$ac_srcdir&;t t
7362 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
7363 s
&@top_srcdir@
&$ac_top_srcdir&;t t
7364 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
7365 s
&@builddir@
&$ac_builddir&;t t
7366 s
&@abs_builddir@
&$ac_abs_builddir&;t t
7367 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
7368 $ac_datarootdir_hack
7370 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
7371 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
7373 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7374 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
7375 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7376 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
7378 which seems to be undefined. Please make sure it is defined" >&5
7379 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
7380 which seems to be undefined. Please make sure it is defined" >&2;}
7382 rm -f "$ac_tmp/stdin"
7384 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7385 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7387 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7399 ac_clean_files=$ac_clean_files_save
7401 test $ac_write_fail = 0 ||
7402 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7405 # configure is writing to config.log, and then calls config.status.
7406 # config.status does its own redirection, appending to config.log.
7407 # Unfortunately, on DOS this fails, as config.log is still kept open
7408 # by configure, so config.status won't be able to
write to it
; its
7409 # output is simply discarded. So we exec the FD to /dev/null,
7410 # effectively closing config.log, so it can be properly (re)opened and
7411 # appended to by config.status. When coming back to configure, we
7412 # need to make the FD available again.
7413 if test "$no_create" != yes; then
7415 ac_config_status_args
=
7416 test "$silent" = yes &&
7417 ac_config_status_args
="$ac_config_status_args --quiet"
7419 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7421 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7422 # would make configure fail if this is the last instruction.
7423 $ac_cs_success || as_fn_exit
1
7425 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7427 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}